Type Alias nrf52840_pac::rtc0::evtenset::COMPARE1_R
source · pub type COMPARE1_R = BitReader<COMPARE1_A>;
Expand description
Field COMPARE1
reader - Write ‘1’ to enable event routing for COMPARE[1]
event
Aliased Type§
struct COMPARE1_R { /* private fields */ }
Implementations§
source§impl COMPARE1_R
impl COMPARE1_R
sourcepub fn variant(&self) -> COMPARE1_A
pub fn variant(&self) -> COMPARE1_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