[][src]Struct stm32g0::stm32g0x0::lptim1::cr::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 Self[src]

Writes raw bits to the register

pub fn rstare(&mut self) -> _RSTAREW[src]

Bit 4 - Reset after read enable

pub fn countrst(&mut self) -> _COUNTRSTW[src]

Bit 3 - Counter reset

pub fn cntstrt(&mut self) -> _CNTSTRTW[src]

Bit 2 - Timer start in continuous mode

pub fn sngstrt(&mut self) -> _SNGSTRTW[src]

Bit 1 - LPTIM start in single mode

pub fn enable(&mut self) -> _ENABLEW[src]

Bit 0 - LPTIM Enable

Auto Trait Implementations

impl Send for W

impl Sync 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