GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-6-3
Constituent: lcm_lcp     Tag: rad750
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "LCM/LCM_cmddefs.h"
#include "LCM/LCM_msgs.h"
#include "LCM/LCM_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBI/Endianness.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "TRD/TRD_pubdefs.h"
#include "CLI/CLI_pubdefs.h"
Include dependency graph for LCM_lcpside.c:
Defines | |
#define | LCM_L_TESTPKT (4096) |
Functions | |
unsigned char * | composeCommand (unsigned int apid, unsigned int func, unsigned int size) |
Start filling out a telecommand. | |
void | freePacket (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2) |
Free the LCM command "buffer". | |
void | LCM_cb_one (unsigned short fmt, unsigned short len, const void *dat) |
Reset callback 0. | |
void | LCM_cb_two (unsigned short fmt, unsigned short len, const void *dat) |
Reset callback 0. | |
unsigned int | LCM_addDatabase () |
Fill in a dinky reset/restore database. | |
unsigned int | LCM_dumpCounts (ITC_TaskID tid) |
Dump ITC command counts for task tid. | |
unsigned int | LCM_sendCpuReset (unsigned int pbf, unsigned int sbf) |
Send command to reset the CPU. | |
unsigned int | LCM_sendCommand (unsigned int apid, unsigned int func, unsigned int qilen) |
Send a pattern telecommand packet to the spacecraft. | |
unsigned int | LCM_sendTelemetry (unsigned int apid, unsigned int prio, unsigned int qilen) |
Send a pattern telemetry packet to the spacecraft. | |
unsigned int | LCM_sendTurboReset (unsigned int siu, unsigned int epu0, unsigned int epu1, unsigned int epu2, unsigned int epu3) |
Send command to reset the CPU. | |
unsigned int | LCM_errors () |
Print RAD750 error counter values. | |
unsigned int | LCM_cpuRegs () |
Print CPU register values. | |
static unsigned int | LCM_dumpCounts_cli (CLI_Control *cli, void *prm) |
CLI callback for "LCM_dumpCounts" command. | |
static unsigned int | LCM_sendCommand_cli (CLI_Control *cli, void *prm) |
CLI callback for "LCM_sendCommand" command. | |
static unsigned int | LCM_sendTelemetry_cli (CLI_Control *cli, void *prm) |
Handle the verb/call LCM_sendTelemetry. | |
unsigned int | LCM_addSyntaxLCP (CLI_Syntax *syntax) |
Contribute the LCM section to the command line syntax. | |
Variables | |
static unsigned int | LCM_lock |
Test packet interlock control. | |
static char | LCM_pkt [LCM_L_TESTPKT] |
Test packet buffer. | |
ITC_CommandItem | LCM_695CmdLength [9] |
Annoying. Must be maintained by hand. | |
ITC_CommandItem | LCM_696CmdLength [1] |
Annoying. Must be maintained by hand. | |
const char * | d_0 = "$0" |
The string "$0". |
CVS $Id: LCM_lcpside.c,v 1.5 2008/10/30 01:12:43 apw Exp $
|
Start filling out a telecommand.
|
|
Free the LCM command "buffer".
|
|
Fill in a dinky reset/restore database.
|
|
Contribute the LCM section to the command line syntax.
|
|
Reset callback 0.
|
|
Reset callback 0.
|
|
Print CPU register values.
|
|
Dump ITC command counts for task tid.
|
|
CLI callback for "LCM_dumpCounts" command.
|
|
Print RAD750 error counter values.
|
|
Send a pattern telecommand packet to the spacecraft.
|
|
CLI callback for "LCM_sendCommand" command.
|
|
Send command to reset the CPU.
|
|
Send a pattern telemetry packet to the spacecraft.
|
|
Handle the verb/call LCM_sendTelemetry.
|
|
Send command to reset the CPU.
|
|
Initial value: { { 0 , 12, NULL }, { 1 , 14, NULL }, { 2 , 10, NULL }, { 3 , 10, NULL }, { 4 , 20, NULL }, { 5 , 28, NULL }, { 6 , 10, NULL }, { 7 , 12, NULL }, { 8 , 20, NULL }, }
|
|
Initial value: { { 0 , 32, NULL }, }
|