GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LTC / V6-0-0

Constituent: ltc_dump     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LTC_dump.c File Reference

LTC command and telemetry display function definitions. More...

#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"

Include dependency graph for LTC_dump.c:


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 []

Detailed Description

LTC command and telemetry display function definitions.

Author:
D.L.Wood

Define Documentation

#define TSCL   256
 

Temperature scaling within signed int.


Function Documentation

void LTC_dumpDiagTelem const unsigned char *  pkt  ) 
 

Display LTC diagnostic telemetry packet.

Display a LTC diagnostic telemetry packet.

Parameters:
pkt The telemetry packet.

void LTC_dumpHtrOnOffCmd const unsigned char *  pkt  ) 
 

Display LTCHTRONOFFCTL telecommand packet.

Display a LTC set command mode telecommand packet (LTCSETPARAM).

Parameters:
pkt The telecommand packet.

void LTC_dumpRestartCmd const unsigned char *  pkt  ) 
 

Display LTCRESTART telecommand packet.

Display a LTC restart telecommand packet (LTCRESTART).

Parameters:
pkt The telecommand packet.

void LTC_dumpSetModeCmd const unsigned char *  pkt  ) 
 

Display LTCSETMODE telecommand packet.

Display a LTC set command mode telecommand packet (LTCSETMODE).

Parameters:
pkt The telecommand packet.

void LTC_dumpSetParamCmd const unsigned char *  pkt  ) 
 

Display LTCSETPARAM telecommand packet.

Display a LTC set command mode telecommand packet (LTCSETPARAM).

Parameters:
pkt The telecommand packet.

void LTC_dumpSetTlmFreqCmd const unsigned char *  pkt  ) 
 

Display LTCSETTLMFREQ telecommand packet.

Display a LTC set command mode telecommand packet (LTCSETTLMFREQ).

Parameters:
pkt The telecommand packet.

void LTC_dumpStartCmd const unsigned char *  pkt  ) 
 

Display LTCSTART telecommand packet.

Display a LTC start telecommand packet (LTCSTART).

Parameters:
pkt The telecommand packet.

void LTC_dumpStopCmd const unsigned char *  pkt  ) 
 

Display LTCSTOP telecommand packet.

Display a LTC stop telecommand packet (LTCSTOP).

Parameters:
pkt The telecommand packet.

static void print_header const char *  str  )  [static]
 

Print display header.

Parameters:
str A string to print with the header.

static void print_trailer void   )  [static]
 

Print display trailer.


Variable Documentation

ctlStr [static]
 

Initial value:

{
        "AUTO",
        "ON",
        "OFF",
}
Strings for LTC control modes.

fidStr [static]
 

Initial value:

{
        "BUILT-IN",
        "BY NAME",
        "BY FILE ID",
}
Strings for LTC file ID types

modeStr [static]
 

Initial value:

{
        "PASSIVE",
        "ACTIVE",
}
Strings for LTC command modes.

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",
}
Strings for LTC sensor types.

statusStr [static]
 

Initial value:

{
        "NOT READ",
        "GOOD READ",
        "BAD READ",
        "BROKEN",
}
Strings for LTC sensor status.


Generated on Fri Sep 8 21:25:49 2006 by  doxygen 1.4.4