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

Constituent: sumt_rt_sib     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

SUMT_rt_board.h File Reference

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

#include "CTDB/SUMT_rt.h"
#include "SUMT_rt_private.h"
#include "SUMT_private.h"

Include dependency graph for SUMT_rt_board.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

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

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

unsigned int SUMT_rtBoardIntrConnect (SUMT_RT *rt)
 Connect 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 prototypes for Summit target boards.

Author:
D.L. Wood

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.

unsigned 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.

unsigned int 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 Wed Sep 7 23:04:42 2005 by doxygen 1.3.3