OS_GetIrqFunction


C Specification

#include <nitro/os.h>

OSIrqFunction OS_GetIrqFunction( OSIrqMask intr );

Description

This function gets the interrupt handler and returns the corresponding handler from within the set IRQ interrupt table for the specified IRQ interrupt cause.

Refer to OS_SetIrqMask for details about setting the IRQ interrupt cause.

The interrupt handler is of the OSIrqFunction type . It is a void function without arguments.

Arguments

intr The IRQ interrupt cause of the handler to be obtained.

Return Value

The interrupt handler that corresponds to the specified IRQ interrupt.

See Also

OS_SetIrqMask, OS_InitIrqTable, OS_SetIrqFunction

Revision History

12/01/2003 Initial version