GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-0

Constituent: lim_unit_test     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_test_gbm.c File Reference

Test the LIM task's handling of GBM commands. More...

#include "ITC/ITC_msgs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "lim_unit_test.h"
#include "lim_util_cmd.h"
#include "lim_util_sim.h"
#include "lim_util_tlm.h"
#include "lim_util_wrap.h"

Include dependency graph for lim_test_gbm.c:


Functions

static int lim_gbm_send_cmds (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, int exp_forward, int exp_grb_0, int exp_arr, int exp_grb_1, int exp_slew_req, int send_abort, unsigned int trigger_id, int ra, int dec, int pri_int_allowed, int red_int_allowed)
 Send GBM commands.
void lim_test_gbm (test_Test_Descriptor *td_p, const unsigned int bit_mask)
 Unit test for LIM GBM command handling.

Detailed Description

Test the LIM task's handling of GBM commands.

**  CVS $Id: lim_test_gbm.c,v 1.24 2007/12/17 23:01:15 dmay Exp $
**  

Function Documentation

void lim_gbm_send_cmds test_Test_Descriptor td_p,
int  index,
WRAP_Info info_p,
int  exp_forward,
int  exp_grb_0,
int  exp_arr,
int  exp_grb_1,
int  exp_slew_req,
int  send_abort,
unsigned int  trigger_id,
int  ra,
int  dec,
int  pri_int_allowed,
int  red_int_allowed
[static]
 

Send GBM commands.

Parameters:
td_p Pointer to test descriptor.
index ID to use for user messages.
info_p Pointer to wrap control info.
exp_forward Flag to expect forward to LPA.
exp_grb_0 Flag to expect GRB-0 transition telemetry.
exp_arr Flag to expect ARR transition telemetry.
exp_grb_1 Flag to expect GRB-1 transition telemetry.
exp_slew_req Flag to expect a Slew-Req command.
send_abort Flag to send ARR-Abort when done.
trigger_id 'Trigger ID' parameter value.
ra 'Location RA' parameter value.
dec 'Location DEC' parameter value.
pri_int_allowed Flag to indicate pri GBM interrupt allowed.
red_int_allowed Flag to indicate red GBM interrupt allowed.
Return values:
0 Success.
-1 Failure.

void lim_test_gbm test_Test_Descriptor td_p,
const unsigned int  bit_mask
 

Unit test for LIM GBM command handling.

Parameters:
td_p Pointer to test descriptor.
bit_mask Bitmask ID for this subtest.
Returns:
Nothing.


Generated on Thu Oct 30 01:49:59 2008 by  doxygen 1.4.4