GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCI / dev
Constituent: lci     Tag: mcp750
#include "LCI/LCI_msgs.h"
#include "collect_p.h"
#include "enums_p.h"
#include "LSEC/enums.h"
#include "LEM/list.h"
#include "LEM/defs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "EDS/EBF_siv.h"
#include "EDS/EBF_cid.h"
#include "EDS/EBF_edw.h"
#include "macros_p.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for collect.c:

Defines | |
| #define | inline __inline |
Enumerations | |
| enum | { LCI_TIME_OVERHEAD = 10000, LCI_TIME_TICS_USEC = 20, LCI_TIME_MULTIPLIER = 5 } |
Functions | |
| static unsigned | startTriggers (LEM_micr *cr, unsigned nev) |
| Configure the GEM to send the requested number of periodic triggers. | |
| static unsigned | stopTriggers (LEM_micr *cr) |
| Clear the trigger mask. | |
| LCI_collection * | LCI_newCollection (unsigned cap) |
| Allocate and initialise an LCI_collection structure. | |
| void | LCI_deleteCollection (LCI_collection *cll) |
| Free a structure previously allocated using LCI_newCollection. | |
| void | LCI_setCollectionCom (LCI_collection *cll, void *lcbd, void *cr) |
| Set the communications pointers of the collection structure. | |
| void | LCI_clearCollection (LCI_collection *cll) |
| Clear out anything left from a previous cycle. | |
| void | LCI_put (LCI_collection *cll, unsigned edw, EBF_pkt *pkt) |
| Copy the packet into the storage area, update the state information vector and compose the directory - on the last packet of the event construct the event. | |
| EBF_dir * | LCI_get (LCI_collection *cll) |
| Return the directory of the next event (or NULL) and advance the read counter. | |
| void | LCI_restart (LCI_collection *cll) |
| Reset the read counter to 0. | |
| unsigned | LCI_collected (LCI_collection *cll) |
| Get the number of events collected. | |
| void | LCI_clearCollCounts (LCI_collection *cll) |
| Clear collection counters. | |
| void | LCI_collCounts (LCI_collection *cll, unsigned int *nWait, unsigned int *nSignal, unsigned int *nTimeout) |
| Get collection counters. | |
| unsigned int | LCI_evt_cb (void *prm, unsigned int dsc, LCBD_evt *pkt) |
| LCI event handler that initiates the event collection. | |
| unsigned | LCI_collect (LCI_collection *cll, unsigned nev, unsigned period) |
| Initiate the calibration triggers and wait for the events to be collected and constructed. | |
|
|
|
|
|
Clear collection counters. This routine calls through to the cue counter clear routine.
|
|
|
Clear out anything left from a previous cycle.
|
|
||||||||||||||||||||
|
Get collection counters. This routine calls through to the cue counters get routine, returning the counts accumulated since the last clear.
|
|
||||||||||||||||
|
Initiate the calibration triggers and wait for the events to be collected and constructed.
|
|
|
Get the number of events collected.
|
|
|
Free a structure previously allocated using LCI_newCollection.
|
|
||||||||||||||||
|
LCI event handler that initiates the event collection.
|
|
|
Return the directory of the next event (or NULL) and advance the read counter.
|
|
|
Allocate and initialise an LCI_collection structure.
|
|
||||||||||||||||
|
Copy the packet into the storage area, update the state information vector and compose the directory - on the last packet of the event construct the event.
|
|
|
Reset the read counter to 0.
|
|
||||||||||||||||
|
Set the communications pointers of the collection structure. The lcbd and cr pointers are void to avoid dragging in LCBD and LEM dependancies
|
|
||||||||||||
|
Configure the GEM to send the requested number of periodic triggers.
|
|
|
Clear the trigger mask.
|
1.4.4