GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-3 > lcbt / mv2304
#include <PBS/PBS.h>
#include <PBS/MBA.h>
#include <PBS/CACHE.h>
#include <MSG/MSG_pubdefs.h>
#include <LCBT/LCBT_initBoard.h>
#include <LCBT/LCBT.h>
#include <LCBT_printf.h>
#include <trace.h>
Functions | |
| int | LCBT_init (int latpAddr, int useRedundantPath, LCBD lcb) |
| inits LCB driver (which starts 2 tasks associated with driver) | |
| int | LCBT_isInit () |
| indicates if LCBT_init has been run ok | |
| void | LCBT_setOption (unsigned int mask) |
| set test option mask, see LCBT.h for values | |
| void | LCBT_stats (int mask) |
| print stats for LCB driver | |
| void | LCBT_clearStats () |
| clear stats for LCB driver | |
| void | LCBT_resetTest (int numReqPer) |
| special test for reset fix on FpgaLat=0x5d | |
| void LCBT_clearStats | ( | ) |
clear stats for LCB driver
| int LCBT_init | ( | int | latpAddr, | |
| int | useRedundantPath, | |||
| LCBD | lcb | |||
| ) |
inits LCB driver (which starts 2 tasks associated with driver)
| latpAddr | LATp addr to assign to this board | |
| useRedundantPath | 0=primary path, 1=redundant path | |
| lcb | lcbd driver handle is driver if already init (use LCBD_get()), if 0 will load driver |
References LCBT_eventInit(), LCBT_initBoard(), and LCBT_printInit().
| int LCBT_isInit | ( | ) |
indicates if LCBT_init has been run ok
| void LCBT_resetTest | ( | int | numReqPer | ) |
special test for reset fix on FpgaLat=0x5d
| numReqPer | num of read for each of 4 part test |
The fix in LatFpga=0x5d allows this test to run sucessfully without errors.
References LCBT_readResultQ(), LCBT_writeCsr(), LCBT_writeIrq(), and PRINTF.
| void LCBT_setOption | ( | unsigned int | mask | ) |
| void LCBT_stats | ( | int | mask | ) |
print stats for LCB driver
| mask | 0=all,1=ISR,2=rst,4=evt,8=time |
1.5.8