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

◆ operator&() [2/2]

Interrupt::Status SRL::operator& ( Interrupt::Status a,
Interrupt::Status b )
constexpr

Bitwise AND operator for Interrupt::Status.

Parameters
aStatus value to check
bBitmask to apply
Returns
New status with bits set where both operands have them set

Example:

// V-Blank is active
}
@ VBlankIn
V-Blank In occurred (0x0001).
Definition srl_interrupt.hpp:161