GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LTC / dev > ltct / rad750


Interface   Data Structures   File List   Data Fields   Globals  

LTC_cmd.c File Reference

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

#include <LTC/LTC_msgs.h>
#include <LTC/LTC_cmddefs.h>
#include <LTC/LTC_cmdxtrn.h>
#include <ltcPrivate.h>
#include <ITC/ITC_pubdefs.h>

Functions

unsigned int LTC_ReStart (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC ReStart command.
unsigned int LTC_Start (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC Start command.
unsigned int LTC_Stop (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC Stop command.
unsigned int LTC_SetMode (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC SetMode command.
unsigned int LTC_HtrOnOffCtl (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC HtrOnOffCtl command.
unsigned int LTC_SetParam (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC SetParam command.
unsigned int LTC_SetTlmFreq (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC HtrOnOffCtl command.
unsigned int LTC_Noop (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC Noop command.
unsigned int LTC_CntlStart (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CntlStart command.
unsigned int LTC_CntlProc (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CntlProc command.


Detailed Description

Routines associated with CCSDS commands to subsystem LTC.


Function Documentation

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

Callback function for the CntlProc command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

References _LTC_Wrk::cmdHdrSize, LTC_ProcPduRsp(), LTC_STOPPED, and _LTC_Wrk::runMode.

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

Callback function for the CntlStart command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

References LTC_ReadSensors(), LTC_STOPPED, and _LTC_Wrk::runMode.

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

Callback function for the LTC HtrOnOffCtl command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References LTC_Options::cntrlMode, _LTC_Wrk::htP, _LTC_HtrOnOffCtl_Prm::HtrNum, _LTC_HtrOnOffCtl_Prm::OnOffCtl, LTC_HeatPipe::opts, _LTC_HtrOnOffCtl_Pkt::pay, and PRINTF.

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

Callback function for the LTC Noop command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

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

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

Callback function for the LTC SetMode command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References _LTC_SetMode_Prm::ActiveOrPassive, _LTC_Reset::cmdMode, _LTC_Wrk::cmdMode, LTC_K_RESET_FORMAT_0, _LTC_SetMode_Pkt::pay, PRINTF, _LTC_Wrk::reset, and _LTC_Wrk::trd.

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

Callback function for the LTC SetParam command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References _LTC_Wrk::htP, _LTC_SetParam_Prm::HtPipeSel, LTC_NUM_HPs, LTC_HeatPipe::param, _LTC_SetParam_Pkt::pay, PRINTF, _LTC_SetParam_Prm::ResHiLimit, _LTC_SetParam_Prm::ResLoLimit, _LTC_SetParam_Prm::RitDbDelta, _LTC_SetParam_Prm::RitHiLimit, _LTC_SetParam_Prm::RitLoLimit, and TSCLF.

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

Callback function for the LTC HtrOnOffCtl command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References _LTC_SetTlmFreq_Pkt::pay, PRINTF, _LTC_Wrk::tlmCnt, _LTC_Wrk::tlmFreq, and _LTC_SetTlmFreq_Prm::TlmFreq.

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

Callback function for the LTC Start command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References _LTC_Start_Prm::ActiveOrPassive, _LTC_Reset::cmdMode, _LTC_Wrk::cmdMode, LTC_InitSmooth(), LTC_K_RESET_FORMAT_0, LTC_RUNNING, MSG_SIGNAL, _LTC_Start_Pkt::pay, PRINTF, _LTC_Wrk::reset, _LTC_Wrk::runMode, _LTC_Wrk::trd, _LTC_Wrk::wut, and _LTC_Wrk::wutNSecs.

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

Callback function for the LTC Stop command.

Parameters:
prm User context parameter
qitem Queue item
pay Telecommand packet
len Payload length
Returns:

References LTC_STOPPED, MSG_SIGNAL, PRINTF, _LTC_Wrk::runMode, and _LTC_Wrk::wut.


Generated on Mon Mar 28 15:07:40 2011 by  doxygen 1.5.8