GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-1-0 > lci / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

Functions
LCI_cmd.c File Reference

Routines associated with CCSDS commands to subsystem LCI. More...

#include <lci_p.h>
#include <LCI/LCI_msgs.h>
#include <LCI/LCI_cmddefs.h>
#include <LCI/LCI_cmdxtrn.h>
#include <ITC/ITC_pubdefs.h>

Functions

unsigned int LCI_CALIBRATE (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CALIBRATE command.
unsigned int LCI_ABORT (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the ABORT command.
unsigned int LCI_NOOP (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the NOOP command.

Detailed Description

Routines associated with CCSDS commands to subsystem LCI.

Author:
James Swain & Owen Saxton

$Id: LCI_cmd.c,v 1.9 2011/03/29 19:32:56 saxton Exp $


Function Documentation

unsigned int LCI_ABORT ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the ABORT command.

Parameters:
prmUser context parameter
qitemQueue item
payPayload pointer
lenPayload length
Return values:
LCI_SUCCESSAlways

References LCI_abort().

unsigned int LCI_CALIBRATE ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the CALIBRATE command.

Parameters:
prmUser context parameter
qitemQueue item
payPayload pointer
lenPayload length
Returns:
Return status from LCI_calibrate

References _LCI_CALIBRATE_Prm::LATCCFG, LCI_calibrate(), _LCI_CALIBRATE_Prm::LCICFG, _LCI_CALIBRATE_Prm::LCIRUNID, and _LCI_CALIBRATE_Pkt::pay.

unsigned int LCI_NOOP ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the NOOP command.

Parameters:
prmUser context parameter
qitemQueue item
payPayload pointer
lenPayload length
Return values:
LCI_SUCCESSAlways