GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCI / dev
Constituent: lci     Tag: mcp750
#include "LCI/lci.h"
#include "ITC/ITC_pubdefs.h"
Include dependency graph for control.h:

This graph shows which files directly or indirectly include this file:

Typedefs | |
| typedef _LCI_controller | LCI_controller |
| Declaration of the opaque controller structure. | |
Functions | |
| void | LCI_abort (void) |
| Abort a calibration. | |
| unsigned | LCI_calibrate (unsigned latccfg, unsigned lcicfg, unsigned lcirunid, ITC_NodeID iniNode, ITC_TaskID iniTask, ITC_QueueID iniQueue) |
| Start a new calibration. | |
| void | LCI_cb_statusFree (ITC_QueueItem *qitem, unsigned status, void *prm0, void *prm1, void *prm2, unsigned tx) |
| unsigned | LCI_cycle (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned len) |
| unsigned | LCI_cycles (void) |
| Get the calibration cycle count. | |
| void | LCI_deleteController (LCI_controller *cnt) |
| Free the calibration controller structure. | |
| LCI_controller * | LCI_newController (unsigned cap, unsigned cpuid, unsigned srcid) |
| Create calibration controller structure. | |
| unsigned | LCI_init (unsigned capacity, unsigned cpuid, unsigned srcid) |
| Initialize the calibration system. | |
| unsigned | LCI_start (const TASK_attr *attr) |
| Start the LCI task. | |
| unsigned | LCI_startCycle (void) |
| Request the next calibration cycle. | |
| unsigned | LCI_status (void) |
| Get the calibration state. | |
| unsigned | LCI_terminate (unsigned status) |
| Terminate a calibration. | |
| unsigned | LCI_monitor (unsigned mon) |
| Set the calibration monitoring level. | |
|
|
Abort a calibration. This routine is called when an abort calibration telecommand is received. If the current state is calibrating, it changes the state to aborting |
|
||||||||||||||||||||||||||||
|
Start a new calibration. This routine is called when a start calibration telecommand is received. It first uses LATC to perform an initial LAT configuration then peforms a configure, collect, compact, consign cycle for each LCI configuration in the LCI file.
|
|
|
Get the calibration cycle count. This rouine returns the number of cycles performed since the last calibration command was issued.
|
|
|
Free the calibration controller structure. This routine frees all the resources associated with the LCI task. |
|
||||||||||||||||
|
Initialize the calibration system. This routine performs resource allocation, initializes the ITC message queues, and sets the state to INITIALISED.
|
|
|
Set the calibration monitoring level. This routine sets the LCI monitoring level and returns the old value.
|
|
||||||||||||||||
|
Create calibration controller structure. This routine allocates memory for an LCI_controller structure and all associated structures.
|
|
|
Start the LCI task. This routine starts the LCI task and waits for it be up and running before setting the state to WAITING.
|
|
|
Request the next calibration cycle. This routine is called whenever the next (or first) calibration cycle is to be performed. It puts an empty item to the LCI bulk queue to initiate the cycle. This indirection is needed to allow any abort requests to be processed in a timely manner.
|
|
|
Get the calibration state. This routine returns the current state of LCI.
|
|
|
Terminate a calibration. This routine finishes out the calibration by sending a status message back to the originating task and setting the state to WAITING.
|
1.4.4