Struct nrf52840_pac::timer0::shorts::R
source · pub struct R(/* private fields */);
Expand description
Register SHORTS
reader
Implementations§
source§impl R
impl R
sourcepub fn compare0_clear(&self) -> COMPARE0_CLEAR_R
pub fn compare0_clear(&self) -> COMPARE0_CLEAR_R
Bit 0 - Shortcut between COMPARE[0] event and CLEAR task
sourcepub fn compare1_clear(&self) -> COMPARE1_CLEAR_R
pub fn compare1_clear(&self) -> COMPARE1_CLEAR_R
Bit 1 - Shortcut between COMPARE[1] event and CLEAR task
sourcepub fn compare2_clear(&self) -> COMPARE2_CLEAR_R
pub fn compare2_clear(&self) -> COMPARE2_CLEAR_R
Bit 2 - Shortcut between COMPARE[2] event and CLEAR task
sourcepub fn compare3_clear(&self) -> COMPARE3_CLEAR_R
pub fn compare3_clear(&self) -> COMPARE3_CLEAR_R
Bit 3 - Shortcut between COMPARE[3] event and CLEAR task
sourcepub fn compare0_stop(&self) -> COMPARE0_STOP_R
pub fn compare0_stop(&self) -> COMPARE0_STOP_R
Bit 8 - Shortcut between COMPARE[0] event and STOP task
sourcepub fn compare1_stop(&self) -> COMPARE1_STOP_R
pub fn compare1_stop(&self) -> COMPARE1_STOP_R
Bit 9 - Shortcut between COMPARE[1] event and STOP task
sourcepub fn compare2_stop(&self) -> COMPARE2_STOP_R
pub fn compare2_stop(&self) -> COMPARE2_STOP_R
Bit 10 - Shortcut between COMPARE[2] event and STOP task
sourcepub fn compare3_stop(&self) -> COMPARE3_STOP_R
pub fn compare3_stop(&self) -> COMPARE3_STOP_R
Bit 11 - Shortcut between COMPARE[3] event and STOP task
Methods from Deref<Target = R<SHORTS_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more