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
a
Status value to check
b
Bitmask to apply
Returns
New status with bits set where both operands have them set
Example:
if
(status &
Interrupt::Status::VBlankIn
) {
// V-Blank is active
}
SRL::Interrupt::Status::VBlankIn
@ VBlankIn
V-Blank In occurred (0x0001).
Definition
srl_interrupt.hpp:161
SRL