Freescale Semiconductor Inc.
    Regional Technical Application Center

 

E:/PROJECTS/IOP/ADC Average/Src/ADC_Filter/ADC_Filter_Drv/src/IntcInterrupts_p0.c File Reference

#include "MPC551x.h"
#include "IntcInterrupts.h"

Include dependency graph for IntcInterrupts_p0.c:


Defines

#define INTC_NESTED_INTERRUPT   0
#define MAKE_HLI_ADDRESS(hli_name, c_expr)   /*lint -e753 */enum { hli_name=/*lint -e30*/((int)(c_expr)) /*lint -esym(749, hli_name) */ };
#define INTC_INTERRUPTS_REQUEST_VECTOR_TABLE_SIZE   (308)

Functions

 __declspec (interrupt)
void INTC_InstallINTCInterruptHandler (INTCInterruptFn handlerFn, unsigned short vectorNum, unsigned char psrPriority)
__asm void INTC_InitINTCInterrupts (void)

Variables

INTCInterruptFn INTCInterruptsHandlerTable_p0 [INTC_INTERRUPTS_REQUEST_VECTOR_TABLE_SIZE]

Define Documentation

#define INTC_INTERRUPTS_REQUEST_VECTOR_TABLE_SIZE   (308)

This is the Interrupt Service Routine Branch Table placed in memory

#define INTC_NESTED_INTERRUPT   0

FILE: IntcInterrupts_p0.c

Date
2008/05/21 19:15:07
Revision
1.4

DESCRIPTION: Contains the implementations of the generic interrupt controller handling routines for the MPC551x. The __INTCInterruptHandler__ is located at no specific address and is branched by the PowerPC Zen core to that location if the __initExternalInterrupts function has been called to setup the core to do so.

In the MPC5510 Family Reference Manual, processor 0 (zero) refers to the e200z1 and processor 1 refers to the e200z0. We use "_p0" suffix on functions and section names to reference the e200z1 core, "_p1" for functions and section names using the e200z0 core.

COPYRIGHT (c) 2002-2007 Freescale Semiconductor, Inc. All rights reserved.

#define MAKE_HLI_ADDRESS ( hli_name,
c_expr   )     /*lint -e753 */enum { hli_name=/*lint -e30*/((int)(c_expr)) /*lint -esym(749, hli_name) */ };


Function Documentation

__declspec ( interrupt   ) 

Handle the interrupt source by jumping to the ISR branch table (IACKR)

__asm void INTC_InitINTCInterrupts ( void   ) 

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


Variable Documentation

INTCInterruptFn INTCInterruptsHandlerTable_p0[INTC_INTERRUPTS_REQUEST_VECTOR_TABLE_SIZE]