GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> VXW / V7-2-0 > vxw_tornado / rad750


Interface   Data Structures   File List   Data Fields   Globals  

isrRouter.c File Reference

Function definitions for interrupt router routines. More...

#include "vxWorks.h"
#include "logLib.h"
#include "private/eventP.h"
#include "drv/ppci/isrRouter.h"
#include "drv/ppci/asmFns.h"
#include "TEX/TEX_pubdefs.h"

Functions

void isrRouteInterrupt (isrRoutingInfo_t *pRoutingInfo, TRC_cb_Exception *rtn, unsigned long long tim, unsigned int fui)
 Route an interrupt via a jump table.
STATUS isrIntConnect (isrRoutingInfo_t *pRoutingInfo, ULONG intLvl, VOIDFUNCPTR isr, int parm)
 Connect ISR to interrupt level.


Detailed Description

Function definitions for interrupt router routines.

-----------------------------------------------------------------------------

Description:

General-purpose interrupt service routine (ISR) router.

Restrictions:

Change History:

Date Pgm Description -------- --- ------------------------------------------------------ 11/27/00 DS Created.

-----------------------------------------------------------------------------


Function Documentation

STATUS isrIntConnect ( isrRoutingInfo_t pRoutingInfo,
ULONG  intLvl,
VOIDFUNCPTR  isr,
int  parm 
)

Connect ISR to interrupt level.

----------------------------------------------------------------------------

This routine connects an interrupt service routine (ISR) to the specified interrupt level. Interrupt levelss are enabled separate from this routine. The interrupt level being connected should not be enabled when this routine is called. The specified ISR will get control with interrupts disabled.

Parameters:
pRoutingInfo - Pointer to the interrupt routing infomation..
intLvl - The interrupt level (0-31, 0=LSB).
isr - Pointer to the ISR.
parm - A user-defined parameter to pass to the ISR when the interrupt occurs.
----------------------------------------------------------------------------

void isrRouteInterrupt ( isrRoutingInfo_t pRoutingInfo,
TRC_cb_Exception *  rtn,
unsigned long long  tim,
unsigned int  fui 
)

Route an interrupt via a jump table.

Parameters:
pRoutingInfo (in) Routing jump table
rtn (in) Trace recording callback
tim (in) Timestamp to record in trace
fui (in) Format of trace record (as unsigned int)
This routine uses a jump table to route a set of aggregated interrupts. See isrRouter.h for underlying assumptions.


Generated on Fri Jul 24 11:32:08 2009 by  doxygen 1.5.3