GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > lim_unit_test / rad750
#include <string.h>
#include "LIM/LIM_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "PIG/structs.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_power_cfg_test (test_Test_Descriptor *td_p, int id) |
Verify the layout of the power configuration structure. | |
static int | lim_siu_cfg_test (test_Test_Descriptor *td_p, int id, unsigned int siu_i, unsigned int ssr_s, unsigned int gbm_s, unsigned int pps_s, unsigned int pps_i, unsigned int mf_p, unsigned int pdu_0, unsigned int pdu_1, unsigned int dab_p, unsigned int dab_s) |
Verify the layout of the power configuration structure. | |
static int | lim_bias_acd_test (test_Test_Descriptor *td_p, int id) |
Verify the layout of the ACD bias configuration structure. | |
static int | lim_bias_cal_test (test_Test_Descriptor *td_p, int id) |
Verify the layout of the CAL bias configuration structure. | |
static int | lim_bias_tkr_test (test_Test_Descriptor *td_p, int id) |
Verify the layout of the TKR bias configuration structure. | |
void | lim_test_command (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for LIM telecommands. |
** CVS $Id: lim_test_command.c,v 1.28 2007/09/13 19:52:24 dmay Exp $ **
int lim_bias_acd_test | ( | test_Test_Descriptor * | td_p, | |
int | id | |||
) | [static] |
Verify the layout of the ACD bias configuration structure.
td_p | Pointer to test descriptor. | |
id | ID to use for user messages. |
0 | Success. | |
-1 | Failure. |
int lim_bias_cal_test | ( | test_Test_Descriptor * | td_p, | |
int | id | |||
) | [static] |
Verify the layout of the CAL bias configuration structure.
td_p | Pointer to test descriptor. | |
id | ID to use for user messages. |
0 | Success. | |
-1 | Failure. |
int lim_bias_tkr_test | ( | test_Test_Descriptor * | td_p, | |
int | id | |||
) | [static] |
Verify the layout of the TKR bias configuration structure.
td_p | Pointer to test descriptor. | |
id | ID to use for user messages. |
0 | Success. | |
-1 | Failure. |
int lim_power_cfg_test | ( | test_Test_Descriptor * | td_p, | |
int | id | |||
) | [static] |
Verify the layout of the power configuration structure.
td_p | Pointer to test descriptor. | |
id | ID to use for user messages. |
0 | Success. | |
-1 | Failure. |
int lim_siu_cfg_test | ( | test_Test_Descriptor * | td_p, | |
int | id, | |||
unsigned int | siu_i, | |||
unsigned int | ssr_s, | |||
unsigned int | gbm_s, | |||
unsigned int | pps_s, | |||
unsigned int | pps_i, | |||
unsigned int | mf_p, | |||
unsigned int | pdu_0, | |||
unsigned int | pdu_1, | |||
unsigned int | dab_p, | |||
unsigned int | dab_s | |||
) | [static] |
Verify the layout of the power configuration structure.
td_p | Pointer to test descriptor. | |
id | ID to use for user messages. | |
siu_i | SIU ID | |
ssr_s | SSR selection | |
gbm_s | GBM selection | |
pps_s | PPS selection (pri/sec) | |
pps_i | PPS selection (ext/int) | |
mf_p | Main feed selection | |
pdu_0 | PDU 0 selection | |
pdu_1 | PDU 1 selection | |
dab_p | DAB primary selection | |
dab_s | DAB secondary selection |
0 | Success. | |
-1 | Failure. |
void lim_test_command | ( | test_Test_Descriptor * | td_p, | |
const unsigned int | bit_mask | |||
) |
Unit test for LIM telecommands.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |