src/system/irq_table.c
The interrupt handlers: the table the IWRAM dispatcher calls through, and the handlers start-up copies into it.
Variables
| Name | Description | |
|---|---|---|
INTERRUPT_HANDLER | IrqHandlers [IRQ_COUNT] | The handler the IWRAM dispatcher calls for each interrupt source; empty until start-up copies DefaultIrqHandlers in. |
const INTERRUPT_HANDLER | DefaultIrqHandlers [IRQ_COUNT] | The handlers start-up copies into IrqHandlers: only the keypad interrupt has one of its own. |
Description
The interrupt handlers: the table the IWRAM dispatcher calls through, and the handlers start-up copies into it.
Variables in detail
IrqHandlers
INTERRUPT_HANDLER IrqHandlers[IRQ_COUNT]
The handler the IWRAM dispatcher calls for each interrupt source; empty until
start-up copies DefaultIrqHandlers in.
Referenced by fdScreenTransitionIsScanlineActive(), syBupInitState(), syInstallIWRAMAndIRQs() and syIntFunction().
Definition at line 8 of file irq_table.c.
DefaultIrqHandlers
const INTERRUPT_HANDLER DefaultIrqHandlers[IRQ_COUNT]
The handlers start-up copies into IrqHandlers: only the keypad interrupt has
one of its own.
References syInputHandleKeyInterrupt() and syIRQIgnore().
Referenced by syInstallIWRAMAndIRQs().
Definition at line 12 of file irq_table.c.