Module agb::interrupt

source ·
Expand description

Interacting with the GBA interrupts

Structs

Enums

Functions

Adds an interrupt handler as long as the returned value is alive. The closure takes a CriticalSection which can be used for mutexes.
How you can access mutexes outside of interrupts by being given a CriticalSection
The behaviour of this function is undefined in the sense that it will output some information in some way that can be interpreted in a way to give some profiling information. What it outputs, how it outputs it, and how to interpret it are all subject to change at any time.