GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > lim_unit_test / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_test_arr.c File Reference

Test the LIM task's handling of ARR mode. More...

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


Detailed Description

Test the LIM task's handling of ARR mode.

**  CVS $Id: lim_test_arr.c,v 1.24 2008/11/01 14:44:25 dmay Exp $
**  

Function Documentation

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.

Parameters:
td_p Pointer to test descriptor.
index ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
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.

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

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


Generated on Tue Sep 22 16:23:42 2009 by  doxygen 1.5.3