GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LTC / V6-2-3 > ltc_dump / mv2304
#include "stdio.h"
#include "PBS/MBA.h"
#include "FBS/FBS_pubrtos.h"
#include "CCSDS/CCSDS_pkt.h"
#include "LTC/LTC_cmddefs.h"
#include "LTC/LTC_tlmdefs.h"
#include "LTC/LTC_dump.h"
Defines | |
#define | TSCL 256 |
Functions | |
static void | print_header (const char *str) |
static void | print_trailer (void) |
void | LTC_dumpRestartCmd (const unsigned char *pkt) |
Display LTCRESTART telecommand packet. | |
void | LTC_dumpStartCmd (const unsigned char *pkt) |
Display LTCSTART telecommand packet. | |
void | LTC_dumpStopCmd (const unsigned char *pkt) |
Display LTCSTOP telecommand packet. | |
void | LTC_dumpSetModeCmd (const unsigned char *pkt) |
Display LTCSETMODE telecommand packet. | |
void | LTC_dumpHtrOnOffCmd (const unsigned char *pkt) |
Display LTCHTRONOFFCTL telecommand packet. | |
void | LTC_dumpSetParamCmd (const unsigned char *pkt) |
Display LTCSETPARAM telecommand packet. | |
void | LTC_dumpSetTlmFreqCmd (const unsigned char *pkt) |
Display LTCSETTLMFREQ telecommand packet. | |
void | LTC_dumpDiagTelem (const unsigned char *pkt) |
Display LTC diagnostic telemetry packet. | |
Variables | |
static const char * | re = "======================================" |
static const char * | rm = "--------------------------------------" |
static const char * | fidStr [] |
static const char * | modeStr [] |
static const char * | ctlStr [] |
static const char * | statusStr [] |
static const char * | sensorStr [] |
#define TSCL 256 |
Temperature scaling within signed int.
void LTC_dumpDiagTelem | ( | const unsigned char * | pkt | ) |
Display LTC diagnostic telemetry packet.
Display a LTC diagnostic telemetry packet.
pkt | The telemetry packet. |
void LTC_dumpHtrOnOffCmd | ( | const unsigned char * | pkt | ) |
Display LTCHTRONOFFCTL telecommand packet.
Display a LTC set command mode telecommand packet (LTCSETPARAM).
pkt | The telecommand packet. |
void LTC_dumpRestartCmd | ( | const unsigned char * | pkt | ) |
Display LTCRESTART telecommand packet.
Display a LTC restart telecommand packet (LTCRESTART).
pkt | The telecommand packet. |
void LTC_dumpSetModeCmd | ( | const unsigned char * | pkt | ) |
Display LTCSETMODE telecommand packet.
Display a LTC set command mode telecommand packet (LTCSETMODE).
pkt | The telecommand packet. |
void LTC_dumpSetParamCmd | ( | const unsigned char * | pkt | ) |
Display LTCSETPARAM telecommand packet.
Display a LTC set command mode telecommand packet (LTCSETPARAM).
pkt | The telecommand packet. |
void LTC_dumpSetTlmFreqCmd | ( | const unsigned char * | pkt | ) |
Display LTCSETTLMFREQ telecommand packet.
Display a LTC set command mode telecommand packet (LTCSETTLMFREQ).
pkt | The telecommand packet. |
void LTC_dumpStartCmd | ( | const unsigned char * | pkt | ) |
Display LTCSTART telecommand packet.
Display a LTC start telecommand packet (LTCSTART).
pkt | The telecommand packet. |
void LTC_dumpStopCmd | ( | const unsigned char * | pkt | ) |
Display LTCSTOP telecommand packet.
Display a LTC stop telecommand packet (LTCSTOP).
pkt | The telecommand packet. |
static void print_header | ( | const char * | str | ) | [static] |
Print display header.
str | A string to print with the header. |
static void print_trailer | ( | void | ) | [static] |
Print display trailer.
ctlStr [static] |
Initial value:
{ "AUTO", "ON", "OFF", }
fidStr [static] |
Initial value:
{ "BUILT-IN", "BY NAME", "BY FILE ID", }
modeStr [static] |
Initial value:
{ "PASSIVE", "ACTIVE", }
const char* re = "======================================" [static] |
A seperator string.
const char* rm = "--------------------------------------" [static] |
A seperator string.
sensorStr [static] |
Initial value:
{ "DSHP_P", "DSHP_R", "XLHP_P", "XLHP_R", "RSVR_P", "RSVR_R", }
statusStr [static] |
Initial value:
{ "NOT READ", "GOOD READ", "BAD READ", "BROKEN", }