Type Alias nrf52840_pac::timer3::intenset::COMPARE0_R
source · pub type COMPARE0_R = BitReader<COMPARE0_A>;
Expand description
Field COMPARE0
reader - Write ‘1’ to enable interrupt for COMPARE[0]
event
Aliased Type§
struct COMPARE0_R { /* private fields */ }
Implementations§
source§impl COMPARE0_R
impl COMPARE0_R
sourcepub fn variant(&self) -> COMPARE0_A
pub fn variant(&self) -> COMPARE0_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