Expand description
Interacting with the GBA interrupts.
Structs§
- Interrupt
Handler - An opaque handle for an interrupt.
- VBlank
- A light weight VBlank handle.
Enums§
- Interrupt
- All the available interrupts for the GBA.
Functions§
- add_
interrupt_ ⚠handler - Adds an interrupt handler as long as the returned value is alive. The
closure takes a
CriticalSectionwhich can be used for mutexes. - interruptable⚠
- This enters a section that enables interrupts. This can be used inside of interrupts or inside a critical section. Naturally, this breaks all sorts of guarantees that a critical section makes. Hence this function is incredibly unsafe.