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_pig.c File Reference

Test the LIM task's handling of PIG-related commands. More...

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

Include dependency graph for lim_test_pig.c:


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.

Detailed Description

Test the LIM task's handling of PIG-related commands.

**  CVS $Id: lim_test_pig.c,v 1.18 2007/12/16 22:53:39 dmay Exp $
**  

Function Documentation

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.

Parameters:
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.
Return values:
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.

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


Generated on Mon Jan 14 12:16:01 2008 by  doxygen 1.4.4