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