GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LTC / V6-2-4 > ltct / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

LTC_cmddefs.h File Reference

Structures associated with CCSDS commands to subsystem LTC \ This file was auto-generated on Tue 05 Jun 2007 09:28:24 AM PDT \ LCAT version: V1-21-5. More...

#include <PBI/Endianness.h>

Classes

struct  _LTC_ReStart_Prm
 Restart and initialize Thermal Control \ APID 0x658 \ function code 1. More...
struct  _LTC_Start_Prm
 Start control \ APID 0x658 \ function code 2. More...
struct  _LTC_SetMode_Prm
 Set thermal control mode to active or passive. \ APID 0x658 \ function code 4. More...
struct  _LTC_HtrOnOffCtl_Prm
 Set heater to always on, or off or automatic control. \ APID 0x658 \ function code 5. More...
struct  _LTC_SetParam_Prm
 Set control parameters to new values. \ APID 0x658 \ function code 6. More...
struct  _LTC_SetTlmFreq_Prm
 Set LTC telemetry frequency, 0 is off. \ APID 0x658 \ function code 7. More...
struct  _LTC_CntlStart_Prm
 LTC Control Start Readout (Internal) \ APID 0x659 \ function code 0. More...
struct  _LTC_CntlProc_Prm
 LTC Control Start Processing (Internal) \ APID 0x659 \ function code 1. More...
struct  _LTC_ReStart_Pkt
 Restart and initialize Thermal Control \ APID 0x658 \ function code 1. More...
struct  _LTC_Start_Pkt
 Start control \ APID 0x658 \ function code 2. More...
struct  _LTC_Stop_Pkt
 Terminate Thermal Control processing \ APID 0x658 \ function code 3. More...
struct  _LTC_SetMode_Pkt
 Set thermal control mode to active or passive. \ APID 0x658 \ function code 4. More...
struct  _LTC_HtrOnOffCtl_Pkt
 Set heater to always on, or off or automatic control. \ APID 0x658 \ function code 5. More...
struct  _LTC_SetParam_Pkt
 Set control parameters to new values. \ APID 0x658 \ function code 6. More...
struct  _LTC_SetTlmFreq_Pkt
 Set LTC telemetry frequency, 0 is off. \ APID 0x658 \ function code 7. More...
struct  _LTC_CntlStart_Pkt
 LTC Control Start Readout (Internal) \ APID 0x659 \ function code 0. More...
struct  _LTC_CntlProc_Pkt
 LTC Control Start Processing (Internal) \ APID 0x659 \ function code 1. More...
struct  _LTC_Noop_Pkt
 LTC Task No-op \ APID 0x658 \ function code 8. More...

Typedefs

typedef struct _LTC_ReStart_Prm LTC_ReStart_Prm
 Typedef for structure _LTC_ReStart_Prm.
typedef struct _LTC_Start_Prm LTC_Start_Prm
 Typedef for structure _LTC_Start_Prm.
typedef struct _LTC_SetMode_Prm LTC_SetMode_Prm
 Typedef for structure _LTC_SetMode_Prm.
typedef struct _LTC_HtrOnOffCtl_Prm LTC_HtrOnOffCtl_Prm
 Typedef for structure _LTC_HtrOnOffCtl_Prm.
typedef struct _LTC_SetParam_Prm LTC_SetParam_Prm
 Typedef for structure _LTC_SetParam_Prm.
typedef struct _LTC_SetTlmFreq_Prm LTC_SetTlmFreq_Prm
 Typedef for structure _LTC_SetTlmFreq_Prm.
typedef struct _LTC_CntlStart_Prm LTC_CntlStart_Prm
 Typedef for structure _LTC_CntlStart_Prm.
typedef struct _LTC_CntlProc_Prm LTC_CntlProc_Prm
 Typedef for structure _LTC_CntlProc_Prm.
typedef struct _LTC_ReStart_Pkt LTC_ReStart_Pkt
 Typedef for packet _LTC_ReStart_Pkt.
typedef struct _LTC_Start_Pkt LTC_Start_Pkt
 Typedef for packet _LTC_Start_Pkt.
typedef struct _LTC_Stop_Pkt LTC_Stop_Pkt
 Typedef for packet _LTC_Stop_Pkt.
typedef struct _LTC_SetMode_Pkt LTC_SetMode_Pkt
 Typedef for packet _LTC_SetMode_Pkt.
typedef struct _LTC_HtrOnOffCtl_Pkt LTC_HtrOnOffCtl_Pkt
 Typedef for packet _LTC_HtrOnOffCtl_Pkt.
typedef struct _LTC_SetParam_Pkt LTC_SetParam_Pkt
 Typedef for packet _LTC_SetParam_Pkt.
typedef struct _LTC_SetTlmFreq_Pkt LTC_SetTlmFreq_Pkt
 Typedef for packet _LTC_SetTlmFreq_Pkt.
typedef struct _LTC_CntlStart_Pkt LTC_CntlStart_Pkt
 Typedef for packet _LTC_CntlStart_Pkt.
typedef struct _LTC_CntlProc_Pkt LTC_CntlProc_Pkt
 Typedef for packet _LTC_CntlProc_Pkt.
typedef struct _LTC_Noop_Pkt LTC_Noop_Pkt
 Typedef for packet _LTC_Noop_Pkt.
typedef enum _LTC_Apid658Fcodes LTC_Apid658Fcodes
 Typedef for enumeration _LTC_Apid658Fcodes.
typedef enum _LTC_Apid659Fcodes LTC_Apid659Fcodes
 Typedef for enumeration _LTC_Apid659Fcodes.

Enumerations

enum  _LTC_Apid658Fcodes {
  LTC_RESTART_FCODE = 1,
  LTC_START_FCODE = 2,
  LTC_STOP_FCODE = 3,
  LTC_SETMODE_FCODE = 4,
  LTC_HTRONOFFCTL_FCODE = 5,
  LTC_SETPARAM_FCODE = 6,
  LTC_SETTLMFREQ_FCODE = 7,
  LTC_NOOP_FCODE = 8
}
 Function code enumerations for apid 0x658. More...
enum  _LTC_Apid659Fcodes {
  LTC_CNTLSTART_FCODE = 0,
  LTC_CNTLPROC_FCODE = 1
}
 Function code enumerations for apid 0x659. More...

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_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.
unsigned int LTC_Noop (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LTC Noop command.


Detailed Description

Structures associated with CCSDS commands to subsystem LTC \ This file was auto-generated on Tue 05 Jun 2007 09:28:24 AM PDT \ LCAT version: V1-21-5.

Warning:
Machine generated code - NEVER edit by hand

Enumeration Type Documentation

Function code enumerations for apid 0x658.

Enumerator:
LTC_RESTART_FCODE  APID 0x658 function code 1
LTC_START_FCODE  APID 0x658 function code 2
LTC_STOP_FCODE  APID 0x658 function code 3
LTC_SETMODE_FCODE  APID 0x658 function code 4
LTC_HTRONOFFCTL_FCODE  APID 0x658 function code 5
LTC_SETPARAM_FCODE  APID 0x658 function code 6
LTC_SETTLMFREQ_FCODE  APID 0x658 function code 7
LTC_NOOP_FCODE  APID 0x658 function code 8

Function code enumerations for apid 0x659.

Enumerator:
LTC_CNTLSTART_FCODE  APID 0x659 function code 0
LTC_CNTLPROC_FCODE  APID 0x659 function code 1


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 Fri Sep 30 18:48:47 2011 by  doxygen 1.5.8