GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > eds / mv2304
#include <EDS/EBF_dir.h>
#include <EDS/EBF_ctb.h>
#include <EDS/EBF_cid.h>
#include <EDS/EDA_acd.h>
#include <EDS/EDR_acd.h>
#include <EDS/EDR_acdUnpack.h>
#include <EDR_acdRemap.h>
#include <ACD_mapdef.h>
#include <PBI/FFS.ih>
#include <PBI/Endianness.h>
#include <PBI/PTR.h>
Functions | |
int | EDR_acdUnpack (EDR_acd *acd, const EBF_dir *dir) |
Unpacks an ACD record from the AEM into a standard structure. | |
int | EDR_acdUnpackInit (EDR_acd *acd) |
One-time initialization an EDR_acd structure. | |
void | EDR_acdUnpackReset (EDR_acd *acd) |
Resets the EDR_acd structure, preparing it for a new event. | |
unsigned int | EDR_acdUnpackSizeof (void) |
Returns the size, in bytes, of an EDR_acd structure. |
CVS $Id: EDR_acdUnpack.c,v 1.8 2011/03/25 22:16:56 russell Exp $
Unpacks an ACD record from the AEM into a standard structure.
acd | Pointer to the data structure to receive the unpacked data | |
dir | The EBF directory for this event |
References _EDR_acdRemap::brds, _EDR_acd::cables, _EBF_dirCtbDsc::ctb, _EBF_dir::ctbs, _EBF_ctb::dat, EBF_CID_K_AEM, EDA_ACD_K_NCHNS_PER_BRD, EDA_ACD_LIST_K_RU, EDA_ACD_LIST_K_XY, EDA_ACD_LIST_K_XZ, EDA_ACD_LIST_K_YZ, EDA_ACD_SIDE_K_A, EDA_ACD_SIDE_K_B, EDR_ACD_STATUS_M_DUP_CABLE, EDR_ACD_STATUS_M_FATAL, EDR_ACD_STATUS_M_ILL_CABLE, EDR_ACD_STATUS_M_PHA_OVRRUN, EDR_ACD_STATUS_M_PHA_UNDRUN, _EDR_acd::hits, HW_ACCESS, _EDR_acdRemapBrd::msks, _EDR_acd::naccepts, _EDR_acd::nphas, _EDR_acd::nuphas, _EDR_acd::paccepts, _EDR_acd::phas, _EDR_acdRemapBrd::rma, _EDR_acdRemapBrd::rmc, _EDR_acd::start_parity, _EDR_acd::status, _EDR_acd::ucables, _EDR_acd::unmatched_parity, _EDR_acd::unpacked, and _EDR_acd::uphas.
int EDR_acdUnpackInit | ( | EDR_acd * | acd | ) |
One-time initialization an EDR_acd structure.
acd | The EDR_acd structure to initialize |
References _EDR_acd::unpacked.
Referenced by initIxbObjTbl().
void EDR_acdUnpackReset | ( | EDR_acd * | acd | ) |
Resets the EDR_acd structure, preparing it for a new event.
acd | The EDR_acd structure to reset |
References _EDR_acd::unpacked.
Referenced by initIxbObjTbl().
unsigned int EDR_acdUnpackSizeof | ( | void | ) |
Returns the size, in bytes, of an EDR_acd structure.
After allocating an EDR_acd structure, the structure should be initialized using EDR_acdUnpackInit().