GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-2

Constituent: lim_scp     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LIM_dump.c File Reference

Display LIM telecommands. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "CCSDS/CCSDS_pkt.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "LIM/LIM_scpside.h"

Include dependency graph for LIM_dump.c:


Data Structures

struct  _Lim_Field
 Description of a command packet field. More...

Typedefs

typedef _Lim_Field Lim_Field
 Typedef for _Lim_Field.

Functions

static void lim_dump_boilerplate (char *pkt_name)
 Display some boilerplate header information.
static void lim_interp_allowed (unsigned int value)
 Interpret a LIM allowed field value.
static void lim_interp_bias_acd (unsigned int value)
 Interpret an ACD bias voltage value.
static void lim_interp_bias_16 (unsigned int value)
 Interpret a 16-bit bias voltage value.
static void lim_interp_action (unsigned int value)
 Interpret a LIM action field value.
static void lim_interp_cmd_state (unsigned int value)
 Interpret a LIM command state field value.
static void lim_interp_gbm_rep_allowed (unsigned int value)
 Interpret a LIM GBM-repoint-allowed field value.
static void lim_interp_hv_allowed (unsigned int value)
 Interpret a LIM high-voltage-allowed field value.
static void lim_interp_int_select (unsigned int value)
 Interpret a LIM internal selection field value.
static void lim_interp_mask_16 (unsigned int value)
 Interpret a 16-bit mask value.
static void lim_interp_op_mode (unsigned int value)
 Interpret an operating mode field value.
static void lim_interp_pdu_select (unsigned int value)
 Interpret a LIM PDU selection field value.
static void lim_interp_pid_select (unsigned int value)
 Interpret a LIM PID selection field value.
static void lim_interp_pri_select (unsigned int value)
 Interpret a LIM primary selection field value.
static void lim_interp_remaining (unsigned int value)
 Interpret a time-remaining value.
static void lim_interp_saa_transit (unsigned int value)
 Interpret a LIM SAA transit field value.
static void lim_interp_sec_select (unsigned int value)
 Interpret a LIM secondary (redundant) selection field value.
static void lim_interp_select (unsigned int value)
 Interpret a LIM selection field value.
static void lim_interp_siu_id (unsigned int value)
 Interpret a LIM SIU ID field value.
static void lim_interp_spare (unsigned int value)
 Interpret a LIM spare field value.
static void lim_interp_status (unsigned int value)
 Interpret a LIM status field value.
static void lim_interp_task_state (unsigned int value)
 Interpret a LIM task state field value.
static void lim_interp_valid (unsigned int value)
 Interpret a LIM valid field value.
static void lim_interp_virt_mode (unsigned int value)
 Interpret a virtual mode field value.
static void lim_show_field (unsigned char *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 command packet.
static unsigned int lim_dump_fields (Lim_Field *field_p, unsigned int num_fields, unsigned char *pkt_p, unsigned int start_byte)
 Dump command packet fields.
void LIM_dumpBiasAcd (char *pkt)
 Dump the Bias-ACD command.
void LIM_dumpBiasCal (char *pkt)
 Dump the Bias-CAL command.
void LIM_dumpBiasTkr (char *pkt)
 Dump the Bias-TKR command.
void LIM_dumpCalStart (char *pkt)
 Dump the Calibration-Start command.
void LIM_dumpHoldEnter (char *pkt)
 Dump the Hold-Enter command.
void LIM_dumpHoldExit (char *pkt)
 Dump the Hold-Exit command.
void LIM_dumpLatcRecord (char *pkt)
 Dump the Latc-Record command.
void LIM_dumpLoadShed (char *pkt)
 Dump the Load-Shed command.
void LIM_dumpMainFeedOn (char *pkt)
 Dump the Main-Feed-On command.
void LIM_dumpPigRecord (char *pkt)
 Dump the Pig-Record command.
void LIM_dumpConfigGbm (char *pkt)
 Dump the Configure-GBM command.
void LIM_dumpConfigHv (char *pkt)
 Dump the Configure-HV command.
void LIM_dumpConfigPid (char *pkt)
 Dump the Configure-PID command.
void LIM_dumpPowerOff (char *pkt)
 Dump the Power-Off command.
void LIM_dumpPowerOn (char *pkt)
 Dump the Power-On command.
void LIM_dumpSaaEnter (char *pkt)
 Dump the SAA-Enter command.
void LIM_dumpSaaExit (char *pkt)
 Dump the SAA-Exit command.
void LIM_dumpSafeMode (char *pkt)
 Dump the Safe-Mode command.
void LIM_dumpNoop (char *pkt)
 Dump the No-op command.
void LIM_dumpTlmState (char *pkt)
 Dump the LIM state telemetry.

Detailed Description

Display LIM telecommands.

**  CVS $Id: LIM_dump.c,v 1.13 2006/08/28 21:26:15 dwood Exp $
**  

These functions display the contents of LIM telecommands.


Function Documentation

void lim_dump_boilerplate char *  pkt_name  )  [static]
 

Display some boilerplate header information.

Parameters:
pkt_name Packet description string.
Returns:
Nothing.

unsigned int lim_dump_fields Lim_Field field_p,
unsigned int  num_fields,
unsigned char *  pkt_p,
unsigned int  start_byte
[static]
 

Dump command packet fields.

Parameters:
field_p Pointer to first field description.
num_fields Number of fields to dump.
pkt_p Pointer to packet.
start_byte Starting offset within the packet.
Returns:
Ending offset within the packet.

void LIM_dumpBiasAcd char *  pkt  ) 
 

Dump the Bias-ACD command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpBiasCal char *  pkt  ) 
 

Dump the Bias-CAL command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpBiasTkr char *  pkt  ) 
 

Dump the Bias-TKR command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpCalStart char *  pkt  ) 
 

Dump the Calibration-Start command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpConfigGbm char *  pkt  ) 
 

Dump the Configure-GBM command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpConfigHv char *  pkt  ) 
 

Dump the Configure-HV command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpConfigPid char *  pkt  ) 
 

Dump the Configure-PID command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpHoldEnter char *  pkt  ) 
 

Dump the Hold-Enter command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpHoldExit char *  pkt  ) 
 

Dump the Hold-Exit command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpLatcRecord char *  pkt  ) 
 

Dump the Latc-Record command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpLoadShed char *  pkt  ) 
 

Dump the Load-Shed command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpMainFeedOn char *  pkt  ) 
 

Dump the Main-Feed-On command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpNoop char *  pkt  ) 
 

Dump the No-op command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpPigRecord char *  pkt  ) 
 

Dump the Pig-Record command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpPowerOff char *  pkt  ) 
 

Dump the Power-Off command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpPowerOn char *  pkt  ) 
 

Dump the Power-On command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpSaaEnter char *  pkt  ) 
 

Dump the SAA-Enter command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpSaaExit char *  pkt  ) 
 

Dump the SAA-Exit command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpSafeMode char *  pkt  ) 
 

Dump the Safe-Mode command.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void LIM_dumpTlmState char *  pkt  ) 
 

Dump the LIM state telemetry.

Parameters:
pkt Pointer to CCSDS packet.
Returns:
Nothing.

void lim_interp_action unsigned int  value  )  [static]
 

Interpret a LIM action field value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_allowed unsigned int  value  )  [static]
 

Interpret a LIM allowed field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_bias_16 unsigned int  value  )  [static]
 

Interpret a 16-bit bias voltage value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_bias_acd unsigned int  value  )  [static]
 

Interpret an ACD bias voltage value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_cmd_state unsigned int  value  )  [static]
 

Interpret a LIM command state field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_gbm_rep_allowed unsigned int  value  )  [static]
 

Interpret a LIM GBM-repoint-allowed field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_hv_allowed unsigned int  value  )  [static]
 

Interpret a LIM high-voltage-allowed field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_int_select unsigned int  value  )  [static]
 

Interpret a LIM internal selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_mask_16 unsigned int  value  )  [static]
 

Interpret a 16-bit mask value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_op_mode unsigned int  value  )  [static]
 

Interpret an operating mode field value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_pdu_select unsigned int  value  )  [static]
 

Interpret a LIM PDU selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_pid_select unsigned int  value  )  [static]
 

Interpret a LIM PID selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_pri_select unsigned int  value  )  [static]
 

Interpret a LIM primary selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_remaining unsigned int  value  )  [static]
 

Interpret a time-remaining value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_saa_transit unsigned int  value  )  [static]
 

Interpret a LIM SAA transit field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_sec_select unsigned int  value  )  [static]
 

Interpret a LIM secondary (redundant) selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_select unsigned int  value  )  [static]
 

Interpret a LIM selection field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_siu_id unsigned int  value  )  [static]
 

Interpret a LIM SIU ID field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_spare unsigned int  value  )  [static]
 

Interpret a LIM spare field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_status unsigned int  value  )  [static]
 

Interpret a LIM status field value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_interp_task_state unsigned int  value  )  [static]
 

Interpret a LIM task state field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_valid unsigned int  value  )  [static]
 

Interpret a LIM valid field value.

Parameters:
value Value to interpret.
Returns:
Nothing

void lim_interp_virt_mode unsigned int  value  )  [static]
 

Interpret a virtual mode field value.

Parameters:
value Value to interpret.
Returns:
Nothing.

void lim_show_field unsigned char *  pay,
unsigned int  start_byte,
unsigned int  end_byte,
unsigned int  start_bit,
unsigned int  end_bit,
char *  desc_p,
void(*)(unsigned int val)  interp_p
[static]
 

Show a field from a command packet.

Parameters:
pay Pointer to packet buffer.
start_byte First byte of the value within the packet.
end_byte Last byte of the value within the packet.
start_bit First bit of the field within the value.
end_bit Last bit of the field within the value.
desc_p Pointer to field description string.
interp_p Pointer to field interpretation function.
Returns:
Nothing.


Generated on Sun Jun 14 01:18:11 2009 by  doxygen 1.4.4