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_util_cmd.h File Reference

Interface to the functions found in lim_util_cmd.c. More...

#include "ITC/ITC_pubdefs.h"
#include "lim_util_wrap.h"

Functions

int CMD_init (test_Test_Descriptor *td_p)
 Initialize the command handler.
int CMD_shutdown (test_Test_Descriptor *td_p)
 Shutdown the command handler.
int CMD_rcv_cmd (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned int max_usecs)
 Receive a command from a task.
int CMD_send_arr_abort (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the ARR-Abort command.
int CMD_send_arr_response (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int tran_id, unsigned int accept, unsigned int short_bytes)
 Send the ARR-Response command.
int CMD_send_bias_acd (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Bias-ACD command.
int CMD_send_bias_cal (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Bias-CAL command.
int CMD_send_bias_tkr (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Bias-TKR command.
int CMD_send_cal_abort (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int parm_usecs, unsigned int short_bytes)
 Send the Calibration-Abort command.
int CMD_send_cal_complete (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send a Calibration-Complete command.
int CMD_send_cal_other (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send an 'other' calibration command.
int CMD_send_cal_start (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int delay_usecs, unsigned int short_bytes)
 Send the Calibration-Start command.
int CMD_send_config_gbm (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, int rep_valid, int rep_allowed, int pri_valid, int pri_allowed, int red_valid, int red_allowed, unsigned int short_bytes)
 Send the Configure-GBM command.
int CMD_send_config_hv (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, int hv_allowed, unsigned int short_bytes)
 Send the Configure-HV command.
int CMD_send_config_pid (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, int primary, unsigned int short_bytes)
 Send the Configure-PID command.
int CMD_send_diag_abort (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int parm_usecs, unsigned int short_bytes)
 Send the Diagnostic-Abort command.
int CMD_send_diag_complete (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send a Diagnostic-Complete command.
int CMD_send_diag_other (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Diagnostic-Other command.
int CMD_send_diag_start (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int delay_usecs, unsigned int short_bytes)
 Send the Diagnostic-Start command.
int CMD_send_gbm_calc_info (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int trigger_id, unsigned int seq_num, unsigned int short_bytes)
 Send a GBM-Calc-Info command.
int CMD_send_gbm_closeout (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int trigger_id, unsigned int seq_num, unsigned int short_bytes)
 Send a GBM-Closeout command.
int CMD_send_gbm_int (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, int primary, int redundant, unsigned int short_bytes)
 Assert GBM interrupts.
int CMD_send_gbm_repoint (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, int no_recommend, unsigned int trigger_id, unsigned int seq_num, int ra, int dec, unsigned int short_bytes)
 Send a GBM-Repoint command.
int CMD_send_grb_confirm (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned int parm_tran_id, unsigned int parm_usecs, unsigned int parm_ra, unsigned int parm_dec, unsigned int short_bytes)
 Send the GRB-Confirmed command.
int CMD_send_grb_finish (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned int short_bytes)
 Send the GRB-Finished command.
int CMD_send_grb_suspect (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned int short_bytes)
 Send the GRB-Suspected command.
int CMD_send_hold_enter (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Hold-Enter command.
int CMD_send_hold_exit (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Hold-Exit command.
int CMD_send_latc_config (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Latc-Config command.
int CMD_send_latc_record (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int dest, unsigned int short_bytes)
 Send the Latc-Record command.
int CMD_send_latc_verify (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int dest, unsigned int short_bytes)
 Send the Latc-Verify command.
int CMD_send_load_shed (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Load-Shed command.
int CMD_send_look_at_me (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Look-At-Me command.
int CMD_send_main_feed_on (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Main-Feed-On command.
int CMD_send_no_op (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the No-Op command.
int CMD_send_phys_active (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Physics-Active command.
int CMD_send_phys_complete (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send a Physics-Complete command.
int CMD_send_phys_idle (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, int type, unsigned int short_bytes)
 Send the Physics-Idle command.
int CMD_send_phys_start (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int parm_usecs, unsigned int short_bytes)
 Send the Physics-Start command.
int CMD_send_phys_stop (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Physics-Stop command.
int CMD_send_pig_record (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int dest, unsigned int short_bytes)
 Send the Pig-Record command.
int CMD_send_power_off (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Power-Off command.
int CMD_send_power_on (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Power-On command.
int CMD_send_saa_enter (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the SAA-Enter command.
int CMD_send_saa_exit (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the SAA-Exit command.
int CMD_send_safe_mode (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the Safe-Mode command.
int CMD_send_too_abort (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int short_bytes)
 Send the TOO-Abort command.
int CMD_send_too_start (test_Test_Descriptor *td_p, int index, WRAP_Info *info_p, unsigned int parm_usecs, unsigned int short_bytes)
 Send the TOO-Start command.


Detailed Description

Interface to the functions found in lim_util_cmd.c.

**  CVS $Id: lim_util_cmd.h,v 1.21 2007/04/09 19:25:38 dmay Exp $
**  

Function Documentation

int CMD_init ( test_Test_Descriptor td_p  ) 

Initialize the command handler.

Parameters:
td_p Pointer to test descriptor.
Return values:
0 Success.
-1 Failure.

int CMD_rcv_cmd ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  max_usecs 
)

Receive a command from a task.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
max_usecs Max time to wait for command, in microseconds.
Return values:
0 Success.
-1 Failure.

int CMD_send_arr_abort ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the ARR-Abort command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_arr_response ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  tran_id,
unsigned int  accept,
unsigned int  short_bytes 
)

Send the ARR-Response command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
tran_id Transaction ID parameter value.
accept Accept parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_bias_acd ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Bias-ACD command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_bias_cal ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Bias-CAL command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_bias_tkr ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Bias-TKR command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_cal_abort ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the Calibration-Abort command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_cal_complete ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send a Calibration-Complete command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_cal_other ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send an 'other' calibration command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_cal_start ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the Calibration-Start command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_config_gbm ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  rep_valid,
int  rep_allowed,
int  pri_valid,
int  pri_allowed,
int  red_valid,
int  red_allowed,
unsigned int  short_bytes 
)

Send the Configure-GBM command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
rep_valid Repoint-Request-Allowed valid value.
rep_allowed Repoint-Request-Allowed parameter value.
pri_valid Primary-Interrupt-Allowed valid value.
pri_allowed Primary-Interrupt-Allowed parameter value.
red_valid Redundant-Interrupt-Allowed valid value.
red_allowed Redundant-Interrupt-Allowed parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_config_hv ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  hv_allowed,
unsigned int  short_bytes 
)

Send the Configure-HV command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
hv_allowed High-Voltage-Allowed parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_config_pid ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  primary,
unsigned int  short_bytes 
)

Send the Configure-PID command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
primary Primary selection parameter.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_diag_abort ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the Diagnostic-Abort command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_diag_complete ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send a Diagnostic-Complete command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_diag_other ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Diagnostic-Other command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_diag_start ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the Diagnostic-Start command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_gbm_calc_info ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  trigger_id,
unsigned int  seq_num,
unsigned int  short_bytes 
)

Send a GBM-Calc-Info command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
trigger_id 'Trigger ID' parameter value.
seq_num 'Sequence Number' parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_gbm_closeout ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  trigger_id,
unsigned int  seq_num,
unsigned int  short_bytes 
)

Send a GBM-Closeout command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
trigger_id 'Trigger ID' parameter value.
seq_num 'Sequence Number' parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_gbm_int ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  primary,
int  redundant,
unsigned int  short_bytes 
)

Assert GBM interrupts.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
primary Flag to assert primary GBM interrupt.
redundant Flag to assert redundant GBM interrupt.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_gbm_repoint ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  no_recommend,
unsigned int  trigger_id,
unsigned int  seq_num,
int  ra,
int  dec,
unsigned int  short_bytes 
)

Send a GBM-Repoint command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
no_recommend 'No Recommend' parameter value.
trigger_id 'Trigger ID' parameter value.
seq_num 'Sequence Number' parameter value.
ra 'Location RA' parameter value.
dec 'Location DEC' parameter value.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_grb_confirm ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_tran_id,
unsigned int  parm_usecs,
unsigned int  parm_ra,
unsigned int  parm_dec,
unsigned int  short_bytes 
)

Send the GRB-Confirmed command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_tran_id Transaction ID parameter.
parm_usecs Delay parameter, in microseconds.
parm_ra RA parameter, which gets divided by 1000.
parm_dec DEC parameter, which gets divided by 1000.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_grb_finish ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the GRB-Finished command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_grb_suspect ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the GRB-Suspected command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_hold_enter ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Hold-Enter command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_hold_exit ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Hold-Exit command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_latc_config ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Latc-Config command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_latc_record ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  dest,
unsigned int  short_bytes 
)

Send the Latc-Record command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
dest Destination parameter for the command.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_latc_verify ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  dest,
unsigned int  short_bytes 
)

Send the Latc-Verify command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
dest Destination parameter for the command.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_load_shed ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Load-Shed command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_look_at_me ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Look-At-Me command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_main_feed_on ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Main-Feed-On command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_no_op ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the No-Op command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_phys_active ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Physics-Active command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_phys_complete ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send a Physics-Complete command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_phys_idle ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
int  type,
unsigned int  short_bytes 
)

Send the Physics-Idle command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
type Type of Physics-Idle command to send - #1 or #2.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_phys_start ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the Physics-Start command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_phys_stop ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Physics-Stop command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_pig_record ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  dest,
unsigned int  short_bytes 
)

Send the Pig-Record command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
dest Destination parameter for the command.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_power_off ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Power-Off command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_power_on ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Power-On command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_saa_enter ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the SAA-Enter command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_saa_exit ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the SAA-Exit command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_safe_mode ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the Safe-Mode command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_too_abort ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  short_bytes 
)

Send the TOO-Abort command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

int CMD_send_too_start ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  parm_usecs,
unsigned int  short_bytes 
)

Send the TOO-Start command.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
parm_usecs Delay parameter, in microseconds.
short_bytes Number of bytes to remove from the command.
Return values:
0 Success.
-1 Failure.

unsigned int CMD_shutdown ( test_Test_Descriptor td_p  ) 

Shutdown the command handler.

Parameters:
td_p Pointer to test descriptor.
Return values:
0 Success.
-1 Failure.


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