GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc
#include "QSE/QDF_errRepack.h"
#include "QSE/QDF_esb.h"
#include "QDF_err_def.h"
#include "EDS/EBF_ctb.h"
#include "EDS/EBF_cid.h"
#include "PBI/Endianness.h"
#include "PBI/Unions.h"
#include <string.h>
Defines | |
#define | TAG0 0xd |
#define | TAG1 0x2 |
#define | TAG2 0x7 |
#define | TAG3 0x8 |
#define | TAGS ((TAG3<<12) | (TAG2<<8) | (TAG1<<4) | TAG0) |
Functions | |
static __inline int | qdf_err_tem_repack_tkr_pe (unsigned short int *dst, int idx, unsigned int rc_template) |
static __inline int | qdf_err_tem_repack_tkr_towd (unsigned short int *dst, int idx) |
static __inline int | qdf_err_tem_repack_tkr (unsigned short int *dst, int idx, const QDF_errTemTkr *tkr, unsigned int ccMask, unsigned int tag) |
Repacks the TKR portion of the error record when it is a standard TEM A or B bug. | |
unsigned int * | QDF_errRepack (const QDF_errEvt *err, int tem, unsigned int *dst, const EBF_ctb *end) |
Fills in the ERR contribution. | |
unsigned int * | qdf_err_tem_repack_bugA (const QDF_errTemRepackBugA *err, unsigned int tag, unsigned short int *dst, const EBF_ctb *end) |
Repacks TEM BUG A style error blocks. | |
unsigned int * | qdf_err_tem_repack_bugB (const QDF_errTemRepackBugB *err, unsigned int tag, unsigned short int *dst, const EBF_ctb *end) |
Repacks TEM BUG B style error blocks. | |
unsigned int * | qdf_err_tem_repack_copy (const QDF_errTemRepackCopy *err, unsigned int tag, unsigned short int *dst, const EBF_ctb *end) |
Repacks copy style error blocks. |
CVS $Id: QDF_errRepack.c,v 1.1 2009/05/01 00:21:44 russell Exp $
unsigned int* qdf_err_tem_repack_bugA | ( | const QDF_errTemRepackBugA * | err, | |
unsigned int | tag, | |||
unsigned short int * | dst, | |||
const EBF_ctb * | end | |||
) |
Repacks TEM BUG A style error blocks.
err | The ERR parameter and data (source) | |
tag | The event tag | |
dst | The destination address to fill with the error record. | |
end | The address after the last available address |
unsigned int* qdf_err_tem_repack_bugB | ( | const QDF_errTemRepackBugB * | err, | |
unsigned int | tag, | |||
unsigned short int * | dst, | |||
const EBF_ctb * | end | |||
) |
Repacks TEM BUG B style error blocks.
err | The ERR parameter and data (source) | |
tag | The event tag | |
dst | The destination address to fill with the error record. | |
end | The address after the last available address |
unsigned int* qdf_err_tem_repack_copy | ( | const QDF_errTemRepackCopy * | err, | |
unsigned int | tag, | |||
unsigned short int * | dst, | |||
const EBF_ctb * | end | |||
) |
Repacks copy style error blocks.
err | The ERR parameter and data (source) | |
tag | The event tag | |
dst | The destination address to write the error record. | |
end | The address after the last available address |
static __inline int qdf_err_tem_repack_tkr | ( | unsigned short int * | dst, | |
int | idx, | |||
const QDF_errTemTkr * | tkr, | |||
unsigned int | ccMask, | |||
unsigned int | tag | |||
) | [static] |
Repacks the TKR portion of the error record when it is a standard TEM A or B bug.
dst | The destination buffer | |
idx | The index to the next 16 bit word to fill in the destination buffer, dst. | |
tkr | The TKR information TKR needed to fill the TKR error record. | |
ccMask | The left justified bit mask of those TKR cables that are in error. | |
tag | The event tag (lower 2 bits of the event sequence number). |
unsigned int* QDF_errRepack | ( | const QDF_errEvt * | err, | |
int | tem, | |||
unsigned int * | dst, | |||
const EBF_ctb * | end | |||
) |
Fills in the ERR contribution.
err | The ERR event data (source) | |
tem | Which tem | |
dst | The destination address to write the error record. | |
end | The address after the last available address |