The hardware's interrupt sources and the interrupt handler table. More...
Go to the source code of this file.
Macros | |
| #define | INTR_FLAG_VBLANK (1 << IRQ_VBLANK) |
| #define | INTR_FLAG_TIMER3 (1 << IRQ_TIMER3) |
| #define | INTR_FLAG_SERIAL (1 << IRQ_SERIAL) |
| #define | INTR_FLAG_KEYPAD (1 << IRQ_KEYPAD) |
| #define | INTR_FLAG_GAMEPAK (1 << IRQ_GAMEPAK) |
Typedefs | |
| typedef void(*) | InterruptHandler(void) |
Enumerations | |
| enum | { IRQ_VBLANK , IRQ_HBLANK , IRQ_VCOUNT , IRQ_TIMER0 , IRQ_TIMER1 , IRQ_TIMER2 , IRQ_TIMER3 , IRQ_SERIAL , IRQ_DMA0 , IRQ_DMA1 , IRQ_DMA2 , IRQ_DMA3 , IRQ_KEYPAD , IRQ_GAMEPAK , IRQ_COUNT } |
| The hardware's interrupt sources: each one's bit number in IE and IF, and its slot in gIrqHandlers. More... | |
Variables | |
| InterruptHandler | gIrqHandlers [IRQ_COUNT] |
| The handler the IWRAM dispatcher calls for each interrupt source. | |
| const u32 | gRuntime_IrqHandlers [IRQ_COUNT] |
| The handlers installed at power-on, copied into gIrqHandlers. | |
| u8 | IwramIrqMain [] |
| const u32 | IwramIrqModeWord |
| const u8 | IwramRuntime_Rom [] |
| void * | gIrqVector |
The hardware's interrupt sources and the interrupt handler table.
Definition in file irq.h.
| #define INTR_FLAG_VBLANK (1 << IRQ_VBLANK) |
Definition at line 30 of file irq.h.
Referenced by Runtime_InstallIwramAndIrqs().
| #define INTR_FLAG_TIMER3 (1 << IRQ_TIMER3) |
Definition at line 31 of file irq.h.
Referenced by SerialRuntime_DisableTransfer(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), and SerialRuntime_PollStatus().
| #define INTR_FLAG_SERIAL (1 << IRQ_SERIAL) |
Definition at line 32 of file irq.h.
Referenced by SerialRuntime_DisableTransfer(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), and SerialRuntime_PollStatus().
| #define INTR_FLAG_KEYPAD (1 << IRQ_KEYPAD) |
Definition at line 33 of file irq.h.
Referenced by Runtime_InstallIwramAndIrqs().
| #define INTR_FLAG_GAMEPAK (1 << IRQ_GAMEPAK) |
Definition at line 34 of file irq.h.
Referenced by Runtime_InstallIwramAndIrqs().
| anonymous enum |
|
extern |
The handler the IWRAM dispatcher calls for each interrupt source.
Referenced by Runtime_InstallIwramAndIrqs(), Runtime_SetIrqHandler(), and SaveState_InitializeWorkspace().
The handlers installed at power-on, copied into gIrqHandlers.
Referenced by Runtime_InstallIwramAndIrqs().
|
extern |
Referenced by Runtime_InstallIwramAndIrqs().
|
extern |
Referenced by Dma_StopAllThenRunHook().
|
extern |
Referenced by Runtime_InstallIwramAndIrqs().
|
extern |
Referenced by Runtime_InstallIwramAndIrqs().