GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-2-2
Constituent: sumt_rt_poll_pmc1553     Tag: mv2304
#include "vxWorks.h"
#include "CTDB/SUMT_rt.h"
#include "PBS/SPIN.h"
#include "MSG/MSG_pubdefs.h"
#include "SUMT_private.h"
#include "mv2600.h"
Include dependency graph for SUMT_private.c:
Functions | |
void | SUMT_rtLegalize (unsigned short *regPair, unsigned short subAddr) |
Create a Summit legalization mask. | |
unsigned int | SUMT_reset (unsigned int regs) |
Soft reset Summit controller hardware. | |
unsigned int | SUMT_test (unsigned int regs) |
Perform Summit controller hardware built in test. | |
unsigned int | SUMT_regWrite (unsigned int addr, unsigned int offset, unsigned short data, unsigned short mask) |
Write to a Summit controller register. |
The definitions of particular functions may be conditional on the target type and board.
|
Write to a Summit controller register. Writes a value to one of the Summit controller internal registers. This function performs a read back of the register to verify that the write was successful. Up to SUMT_REG_RETRY retries are allowed before declairing failure. A warning is signalled for every retry. This is related to a problem seen with the EM model SIB board running with a MCP750 CPU.
|
|
Soft reset Summit controller hardware. Performs a software reset of the Summit controller chip.
|
|
Create a Summit legalization mask. Creates a bit mask for the Summit illegalization register values. The appropriate bit in one of the regPair words is cleared to allow the indicated subaddress to appear at the remote terminal.
|
|
Perform Summit controller hardware built in test. Performs a built in self test (BIT) of the Summit controller chip. A warning is issued if one of the tests reports failure. An error code is returned if both the Channel A and Channel B tests fail, the BIT procedure times out, or if the device does not return to ready status after running the BIT.
|