GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-4-0
Constituent: ctdb_com_test_poll     Tag: mv2304
#include "vxWorks.h"
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "CTDB/SUMT_rt_poll.h"
#include "CTDB/CO1553_util.h"
#include "CTDB/CO1553_rt.h"
#include "CTDB/CTDB_config.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBS/PBS.h"
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "ctdb_com_test_private.h"
Include dependency graph for ctdb_com_test_poll.c:
Data Structures | |
struct | _test_config |
Defines | |
#define | RT_POLL_NAME "uRTPoll" |
#define | RT_POLL_PRI 250 |
#define | MSG_PRI 210 |
#define | WDOG_RESET |
Typedefs | |
typedef _test_config | test_config |
Functions | |
void | rt_poll (void) |
void | rt_pkt_hkp (void) |
void | rt_pkt_cmd_rx (unsigned char *cmdPkt) |
void | rt_pkt_diag (unsigned char *cmdPkt) |
void | rt_pkt_sc (unsigned char *cmdPkt) |
void | rt_pkt_fill (unsigned char *pkt, unsigned short patSelect, unsigned short patLength, unsigned short respLength) |
int | rt_init (unsigned short rtAddr) |
int | rt_exit (void) |
int | rt_start (void) |
int | rt_stop (void) |
Variables | |
SUMT_RT_Bus_Config | busConfig |
test_config | Config |
|
The priority of the MSG output task. |
|
The name of the RT polling task. |
|
The priority of the RT polling task. |
|
Resets the watchdog timer on the RAD750; a no-op for other targets. |
|
The typedef for _test_config. |
|
Stops the test application and releases resources.
|
|
Initializes the test application. The driver is initialized and a the RT polling task is started.
|
Here is the call graph for this function:
|
Listens for telecommand receive packets arriving at the remote terminal. The SC broadcast telecommands (APID=0x701) are discarded. The communications test diagnostic telecommands (APID=0x646) are parsed and the appropriate telemetry response actions taken. The rececption of any other telecommands is considered an error condition.
|
Here is the call graph for this function:
|
Handles diagnostics communications test telecommands (func code = 0).
|
|
Fills in the response data for a communication test telemetry packet.
|
|
Generates HKP telemetry packets. If a requested HKP communications test response is outstanding, one HKP telemetry packet is delivered. |
Here is the call graph for this function:
|
Handles diagnostics SC broadcase telecommands.
|
|
Test application polling task. Constantly polls the RT for new events. For this test telemetry events are ignored and all telecommand input is discarded.
|
Here is the call graph for this function:
|
Starts the remote terminal.
|
Here is the call graph for this function:
|
Stops the remote terminal.
|
|
The RT driver 1553 bus configuration. |
|
The test configuration structure. |