GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-1
Constituent: lim_scp     Tag: sun-gcc
#include <stdlib.h>
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_swap.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_scpside.h"
#include "PBS/BSWP.h"
#include "PBS/MBA.h"
#include "CLI/CLI_pubdefs.h"
Include dependency graph for LIM_send.c:
Data Structures | |
struct | _Lim_Parm |
Description of a command parameter. More... | |
Defines | |
#define | LIM_APID_ARR_RESPONSE 1633 |
#define | LIM_APID_ARR_ABORT 1633 |
#define | LIM_APID_LOAD_SHED 1634 |
#define | LIM_APID_BIAS_ACD 1635 |
#define | LIM_APID_BIAS_CAL 1635 |
#define | LIM_APID_BIAS_TKR 1635 |
#define | LIM_APID_CONFIG_GBM 1635 |
#define | LIM_APID_CONFIG_HV 1635 |
#define | LIM_APID_CONFIG_PID 1635 |
#define | LIM_APID_HOLD_ENTER 1635 |
#define | LIM_APID_HOLD_EXIT 1635 |
#define | LIM_APID_LATC_RECORD 1635 |
#define | LIM_APID_MAIN_FEED_ON 1635 |
#define | LIM_APID_PIG_RECORD 1635 |
#define | LIM_APID_POWER_ON 1635 |
#define | LIM_APID_POWER_OFF 1635 |
#define | LIM_APID_SAA_ENTER 1635 |
#define | LIM_APID_SAA_EXIT 1635 |
#define | LIM_APID_SAFE_MODE 1635 |
#define | LIM_APID_TOO_ABORT 1635 |
#define | LIM_APID_TOO_START 1635 |
#define | LIM_APID_NOOP 1635 |
#define | LIM_APID_CAL_START (0x67c) |
#define | LIM_FC_ARR_RESPONSE 0 |
#define | LIM_FC_ARR_ABORT 1 |
#define | LIM_FC_LOAD_SHED 1 |
#define | LIM_FC_BIAS_ACD 10 |
#define | LIM_FC_BIAS_CAL 11 |
#define | LIM_FC_BIAS_TKR 12 |
#define | LIM_FC_CONFIG_GBM 13 |
#define | LIM_FC_CONFIG_HV 14 |
#define | LIM_FC_CONFIG_PID 15 |
#define | LIM_FC_HOLD_ENTER 2 |
#define | LIM_FC_HOLD_EXIT 3 |
#define | LIM_FC_LATC_RECORD 17 |
#define | LIM_FC_MAIN_FEED_ON 4 |
#define | LIM_FC_PIG_RECORD 16 |
#define | LIM_FC_POWER_ON 6 |
#define | LIM_FC_POWER_OFF 7 |
#define | LIM_FC_SAA_ENTER 8 |
#define | LIM_FC_SAA_EXIT 9 |
#define | LIM_FC_SAFE_MODE 5 |
#define | LIM_FC_TOO_ABORT 1 |
#define | LIM_FC_TOO_START 0 |
#define | LIM_FC_NOOP 18 |
#define | LIM_FC_CAL_START 1 |
Typedefs | |
typedef void(* | LIM_DumpCB )(char *pkt) |
LIM command dump callback pointer. | |
typedef _Lim_Parm | Lim_Parm |
Typedef for _Lim_Parm. | |
Functions | |
int | LIM_setDisplayLevelCmd (int level) |
Set the verbosity level of the LIM command display. | |
static void | lim_free_cb (ITC_QueueItem *qitem_p, unsigned int status, void *parm_0, void *parm_1, void *parm_2, unsigned int tx) |
ITC callback to free command packet memory. | |
static unsigned int | lim_send_command (unsigned int num_parms, unsigned int *parm_bytes, unsigned int *parm_values, unsigned int apid, unsigned int func_code, LIM_DumpCB dump_func_p) |
Send a LIM command. | |
static unsigned int | lim_sendBiasAcd (unsigned int arc_id, unsigned int bias, int saa) |
Send the Bias-ACD command. | |
unsigned int | LIM_sendBiasAcdHv (unsigned int arc_id, unsigned int bias) |
Send the Bias-ACD command to set an ARC's HV bias. | |
unsigned int | LIM_sendBiasAcdSaa (unsigned int arc_id, unsigned int bias) |
Send the Bias-ACD command to set an ARC's SAA bias. | |
unsigned int | LIM_sendBiasCal (unsigned int tower_id, unsigned int bias) |
Send the Bias-CAL command. | |
unsigned int | LIM_sendBiasTkr (unsigned int tower_id, unsigned int bias) |
Send the Bias-TKR command. | |
unsigned int | LIM_sendCalStart (unsigned int latc_config, unsigned int lci_config, unsigned int dest) |
Send the Calibration-Start command. | |
unsigned int | LIM_sendConfigGbm (int rep_allowed, int pri_int_allowed, int red_int_allowed) |
Send the Configure-GBM command. | |
unsigned int | LIM_sendConfigHv (int hv_allowed) |
Send the Configure-HV command. | |
unsigned int | LIM_sendConfigPid (int primary) |
Send the Configure-PID command. | |
unsigned int | LIM_sendEpuOff (unsigned int epu_id) |
Send the Power-Off command to disable power from an EPU. | |
unsigned int | LIM_sendEpuOn (unsigned int epu_id, unsigned int pdu_id) |
Send the Power-On command to enable power to an EPU. | |
unsigned int | LIM_sendHoldEnter (void) |
Send the Hold-Enter command. | |
unsigned int | LIM_sendHoldExit (void) |
Send the Hold-Exit command. | |
unsigned int | LIM_sendLatcRecord (unsigned int dest) |
Send the Latc-Record command. | |
unsigned int | LIM_sendLoadShed (void) |
Send the Load-Shed command. | |
unsigned int | LIM_sendMainFeedOnPrimary (unsigned int siu_id, unsigned int pdu, unsigned int pps) |
Send the Main-Feed-On command to enable primary component power. | |
unsigned int | LIM_sendPigRecord (unsigned int dest) |
Send the Pig-Record command. | |
unsigned int | LIM_sendSaaEnter (void) |
Send the SAA-Enter command. | |
unsigned int | LIM_sendSaaExit (void) |
Send the SAA-Exit command. | |
unsigned int | LIM_sendSafeMode (void) |
Send the Safe-Mode command. | |
unsigned int | LIM_sendTemOn (unsigned int tem_id, unsigned int pdu_id) |
Send the Power-On command to enable power to a TEM. | |
unsigned int | LIM_sendNoop (void) |
Send the No-Op command. | |
static unsigned int | lim_get_parms (CLI_Control *cli, Lim_Parm *parm_p, unsigned int num_parms, char *usage) |
Get command-line parameters. | |
static unsigned int | LIM_sendBiasAcdHv_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendBiasAcdHv" command. | |
static unsigned int | LIM_sendBiasAcdSaa_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendBiasAcdSaa" command. | |
static unsigned int | LIM_sendBiasCal_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendBiasCal" command. | |
static unsigned int | LIM_sendBiasTkr_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendBiasTkr" command. | |
static unsigned int | LIM_sendCalStart_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendCalStart" command. | |
static unsigned int | LIM_sendEpuOff_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendEpuOff" command. | |
static unsigned int | LIM_sendEpuOn_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendEpuOn" command. | |
static unsigned int | LIM_sendHoldEnter_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendHoldEnter" command. | |
static unsigned int | LIM_sendHoldExit_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendHoldExit" command. | |
static unsigned int | LIM_sendLoadShed_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendLoadShed" command. | |
static unsigned int | LIM_sendMainFeedOnPrimary_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendMainFeedOnPrimary" command. | |
static unsigned int | LIM_sendConfigPid_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendConfigPid" command. | |
static unsigned int | LIM_sendSaaEnter_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendSaaEnter" command. | |
static unsigned int | LIM_sendSaaExit_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendSaaExit" command. | |
static unsigned int | LIM_sendSafeMode_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendSafeMode" command. | |
static unsigned int | LIM_sendTemOn_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_sendTemOn" command. | |
static unsigned int | LIM_setDisplayLevelCmd_cli (CLI_Control *cli, void *prm) |
CLI callback for the "LIM_setDisplayLevelCmd" command. | |
unsigned int | LIM_addSyntaxSCP (CLI_Syntax *syntax) |
Add LIM commands to the command-line syntax. | |
Variables | |
int | LIM_displayLevelCmd = 1 |
The verbosity level of the LIM command display. |
** CVS $Id: LIM_send.c,v 1.15 2006/10/25 00:04:48 dmay Exp $ **
These functions use standard ITC functions to send LIM telecommands to an SIU.
|
Add LIM commands to the command-line syntax.
|
|
ITC callback to free command packet memory.
|
|
Get command-line parameters.
|
|
Send a LIM command.
|
|
Send the Bias-ACD command.
|
|
Send the Bias-ACD command to set an ARC's HV bias.
|
|
CLI callback for the "LIM_sendBiasAcdHv" command.
|
|
Send the Bias-ACD command to set an ARC's SAA bias.
|
|
CLI callback for the "LIM_sendBiasAcdSaa" command.
|
|
Send the Bias-CAL command.
|
|
CLI callback for the "LIM_sendBiasCal" command.
|
|
Send the Bias-TKR command.
|
|
CLI callback for the "LIM_sendBiasTkr" command.
|
|
Send the Calibration-Start command.
|
|
CLI callback for the "LIM_sendCalStart" command.
|
|
Send the Configure-GBM command.
|
|
Send the Configure-HV command.
|
|
Send the Configure-PID command.
|
|
CLI callback for the "LIM_sendConfigPid" command.
|
|
Send the Power-Off command to disable power from an EPU.
|
|
CLI callback for the "LIM_sendEpuOff" command.
|
|
Send the Power-On command to enable power to an EPU.
|
|
CLI callback for the "LIM_sendEpuOn" command.
|
|
Send the Hold-Enter command.
|
|
CLI callback for the "LIM_sendHoldEnter" command.
|
|
Send the Hold-Exit command.
|
|
CLI callback for the "LIM_sendHoldExit" command.
|
|
Send the Latc-Record command.
|
|
Send the Load-Shed command.
|
|
CLI callback for the "LIM_sendLoadShed" command.
|
|
Send the Main-Feed-On command to enable primary component power. This command sends the Main-Feed-On command to enable power using the primary main feed and primary DAB. It also selects the primary paths to the SSR and GBM.
|
|
CLI callback for the "LIM_sendMainFeedOnPrimary" command.
|
|
Send the No-Op command.
|
|
Send the Pig-Record command.
|
|
Send the SAA-Enter command.
|
|
CLI callback for the "LIM_sendSaaEnter" command.
|
|
Send the SAA-Exit command.
|
|
CLI callback for the "LIM_sendSaaExit" command.
|
|
Send the Safe-Mode command.
|
|
CLI callback for the "LIM_sendSafeMode" command.
|
|
Send the Power-On command to enable power to a TEM.
|
|
CLI callback for the "LIM_sendTemOn" command.
|
|
Set the verbosity level of the LIM command display.
|
|
CLI callback for the "LIM_setDisplayLevelCmd" command.
|
|
The verbosity level of the LIM command display. This variable determines the amount of information that is displayed for each LIM telecommand that is sent. The higher the value, the more information that is displayed. Use LIM_setDisplayLevelCmd() to change this value. |