GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-2 > lcbt / rad750
#include <LCBT/LCBT.h>
#include <LCBD/LCB_cr.h>
#include <PBS/MBA.h>
#include <LCBT_printf.h>
Functions | |
unsigned int | LCBT_readLatpCsr () |
read LATp CSR register (requires a DMA) | |
unsigned int | LCBT_readFifoFault () |
read Fifo Fault registers (requires a DMA) | |
unsigned int | LCBT_writeLatpCsr (unsigned int data, unsigned int mask) |
write LATp CSR register (requires a DMA) | |
unsigned int | LCBT_writeFifoFault (unsigned int data, unsigned int mask) |
write Fifo Fault register (requires a DMA) | |
void | LCBT_latReset (unsigned int stall) |
sends LAT reset (requires a DMA) | |
unsigned int | LCBT_readStats () |
read stats register (requires a DMA) | |
unsigned int | LCBT_writeStats (unsigned int data, unsigned int mask) |
write Stats register (requires a DMA) | |
int | LCBT_cmdLocalTest (int num, TDATA_DTEST testType, unsigned int testParm) |
read-only test on LCB local registers that require Cmd list DMA | |
int | LCBT_cmdLocalTest2 (int num, TDATA_DTEST testType, unsigned int testParm) |
2 task read test on LCB local registers that require Cmd list DMA | |
int | LCBT_cmdLocalTest3 (int num, TDATA_DTEST testType, unsigned int testParm) |
3 task read test on LCB local registers that require Cmd list DMA |
int LCBT_cmdLocalTest | ( | int | num, | |
TDATA_DTEST | testType, | |||
unsigned int | testParm | |||
) |
read-only test on LCB local registers that require Cmd list DMA
num | Number of accesses to do in the test | |
testType | Specifies the data sequence for test | |
testParm | Parm to use with testType |
References LCBT_printErrorDeltas(), and LCBT_saveErrorForDeltas().
Referenced by LCBT_comboTest().
int LCBT_cmdLocalTest2 | ( | int | num, | |
TDATA_DTEST | testType, | |||
unsigned int | testParm | |||
) |
2 task read test on LCB local registers that require Cmd list DMA
num | Number of accesses to do in the test | |
testType | Specifies the data sequence for test | |
testParm | Parm to use with testType |
References LCBT_printErrorDeltas(), and LCBT_saveErrorForDeltas().
int LCBT_cmdLocalTest3 | ( | int | num, | |
TDATA_DTEST | testType, | |||
unsigned int | testParm | |||
) |
3 task read test on LCB local registers that require Cmd list DMA
num | Number of accesses to do in the test | |
testType | Specifies the data sequence for test | |
testParm | Parm to use with testType |
References LCBT_printErrorDeltas(), and LCBT_saveErrorForDeltas().
void LCBT_latReset | ( | unsigned int | stall | ) |
sends LAT reset (requires a DMA)
stall | stall after reset in 50 nSec tics |
References EPRINTF.
int LCBT_readFifoFault | ( | ) |
read Fifo Fault registers (requires a DMA)
References EPRINTF, LCBT_STALL, and PRINTF.
Referenced by LCBT_regs().
int LCBT_readLatpCsr | ( | ) |
read LATp CSR register (requires a DMA)
References EPRINTF, LCBT_STALL, and PRINTF.
Referenced by LCBT_regs().
int LCBT_readStats | ( | ) |
read stats register (requires a DMA)
References EPRINTF, LCBT_STALL, and PRINTF.
Referenced by LCBT_regs().
int LCBT_writeFifoFault | ( | unsigned int | data, | |
unsigned int | mask | |||
) |
write Fifo Fault register (requires a DMA)
data | value to write to register | |
mask | mask of bits to write, if 0 will default to full register |
References EPRINTF, and LCBT_STALL.
int LCBT_writeLatpCsr | ( | unsigned int | data, | |
unsigned int | mask | |||
) |
write LATp CSR register (requires a DMA)
data | value to write to register | |
mask | mask of bits to write, if 0 will default to full register |
References EPRINTF, and LCBT_STALL.
int LCBT_writeStats | ( | unsigned int | data, | |
unsigned int | mask | |||
) |
write Stats register (requires a DMA)
data | value to write to register | |
mask | mask of bits to write, if 0 will default to full register |
References EPRINTF, and LCBT_STALL.