GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTDB / V5-5-5 > vsbc_bc_pmc1553 / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

_VSBC_BC Struct Reference

#include <VSBC_bc_private.h>

List of all members.

Public Attributes

struct _VSBC_BCcheck
unsigned int base_addr
unsigned int mem_addr
unsigned int mem_size
unsigned int sumt_regs
unsigned int log_list
unsigned int cmd_blk
unsigned int data_buf
int intr_level
int intr_vector
FORK_msg_sys task_msg [VSBC_BC_N_INTR]
FORK_fcb * task_id
FORK_que * task_queue
MSG_Level task_level
WUT_tmr * frame_timer
unsigned int frame_count
unsigned int frame_flags [VSBC_BC_NUM_BUS_FRAME]
unsigned int frame_cmd_blk [VSBC_BC_NUM_BUS_FRAME]
CO1553_BC_Telemtelem_inter
unsigned int * telem_data
unsigned int telem_data_cmd_blk [VSBC_BC_NUM_BUS_FRAME][VSBC_BC_NUM_BUS_CMD]
unsigned int telem_end_cmd_blk [VSBC_BC_NUM_BUS_FRAME]
unsigned int telem_end_data
unsigned int telem_msg_count
CO1553_BC_Cmd_Rxcmd_rx_inter
unsigned int cmd_rx_data
unsigned int cmd_rx_cmd_blk [VSBC_BC_NUM_BUS_FRAME]
CO1553_BC_Cmd_Txcmd_tx_inter
unsigned int cmd_tx_data
unsigned int cmd_tx_cmd_blk [VSBC_BC_NUM_BUS_FRAME]
RW_ctl bc_lock
VSBC_BC_Sync_Cmd_Handlersync_cmd_handler
void * sync_cmd_arg
unsigned char * sync_cmd_buf
VSBC_BC_Bus_Side bus_side
int bus_switch


Detailed Description

The bus controller device descriptor.

Member Data Documentation

unsigned int _VSBC_BC::base_addr

The local address of the BCRTM board base.

Referenced by VSBC_bcBoardInit(), VSBC_bcConfigure(), VSBC_bcFrame(), and VSBC_bcStart().

A RW lock to protect the driver data.

Referenced by VSBC_bcHandleSyncCmd(), VSBC_bcInit(), VSBC_bcSyncCmdGet(), VSBC_bcSyncCmdSet(), and VSBC_bcTerminate().

Bus side to change to on request

Referenced by VSBC_bcSwitchHandle(), and VSBC_bcSwitchPost().

Flag to indicate bus side switch request.

Referenced by VSBC_bcInit(), VSBC_bcMsg(), VSBC_bcSwitchHandle(), and VSBC_bcSwitchPost().

struct _VSBC_BC* _VSBC_BC::check [read]

unsigned int _VSBC_BC::cmd_blk

The local address of the BC command block list in shared memory.

Referenced by VSBC_bcConfigure(), and VSBC_bcInit().

unsigned int _VSBC_BC::cmd_rx_cmd_blk[VSBC_BC_NUM_BUS_FRAME]

An array of pointers to the command subaddress BC command blocks.

Referenced by VSBC_bcConfigure(), VSBC_bcMsg(), and VSBC_bcSwitchHandle().

unsigned int _VSBC_BC::cmd_rx_data

The local address of the command data buffer in shared memory.

Referenced by VSBC_bcConfigure(), VSBC_bcHandleSyncCmd(), and VSBC_bcMsg().

The CCSDS command receive interface descriptor.

Referenced by VSBC_bcInit(), VSBC_bcMsg(), VSBC_bcPktCmdRxSend(), and VSBC_bcTerminate().

unsigned int _VSBC_BC::cmd_tx_cmd_blk[VSBC_BC_NUM_BUS_FRAME]

An array of pointers to the command subaddress BC command blocks.

Referenced by VSBC_bcConfigure(), and VSBC_bcSwitchHandle().

unsigned int _VSBC_BC::cmd_tx_data

The local address of the command data buffer in shared memory.

Referenced by VSBC_bcConfigure(), and VSBC_bcMsg().

The CCSDS command transmit interface descriptor.

Referenced by VSBC_bcInit(), VSBC_bcMsg(), VSBC_bcPktCmdTxFree(), VSBC_bcPktCmdTxRecv(), and VSBC_bcTerminate().

unsigned int _VSBC_BC::data_buf

The local address of the 1553 data buffers in shared memory.

Referenced by VSBC_bcConfigure(), and VSBC_bcInit().

unsigned int _VSBC_BC::frame_cmd_blk[VSBC_BC_NUM_BUS_FRAME]

A pointer to the first command block for each frame.

Referenced by VSBC_bcConfigure(), VSBC_bcFrame(), and VSBC_bcStart().

unsigned int _VSBC_BC::frame_count

A count of the bus frames that have occurred.

Referenced by VSBC_bcFrame(), VSBC_bcMsg(), and VSBC_bcStart().

unsigned int _VSBC_BC::frame_flags[VSBC_BC_NUM_BUS_FRAME]

Subaddress flags for content of each bus frame.

Referenced by VSBC_bcConfigure(), VSBC_bcMsg(), and VSBC_bcSwitchHandle().

The bus controller frame timer.

Referenced by VSBC_bcInit(), VSBC_bcStart(), VSBC_bcStop(), and VSBC_bcTerminate().

The hardware interrupt level for the device.

Referenced by VSBC_bcBoardInit().

The software interrupt vector number for the device.

Referenced by VSBC_bcBoardInit(), VSBC_bcBoardIntrConnect(), and VSBC_bcBoardIntrDisconnect().

unsigned int _VSBC_BC::log_list

The local address of the event interrupt log in shared memory.

Referenced by VSBC_bcInit(), and VSBC_bcStart().

unsigned int _VSBC_BC::mem_addr

The local address of the device share memory.

Referenced by VSBC_bcBoardInit(), and VSBC_bcInit().

unsigned int _VSBC_BC::mem_size

The size in bytes of the device share memory.

Referenced by VSBC_bcBoardInit(), and VSBC_bcInit().

unsigned int _VSBC_BC::sumt_regs

The local address of the BCRTM device registers.

Referenced by VSBC_bcBoardInit(), VSBC_bcFrame(), VSBC_bcInit(), VSBC_bcIntr(), VSBC_bcStart(), and VSBC_bcTerminate().

The synchronous telecommand callback argument.

Referenced by VSBC_bcHandleSyncCmd(), VSBC_bcInit(), VSBC_bcSyncCmdGet(), and VSBC_bcSyncCmdSet().

unsigned char* _VSBC_BC::sync_cmd_buf

Scratch buffer for synchronous telecommand packets

Referenced by VSBC_bcHandleSyncCmd(), VSBC_bcInit(), and VSBC_bcTerminate().

The synchronous telecommand packet callback function.

Referenced by VSBC_bcHandleSyncCmd(), VSBC_bcInit(), VSBC_bcSyncCmdGet(), and VSBC_bcSyncCmdSet().

FORK_fcb* _VSBC_BC::task_id

The handle of the bus controller service task.

Referenced by VSBC_bcExit(), and VSBC_bcInit().

The MSG severity level for the BC service task.

Referenced by VSBC_bcInit(), and VSBC_bcTask().

FORK_msg_sys _VSBC_BC::task_msg[VSBC_BC_N_INTR]

The event message queue for the bus controller service task.

Referenced by VSBC_bcInit().

The handle of the BC task message queue.

Referenced by VSBC_bcBusSwitch(), VSBC_bcExit(), VSBC_bcInit(), and VSBC_bcIntr().

unsigned int* _VSBC_BC::telem_data

The local address of the telemetry data buffers in shared memory.

Referenced by VSBC_bcConfigure(), VSBC_bcInit(), VSBC_bcMsg(), and VSBC_bcTerminate().

unsigned int _VSBC_BC::telem_data_cmd_blk[VSBC_BC_NUM_BUS_FRAME][VSBC_BC_NUM_BUS_CMD]

An array of pointers to the telemetry data subaddress BC command blocks.

Referenced by VSBC_bcConfigure(), and VSBC_bcSwitchHandle().

unsigned int _VSBC_BC::telem_end_cmd_blk[VSBC_BC_NUM_BUS_FRAME]

An array of pointers to the telemetry complete subaddress BC command blocks.

Referenced by VSBC_bcConfigure(), and VSBC_bcSwitchHandle().

The data buffer to support telemetry complete subaddress.

Referenced by VSBC_bcConfigure().

The CCSDS telemetry interface descriptor.

Referenced by VSBC_bcInit(), VSBC_bcMsg(), VSBC_bcPktTelemFree(), VSBC_bcPktTelemRecv(), and VSBC_bcTerminate().

The number of data messages in one GLAST telemetry block.

Referenced by VSBC_bcInit(), and VSBC_bcSwitchHandle().


The documentation for this struct was generated from the following file:

Generated on Tue Sep 27 14:35:37 2011 by  doxygen 1.5.8