GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-4-1
Constituent: lcbt     Tag: mv2304
#include "LCBT/LCBT.h"
#include "LCBT/TDATA.h"
#include "PBS/PARITY.h"
#include "PBS/MBA.h"
#include "PBS/L.h"
#include "PBS/QI.h"
#include "LCBT_printf.h"
#include <string.h>
Include dependency graph for LCBT_cmdExternal.c:
Functions | |
void | LCBT_lamCruLoop (int num) |
loop on LAM write and CRU reg0 read, used for debugging HW | |
unsigned int | LCBT_hwAvail () |
get mask of hw determined by LCBT_determineHw() for use in LCBT_cmdExternalTest() | |
unsigned int | LCBT_setCfg (int haveGasu, int haveTem) |
get mask determined by LCBT_determineHw() for use in LCBT_cmdExternalTest() | |
unsigned int | LCBT_determineHw () |
get mask determined by LCBT_determineHw() for use in LCBT_determineHw () determine which HW is connected to the LCB | |
unsigned int | LCBT_lam (int latpAddr) |
Send out LAM (lookAtMe) to specified addr. | |
unsigned int | LCBT_remoteLatpCsr (int latpAddr, unsigned int val, unsigned int mask, int broadcast) |
send value to LatpCsr on another CPU over CmdResponse | |
unsigned int | LCBT_setRemoteBoardId (int latpAddr) |
set board ID to latpAddr on CPU determined by CRU | |
unsigned int | LCBT_initGasu () |
setup registers in GASU determine which HW is connected to the LCB | |
int | LCBT_cmdExternalTest (int num, int singleAccess, TDATA_DTEST testType, unsigned int testParm) |
read test on LCB local registers that require Cmd list DMA | |
unsigned int | LCBT_readReg (int latpAddr, int block, int reg, unsigned int *value) |
read a single register over the cmdResponse fabric | |
unsigned int | LCBT_writeReg (int latpAddr, int block, int reg, unsigned int value, int broadcast) |
write to single register over the cmdResponse fabric | |
void | LCBT_dumpEbm () |
dump all registers for EBM | |
void | LCBT_dumpCru () |
dump all registers for CRU | |
void | LCBT_dumpTem (int latpAddr) |
dump some registers for TEM | |
void | LCBT_setSiu (int idx) |
Set boardID in Csr to SIU addr. | |
void | LCBT_setEpu (int idx) |
Set boardID in Csr to EPU addr. |
|
read test on LCB local registers that require Cmd list DMA
|
Here is the call graph for this function:
|
get mask determined by LCBT_determineHw() for use in LCBT_determineHw () determine which HW is connected to the LCB This routine is used to determine what HW is connected to the LCB so that the LCBT_cmdExternalTest() can be run. The most likly configurations are: LCB to TEM (teststand) LCB to GASU (i.e. EBM) LCB to GASU to TEM (i.e. EBM and TEM) It determines HW by trying to read registers in that HW. If HW config is known and user wishes to receive errors if HW is not operating, use the LCBT_setCfg() call to setup. Configuration is essentially only for LCBT_testAll() as it choose the tests to run. If tests withint LCBT_testAll() are called directly they will not consider the configuration setting. |
Here is the call graph for this function:
|
dump all registers for CRU
|
|
dump all registers for EBM
|
|
dump some registers for TEM
|
|
get mask of hw determined by LCBT_determineHw() for use in LCBT_cmdExternalTest()
|
|
setup registers in GASU determine which HW is connected to the LCB This routine is used as an alternative to PIG to init the GASU. DO NOT use if you are using PIG to setup the HW. |
Here is the call graph for this function:
|
Send out LAM (lookAtMe) to specified addr.
|
Here is the call graph for this function:
|
loop on LAM write and CRU reg0 read, used for debugging HW
|
Here is the call graph for this function:
|
read a single register over the cmdResponse fabric
|
|
send value to LatpCsr on another CPU over CmdResponse
|
Here is the call graph for this function:
|
get mask determined by LCBT_determineHw() for use in LCBT_cmdExternalTest()
This routine is used instead of LCNT_determineHw() when the HW configuration is already known. Configuration is essentially only for LCBT_testAll() as it choose the tests to run. If tests withint LCBT_testAll() are called directly they will not consider the configuration setting. |
|
Set boardID in Csr to EPU addr.
|
|
set board ID to latpAddr on CPU determined by CRU
|
Here is the call graph for this function:
|
Set boardID in Csr to SIU addr.
|
|
write to single register over the cmdResponse fabric
|