[][src]Struct stm32l0xx_hal::pac::tim22::cr2::MMS_W

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

Write proxy for field MMS

Methods

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

pub fn variant(self, variant: MMS_A) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

Writes variant to the field

pub fn reset(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

Reset - the UG bit from the TIMx_EGR register is used as trigger output (TRGO)

pub fn enable(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

Enable - the Counter enable signal, CNT_EN, is used as trigger output (TRGO)

pub fn update(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

Update - The update event is selected as trigger output (TRGO)

pub fn compare_pulse(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

Compare Pulse - The trigger output send a positive pulse when the CC1IF flag is to be set (even if it was already high), as soon as a capture or a compare match occurred

pub fn oc1ref(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

OC1REF signal is used as trigger output (TRGO)

pub fn oc2ref(self) -> &'a mut W<u32, Reg<u32, _CR2>>[src]

OC2REF signal is used as trigger output (TRGO)

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for MMS_W<'a>

impl<'a> Send for MMS_W<'a>

impl<'a> !Sync for MMS_W<'a>

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self