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

Constituent: sumt_rt_pmc1553     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

SUMT_rt_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/SUMT_rt.h"
#include "MSG/MSG_pubdefs.h"
#include "SUMT_rt_private.h"
#include "SUMT_rt_board.h"
#include "mv2600.h"
#include "drv/pci/pciConfigLib.h"
#include "drv/pci/pciIntLib.h"
#include "SUMT_pmc1553.h"

Include dependency graph for SUMT_rt_board_pmc1553.c:

Include dependency graph

Functions

unsigned int SUMT_rtBoardInit (SUMT_RT *rt)
 Initialize the Summit target board hardware.

unsigned int SUMT_rtBoardIntrConnect (SUMT_RT *rt)
 Connect the Summit target board interrupt.

unsigned int SUMT_rtBoardIntrDisconnect (SUMT_RT *rt)
 Disconnect the Summit target board interrupt.

void SUMT_rtBoardIntrEnable (SUMT_RT *rt)
 Enable the Summit target board interrupt.

void SUMT_rtBoardIntrDisable (SUMT_RT *rt)
 Disable the Summit target board interrupt.

void SUMT_rtBoardIntrAck (SUMT_RT *rt)
 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 SUMT_rtBoardInit SUMT_RT rt  ) 
 

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.

The board-specific function is resposible for initializing the following members of the rt structure:

base_addr - The base address of shared memory as seen by the Summit controller.
mem_addr - The base address of shared memory as seen by the CPU.
mem_size - The size in bytes of the shared memory.
sum_regs - The local address of the Summit registers.
intr_level - The local interrupt level number.
intr_vector - The local interrupt vector number.

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

void SUMT_rtBoardIntrAck SUMT_RT rt  ) 
 

Acknowledge a Summit target board interrupt.

Acknowledge and clear the Summit board interrupt.

Parameters:
rt A device descriptor.

iunsigned int SUMT_rtBoardIntrConnect SUMT_RT rt  ) 
 

Connect the Summit target board interrupt.

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

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

Here is the call graph for this function:

void SUMT_rtBoardIntrDisable SUMT_RT rt  ) 
 

Disable the Summit target board interrupt.

Disables the Summit board interrupt.

Parameters:
rt A device descriptor.

void SUMT_rtBoardIntrDisconnect SUMT_RT rt  ) 
 

Disconnect the Summit target board interrupt.

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

Parameters:
rt A device descriptor.

Here is the call graph for this function:

void SUMT_rtBoardIntrEnable SUMT_RT rt  ) 
 

Enable the Summit target board interrupt.

Enables the Summit board interrupt.

Parameters:
rt A device descriptor.


Generated on Sun Jul 17 01:10:43 2005 by doxygen 1.3.3