GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-4-0
Constituent: sumt_rt_poll_pmc1553     Tag: mv2304
#include "CTDB/SUMT_rt.h"
Include dependency graph for SUMT_rt_poll.h:
This graph shows which files directly or indirectly include this file:
Typedefs | |
typedef _SUMT_RT_Poll | SUMT_RT_Poll |
Functions | |
SUMT_RT_Poll * | SUMT_rtPollGet (void) |
Get a pointer to the polled mode remote terminal descriptor. | |
unsigned int | SUMT_rtPollInit (SUMT_RT_Poll *rt, const SUMT_RT_Bus_Config *busConfig, unsigned int busAddr) |
Intialize a polled mode remote terminal driver and 1553 device hardware. | |
unsigned int | SUMT_rtPollStart (SUMT_RT_Poll *rt) |
Start the remote terminal listening for 1553 bus commands. | |
unsigned int | SUMT_rtPollQuery (SUMT_RT_Poll *rt, unsigned short *subAddr, void *buf) |
Query the polled mode remote terminal for any new 1553 bus events. | |
unsigned int | SUMT_rtPollTelem (SUMT_RT_Poll *rt, void *buf, const void *pkt, int size) |
Set the polled mode remote terminal telemetry output values. |
|
A polled mode driver remote terminal descriptor. The driver interface functions will take a pointer to an instance of one of these structures as a parameter. |
|
Get a pointer to the polled mode remote terminal descriptor. Returns a pointer to the global Summit polled mode remote terminal driver descriptor. The user is responsible for calling SUMT_rtPollInit() to initialize this descriptor.
|
|
Intialize a polled mode remote terminal driver and 1553 device hardware. Intializes the Summit remote terminal device descriptor and device hardware. The device and associated software structures are configured according to the contents of the busConfig structure.
|
Here is the call graph for this function:
|
Query the polled mode remote terminal for any new 1553 bus events. Checks the Summit RT descriptor table to see if any new 1553 bus activity has occurred since the last call. If a new telecommand receive packet is ready, the contents are copied to buf and subAddr is set to SUMT_RT_SUBADDR_CMD_RX. If a the last telemetry packet block has been sent, subAddr is set to SUMT_RT_SUBADDR_TELEM_END. If no new 1553 messages are ready, then the function returns #SUMT_RT_ERR_DRV_TIMEOUT.
|
Here is the call graph for this function:
|
Start the remote terminal listening for 1553 bus commands. Starts the remote terminal listening on the 1553 bus for commands from the bus controller.
|
Here is the call graph for this function:
|
Set the polled mode remote terminal telemetry output values. Prepares a new telemetry packet block for transmission. The buf paramter should point to a buffer for formatting the GLAST telemetry block (GT_PDU). The driver constructs a telemetry block out of the one or more packets in a chain pointed to by pkt. The packet chain is size bytes in total length. The data telemetry data is copied to the Summit controller and will be sent on the next telemetry block read.
|
Here is the call graph for this function: