Struct msp432p401r::timer_a0::tax_ctl::MC_W[][src]

pub struct MC_W<'a> { /* fields omitted */ }

Field MC writer - Mode control

Implementations

impl<'a> MC_W<'a>[src]

pub fn variant(self, variant: MC_A) -> &'a mut W[src]

Writes variant to the field

pub fn mc_0(self) -> &'a mut W[src]

Stop mode: Timer is halted

pub fn mc_1(self) -> &'a mut W[src]

Up mode: Timer counts up to TAxCCR0

pub fn mc_2(self) -> &'a mut W[src]

Continuous mode: Timer counts up to 0FFFFh

pub fn mc_3(self) -> &'a mut W[src]

Up/down mode: Timer counts up to TAxCCR0 then down to 0000h

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for MC_W<'a>

impl<'a> Sync for MC_W<'a>

impl<'a> Unpin for MC_W<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.