GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIH / V0-1-0
Constituent: lih     Tag: mv2304
#include <string.h>
#include "CCSDS/CCSDS_pkt.h"
#include "CDM/CDM_pubdefs.h"
#include "LIH_DB/LIH_DB_ADCdefs.h"
#include "LIH_DB/LIH_DB_schema.h"
#include "MDB/MDB_pubdefs.h"
#include "LIH/LIH_msgs.h"
#include "LIH/LIH_tlmdefs.h"
#include "LIH_prvdefs.h"
Include dependency graph for LIH_limit.c:
Functions | |
static void | freePacket_cb (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
Clean up after sending an alert message. | |
static __inline unsigned int | isInvalid (const LIH_DB_Limit *adc) |
Check an ADC limit set. | |
unsigned int | LIH_limitAble (LIH_DB_ADC adx, unsigned int able) |
Disable limit checking on an ADC. | |
unsigned int | LIH_limitAction (LIH_DB_ADC adx, LIH_DB_ADCState prv, LIH_DB_ADCState cur, unsigned int msk, unsigned int val) |
Change nag time for an ADC/state. | |
unsigned int | LIH_limitCheck (LIH_Control *hcb, unsigned int adx, unsigned short *val, WCT_time_sat_u sat) |
Test ADC limits and take requested action. | |
unsigned int | LIH_limitCheckCDM (LIH_DB_Schema *ldb) |
Check the contents of an LIH CDM database. | |
void | LIH_limitExternalDefault (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Use an external default limit set to initialize the limit table. | |
void | LIH_limitExternalTable (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Use an external default limit set to initialize the limit table. | |
void | LIH_limitInternalDefault (LIH_Control *hcb) |
Use internal defaults to initialize the limit table. | |
unsigned int | LIH_limitNag (LIH_DB_ADC adx, LIH_DB_ADCState state, unsigned int delta) |
Change nag time for an ADC/state. | |
unsigned int | LIH_limitSendADC (LIH_DB_ADC adx) |
Send the limit set for an ADC via diagnostic telemetry. | |
unsigned int | LIH_limitSet (LIH_DB_ADC adx, const signed short limit[LIH_DB_L_LIMIT]) |
Set the limit boundaries for monitoring an ADC. | |
Variables | |
static const char * | LIH_ADCStateString [LIH_DB_L_ADC_STATE] |
String constants for the various ADC limit states. | |
static const char * | s_able [2] = { "disabled", "enabled" } |
Strings used in enable/disable error reporting. | |
static const char * | s_pktType [2] = { "an alert", "a diagnostic" } |
Strings used in telemetry error reporting. |
CVS $Id: LIH_limit.c,v 1.3 2007/12/07 03:59:21 apw Exp $
|
Clean up after sending an alert message.
|
|
Check an ADC limit set.
|
|
Disable limit checking on an ADC.
|
|
Change nag time for an ADC/state.
|
|
Test ADC limits and take requested action.
|
|
Check the contents of an LIH CDM database.
|
|
Use an external default limit set to initialize the limit table.
|
|
Use an external default limit set to initialize the limit table.
|
|
Use internal defaults to initialize the limit table.
|
|
Change nag time for an ADC/state.
|
|
Send the limit set for an ADC via diagnostic telemetry.
|
|
Set the limit boundaries for monitoring an ADC.
|
|
Initial value: { "undefined", "red low", "yellow low", "green", "yellow high", "red high" }
|