GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V7-0-0 > lsec / rad750
#include "compact.h"
#include "compress.ic"
#include "LSEC_p.h"
#include "LSEC/LSEC_msgs.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_cid.h"
#include "EDS/EBF_tem.h"
#include "EDS/EBF_tkr.h"
#include "LCBD/LATP.h"
#include "PBS/WCT.h"
#include <string.h>
Functions | |
static __inline void | setBit (unsigned int index, unsigned int *buff) |
Set a bit in an integer buffer. | |
static __inline void | setNib (unsigned int value, unsigned int index, unsigned int *buff) |
Set a nibble in an integer buffer. | |
unsigned int | LSEC_encode (LSEC_compaction *cpc, EBF_dir *dir) |
Encode the next event from the collection. | |
unsigned int | LSEC_encodeAcd (LSEC_compaction *cpc, EBF_dir *dir) |
Encode the ACD event data. | |
unsigned int | LSEC_encodeCal (LSEC_compaction *cpc, EBF_dir *dir) |
Encode the CAL portion of the event. | |
unsigned int | LSEC_encodeTkr (LSEC_compaction *cpc, EBF_dir *dir) |
Encode the TKR portion of the event. |
$Id: encode.c,v 1.13 2010/05/25 17:14:00 saxton Exp $
unsigned int LSEC_encode | ( | LSEC_compaction * | cpc, | |
EBF_dir * | dir | |||
) |
Encode the next event from the collection.
cpc | Pointer to an LSEC_compaction structure | |
dir | Pointer to the event to encode |
unsigned int LSEC_encodeAcd | ( | LSEC_compaction * | cpc, | |
EBF_dir * | dir | |||
) |
Encode the ACD event data.
cpc | Compaction structure | |
dir | Pointer to a directory of the event |
unsigned int LSEC_encodeCal | ( | LSEC_compaction * | cpc, | |
EBF_dir * | dir | |||
) |
Encode the CAL portion of the event.
cpc | Compaction structure | |
dir | Pointer to a directory of the event |
unsigned int LSEC_encodeTkr | ( | LSEC_compaction * | cpc, | |
EBF_dir * | dir | |||
) |
Encode the TKR portion of the event.
cpc | Compaction structure | |
dir | Pointer to a directory of the event |
static __inline void setBit | ( | unsigned int | index, | |
unsigned int * | buff | |||
) | [static] |
Set a bit in an integer buffer.
The bits are numbered from low to high order within each integer.
index | The index of the bit to be set. | |
buff | Address of the integer buffer. |
static __inline void setNib | ( | unsigned int | value, | |
unsigned int | index, | |||
unsigned int * | buff | |||
) | [static] |
Set a nibble in an integer buffer.
The bits are numbered from low to high order within each integer.
value | The nibble value to be set. | |
index | The index of the nibble to be set. | |
buff | Address of the integer buffer. |