[][src]Struct nrf52832_hal::target::timer0::shorts::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn compare0_clear(&mut self) -> _COMPARE0_CLEARW[src]

Bit 0 - Shortcut between COMPARE[0] event and CLEAR task

pub fn compare1_clear(&mut self) -> _COMPARE1_CLEARW[src]

Bit 1 - Shortcut between COMPARE[1] event and CLEAR task

pub fn compare2_clear(&mut self) -> _COMPARE2_CLEARW[src]

Bit 2 - Shortcut between COMPARE[2] event and CLEAR task

pub fn compare3_clear(&mut self) -> _COMPARE3_CLEARW[src]

Bit 3 - Shortcut between COMPARE[3] event and CLEAR task

pub fn compare4_clear(&mut self) -> _COMPARE4_CLEARW[src]

Bit 4 - Shortcut between COMPARE[4] event and CLEAR task

pub fn compare5_clear(&mut self) -> _COMPARE5_CLEARW[src]

Bit 5 - Shortcut between COMPARE[5] event and CLEAR task

pub fn compare0_stop(&mut self) -> _COMPARE0_STOPW[src]

Bit 8 - Shortcut between COMPARE[0] event and STOP task

pub fn compare1_stop(&mut self) -> _COMPARE1_STOPW[src]

Bit 9 - Shortcut between COMPARE[1] event and STOP task

pub fn compare2_stop(&mut self) -> _COMPARE2_STOPW[src]

Bit 10 - Shortcut between COMPARE[2] event and STOP task

pub fn compare3_stop(&mut self) -> _COMPARE3_STOPW[src]

Bit 11 - Shortcut between COMPARE[3] event and STOP task

pub fn compare4_stop(&mut self) -> _COMPARE4_STOPW[src]

Bit 12 - Shortcut between COMPARE[4] event and STOP task

pub fn compare5_stop(&mut self) -> _COMPARE5_STOPW[src]

Bit 13 - Shortcut between COMPARE[5] event and STOP task

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self