GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-0-4 > LCI_test_cnt / rhel6-64
#include <test_p.h>
#include <LCI/LCI_msgs.h>
#include <LCI/LCI_cmdxtrn.h>
#include <LCI/LCI_cmddefs.h>
#include <PBS/BSWP.h>
#include <PBS/MBA.h>
#include <MSG/MSG_pubdefs.h>
#include <CCSDS/CCSDS_pkt.h>
Functions | |
static unsigned | cmd (LCI_Apid67cFcodes fcode, unsigned pay0, unsigned pay1) |
Build a CCSDS packet and send it to the LCI task. | |
unsigned | cmd_calibrate (unsigned latccfg, unsigned lcicfg) |
Allocate, form and send a calibrate command to the LCI task. | |
unsigned | cmd_abort (void) |
Allocate, form and send an abort command to the LCI task. | |
Variables | |
static unsigned char | buffer [128] |
$Id: test_cmd.c,v 1.5 2011/03/29 20:06:25 saxton Exp $
unsigned cmd | ( | LCI_Apid67cFcodes | fcode, | |
unsigned | pay0, | |||
unsigned | pay1 | |||
) | [static] |
Build a CCSDS packet and send it to the LCI task.
fcode | Function code of the command. | |
pay0 | First word of CCSDS pkt payload | |
pay1 | Second word of CCSDS pkt payload |
Referenced by cmd_abort(), and cmd_calibrate().
unsigned cmd_abort | ( | void | ) |
Allocate, form and send an abort command to the LCI task.
References cmd(), and LCI_ABORT_FCODE.
unsigned cmd_calibrate | ( | unsigned | latccfg, | |
unsigned | lcicfg | |||
) |
Allocate, form and send a calibrate command to the LCI task.
latccfg | File ID for the LATC configuration file | |
lcicfg | File ID for the LCI configuration file |
References cmd(), and LCI_CALIBRATE_FCODE.
Referenced by kick_test().