GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-2 > 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_lpa.h"
#include "lim_util_sim.h"
#include "lim_util_tlm.h"
#include "lim_util_wrap.h"
Functions | |
static int | lim_arr_transition (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, int to_physics, int to_grb0, int to_grb1, int to_grb2, int to_idle) |
Transition through GRB states. | |
static int | lim_arr_send_grb_cmds (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p) |
Send GRB commands that LPA would send. | |
void | lim_test_arr (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for LIM ARR mode handling. |
** CVS $Id: lim_test_arr.c,v 1.24 2008/11/01 14:44:25 dmay Exp $ **
void lim_arr_send_grb_cmds | ( | test_Test_Descriptor * | td_p, | |
int | index, | |||
WRAP_Info * | info_p | |||
) | [static] |
Send GRB commands that LPA would send.
td_p | Pointer to test descriptor. | |
index | ID to use for user messages. | |
info_p | Pointer to wrap control info. |
0 | Success. | |
-1 | Failure. |
void lim_arr_transition | ( | test_Test_Descriptor * | td_p, | |
int | index, | |||
WRAP_Info * | info_p, | |||
int | to_physics, | |||
int | to_grb0, | |||
int | to_grb1, | |||
int | to_grb2, | |||
int | to_idle | |||
) | [static] |
Transition through GRB states.
td_p | Pointer to test descriptor. | |
index | ID to use for user messages. | |
info_p | Pointer to wrap control info. | |
to_physics | Flag enabling transition to PHYSICS operating mode. | |
to_grb0 | Flag enabling transition to GRB0 state. | |
to_grb1 | Flag enabling transition to GRB1 state. | |
to_grb2 | Flag enabling transition to GRB2 state. | |
to_idle | Flag enabling transition to IDLE state. |
0 | Success. | |
-1 | Failure. |
void lim_test_arr | ( | test_Test_Descriptor * | td_p, | |
const unsigned int | bit_mask | |||
) |
Unit test for LIM ARR mode handling.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |