GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-10-0
Constituent: pbc_scp     Tag: rad750
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "PBC/PBC_apid.h"
#include "PBC/PBC_dump.h"
#include "PBC/PBC_msgs.h"
#include "PBC/PBC_tlmdefs.h"
Include dependency graph for PBC_dump.c:
Data Structures | |
struct | _Pbc_House_Field |
Description of a boot housekeeping telemetry field. More... | |
Typedefs | |
typedef _Pbc_House_Field | Pbc_House_Field |
Typedef for _Pbc_House_Field. | |
Functions | |
int | PBC_setDumpDisplayLimit (int limit) |
Set the max number of words to display from a single dump. | |
static const char * | pbc_interp_unit (unsigned int value) |
Interpret a LAT unit identifier value. | |
static void | pbc_interp_yes_no (unsigned int value) |
Interpret a value as 'yes' or 'no'. | |
static void | pbc_interp_enabled (unsigned int value) |
Interpret a value as 'enabled' or 'disabled'. | |
static void | pbc_interp_failed (unsigned int value) |
Interpret a value as 'failed' or 'passed'. | |
static void | pbc_interp_boot_mode (unsigned int value) |
Interpret a softwareBootMode value. | |
static void | pbc_interp_qerr_count (unsigned int value) |
Interpret a queuedErrorCount value. | |
static void | pbc_interp_err_word (unsigned int value) |
Interpret an error word value. | |
static void | pbc_interp_hex (unsigned int value) |
Interpret a hex value. | |
static void | pbc_interp_upl_state (unsigned int value) |
Interpret a fileUploadState value. | |
static void | pbc_interp_boot_type (unsigned int value) |
Interpret a bootType value. | |
static void | pbc_interp_dump_addr (unsigned int value) |
Interpret a dump address value. | |
static void | pbc_interp_spare (unsigned int value) |
Interpret a spare value. | |
static void | pbc_interp_source (unsigned int value) |
Interpret an SBC source value. | |
static void | pbc_interp_reset_cause (unsigned int value) |
Interpret a reset cause value. | |
static void | pbc_interp_reset_source (unsigned int value) |
Interpret a reset source value. | |
static void | pbc_interp_ram_test (unsigned int value) |
Interpret a RAM test value. | |
static void | pbc_interp_byte_sel (unsigned int value) |
Interpret a byte selection value. | |
static void | pbc_interp_exc_vector (unsigned int value) |
Interpret an exception vector value. | |
static void | pbc_interp_test_result (unsigned int value) |
Interpret a RAM test result value. | |
static void | pbc_dump_boilerplate (char *pkt_name) |
Dump some boilerplate header information. | |
static unsigned int | pbc_dump_unit (unsigned char *pay, unsigned int offset) |
Dump the LAT unit value from a packet. | |
static unsigned int | pbc_dump_padding (unsigned char *pay, unsigned int offset, unsigned int num_bytes) |
Dump the padding field from a packet. | |
static void | pbc_show_house_field (unsigned char *new_pay, unsigned char *prev_pay, unsigned int start_byte, unsigned int end_byte, unsigned int start_bit, unsigned int end_bit, char *desc_p, void(*interp_p)(unsigned int val)) |
Show a field from a boot housekeeping telemetry value. | |
static unsigned int | pbc_dump_house_fields (Pbc_House_Field *field_p, unsigned int num_fields, unsigned char *new_pkt, unsigned char *prev_pkt, unsigned int start_byte) |
Dump boot housekeeping telemetry fields. | |
void | PBC_dumpHouse (char *pkt, char *prev_pkt) |
Dump boot housekeeping telemetry. | |
void | PBC_dumpHouseBgLow (char *pkt, char *prev_pkt) |
Dump first 64 bytes of background dump data. | |
void | PBC_dumpHouseBgHigh (char *pkt, char *prev_pkt) |
Dump last 64 bytes of background dump data. | |
void | PBC_dumpHouseData (char *pkt) |
Dump the memory data portion of boot housekeeping telemetry. | |
void | PBC_dumpBoot (char *pkt) |
Dump the Boot RTOS Execute command. | |
void | PBC_dumpErrDump (char *pkt) |
Dump the Boot Error Dump command. | |
void | PBC_dumpReset (char *pkt) |
Dump the Boot Reset command. | |
void | PBC_dumpStart (char *pkt) |
Dump the Boot Start command. | |
Variables | |
int | PBC_dumpDisplayLimit = 256 |
The maximum number of words to display from a single dump. |
CVS $Id: PBC_dump.c,v 1.16 2005/05/17 20:43:48 dmay Exp $
|
Dump some boilerplate header information. Dumps a boilerplate header for the payload portion of a packet.
|
|
Dump boot housekeeping telemetry fields.
|
|
Dump the padding field from a packet. Dumps the padding field from a packet.
|
|
Dump the LAT unit value from a packet. Dumps the LAT unit value from a packet.
|
|
Dump the Boot RTOS Execute command. Dumps the contents of a Boot RTOS Execute command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Boot Error Dump command. Dumps the contents of a Boot Error Dump command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump boot housekeeping telemetry. Dumps the contents of a Boot Housekeeping telemetry packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump last 64 bytes of background dump data. Dumps the contents of the last 64 bytes of the background dump data found in the Boot Housekeeping telemetry packet. The data is assumed to be in native byte order.
|
|
Dump first 64 bytes of background dump data. Dumps the contents of the first 64 bytes of the background dump data found in the Boot Housekeeping telemetry packet. The data is assumed to be in native byte order.
|
|
Dump the memory data portion of boot housekeeping telemetry. Dumps the memory data dump portion of a boot housekeeping telemetry packet.
|
|
Dump the Boot Reset command. Dumps the contents of a Boot Reset command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Boot Start command. Dumps the contents of a Boot Start command packet. The fields of the payload are assumed to be in native byte order.
|
|
Interpret a softwareBootMode value.
|
|
Interpret a bootType value.
|
|
Interpret a byte selection value.
|
|
Interpret a dump address value.
|
|
Interpret a value as 'enabled' or 'disabled'.
|
|
Interpret an error word value.
|
|
Interpret an exception vector value.
|
|
Interpret a value as 'failed' or 'passed'.
|
|
Interpret a hex value.
|
|
Interpret a queuedErrorCount value.
|
|
Interpret a RAM test value.
|
|
Interpret a reset cause value.
|
|
Interpret a reset source value.
|
|
Interpret an SBC source value.
|
|
Interpret a spare value.
|
|
Interpret a RAM test result value.
|
|
Interpret a LAT unit identifier value.
|
|
Interpret a fileUploadState value.
|
|
Interpret a value as 'yes' or 'no'.
|
|
Set the max number of words to display from a single dump.
|
|
Show a field from a boot housekeeping telemetry value.
|