GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTDB / V5-5-5 > sumt_bc_sib / rad750
#include <vxWorks.h>
#include <intLib.h>
#include <iv.h>
#include <pci.h>
#include <CTDB/SUMT_bc.h>
#include <PBS/SPIN.h>
#include <MSG/MSG_pubdefs.h>
#include <FBS/FBS_pubrtos.h>
#include <SUMT_bc_private.h>
#include <SUMT_bc_board.h>
#include <mv2600.h>
#include <drv/pci/pciConfigLib.h>
#include <drv/pci/pciIntLib.h>
#include <drv/sib/sib.h>
Functions | |
unsigned int | SUMT_bcBoardInit (SUMT_BC *bc) |
Initialize the Summit target board hardware. | |
unsigned int | SUMT_bcBoardIntrConnect (SUMT_BC *bc) |
Connect the Summit target board interrupt. | |
unsigned int | SUMT_bcBoardIntrDisconnect (SUMT_BC *bc) |
Disconnect the Summit target board interrupt. | |
void | SUMT_bcBoardIntrEnable (SUMT_BC *bc) |
Enable the Summit target board interrupt. | |
void | SUMT_bcBoardIntrDisable (SUMT_BC *bc) |
Disable the Summit target board interrupt. | |
void | SUMT_bcBoardIntrAck (SUMT_BC *bc) |
Acknowledge a Summit target board interrupt. |
Each supported target board has a different implementation of these functions. This module supports the LAT SIB cPCI Summit board.
unsigned int SUMT_bcBoardInit | ( | SUMT_BC * | bc | ) |
Initialize the Summit target board hardware.
Initializes the board specific functionallity of a Summit hardware board. The board is mapped into the appropriate bus address and the interrupt configuration is setup.
bc | A device descriptor. |
References _SUMT_BC::base_addr, _SUMT_BC::intr_level, _SUMT_BC::intr_vector, _SUMT_BC::mem_addr, _SUMT_BC::mem_size, SUMT_DELAY_RESET_HW, and _SUMT_BC::sumt_regs.
Referenced by SUMT_bcInit().
void SUMT_bcBoardIntrAck | ( | SUMT_BC * | bc | ) |
Acknowledge a Summit target board interrupt.
Acknowledge and clear the Summit board interrupt.
bc | A device descriptor. |
Referenced by SUMT_bcInit(), and SUMT_bcIntr().
unsigned int SUMT_bcBoardIntrConnect | ( | SUMT_BC * | bc | ) |
Connect the Summit target board interrupt.
Attaches the Summit driver interrupt handler to the board interrupt signal.
bc | A device descriptor. |
References _SUMT_BC::intr_vector, and SUMT_bcIntr().
Referenced by SUMT_bcInit().
void SUMT_bcBoardIntrDisable | ( | SUMT_BC * | bc | ) |
Disable the Summit target board interrupt.
Disables the Summit board interrupt.
bc | A device descriptor. |
Referenced by SUMT_bcInit(), and SUMT_bcTerminate().
unsigned int SUMT_bcBoardIntrDisconnect | ( | SUMT_BC * | bc | ) |
Disconnect the Summit target board interrupt.
Dettaches the Summit driver interrupt handler from the board interrupt signal.
bc | A device descriptor. |
References _SUMT_BC::intr_vector, and SUMT_bcIntr().
Referenced by SUMT_bcTerminate().
void SUMT_bcBoardIntrEnable | ( | SUMT_BC * | bc | ) |
Enable the Summit target board interrupt.
Enables the Summit board interrupt.
bc | A device descriptor. |
Referenced by SUMT_bcInit().