GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIH / V0-1-0

Constituent: lih     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LIH_LtcData.c File Reference

Everything to handle the "LtcData<n>" packets. More...

#include <string.h>
#include "CCSDS/CCSDS_pkt.h"
#include "LHK_DB/LHK_DB_pktdefs.h"
#include "LHK/LHK_pubdefs.h"
#include "LHK/LHK_tlmdefs.h"
#include "LTC/ltc.h"
#include "MDB/MDB_pubdefs.h"
#include "LIH/LIH_msgs.h"

Include dependency graph for LIH_LtcData.c:


Defines

#define LIH_K_LTC_PKTS   (4)

Functions

static LHK_PacketStatus LIH_captureLtcData (unsigned char *mon, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out)
 Capture "LatData" records into into housekeeping/diagnostic packets.
unsigned int LIH_defineLtcData ()
 Initialize "LtcData" packet capture.

Detailed Description

Everything to handle the "LtcData<n>" packets.

CVS $Id: LIH_LtcData.c,v 1.1.1.1 2007/10/29 01:13:12 apw Exp $
Author:
A.P.Waite
LIH_LtcData.c provides all the mechanism for initializing and capturing housekeeping's "LtcData0" to "LtcData3" packets.

Function Documentation

static LHK_PacketStatus LIH_captureLtcData unsigned char *  prm,
unsigned int  abas,
unsigned int  aidx,
unsigned int  seq,
unsigned char *  out
[static]
 

Capture "LatData" records into into housekeeping/diagnostic packets.

Parameters:
prm (in) 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_defineLtcData void   ) 
 

Initialize "LtcData" packet capture.

Return values:
LIH_GENERROR Generic error
LIH_SUCCESS Success
LIH_defineLtcData() initializes any necessary resources to capture "LtcData" packets, and puts the handler definition in the packet table.


Generated on Fri Dec 7 01:36:38 2007 by  doxygen 1.4.4