Microchip® Advanced Software Framework

avr32/applications/uc3-uart-bootloader/intc/intc.c File Reference
#include <avr32/io.h>
#include "compiler.h"
#include "intc.h"


void _unhandled_interrupt (void)
 Default interrupt handler. More...
void INTC_register_interrupt (__int_handler handler, unsigned int irq, unsigned int int_level)
 Registers an interrupt handler. More...


void _evba
 Exception Vector Base Address. More...

void _unhandled_interrupt ( void  )

Default interrupt handler.

Taken and adapted from Newlib.
void INTC_register_interrupt ( __int_handler  handler,
unsigned int  irq,
unsigned int  int_level 

Registers an interrupt handler.

handlerInterrupt handler to register.
irqIRQ of the interrupt handler to register.
int_levelInterrupt priority level to assign to the group of this IRQ.
The interrupt handler must manage the `rete' instruction, what can be done thanks to pure assembly, inline assembly or the `__attribute__((interrupt))' C function attribute.
If several interrupt handlers of a same group are registered, all interrupts of this group will fetch the last interrupt handler registered for this group with the last registered interrupt priority level.
Taken and adapted from Newlib.

References _evba, and AVR32_INTC_MAX_NUM_IRQS_PER_GRP.

void _evba

Exception Vector Base Address.