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

◆ operator~() [1/2]

Interrupt::Mask SRL::operator~ ( Interrupt::Mask a)
constexpr

Bitwise NOT operator for Interrupt::Mask.

Parameters
aMask to invert
Returns
Inverted mask with all bits flipped

Example:

// Enable all interrupts except V-Blank
Interrupt::SetMask(~Interrupt::Mask::VBlank);
static void SetMask(Mask mask)
Replace the entire SCU interrupt mask.
Definition srl_interrupt.hpp:423