GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-4-2
Constituent: lcbbEcho     Tag: mv2304
This graph shows which files directly or indirectly include this file:
Defines | |
#define | LCBTB_STALL (0) |
standard stall value for register access, possible use in testing | |
Typedefs | |
typedef enum _LCBTB_OPTION | LCBTB_OPTION |
Masks for test option mask (boot driver). | |
Enumerations | |
enum | _LCBTB_OPTION { LCBTB_OPTION_BUSYPRINT = 1, LCBTB_OPTION_VERBOSE = 2, LCBTB_OPTION_COMPARE_FOR_ECHO = 0x20 } |
Functions | |
int | LCBTB_init (int latpAddr, int useRedundantPath) |
inits LCBB boot driver | |
void | LCBTB_setSiu (int idx) |
Set boardID in Csr to SIU addr. | |
void | LCBTB_setEpu (int idx) |
Set boardID in Csr to EPU addr. | |
unsigned int | LCBTB_readLatpCsr () |
read LATp CSR register (requires a polled DMA) | |
unsigned int | LCBTB_writeLatpCsr (unsigned int data, unsigned int mask) |
write LATp CSR register (requires a polled DMA) | |
void | LCBTB_latReset (unsigned int stall) |
sends LAT reset (requires a polled DMA) | |
unsigned int | LCBTB_readFifoFault () |
read Fifo fault register (requires a polled DMA) | |
unsigned int | LCBTB_writeFifoFault (unsigned int data, unsigned int mask) |
write Fifo Fault register (requires a polled DMA) | |
unsigned int | LCBTB_readStats () |
read stats register (requires a DMA) | |
unsigned int | LCBTB_writeStats (unsigned int data, unsigned int mask) |
write Stats register (requires a polled DMA) | |
void | LCBTB_regs () |
Read and print all registers. | |
void | LCBTB_setOption (unsigned int mask) |
set test option mask, see LCBTB.h for values | |
int | LCBTB_echo (int numMsg) |
single task message echo server using boot driver |
These routines are for testing the LCBB driver by setting it up as an echo server. The subroutines are structured to be used thru the WindSh rather than be called by other progs. They assume a single LCB board.
|
|
|
single task message echo server using boot driver
Note that the sending CPU does not need to be runnning the boot driver (or even jj's driver). The intent was that the other CPU could be running LCBT_eventTest(). |
Here is the call graph for this function:
|
inits LCBB boot driver
|
|
sends LAT reset (requires a polled DMA)
|
|
read Fifo fault register (requires a polled DMA)
|
|
read LATp CSR register (requires a polled DMA)
|
|
read stats register (requires a DMA)
|
|
Read and print all registers.
|
Here is the call graph for this function:
|
Set boardID in Csr to EPU addr.
|
|
set test option mask, see LCBTB.h for values
|
|
Set boardID in Csr to SIU addr.
|
|
write Fifo Fault register (requires a polled DMA)
|
|
write LATp CSR register (requires a polled DMA)
|
|
write Stats register (requires a polled DMA)
|