Freescale Semiconductor Inc.
    Regional Technical Application Center

 

E:/PROJECTS/IOP/ADC Average/Src/ADC_Filter/ADC_Filter_Drv/src/IntcInterrupts.h File Reference

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

Go to the source code of this file.

Typedefs

typedef void(* INTCInterruptFn )(void)

Functions

__asm void INTC_InitINTCInterrupts (void)
void INTC_InstallINTCInterruptHandler (INTCInterruptFn handlerFn, unsigned short vectorNum, unsigned char psrPriority)
 __declspec (section".__exception_handlers_p0") void INTC_INTCInterruptHandler(void)


Typedef Documentation

typedef void(* INTCInterruptFn)(void)

All interrupt handlers should be of this type


Function Documentation

__declspec ( section".__exception_handlers_p0"   ) 

This function is used to Handle the interrupt source by jumping to the ISR branch table (IACKR)

FILE: Exceptions.c

DESCRIPTION: Setup of IVPR to point to the EXCEPTION_HANDLERS memory area defined in the linker command file. Default setup of the IVORxx registers.

__asm void INTC_InitINTCInterrupts ( void   ) 

This function will setup the PowerPC Zen core to jump to an Interrupt Service Routine. This function can be used from user_init() (no stack frame, no memory access).

This function will setup the PowerPC Zen core to jump to an Interrupt Service Routine handler. This function can be used from user_init() (no stack frame, no memory access).

void INTC_InstallINTCInterruptHandler ( INTCInterruptFn  handlerFn,
unsigned short  vectorNum,
unsigned char  psrPriority 
)

This function can be used to install an interrupt handler for a given interrupt vector. It will also set the Priority Status Register for the source to the one given. parameter handlerFn: The function to call when the interrupt occurs. parameter vectoryNum: The number of the INTC Interrupt Request Source we wish to install the handler for. parameter psrPriority: The priority to set in the Interrupt Controller Priority Select Register.

This function can be used to install an interrupt handler for a given interrupt vector. It will also set the Priority Status Register for the source to the one given