MityDSP Documentation Index
Static Public Member Functions
MityDSP::tcDspInterruptDispatch Class Reference

Static class to provide interrupt dispatching capabilities for the external interrupt pins (levels 4-7) of the MityDSP. More...

#include <core/DspIntDispatch.h>

List of all members.

Static Public Member Functions

static bool register_isr_callback (int anLevel, int anVector, tfIsrCallback apCallback, Arg apArgument)
 This routine registers an ISR callback for a specified interrupt level and vector.
static void unregister_isr_callback (int anLevel, int anVector, tfIsrCallback apCallback=NULL, Arg apArgument=0)
 This routine un-registers a previously registered ISR callback for a specified interrupt level and vector.

Detailed Description

Static class to provide interrupt dispatching capabilities for the external interrupt pins (levels 4-7) of the MityDSP.

See also:
tcDspInterruptDispatch Page

Member Function Documentation

bool tcDspInterruptDispatch::register_isr_callback ( int  anLevel,
int  anVector,
tfIsrCallback  apCallback,
Arg  apArgument 
)
static

This routine registers an ISR callback for a specified interrupt level and vector.

Parameters:
[in]anLevelThe interrupt level to register at (4-7).
[in]anVectorThe interrupt vector to associate callback with (0-31, or gnChainVector).
[in]apCallbackPointer to the ISR callback routine.
[in]apArgumentArgument to pass to ISR callback upon activation.
Returns:
Boolean indicating success.
void tcDspInterruptDispatch::unregister_isr_callback ( int  anLevel,
int  anVector,
tfIsrCallback  apCallback = NULL,
Arg  apArgument = 0 
)
static

This routine un-registers a previously registered ISR callback for a specified interrupt level and vector.

Parameters:
[in]anLevelThe interrupt level in question (4-7).
[in]anVectorThe interrupt vector in question (0-31, or gnChainVector).
[in]apCallbackPointer to the ISR callback routine (only required if anVector==gnChainVector).
[in]apArgumentPointer to argument for ISR callback (only required if anVector==gnChainVector).
Returns:
None.

  
Generated on Mon Apr 22 2013 11:33:04 for MityDSP Core by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.