GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-19-1

Constituent: lim_unit_test     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_test_command.c File Reference

Test the LIM package telecommands. More...

#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"

Include dependency graph for lim_test_command.c:


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.

Detailed Description

Test the LIM package telecommands.

**  CVS $Id: lim_test_command.c,v 1.28 2007/09/13 19:52:24 dmay Exp $
**  

Function Documentation

int lim_bias_acd_test test_Test_Descriptor td_p,
int  id
[static]
 

Verify the layout of the ACD bias configuration structure.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
Return values:
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.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
Return values:
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.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
Return values:
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.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
Return values:
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.

Parameters:
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
Return values:
0 Success.
-1 Failure.

void lim_test_command test_Test_Descriptor td_p,
const unsigned int  bit_mask
 

Unit test for LIM telecommands.

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


Generated on Mon Jan 14 12:15:52 2008 by  doxygen 1.4.4