GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > 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 "PIG/PIG_msgs.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_pig_send_cmds (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, int in_saa, unsigned int latc_status, unsigned int bias_status) |
Send PIG-related commands. | |
void | lim_test_pig (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for LIM PIG command handling. |
** CVS $Id: lim_test_pig.c,v 1.18 2007/12/16 22:53:39 dmay Exp $ **
void lim_pig_send_cmds | ( | test_Test_Descriptor * | td_p, | |
int | index, | |||
WRAP_Info * | info_p, | |||
int | in_saa, | |||
unsigned int | latc_status, | |||
unsigned int | bias_status | |||
) | [static] |
Send PIG-related commands.
td_p | Pointer to test descriptor. | |
index | ID to use for user messages. | |
info_p | Pointer to wrap control info. | |
in_saa | Flag to indicate that we're in the SAA. | |
latc_status | Expected status from LATC_ commands. | |
bias_status | Expected status from BIAS_ commands. |
0 | Success. | |
-1 | Failure. |
void lim_test_pig | ( | test_Test_Descriptor * | td_p, | |
const unsigned int | bit_mask | |||
) |
Unit test for LIM PIG command handling.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |