GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-2-2 > qse / sun-gcc
#include "QSE/QDF_dgn.h"
#include "QSE/QDF_gem.h"
#include "QSE/QDF_exc.h"
#include "QDF_dgn_def.h"
#include "QDF_esb_def.h"
#include "QDF_exc_def.h"
#include "QDF_err_def.h"
#include "QDF_cal_def.h"
#include "QDF_tkr_def.h"
#include "dprintf.h"
#include "LDT/RLD.h"
#include "LDT/BTD.h"
#include "LDT/BFU.h"
#include "LDT/BWU.h"
#include "LDT/BIT.h"
#include "EDS/EBF_gem.h"
#include "EDS/FFS.h"
Defines | |
#define | NULL ((void *)(0)) |
Functions | |
static __inline BFU | dgn_ped_cal_accept_set_decode (unsigned int(*accepts)[2], const unsigned int *src, unsigned int max, BFU bfu) |
Decodes the CAL accept bits portion of the diagnostic data for one set of 32 log accept bits for each of log end. | |
static __inline BFU | dgn_ped_cal_accept_twr_decode (unsigned int(*accepts)[3][2], unsigned int const *src, unsigned int max, BFU bfu) |
Decodes the CAL accept bits portion of the diagnostic data for one tower. | |
static __inline BFU | dgn_ped_cal_accept_decode (QDF_dgnCalAccept *accept, unsigned int map, unsigned int err_map, QDF_calPedEvt const *cal, unsigned int const *src, unsigned int max, BFU bfu) |
Decodes the CAL accept bits portion of the diagnostic data for all towers with non-zero CAL diagnostic accept data. | |
BFU | QDF_dgnPedDecode (QDF_dgnCtx *ctx, QDF_dgnEvt *evt, unsigned int const *src, unsigned int max, BFU bfu) |
Decodes the DGN. |
CVS $Id: QDF_dgn_ped.c,v 1.1 2009/05/01 00:18:12 russell Exp $
static __inline BFU dgn_ped_cal_accept_decode | ( | QDF_dgnCalAccept * | accept, | |
unsigned int | map, | |||
unsigned int | err_map, | |||
QDF_calPedEvt const * | cal, | |||
unsigned int const * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) | [static] |
Decodes the CAL accept bits portion of the diagnostic data for all towers with non-zero CAL diagnostic accept data.
accept | Array of the 192 accept bits for each tower | |
map | The map of towers that have encoded accept bits | |
err_map | The map of erroring CAL towers. | |
cal | The CAL data. The encoded data are the exceptions and must be XOR'ed with the CAL accept bits found in the data to produce the CAL diagnostic accept bits. | |
src | The input bit stream to be decoded | |
max | The maximum number of bits in the bit stream | |
bfu | The value of the current 32-bit word being decoded and the current bit position. |
static __inline BFU dgn_ped_cal_accept_set_decode | ( | unsigned int * | accepts[2], | |
const unsigned int * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) | [static] |
Decodes the CAL accept bits portion of the diagnostic data for one set of 32 log accept bits for each of log end.
accepts | The 192 accept bits for the tower being decoded | |
src | The input bit stream to be decoded | |
max | The maximum number of bits in the bit stream | |
bfu | The value of the current 32-bit word being decoded and the current bit position. |
static __inline BFU dgn_ped_cal_accept_twr_decode | ( | unsigned int * | accepts[3][2], | |
unsigned int const * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) | [static] |
Decodes the CAL accept bits portion of the diagnostic data for one tower.
accepts | The 192 accept bits for the tower being decoded | |
src | The input bit stream to be decoded | |
max | The maximum number of bits in the bit stream | |
bfu | The value of the current 32-bit word being decoded and the current bit position. |
BFU QDF_dgnPedDecode | ( | QDF_dgnCtx * | ctx, | |
QDF_dgnEvt * | evt, | |||
unsigned int const * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes the DGN.
ctx | The compressed data decoding context | |
evt | The DGN event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |