GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
CTDB / V5-5-4
Constituent: ctdb_link_test_intr     Tag: rad750
Interface Data Structures File List Data Fields Globals
ctdb_link_test_intr.c File Reference
Function definitions for 1553 RT link test application for interrupt mode drivers. More...
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
#include "time.h"
#include "CTDB/CTDB_rt.h"
#include "CTDB/SUMT_rt.h"
#include "CTDB/CTDB_config.h"
#include "CTDB/CTDB_tlmdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBS/PBS.h"
#include "PBS/TASK.h"
#include "PBS/MBA.h"
#include "PBS/TOC.h"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
Include dependency graph for ctdb_link_test_intr.c:
Detailed Description
Function definitions for 1553 RT link test application for interrupt mode drivers.
- Author:
- D.L. Wood
Define Documentation
|
The priority of the MSG output task. |
#define RT_APID_HKP 0x20e |
|
|
A fake CCSDS application ID to use for sent HKP telemetry packets. |
#define RT_CMD_RECV_NAME "uCmdRx" |
|
|
The name of the telecommand receive task (VxWorks only). |
#define RT_CMD_RECV_PRI 150 |
|
|
The priority to run the telecommand receive task (VxWorks only). |
|
The size in bytes of the test HKP telemetry packets. |
#define SUMT_RT_TASK_NAME "uRT" |
|
|
The name of the remote terminal service task. |
#define SUMT_RT_TASK_PRI 60 |
|
|
The priority of the remote terminal service task. |
#define SUMT_RT_TASK_STACK 0x2000 |
|
|
The size in bytes of the remote terminal service task stack. |
|
Resets the watchdog timer on the RAD750; a no-op for other targets. |
Typedef Documentation
Function Documentation
|
Displays remote terminal diagnostics.
- Return values:
-
|
|
Stops the test application and releases resources.
- Return values:
-
|
|
Changes the HKP callback from the null version to the diagnostics version.
- Return values:
-
|
|
Initializes the target side of the test application.
- Return values:
-
|
static unsigned int rt_null_hkp |
( |
void * |
buf, |
|
|
void * |
arg |
|
) |
[static] |
|
|
Driver callback for HKP telemetry packet generation. A no-op to allow testing of the HKP callback change operation in the driver.
- Parameters:
-
| buf | The buffer for holding the HKP packet. |
| arg | User defined argument. |
- Returns:
- A CTDB MSG code.
|
static void rt_pkt_cmd_rx |
( |
void |
|
) |
[static] |
|
|
Listens for and discards telecommand receive packets arriving at the remote terminal. Necessary to prevent telecommand receive queue overflow from SC broadcast messages while test is running. |
static unsigned int rt_pkt_hkp |
( |
void * |
buf, |
|
|
void * |
arg |
|
) |
[static] |
|
|
Driver callback for HKP telemetry packet generation. Generates APID 0x20e RT diagnostics telemetry. The head of the HKP packet is filled with the RT diagnostics counters values.
- Parameters:
-
| buf | The buffer for holding the HKP packet. |
| arg | User defined argument. |
- Returns:
- A CTDB MSG code.
|
|
Starts the remote terminal.
- Return values:
-
|
|
Stops the remote terminal.
- Return values:
-
|
Variable Documentation
|
The RT driver 1553 bus configuration. |
|
Initial value: The RT driver callback configuration. |
|
The test configuration structure. |
|
Initial value: The RT driver packet configuration. |
|
Initial value: The RT driver task configuration. |
Generated on Wed Dec 14 20:52:22 2005 by
1.4.4