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 "IMM/FPM_pubdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCBD/LCBD_drv.h"
#include "LIH_DB/LIH_DB_schema.h"
#include "LHK/LHK_pubdefs.h"
#include "MDB/MDB_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include "PBS/RW.ih"
#include "PBS/WUT.h"
#include "LIH/LIH_cmdxtrn.h"
#include "LIH/LIH_msgs.h"
#include "LIH/LIH_tlmdefs.h"
#include "LIH_packet.h"
#include "LIH_prvdefs.h"
#include "LIH_source.h"
Include dependency graph for LIH_control.c:
Functions | |
static LHK_PacketStatus | capture (unsigned int *prv, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out) |
Copy hardware monitoring housekeeping packets from packet database. | |
static unsigned int | control_rx (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
Process messages arriving on the control queue. | |
static WUT_cb_status | expireTimer (void *prm, WUT_tmr *tmr) |
Timer callback routine (called at interrupt level). | |
static FORK_cb_status | forkTimer (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Task level target of the cyclic interrupt timer. | |
static unsigned int | initializeAcq (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Initialize the hardware acquisition facilities. | |
static unsigned int | initializeLCB (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Initialize the LCB controls. | |
static unsigned int | initializeLimits (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Initialize the ADC limit monitoring controls. | |
static unsigned int | initializeTask (LIH_Control *hcb, LIH_DB_Schema *ldb) |
Initialize the LIH hardware monitoring task. | |
static void | taskOnce (void *prm) |
One-time call (in task context) to initialize the cLIH task. | |
unsigned int | LIH_initialize () |
Initialize the LIH hardware monitoring facility. | |
unsigned int | LIH_start () |
Start the LIH hardware monitoring task. | |
Variables | |
LIH_Control * | LIH_hcb |
Control block for the LIH hardware monitoring facility. | |
unsigned int | LIH_aidx2hpk [ITC_L_APID_HOUSE] |
Reverse map from APID index to hardware packet. | |
static const char * | s_offon [2] = { "off", "on" } |
Strings used in error reporting. |
CVS $Id: LIH_control.c,v 1.3 2007/12/07 03:59:21 apw Exp $
|
Copy hardware monitoring housekeeping packets from packet database.
|
|
Process messages arriving on the control queue.
|
|
Timer callback routine (called at interrupt level).
|
|
Task level target of the cyclic interrupt timer.
|
|
Initialize the hardware acquisition facilities.
|
|
Initialize the LCB controls.
|
|
Initialize the ADC limit monitoring controls.
|
|
Initialize the LIH hardware monitoring task.
|
|
Initialize the LIH hardware monitoring facility. LIH_initialize() does all the initialization required by the hardware monitoring facilities in LIH. |
|
Start the LIH hardware monitoring task. LIH_start() starts the LIH hardware monitoring task |