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_TopCpu.c File Reference
Everything to capture the LSW "top" packets. More...
#include <string.h>
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_apidefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LHK_DB/LHK_DB_pktdefs.h"
#include "LHK/LHK_pubdefs.h"
#include "LHK/LHK_tlmdefs.h"
#include "LSW/LSW_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "TRC/TRC_pubdefs.h"
#include "LIH/LIH_msgs.h"
Include dependency graph for LIH_TopCpu.c:
|
Functions |
static LHK_PacketStatus | LIH_captureTopCpu (unsigned char *mon, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out) |
| Capture CPU "top" records into housekeeping/diagnostic packets.
|
unsigned int | LIH_defineTopCpu () |
| Initialize "top" packet capture.
|
Detailed Description
Everything to capture the LSW "top" packets.
CVS $Id: LIH_TopCpu.c,v 1.1.1.1 2007/10/29 01:13:12 apw Exp $
- Author:
- A.P.Waite
LIH_TopCpu.c provides all the mechanism for initializing and capturing housekeeping's "top" packets.
Function Documentation
static LHK_PacketStatus LIH_captureTopCpu |
( |
unsigned char * |
mon, |
|
|
unsigned int |
abas, |
|
|
unsigned int |
aidx, |
|
|
unsigned int |
seq, |
|
|
unsigned char * |
out |
|
) |
[static] |
|
|
Capture CPU "top" records into housekeeping/diagnostic packets.
- Parameters:
-
| mon | (in) Base pointer of monitor records (user parameter) |
| 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_defineTopCpu |
( |
void |
|
) |
|
|
|
Initialize "top" packet capture.
- Return values:
-
| LIH_GENERROR | Generic error |
| LIH_SUCCESS | Success |
LIH_defineTopCpu() initializes any necessary resources to capture "TopCpu" packets, and puts the handler definition in the packet table. |
Generated on Fri Nov 14 01:10:08 2008 by
1.4.4