Type Definition nrf52820_pac::timer0::shorts::COMPARE2_STOP_R
source · [−]pub type COMPARE2_STOP_R = BitReader<COMPARE2_STOP_A>;
Expand description
Field COMPARE2_STOP
reader - Shortcut between event COMPARE[2]
and task STOP
Implementations
sourceimpl COMPARE2_STOP_R
impl COMPARE2_STOP_R
sourcepub fn variant(&self) -> COMPARE2_STOP_A
pub fn variant(&self) -> COMPARE2_STOP_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