GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / dev > qse / rhel5-64
#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 <PBI/FFS.ih>
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.2 2011/03/27 01:45:44 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. |
References dgn_ped_cal_accept_twr_decode(), _QDF_dgnCalAccept::map, and _QDF_dgnCalAccept::twrs.
Referenced by QDF_dgnPedDecode().
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. |
Referenced by dgn_ped_cal_accept_twr_decode().
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. |
References dgn_ped_cal_accept_set_decode().
Referenced by dgn_ped_cal_accept_decode().
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 |
References _QDF_dgnTkrDat::accept, _QDF_dgnCalDat::accept, _QDF_dgnPedEvt::cal, _QDF_dgnDat::cal, _QDF_errEvt::cal_map, _QDF_maps::calHiLo, _QDF_maps::ctids, _QDF_dgnEvt::dat, _QDF_esbEvt::dgn_ids, dgn_ped_cal_accept_decode(), _QDF_dgnHdrEvt::err, _QDF_dgnHdrEvt::esb, _QDF_dgnPedEvt::gem, _QDF_dgnPedEvt::hdr, _QDF_dgnStdEvt::hdr, _QDF_tkrEvt::map, _QDF_dgnEvt::ped, QDF_dgn_gen_cal_trg_decode(), QDF_dgn_gen_hdr_decode(), QDF_dgn_gen_tkr_accept_decode(), _QDF_dgnEvt::std, _QDF_dgnDat::tkr, _QDF_dgnStdEvt::tkr, _QDF_errEvt::tkr_map, and _QDF_dgnCalDat::trg.