GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCI / dev
Constituent: lci     Tag: mcp750
#include "LCI/LCI_msgs.h"
#include "cue_p.h"
#include "LEM/msg_macros.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/WUT.h"
#include "PBS/SEM.h"
#include <string.h>
Include dependency graph for cue.c:

Functions | |
| static WUT_cb_status | cue_wut_cb (void *prm, WUT_tmr *wut) |
| Timer callback. | |
| LCI_cue * | LCI_newCue (void) |
| Create a new cue. | |
| unsigned | LCI_deleteCue (LCI_cue *cue) |
| Delete a cue. | |
| void | LCI_clearCue (LCI_cue *cue) |
| Clear a cue. | |
| unsigned | LCI_waitCue (LCI_cue *cue, unsigned timeout) |
| Wait for a cue to complete or time out. | |
| void | LCI_signalCue (LCI_cue *cue) |
| Signal cue completion. | |
| void | LCI_clearCueCounts (LCI_cue *cue) |
| Clear cue counters. | |
| void | LCI_getCueCounts (LCI_cue *cue, unsigned int *nWait, unsigned int *nSignal, unsigned int *nTimeout) |
| Get cue counters. | |
|
||||||||||||
|
Timer callback. This routine is called back when the wake-up timer goes off. It sets the end state to LCI_CUE_TIMEDOUT and gives the semaphore
|
|
|
Clear a cue. This routine puts the cue into a known cleared state, ready for the next wait.
|
|
|
Clear cue counters. This routine zeroes the counts of waits, signals and timeouts.
|
|
|
Delete a cue. This routine destroys the semaphore and wake-up timer and then frees the memory associated with the cue structure
|
|
||||||||||||||||||||
|
Get cue counters. This routine obtains the counts of waits, signals and timeouts since the last time the cue was cleared.
|
|
|
Create a new cue. This routine allocates memory for the cue structure then creates the timer and semaphore to be held by the structure
|
|
|
Signal cue completion. This routine signals completion by setting the end state to LCI_CUE_SIGNALED and giving the semaphore
|
|
||||||||||||
|
Wait for a cue to complete or time out. This routine starts the wake-up timer and takes the semaphore
|
1.4.4