Type Alias nrf52840_pac::rtc0::evtenset::COMPARE2_R
source · pub type COMPARE2_R = BitReader<COMPARE2_A>;
Expand description
Field COMPARE2
reader - Write ‘1’ to enable event routing for COMPARE[2]
event
Aliased Type§
struct COMPARE2_R { /* private fields */ }
Implementations§
source§impl COMPARE2_R
impl COMPARE2_R
sourcepub fn variant(&self) -> COMPARE2_A
pub fn variant(&self) -> COMPARE2_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED