[][src]Struct stm32h7::stm32h743v::lptim1::cfgr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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

Writes raw bits to the register

pub fn enc(&mut self) -> _ENCW[src]

Bit 24 - Encoder mode enable

pub fn countmode(&mut self) -> _COUNTMODEW[src]

Bit 23 - counter mode enabled

pub fn preload(&mut self) -> _PRELOADW[src]

Bit 22 - Registers update mode

pub fn wavpol(&mut self) -> _WAVPOLW[src]

Bit 21 - Waveform shape polarity

pub fn wave(&mut self) -> _WAVEW[src]

Bit 20 - Waveform shape

pub fn timout(&mut self) -> _TIMOUTW[src]

Bit 19 - Timeout enable

pub fn trigen(&mut self) -> _TRIGENW[src]

Bits 17:18 - Trigger enable and polarity

pub fn trigsel(&mut self) -> _TRIGSELW[src]

Bits 13:15 - Trigger selector

pub fn presc(&mut self) -> _PRESCW[src]

Bits 9:11 - Clock prescaler

pub fn trgflt(&mut self) -> _TRGFLTW[src]

Bits 6:7 - Configurable digital filter for trigger

pub fn ckflt(&mut self) -> _CKFLTW[src]

Bits 3:4 - Configurable digital filter for external clock

pub fn ckpol(&mut self) -> _CKPOLW[src]

Bits 1:2 - Clock Polarity

pub fn cksel(&mut self) -> _CKSELW[src]

Bit 0 - Clock selector

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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