GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
LIH / V0-2-3
Constituent: lih     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
LIH_CtdbCounts.c File Reference
CTDB (1553) counter information capture. More...
#include "CCSDS/CCSDS_pkt.h"
#include "CTDB/CTDB_rt.h"
#include "CTS/CTS_pubdefs.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"
Include dependency graph for LIH_CtdbCounts.c:
|
Functions |
static LHK_PacketStatus | LIH_captureCtdbCounts (unsigned int *sav, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out) |
| Capture CTDB statistics (an immediate operation).
|
unsigned int | LIH_defineCtdbCounts () |
| Initialize capture of CTDB (1553) counters.
|
Detailed Description
CTDB (1553) counter information capture.
CVS $Id: LIH_CtdbCounts.c,v 1.1.1.1 2007/10/29 01:13:12 apw Exp $
- Author:
- A.P.Waite
LIH_CtdbCounts.c provides a housekeeping interface to capture the CTDB counters.
Function Documentation
static LHK_PacketStatus LIH_captureCtdbCounts |
( |
unsigned int * |
sav, |
|
|
unsigned int |
abas, |
|
|
unsigned int |
aidx, |
|
|
unsigned int |
seq, |
|
|
unsigned char * |
out |
|
) |
[static] |
|
|
Capture CTDB statistics (an immediate operation).
- Parameters:
-
| sav | (in) User parameter (update counter of last packet copy) |
| 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) |
- Returns:
- A member of the LHK_PacketStatus enumeration
|
unsigned int LIH_defineCtdbCounts |
( |
void |
|
) |
|
|
|
Initialize capture of CTDB (1553) counters.
- Return values:
-
| LHK_GENERROR | Generic error |
| LHK_SUCCESS | Success |
LIH_defineCtdbCounts() initializes any necessary resources to capture "CtdbCounts" packets, and puts the handler definition in the packet table. |
Generated on Fri Nov 14 01:09:58 2008 by
1.4.4