GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LTC / V6-2-3 > ltc_scp / sun-gcc
#include "PBI/Endianness.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "LTC/LTC_msgs.h"
#include "LTC/LTC_cmddefs.h"
#include "LTC/LTC_dump.h"
#include "PBS/BSWP.h"
#include "CCSDS/CCSDS_pkt.h"
Defines | |
#define | LTC_EXTERNAL_CMD_APID 0x658 |
#define | TSCL 256 |
Functions | |
static void | cmdFree (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2) |
unsigned int | LTC_sendRestart (unsigned short fidType, unsigned cnfgFid) |
Send telecommand to restart LTC. | |
unsigned int | LTC_sendStart (unsigned ActvPssv) |
Send telecommand to restart LTC. | |
unsigned int | LTC_sendStop (void) |
Send telecommand to stop LTC. | |
unsigned int | LTC_sendSetMode (unsigned ActvPssv) |
Send telecommand to set active or passive mode in LTC. | |
unsigned int | LTC_sendHtrOnOffCtl (unsigned int htrNum, unsigned int onOffCtl) |
Send telecommand to turn HP reservoir heater on, off or controlled. | |
unsigned int | LTC_sendSetParam (int hpS, int rtL, int rtH, int rsL, int rsH, int rtDb) |
Send telecommand to set LTC control parameters. | |
unsigned int | LTC_sendSetTlmFreq (unsigned int tlmFrq) |
Send telecommand to set LTC telemetry frequency. | |
unsigned int | LTC_sendNoop (void) |
Send telecommand for LTC no-op. |
#define LTC_EXTERNAL_CMD_APID 0x658 |
APID for LTC external telecommands.
#define TSCL 256 |
Temperature scaling within signed int.
static void cmdFree | ( | ITC_QueueItem * | qitem, | |
unsigned int | status, | |||
void * | prm0, | |||
void * | prm1, | |||
void * | prm2 | |||
) | [static] |
Free memory after sending ITC commands.
qitem | The memory buffer. | |
status | Status of command. | |
prm0 | Completion callback paramter 0. | |
prm1 | Completion callback paramter 1. | |
prm2 | Completion callback paramter 2. |
unsigned LTC_sendHtrOnOffCtl | ( | unsigned int | htrNum, | |
unsigned int | onOffCtl | |||
) |
Send telecommand to turn HP reservoir heater on, off or controlled.
htrNum | - Heater number (0- 11). | |
onOffCtl | - Value designating on, off or ctl: 0 = auto control 1 = always on 2 = always off |
LTC_SUCCESS | Success |
unsigned LTC_sendNoop | ( | void | ) |
Send telecommand for LTC no-op.
LTC_SUCCESS | Success |
unsigned LTC_sendRestart | ( | unsigned short | fidType, | |
unsigned | cnfgFid | |||
) |
Send telecommand to restart LTC.
fidType | - File id type, internal or file id | |
cnfgFid | - HP Configuration File ID. |
LTC_SUCCESS | Success |
unsigned LTC_sendSetMode | ( | unsigned | ActvPssv | ) |
Send telecommand to set active or passive mode in LTC.
ActvPssv | Active or Passive indicator: 0 = passive 1 = active |
LTC_SUCCESS | Success |
unsigned int LTC_sendSetParam | ( | int | hpS, | |
int | rtH, | |||
int | rtL, | |||
int | rsH, | |||
int | rsL, | |||
int | rtDb | |||
) |
Send telecommand to set LTC control parameters.
hpS | - Selects heat pipes to get new parameters. | |
rtL | - Low limit for RIT temperature. | |
rtH | - High limit for RIT temperature. | |
rsL | - Low limit for reservoir temperature. | |
rsH | - High limit for reservoir temperature. | |
rtDb | - RIT deadband delta. |
LTC_SUCCESS | Success |
unsigned LTC_sendSetTlmFreq | ( | unsigned int | tlmFrq | ) |
Send telecommand to set LTC telemetry frequency.
tlmFrq | - Telemetry frequency in LTC cycles. |
LTC_SUCCESS | Success |
unsigned LTC_sendStart | ( | unsigned | ActvPssv | ) |
Send telecommand to restart LTC.
ActvPssv | Active or Passive indicator. |
LTC_SUCCESS | Success |
unsigned LTC_sendStop | ( | void | ) |
Send telecommand to stop LTC.
LTC_SUCCESS | Success |