Struct nrf52840_pac::timer0::shorts::W
source · pub struct W(/* private fields */);
Expand description
Register SHORTS
writer
Implementations§
source§impl W
impl W
sourcepub fn compare0_clear(&mut self) -> COMPARE0_CLEAR_W<'_, 0>
pub fn compare0_clear(&mut self) -> COMPARE0_CLEAR_W<'_, 0>
Bit 0 - Shortcut between COMPARE[0] event and CLEAR task
sourcepub fn compare1_clear(&mut self) -> COMPARE1_CLEAR_W<'_, 1>
pub fn compare1_clear(&mut self) -> COMPARE1_CLEAR_W<'_, 1>
Bit 1 - Shortcut between COMPARE[1] event and CLEAR task
sourcepub fn compare2_clear(&mut self) -> COMPARE2_CLEAR_W<'_, 2>
pub fn compare2_clear(&mut self) -> COMPARE2_CLEAR_W<'_, 2>
Bit 2 - Shortcut between COMPARE[2] event and CLEAR task
sourcepub fn compare3_clear(&mut self) -> COMPARE3_CLEAR_W<'_, 3>
pub fn compare3_clear(&mut self) -> COMPARE3_CLEAR_W<'_, 3>
Bit 3 - Shortcut between COMPARE[3] event and CLEAR task
sourcepub fn compare0_stop(&mut self) -> COMPARE0_STOP_W<'_, 8>
pub fn compare0_stop(&mut self) -> COMPARE0_STOP_W<'_, 8>
Bit 8 - Shortcut between COMPARE[0] event and STOP task
sourcepub fn compare1_stop(&mut self) -> COMPARE1_STOP_W<'_, 9>
pub fn compare1_stop(&mut self) -> COMPARE1_STOP_W<'_, 9>
Bit 9 - Shortcut between COMPARE[1] event and STOP task
sourcepub fn compare2_stop(&mut self) -> COMPARE2_STOP_W<'_, 10>
pub fn compare2_stop(&mut self) -> COMPARE2_STOP_W<'_, 10>
Bit 10 - Shortcut between COMPARE[2] event and STOP task
sourcepub fn compare3_stop(&mut self) -> COMPARE3_STOP_W<'_, 11>
pub fn compare3_stop(&mut self) -> COMPARE3_STOP_W<'_, 11>
Bit 11 - Shortcut between COMPARE[3] event and STOP task
Methods from Deref<Target = W<SHORTS_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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