SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches

◆ SetMask()

void SRL::Interrupt::SetMask ( Mask mask)
inlinestatic

Replace the entire SCU interrupt mask.

Parameters
maskNew interrupt mask (combined Mask flags)

Thin wrapper over System::SetInterruptMask(). Set bits disable the corresponding interrupt source.

Example:
// Enable only V-Blank In
// Disable all interrupts
static void SetMask(Mask mask)
Replace the entire SCU interrupt mask.
Definition srl_interrupt.hpp:423
@ VBlankIn
Enable V-Blank In interrupt (0x0001).
Definition srl_interrupt.hpp:88
@ All
All interrupts mask (0x7FFF).
Definition srl_interrupt.hpp:139
See also
ChangeMask() for selective enable/disable without replacing the full mask