bn::core_lock class

All Butano subsystems (including interrupts and HDMA) are disabled as long as an object of this class is active.

If a Butano function or method is called while a core_lock object is alive, the behavior is undefined.

Constructors, destructors, conversion operators

core_lock()
Disables all Butano subsystems (including interrupts and HDMA).
~core_lock()
Restores all Butano subsystems (including interrupts and HDMA).

Function documentation

bn::core_lock::core_lock()

Disables all Butano subsystems (including interrupts and HDMA).

If a Butano function or method is called while a core_lock object is alive, the behavior is undefined.