GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-2 > edsprint / mv2304
#include <stdio.h>
#include "EDS/EBF_dirPrint.h"
#include "EDS/EBF_pktPrint.h"
#include "EDS/EBF_dir.h"
#include "EDS/EBF_cid.h"
#include "EDS/EBF_evt.h"
#include "EDS/EBF_pkt.h"
#include "EDS/EBF_ctb.h"
#include "EDS/EBF_tkr.h"
#include "EDS/EBF_err.h"
#include "EDS/EBF_tem.h"
Classes | |
struct | _EBF_dgnErrDsc |
Descriptor for the diagnostic and error block. More... | |
Defines | |
#define | LSEP '<' |
#define | RSEP '>' |
Typedefs | |
typedef struct _EBF_dgnErrDsc | EBF_dgnErrDsc |
Typedef for struct _EBF_dgnErrDsc. | |
Functions | |
static __inline void | print_pktDsc (const EBF_dirPktDsc *dsc) |
Prints a hex dump of the specified packet descriptor. | |
static __inline void | print_pktDscs (const EBF_dirPktDsc *dscs, int ndscs) |
Prints a hex dump of the specified list of packet descriptors. | |
static void | print_err_raw (const EBF_dgnErrDsc *dsc) |
Prints the error record as a raw hex dump. | |
static void | print_data (const char *name, const unsigned int *dat, int cnt) |
Simple print routine. | |
void | EBF_dirPrint (const EBF_dir *dir) |
Provides a formatted print out of the contributors in dir. | |
void | EBF_acdPrint (const EBF_dirCtbDsc *acd) |
Provides a formatted print out of the contents of the ACD contribution. | |
void | EBF_calPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a CAL TEM contribution. | |
void | EBF_tkrPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a TKR TEM contribution. | |
void | EBF_dgnPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a TEM's diagnostic contribution. | |
static int | fill_DgnErrDsc (const EBF_dirCtbDsc *tem, const EBF_dirAuxDsc *aux, EBF_dgnErrDsc *dsc) |
Fills the diagnostic/error descriptor. | |
static int | printCalErrFmt (unsigned int calMask, const unsigned short int *err, int idx) |
static int | check (int err) |
static int | printTkrErrFmt (unsigned int tkrMask, const unsigned short int *err, int idx) |
static void | print_err_fmt (const EBF_dgnErrDsc *dsc) |
Produces a formatted dump of the error record. | |
static int | printCalErrRec (unsigned int calMask, const unsigned short int *err, int idx) |
static int | printTkrErrRec (unsigned int tkrMask, const unsigned short int *err, int idx) |
static void | print_err_rec (const EBF_dgnErrDsc *dsc) |
void | EBF_errPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a TEM's error contribution. | |
void | EBF_errPrintOpts (const EBF_dirCtbDsc *tem, const EBF_dirAuxDsc *aux, EBF_ERRPRINTOPTS_M opts) |
Print the error record. The opts controls the type of display. | |
void | EBF_padPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a TEM's pad contribution. | |
void | EBF_gemPrint (const EBF_dirCtbDsc *gem) |
Provides a formatted print out of the contents of the GEM contribution. | |
void | EBF_temPrint (const EBF_dirCtbDsc *tem) |
Provides a formatted print out of the contents of a TEM contribution. | |
void | EBF_dirPktsPrint (const EBF_dir *dir) |
Prints a hex dump of the packets for this directory. |
CVS $Id: EBF_dirPrint.c,v 1.9 2009/04/29 17:18:26 russell Exp $
void EBF_acdPrint | ( | const EBF_dirCtbDsc * | acd | ) |
Provides a formatted print out of the contents of the ACD contribution.
acd | Pointer to the ACD contributor descriptor |
void EBF_calPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a CAL TEM contribution.
tem | Pointer to the TEM contributor descriptor containing the CAL record to be printed |
void EBF_dgnPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a TEM's diagnostic contribution.
tem | Pointer to the TEM contributor descriptor containing the diagnostic data to be printed. |
void EBF_dirPktsPrint | ( | const EBF_dir * | dir | ) |
Prints a hex dump of the packets for this directory.
dir | The EBF directory |
void EBF_dirPrint | ( | const EBF_dir * | dir | ) |
Provides a formatted print out of the contributors in dir.
dir | The directory for this event |
void EBF_errPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a TEM's error contribution.
tem | Pointer to the TEM contributor descriptor containing the error data to be printed. |
void EBF_errPrintOpts | ( | const EBF_dirCtbDsc * | tem, | |
const EBF_dirAuxDsc * | aux, | |||
EBF_ERRPRINTOPTS_M | opts | |||
) |
Print the error record. The opts controls the type of display.
tem | Pointer to the TEM contributor descriptor | |
aux | Pointer to the AUX descriptor, may be NULL | |
opts | The print options, |
void EBF_gemPrint | ( | const EBF_dirCtbDsc * | gem | ) |
Provides a formatted print out of the contents of the GEM contribution.
gem | A pointer to the trigger contributor descriptor. |
void EBF_padPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a TEM's pad contribution.
tem | Pointer to the TEM contributor descriptor containing the pad data to be printed. |
void EBF_temPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a TEM contribution.
tem | Pointer to the TEM contributor descriptor to be printed |
void EBF_tkrPrint | ( | const EBF_dirCtbDsc * | tem | ) |
Provides a formatted print out of the contents of a TKR TEM contribution.
tem | Pointer to the TEM contributor descriptor containing the TKR data to be printed |
static int fill_DgnErrDsc | ( | const EBF_dirCtbDsc * | tem, | |
const EBF_dirAuxDsc * | aux, | |||
EBF_dgnErrDsc * | dsc | |||
) | [static] |
Fills the diagnostic/error descriptor.
tem | Pointer to the TEM contributor descriptor | |
aux | Pointer to the AUX descriptor, may be NULL | |
dsc | Pointer to the DGN/ERR descriptor to be filled |
static void print_data | ( | const char * | name, | |
const unsigned int * | dat, | |||
int | cnt | |||
) | [static] |
Simple print routine.
name | The contributor's name | |
dat | The contributor's data | |
cnt | The length of the data section in words |
static print_err_fmt | ( | const EBF_dgnErrDsc * | dsc | ) | [static] |
Produces a formatted dump of the error record.
dsc | Pointer to the DGN/ERR descriptor |
static void print_err_raw | ( | const EBF_dgnErrDsc * | dsc | ) | [static] |
Prints the error record as a raw hex dump.
void print_err_raw (const EBF_dgnErrDsc *dsc)
dsc | The descriptor giving the pointer and length of the error contribution |
static __inline void print_pktDsc | ( | const EBF_dirPktDsc * | dsc | ) | [static] |
Prints a hex dump of the specified packet descriptor.
dsc | The packet descriptor |
static __inline void print_pktDscs | ( | const EBF_dirPktDsc * | dscs, | |
int | ndscs | |||
) | [static] |
Prints a hex dump of the specified list of packet descriptors.
dscs | The list of packet descriptors to print | |
ndscs | The count of packet descriptors to print |