GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-5-4
Constituent: vsbc_bc_pmc1553     Tag: mv2304
#include "string.h"
#include "CTDB/VSBC_bc.h"
#include "CTDB/CO1553_util.h"
#include "CTDB/CO1553_bc.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBS/WUT.h"
#include "MSG/MSG_pubdefs.h"
#include "VSBC_bc_private.h"
#include "SUMT_private.h"
#include "VSBC_bc_board.h"
Include dependency graph for VSBC_bc_msg.c:
Functions | |
static unsigned int | VSBC_bcHandleSyncCmd (VSBC_BC *bc, VSBC_BC_Subaddr subAddr) |
static void | VSBC_bcSwitchHandle (VSBC_BC *bc) |
void | VSBC_bcIntr (VSBC_BC *bc) |
Interrupt handler for driver. | |
WUT_cb_status | VSBC_bcFrame (VSBC_BC *bc, WUT_tmr *timer) |
Start a new bus frame. | |
void | VSBC_bcMsg (VSBC_BC *bc) |
Processes a 1553 data message event. | |
void | VSBC_bcSwitchPost (VSBC_BC *bc, const VSBC_BC_Event event) |
Post primary bus switch operation. |
|
Start a new bus frame. Starts the bus controller processing bus commands to send to the remote terminal. A one second frame timer is also started, so that once the current list of bus commands is processed, the BCRTM device is restarted the next second with the same command list.
|
|
Responds to a Summit device interrupt indicating that a 1553 frame of commands has completed. Any work to prepare commands for the next frame is completed, and then the data messages from the current frame are serviced.
|
|
Interrupt handler for driver. Handles Summit bus controller device interrupts. A descriptor is allocated from the interrupt pool. The internal status register as well as the contents of the event log in shared memory are saved to the interrupt descriptor. The descriptor is placed on a queue to be handled by VSBC_bcTask() at a later time.
|
|
Processes a 1553 data message event. Responds to a Summit device interrupt indicating that a 1553 frame of commands has completed. Any work to prepare commands for the next frame is completed, and then the data messages from the current frame are serviced.
|
|
Re-programs the BC command blocks in device shared memory so that the requested bus side is set to primary for all subsequent bus traffic.
|
|
Post primary bus switch operation. Marks that a bus switch operation has been requested. The actual changeover will occur on the next call to VSBC_bcMsg().
|