GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-3-1
Constituent: lcbbEcho     Tag: rad750
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 DMA) | |
unsigned int | LCBTB_writeLatpCsr (unsigned int data, unsigned int mask) |
write LATp CSR register (requires a DMA) | |
void | LCBTB_latReset (unsigned int stall) |
sends LAT reset (requires a DMA) | |
unsigned int | LCBTB_readFifoFault () |
read Fifo fault register (requires a DMA) | |
unsigned int | LCBTB_writeFifoFault (unsigned int data, unsigned int mask) |
write Fifo Fault register (requires a DMA) | |
unsigned int | LCBTB_readStats () |
read stats register (requires a DMA) | |
unsigned int | LCBTB_writeStats (unsigned int data, unsigned int mask) |
write Fifo Fault register (requires a DMA) | |
void | LCBTB_regs () |
Readall regs. | |
void | LCBTB_setOption (unsigned int mask) |
set test option mask, see LCBT.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 DMA)
|
|
read Fifo fault register (requires a DMA)
|
|
read LATp CSR register (requires a DMA)
|
|
read stats register (requires a DMA)
|
|
Readall regs.
|
Here is the call graph for this function:
|
Set boardID in Csr to EPU addr.
|
|
set test option mask, see LCBT.h for values
|
|
Set boardID in Csr to SIU addr.
|
|
write Fifo Fault register (requires a DMA)
|
|
write LATp CSR register (requires a DMA)
|
|
write Fifo Fault register (requires a DMA)
|