GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIH / V0-2-7 > lih / linux-gcc
#include <CCSDS/CCSDS_pkt.h>
#include <LHK/LHK_pubdefs.h>
#include <LHK/LHK_tlmdefs.h>
#include <LHK_DB/LHK_DB_pktdefs.h>
#include <LRA/LRA.h>
#include <MDB/MDB_pubdefs.h>
#include <PBS/WCT.h>
#include <LIH/LIH_msgs.h>
#include <LIH_prvdefs.h>
Functions | |
static LHK_PacketStatus | LIH_captureGasuCounts (unsigned char *prm, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out) |
Capture CPU "top" records into housekeeping/diagnostic packets. | |
unsigned int | LIH_defineGasuCounts () |
Initialize capture of GASU counters (GEM and EBM). | |
Variables | |
WCT_time | LIH_lastSend [2] |
Remember timestamps on the most recent packet sent (by segment). |
CVS $Id: LIH_GasuCounts.c,v 1.3 2011/03/29 22:38:00 apw Exp $
static LHK_PacketStatus LIH_captureGasuCounts | ( | unsigned char * | prm, | |
unsigned int | abas, | |||
unsigned int | aidx, | |||
unsigned int | seq, | |||
unsigned char * | out | |||
) | [static] |
Capture CPU "top" records into housekeeping/diagnostic packets.
prm | (in) User parameter (not used) | |
abas | (in) Base of APID table (ITC_K_APID_HOUSE or ITC_K_APID_DIAG) | |
aidx | (in) APID index | |
seq | (in) CCSDS sequence count | |
out | (in) Output buffer (beginning of CCSDS telemetry header) |
Referenced by LIH_defineGasuCounts().
unsigned int LIH_defineGasuCounts | ( | void | ) |
Initialize capture of GASU counters (GEM and EBM).
LHK_GENERROR | Generic error | |
LHK_SUCCESS | Success |
References LIH_captureGasuCounts().
Referenced by initializeAcq().