GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LHK / V11-4-2

Constituent: lhkt     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LHK_pkt.c File Reference

Implements packetization for LAT housekeeping. More...

#include <stdio.h>
#include <string.h>
#include "PBS/LI.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_dump.h"
#include "CTDB/CO1553_util.h"
#include "CTDB/CTDB_rt.h"
#include "CTDB/CTDB_config.h"
#include "LHK/LHK_msgs.h"
#include "LHK_p.h"
#include "TRC/TRC_pubdefs.h"
#include "TRC/TRC_msgs.h"
#include "LSW/LSW_pubdefs.h"

Include dependency graph for LHK_pkt.c:


Functions

static unsigned int LHK_build_pkt (void *src, void *dst, unsigned short apid, unsigned int seq_cnt, signed long long pkt_time)
unsigned int LHK_init_pktTbl (void)
unsigned int LHK_build_rt (void)
FORK_cb_status LHK_svc_diag (FORK_cb_prm *prm, FORK_msg_hdr *hdr)
 Services request for a diagnostic packet.
unsigned int LHK_build_alrt (unsigned short dev, unsigned short adc, unsigned short val, unsigned short lim)
unsigned int LHK_scan_pkt (LHK_PktTbl *pkt_tbl, unsigned short apid, LHK_PktDesc **pkt)
 Scans the packet table for a matching apid.

Detailed Description

Implements packetization for LAT housekeeping.

Author:
Sergio Maldonado -- smaldona@slac.stanford.edu

Function Documentation

unsigned int LHK_build_alrt unsigned short  dev,
unsigned short  adc,
unsigned short  val,
unsigned short  lim
 

Parameters:
dev Device
adc ADC Number
val ADC Value
lim ADC Limit
Returns:
A LHK MSG code.

static unsigned int LHK_build_pkt void *  src,
void *  dst,
unsigned short  apid,
unsigned int  seq_cnt,
signed long long  pkt_time
[static]
 

Parameters:
src Packet source buffer
dst Packet destination buffer
apid Packet APID
seq_cnt Packet sequence counter
pkt_time Packet timestamp
Returns:
A LHK MSG code.

unsigned int LHK_build_rt void   ) 
 

Returns:
A LHK MSG code.

unsigned int LHK_init_pktTbl void   ) 
 

Returns:
A LHK MSG code.

unsigned int LHK_scan_pkt LHK_PktTbl pkt_tbl,
unsigned short  apid,
LHK_PktDesc **  pkt
 

Scans the packet table for a matching apid.

Parameters:
pkt_tbl Packet table pointer
apid Packet apid
pkt Packet pointer storage
Returns:
LHK_SUCCESS

FORK_cb_status LHK_svc_diag FORK_cb_prm *  prm,
FORK_msg_hdr *  hdr
 

Services request for a diagnostic packet.

Parameters:
prm Pointer to callback parameter
hdr Pointer to the message


Generated on Tue Aug 14 01:51:58 2007 by  doxygen 1.4.4