GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-2 > lcbt / rad750
#include <LCBT/LCBT.h>
#include <PBS/MBA.h>
#include <LCBT_printf.h>
Functions | |
int | LCBT_localRegTest (int num, TDATA_DTEST testType, unsigned int testParm) |
Read/write/compare test on all PCI accessable registers on LCB board. | |
unsigned int | LCBT_readCsr () |
Read CSR register. | |
unsigned int | LCBT_readIrq () |
Read IRQ register which has interrupt status. | |
unsigned int | LCBT_readFabricSelect () |
Read FabricSelect register which indicates primary or redundant. | |
unsigned int | LCBT_readEventBase () |
Read Event Base register which is start of Event circular buffer. | |
unsigned int | LCBT_readEventFree () |
Read Event Free register which is offset in Event circular buffer HW will write to. | |
unsigned int | LCBT_readEventQ () |
Read eventQueue NOTE this will pull value from queue and effect operation. | |
unsigned int | LCBT_readResultQ () |
Read resultQueue NOTE this will pull value from queue and effect operation. | |
unsigned int | LCBT_readRequestQ () |
Read requestQueue, 0=notEMpty, not0=empty NOTE this will pull value from queue and effect operation. | |
void | LCBT_readHwInfo () |
Read hwInfo register. | |
unsigned int | LCBT_writeCsr (unsigned int data) |
Write given value to register. | |
unsigned int | LCBT_writeIrq (unsigned int data) |
Write given value to register. | |
unsigned int | LCBT_writeEventBase (unsigned int data) |
Write given value to register. | |
unsigned int | LCBT_writeEventFree (unsigned int data) |
Write given value to register. | |
unsigned int | LCBT_writeFabricSelect (unsigned int data) |
Write given value to register. | |
unsigned int | LCBT_setWatermark (unsigned int val) |
Write the watermark field in the CSR. |
int LCBT_localRegTest | ( | int | num, | |
TDATA_DTEST | testType, | |||
unsigned int | testParm | |||
) |
Read/write/compare test on all PCI accessable registers on LCB board.
num | Number of events to do in the test | |
testType | Specified the data sequence used for test data | |
testParm | Parm to use with testType |
References EPRINTF, LCBT_OPTION_BUSYPRINT, LCBT_saveErrorForDeltas(), LCBT_updateErrorTotals(), PRINTF, TDATA_getNextSeqVal(), and TDATA_getRandCtxForSeqVal().
LCBT_readCsr | ( | ) |
LCBT_readEventBase | ( | ) |
Read Event Base register which is start of Event circular buffer.
References PRINTF.
Referenced by LCBT_regs().
LCBT_readEventFree | ( | ) |
Read Event Free register which is offset in Event circular buffer HW will write to.
References PRINTF.
Referenced by LCBT_regs().
LCBT_readEventQ | ( | ) |
Read eventQueue NOTE this will pull value from queue and effect operation.
LCBT_readFabricSelect | ( | ) |
Read FabricSelect register which indicates primary or redundant.
References PRINTF.
Referenced by LCBT_regs().
LCBT_readHwInfo | ( | ) |
LCBT_readIrq | ( | ) |
Read IRQ register which has interrupt status.
References PRINTF.
Referenced by LCBT_regs().
LCBT_readRequestQ | ( | ) |
Read requestQueue, 0=notEMpty, not0=empty NOTE this will pull value from queue and effect operation.
LCBT_readResultQ | ( | ) |
Read resultQueue NOTE this will pull value from queue and effect operation.
Referenced by LCBT_resetTest().
LCBT_setWatermark | ( | unsigned int | val | ) |
Write the watermark field in the CSR.
val | 0=3/4 full,1=1/2 full, 2=1/4 full, 3=notEmpty |
References PRINTF.
LCBT_writeCsr | ( | unsigned int | data | ) |
Write given value to register.
data | value to write to register |
Referenced by LCBT_resetTest().
LCBT_writeEventBase | ( | unsigned int | data | ) |
Write given value to register.
data | value to write to register |
LCBT_writeEventFree | ( | unsigned int | data | ) |
Write given value to register.
data | value to write to register |
LCBT_writeFabricSelect | ( | unsigned int | data | ) |
Write given value to register.
data | value to write to register |
LCBT_writeIrq | ( | unsigned int | data | ) |
Write given value to register.
data | value to write to register |
Referenced by LCBT_resetTest().