GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-5-4

Constituent: vsbc_bc_pmc1553     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

VSBC_bc_board_pmc1553.c File Reference

Board-specific functions for Summit target boards. More...

#include "vxWorks.h"
#include "intLib.h"
#include "iv.h"
#include "pci.h"
#include "CTDB/VSBC_bc.h"
#include "MSG/MSG_pubdefs.h"
#include "VSBC_bc_private.h"
#include "VSBC_bc_board.h"
#include "mv2600.h"
#include "drv/pci/pciConfigLib.h"
#include "drv/pci/pciIntLib.h"
#include "SUMT_pmc1553.h"

Include dependency graph for VSBC_bc_board_pmc1553.c:


Functions

unsigned int VSBC_bcBoardInit (VSBC_BC *bc)
 Initialize the Summit target board hardware.
unsigned int VSBC_bcBoardIntrConnect (VSBC_BC *bc)
 Connect the Summit target board interrupt.
unsigned int VSBC_bcBoardIntrDisconnect (VSBC_BC *bc)
 Disconnect the Summit target board interrupt.
void VSBC_bcBoardIntrEnable (VSBC_BC *bc)
 Enable the Summit target board interrupt.
void VSBC_bcBoardIntrDisable (VSBC_BC *bc)
 Disable the Summit target board interrupt.
void VSBC_bcBoardIntrAck (VSBC_BC *bc)
 Acknowledge a Summit target board interrupt.

Detailed Description

Board-specific functions for Summit target boards.

Author:
D.L. Wood
Each supported target board has a different implementation of these functions. This module supports the Alphi PMC1553 Summit board.

Function Documentation

unsigned int VSBC_bcBoardInit VSBC_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.

Parameters:
bc A device descriptor.
Returns:
A CTDB MSG code.

void VSBC_bcBoardIntrAck VSBC_BC bc  ) 
 

Acknowledge a Summit target board interrupt.

Acknowledge and clear the Summit board interrupt.

Parameters:
bc A device descriptor.

unsigned int VSBC_bcBoardIntrConnect VSBC_BC bc  ) 
 

Connect the Summit target board interrupt.

Attaches the Summit driver interrupt handler to the board interrupt signal.

Parameters:
bc A device descriptor.
Returns:
A CTDB MSG code.

void VSBC_bcBoardIntrDisable VSBC_BC bc  ) 
 

Disable the Summit target board interrupt.

Disables the Summit board interrupt.

Parameters:
bc A device descriptor.

unsigned int VSBC_bcBoardIntrDisconnect VSBC_BC bc  ) 
 

Disconnect the Summit target board interrupt.

Dettaches the Summit driver interrupt handler from the board interrupt signal.

Parameters:
bc A device descriptor.

void VSBC_bcBoardIntrEnable VSBC_BC bc  ) 
 

Enable the Summit target board interrupt.

Enables the Summit board interrupt.

Parameters:
bc A device descriptor.


Generated on Wed Dec 14 20:47:16 2005 by  doxygen 1.4.4