Registers an interrupt handler.
- Parameters
-
handler | Interrupt handler to register. |
irq | IRQ of the interrupt handler to register. |
int_level | Interrupt priority level to assign to the group of this IRQ. |
- Warning
- 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.
- Note
- Taken and adapted from Newlib.
References _evba, and AVR32_INTC_MAX_NUM_IRQS_PER_GRP.
Referenced by init_timer(), init_touch(), main(), pdca_set_irq(), SERIAL_Init(), uart_configure(), uart_dfu_stop(), vUSART_ISR_init(), and xSerialPortInitMinimal().