GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-1 > lim_unit_test / sun-gcc
#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"
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. |
** CVS $Id: lim_test_gbm.c,v 1.24 2007/12/17 23:01:15 dmay Exp $ **
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.
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. |
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.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |