GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LTC / V6-0-2
Constituent: ltct     Tag: linux-gcc
#include "PBS/TASK.h"
#include "PBS/WCT.h"
#include "PBS/MBA.h"
#include "PBS/RW.h"
#include "LTC/ltc.h"
#include "LTC/LTC_msgs.h"
#include "LTC/LTC_cmdxtrn.h"
#include "LTC/LTC_tlmdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_pubdefs.h"
#include "LEM/defs.h"
#include "LEM/encode.h"
#include "LEM/encode_structs.h"
#include "LEM/decode.h"
#include "LCBD/LCBD.h"
#include "MSG/MSG_pubdefs.h"
#include "CDM/CDM_pubdefs.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "LTC_DB/LTC_DB_schema.h"
#include "ltcPrivate.h"
Include dependency graph for LTC_control.c:
Functions | |
static unsigned int | lockState (LTC_Wrk *tw, RW_key *key, LTC_Cntl_Modes old, LTC_Cntl_Modes new, const char *fnc) |
Walk round the state diagram. | |
static unsigned int | LTC_StartItcFork (LTC_Wrk *tw) |
Start Thermal Control tasks (telecommand and fork queue). | |
static unsigned int | LTC_Init (const LTC_DB_Schema *config) |
static unsigned int | LTC_InitCmdProc (LTC_Wrk *tw, unsigned short cmd_pkt_128, unsigned short cmd_pkt_256) |
Initialization for telecommand processing. | |
static unsigned int | LTC_InitIO (LTC_Wrk *tw) |
Setup for asynchrous reading RIT and reservoir temperature sensors. | |
static unsigned | LTC_InitTlm (LTC_Wrk *tw) |
Initialize telemetry structures. | |
static unsigned | LTC_GetHeaterAddrs (LTC_Wrk *tw) |
Initialize SIB register addressess. | |
unsigned int | LTC_initialize (void) |
Initializes and configures thermal control software. | |
static unsigned int | LTC_AttachITCMem (LTC_Wrk *tw, unsigned short cmd_pkt_128, unsigned short cmd_pkt_256) |
Setup and attach memory for ITC. | |
unsigned int | LTC_InitSmooth (LTC_Wrk *tw) |
Allocates and inits storage for smoothing filters. | |
void | LTC_InitSensors (LTC_Wrk *tw) |
Sets initial values for LAT sensors. | |
void | LTC_InitBuiltIn (LTC_Wrk *tw) |
Initialization for built-in constants. | |
unsigned int | LTC_StartTask (void) |
Start Thermal Control processing. | |
unsigned int | LTC_StopTask (void) |
Stop Thermal Control processing. | |
static void | LTC_FreeMem (LTC_Wrk *tw) |
Free any allocated memory. | |
unsigned int | LTC_shutdown (void) |
Release resources associated with LTC. | |
unsigned int | LTC_GetTlm (LTC_DiagLTC_Tlm *tt) |
Retreive telemetry data. | |
Variables | |
LTC_FltDf | LTC_thrmFltDf |
Smoothing filter definition for RIT/thermistor type sensor. | |
LTC_FltDf | LTC_rtdFltDf |
Smoothing filter definition for RES/RTD type sensor. | |
short int | LTC_thrmCnvTbl [] |
Counts to temperature convertion table for RIT/thermistor type sensor. | |
short int | LTC_rtdCnvTbl [] |
Counts to temperature convertion table for RES/RTD type sensor. | |
LTC_CommonParams | LTC_ltcCommon |
Built in LTC algorithm common parameters. | |
LTC_CntrlParams | LTC_ltcParams [] |
Built in LTC algorithm control parameters. | |
LTC_DB_Schema | LTC_defaultConfig |
Default LTC configuration values. | |
LTC_Wrk | LTC_wrkStore |
Thermal control working storage. | |
LTC_Wrk * | LTC_wrk = <C_wrkStore |
Reference to thermal control working storage. |
|
Walk round the state diagram.
|
|
Setup and attach memory for ITC.
|
|
Free any allocated memory.
|
|
Initialize SIB register addressess.
|
|
Retreive telemetry data.
|
|
|
|
Initialization for built-in constants.
|
|
Initialization for telecommand processing.
|
|
Initializes and configures thermal control software.
|
|
Setup for asynchrous reading RIT and reservoir temperature sensors.
|
|
Sets initial values for LAT sensors.
|
|
Allocates and inits storage for smoothing filters.
|
|
Initialize telemetry structures.
|
|
Release resources associated with LTC.
|
|
Start Thermal Control tasks (telecommand and fork queue).
|
|
Start Thermal Control processing.
|
|
Stop Thermal Control processing.
|
|
Default LTC configuration values. This database is used if the LTC_DB module is not loaded. There are two PDU tables. One for primary PDU and one for redundant PDU. Each record of these tables provides definitions for each temperature read from the PDU. It is ordered by PDU group for easy use when working with PDU hardware. The PDU group and ADC number for each sensor is built into this table. The sensors are associated with a heat pipe as defined by the hardware configuration. |
|
Built in LTC algorithm common parameters. Default built-in heat pipe common parameters. |
|
Built in LTC algorithm control parameters. Default built-in heat pipe specific parameters. |
|
Counts to temperature convertion table for RES/RTD type sensor. Generated based on PDU/RTD circuit and vendor (Goodrich Model 0118MF) resistance-temperature relationship table. |
|
Smoothing filter definition for RES/RTD type sensor. Long moving average filter to handle the excessive noise from the RES sensor electronics. |
|
Counts to temperature convertion table for RIT/thermistor type sensor. Generated based on PDU/thermistor circuit and vendor (YSI 44900) resistance-temperature relationship table. |
|
Smoothing filter definition for RIT/thermistor type sensor. Default built-in RIT sensor filter definition. |