[][src]Struct stm32l4xx_hal::stm32::lptim1::cfgr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

Bit 24 - Encoder mode enable

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

Bit 23 - counter mode enabled

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

Bit 22 - Registers update mode

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

Bit 21 - Waveform shape polarity

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

Bit 20 - Waveform shape

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

Bit 19 - Timeout enable

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

Bits 17:18 - Trigger enable and polarity

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

Bits 13:15 - Trigger selector

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

Bits 9:11 - Clock prescaler

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

Bits 6:7 - Configurable digital filter for trigger

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

Bits 3:4 - Configurable digital filter for external clock

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

Bits 1:2 - Clock Polarity

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

Bit 0 - Clock selector

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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