GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-6 > edsd / sun-gcc
#include <EDS/EDS_fw.h>
#include <EDS/EDSD_tkr.h>
#include <EDS/LCBV.h>
#include <EDS/EBF_pkt.h>
#include <EDS/EBF_siv.h>
#include <EDS/EBF_ctb.h>
#include <EDS/EBF_evt.h>
#include <EDS/EBF_dir.h>
#include <EDS/EBF_edw.h>
#include <EDS/EBF_tkr.h>
#include <EDS/EDR_tkr.h>
#include <EDS/EDR_tkrUnpack.h>
#include <EDS/EDR_tkrPrint.h>
#include <EDS/TMR.h>
#include <PBI/FFS.ih>
#include <stdio.h>
#include <stdlib.h>
Classes | |
struct | _EDSD_tkrCtl |
The control structure for the SIV demo/test. More... | |
struct | _TkrTowerCnts |
Consolidates various global statistics about a tower. More... | |
Typedefs | |
typedef struct _EDSD_tkrCtl | EDSD_tkrCtl |
Typedef for struct _EDSD_tkrCtl. | |
typedef struct _TkrTowerCnts | TkrTowerCnts |
Typedef for struct _TkrTowerCnts. | |
Functions | |
static int | testEvt (EDSD_tkrCtl *ctl, EDS_fwEvt *evt) |
Tests one event. | |
int | EDSD_tkrSizeof (void) |
Size, in bytes, of EDSD EBF_tkr control block. | |
unsigned int | EDSD_tkrProcess (EDSD_tkrCtl *ctl, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb) |
Processes the events,. | |
int | EDSD_tkrConstruct (EDSD_tkrCtl *ctl) |
Allocates and initializes the unpacking buffers. | |
int | EDSD_tkrReport (const EDSD_tkrCtl *ctl) |
Reporting routine. | |
int | EDSD_tkrDestruct (EDSD_tkrCtl *ctl) |
DeAllocates and the unpacking buffers. |
CVS $Id: EDSD_tkr.c,v 1.7 2011/03/25 22:16:56 russell Exp $
int EDSD_tkrConstruct | ( | EDSD_tkrCtl * | ctl | ) |
Allocates and initializes the unpacking buffers.
ctl | Pointer to the control buffer |
int EDSD_tkrDestruct | ( | EDSD_tkrCtl * | ctl | ) |
DeAllocates and the unpacking buffers.
ctl | Pointer to the control buffer |
unsigned int EDSD_tkrProcess | ( | EDSD_tkrCtl * | ctl, | |
unsigned int | pktBytes, | |||
EBF_pkt * | pkt, | |||
EBF_siv | siv, | |||
EDS_fwIxb * | ixb | |||
) |
Processes the events,.
ctl | Control structure | |
pktBytes | The number of bytes in the packet | |
pkt | Pointer to the event packet | |
siv | The state information vector | |
ixb | The information exchange block |
References testEvt().
int EDSD_tkrReport | ( | const EDSD_tkrCtl * | ctl | ) |
Reporting routine.
ctl | The TKR control block |
int EDSD_tkrSizeof | ( | void | ) |
Size, in bytes, of EDSD EBF_tkr control block.
static int testEvt | ( | EDSD_tkrCtl * | ctl, | |
EDS_fwEvt * | evt | |||
) | [static] |
Tests one event.
ctl | Control structure | |
evt | The event structure |
References _TkrTowerCnts::len, _TkrTowerCnts::nLayerEnds, and _TkrTowerCnts::nStrips.
Referenced by EDSD_tkrProcess().