GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-4-0
Constituent: sumt_rt_poll_sib     Tag: rad750
#include "vxWorks.h"
#include "pci.h"
#include "sysLib.h"
#include "string.h"
#include "CTDB/SUMT_rt_poll.h"
#include "CTDB/CO1553_util.h"
#include "PBS/SPIN.h"
#include "MSG/MSG_pubdefs.h"
#include "mv2600.h"
#include "drv/pci/pciConfigLib.h"
#include "SUMT_private.h"
#include "SUMT_rt_private.h"
Include dependency graph for SUMT_rt_poll.c:
Functions | |
unsigned int | SUMT_rtPollBoardInit (SUMT_RT_Poll *rt, unsigned int busAddr) |
Initialize Summit board hardware. | |
unsigned int | SUMT_rtPollConfigure (SUMT_RT_Poll *rt, const SUMT_RT_Bus_Config *config) |
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. | |
Variables | |
SUMT_RT_Poll | rtPoll |
unsigned int | telemPtr [SUMT_RT_POLL_MAX_TELEM_MSG] |
Functions to handle initialization and control of the Summit remote terminal within boot code.
|
Initialize Summit board hardware. Initializes the board specific functionallity of a Summit hardware board. The board is mapped into the appropriate bus address and the interrupt configuration is setup.
|
|
Performs the work necessary to configure the Summit remote terminal device. A RT descriptor structure table is layed out, with all of the subaddresses initially disabled. Each subaddress is given a data buffer large enough to hold one 1553 message. Information about the subaddresses in use is cached in the rt structure.
|
Here is the call graph for this function:
|
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:
|
The static device descriptor for the polled mode remote terminal. |
|
An array of pointers to shared memory telemetry buffers. |