[][src]Struct stm32l1xx_hal::stm32::rcc::csr::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 W[src]

Writes raw bits to the register

pub fn lpwrstf(&mut self) -> _LPWRSTFW[src]

Bit 31 - Low-power reset flag

pub fn wwdgrstf(&mut self) -> _WWDGRSTFW[src]

Bit 30 - Window watchdog reset flag

pub fn iwdgrstf(&mut self) -> _IWDGRSTFW[src]

Bit 29 - Independent watchdog reset flag

pub fn sftrstf(&mut self) -> _SFTRSTFW[src]

Bit 28 - Software reset flag

pub fn porrstf(&mut self) -> _PORRSTFW[src]

Bit 27 - POR/PDR reset flag

pub fn pinrstf(&mut self) -> _PINRSTFW[src]

Bit 26 - PIN reset flag

pub fn rmvf(&mut self) -> _RMVFW[src]

Bit 24 - Remove reset flag

pub fn rtcrst(&mut self) -> _RTCRSTW[src]

Bit 23 - RTC software reset

pub fn rtcen(&mut self) -> _RTCENW[src]

Bit 22 - RTC clock enable

pub fn rtcsel(&mut self) -> _RTCSELW[src]

Bits 16:17 - RTC and LCD clock source selection

pub fn lsebyp(&mut self) -> _LSEBYPW[src]

Bit 10 - External low-speed oscillator bypass

pub fn lseon(&mut self) -> _LSEONW[src]

Bit 8 - External low-speed oscillator enable

pub fn lsion(&mut self) -> _LSIONW[src]

Bit 0 - Internal low-speed oscillator enable

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

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