pub unsafe fn enable_all_interrupts() -> bool
Expand description

Sets the Interrupt Master Enable (IME) register to 1, which enables all CPU interrupts (if enabled in the Interrupt Enable (IE) register).

See https://problemkaputt.de/gbatek.htm#dsiomaps.

Returns the old value in the IME register.

Safety

The caller needs to make sure the system is in a state where it is safe to enable interrupts.