GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIH / V0-2-0
Constituent: lih_test     Tag: sun-gcc
#include <stdio.h>
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_pubdefs.h"
#include "LIH/LIH_msgs.h"
#include "LIH/LIH_cmddefs.h"
#include "LIH_prvdefs.h"
Include dependency graph for LIH_test.c:
Defines | |
#define | LIH_L_TESTPKT (256) |
Functions | |
unsigned char * | composeCommand (unsigned int func, unsigned int size) |
Start filling out a telecommand. | |
void | freePacket (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2) |
Free the LIH command "buffer". | |
void | LIH_dumpAdc (unsigned int adx) |
Immediate dump of the database entries for an ADC. | |
unsigned int | LIH_sendDumpLimits (unsigned int reason, unsigned int ident) |
Send command to dump the limits. | |
unsigned int | LIH_sendDumpLimitsAdc (unsigned int adx) |
Send command to dump the limits for a single ADC. | |
unsigned int | LIH_sendEnableActions (unsigned int state) |
Send command enable/disable taking action on limits. | |
unsigned int | LIH_sendSetActionsAdc (unsigned int adx, unsigned int from, unsigned int to, signed short alert, signed short diag, signed short msg) |
Send command enable/disable taking action on limits. | |
unsigned int | LIH_sendSetLimitsAdc (unsigned int adx, signed short zero, signed short one, signed short two, signed short three, signed short four, signed short five) |
Send command enable/disable taking action on limits. | |
unsigned int | LIH_sendSetNagTimesAdc (unsigned int adx, signed int zero, signed int one, signed int two, signed int three, signed int four, signed int five, signed int six, signed int seven) |
Send command enable/disable taking action on limits. | |
unsigned int | LIH_sendSetPersistAdc (unsigned int adx, signed int delta) |
Send command enable/disable taking action on limits. | |
unsigned int | LIH_sendSetSettleAdc (unsigned int adx, signed int delta) |
Send command enable/disable taking action on limits. | |
Variables | |
static unsigned int | LIH_lock |
Test packet interlock control. | |
static unsigned char | LIH_pkt [LIH_L_TESTPKT] |
Test packet buffer. | |
ITC_CommandItem | LIH_CmdLength [10] |
Annoying. Must be maintained by hand. |
CVS $Id: LIH_test.c,v 1.1 2008/08/28 21:02:55 apw Exp $
|
Start filling out a telecommand.
|
|
Free the LIH command "buffer".
|
|
Immediate dump of the database entries for an ADC.
|
|
Send command to dump the limits.
|
|
Send command to dump the limits for a single ADC.
|
|
Send command enable/disable taking action on limits.
|
|
Send command enable/disable taking action on limits.
|
|
Send command enable/disable taking action on limits.
|
|
Send command enable/disable taking action on limits.
|
|
Send command enable/disable taking action on limits.
|
|
Send command enable/disable taking action on limits.
|
|
Initial value: { { 0 , 8, NULL }, { 1 , 12, NULL }, { 2 , 10, NULL }, { 3 , 22, NULL }, { 4 , 20, NULL }, { 5 , 44, NULL }, { 6 , 16, NULL }, { 7 , 16, NULL }, { 8 , 10, NULL }, { 9 , 16, NULL } }
|