MityDSP Documentation Index

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] anLevel The interrupt level to register at (4-7).
[in] anVector The interrupt vector to associate callback with (0-31, or gnChainVector).
[in] apCallback Pointer to the ISR callback routine.
[in] apArgument Argument 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] anLevel The interrupt level in question (4-7).
[in] anVector The interrupt vector in question (0-31, or gnChainVector).
[in] apCallback Pointer to the ISR callback routine (only required if anVector==gnChainVector).
[in] apArgument Pointer to argument for ISR callback (only required if anVector==gnChainVector).
Returns:
None.

  
Generated on Fri Sep 23 16:33:51 2011 for MityDSP Core by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.