GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / dev > lsec_test / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

LSEC.h File Reference

Public definitions for the calibration event system. More...

#include <LSEC/LSEC_ctx.h>
#include <EDS/EBF_pkt.h>

Typedefs

typedef enum _LSEC_compLevel LSEC_compLevel
 Compression level values.
typedef enum _LSEC_evtStatus LSEC_evtStatus
 Event processing status values.
typedef struct _LSEC_control LSEC_control
 Declaration of the opaque control structure.

Enumerations

enum  _LSEC_compLevel {
  LSEC_COMP_NORM = 0,
  LSEC_COMP_ONLY = 1,
  LSEC_COMP_NONE = 2,
  LSEC_COMP_DROP = 3
}
 Compression level values. More...
enum  _LSEC_evtStatus {
  LSEC_EVT_FREE = 0x01,
  LSEC_EVT_DONE = 0x02
}
 Event processing status values. More...

Functions

void LSEC_clearEvent (LSEC_control *lsec)
unsigned LSEC_consign (LSEC_control *lsec)
LSEC_ctxLSEC_getCtx (LSEC_control *lsec)
void LSEC_getTimes (LSEC_control *lsec, long long *times)
LSEC_controlLSEC_initialize (unsigned cpuid, unsigned srcid, unsigned cap)
void LSEC_initRun (LSEC_control *lsec, unsigned runid, unsigned mode, LSEC_compLevel comp)
LSEC_evtStatus LSEC_processEvent (LSEC_control *lsec, unsigned int edw, EBF_pkt *pkt)
void LSEC_setReason (LSEC_control *lsec, int reason)
void LSEC_terminate (LSEC_control *lsec)


Detailed Description

Public definitions for the calibration event system.

Author:
Owen Saxton
$Id: LSEC.h,v 1.5 2011/03/27 17:33:21 saxton Exp $

Enumeration Type Documentation

Compression level values.

Enumerator:
LSEC_COMP_NORM  Normal compression.
LSEC_COMP_ONLY  No compression and send only data for type.
LSEC_COMP_NONE  No compression and send all data.
LSEC_COMP_DROP  Drop all the data on the floor.

Event processing status values.

Enumerator:
LSEC_EVT_FREE  Free the packet.
LSEC_EVT_DONE  Event is complete.


Generated on Mon Mar 28 10:56:43 2011 by  doxygen 1.5.8