[][src]Struct stm32g0::stm32g0x1::pwr::cr1::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 lpr(&mut self) -> _LPRW[src]

Bit 14 - Low-power run

pub fn vos(&mut self) -> _VOSW[src]

Bits 9:10 - Voltage scaling range selection

pub fn dbp(&mut self) -> _DBPW[src]

Bit 8 - Disable backup domain write protection

pub fn fpd_lpslp(&mut self) -> _FPD_LPSLPW[src]

Bit 5 - Flash memory powered down during Low-power sleep mode

pub fn fpd_lprun(&mut self) -> _FPD_LPRUNW[src]

Bit 4 - Flash memory powered down during Low-power run mode

pub fn fpd_stop(&mut self) -> _FPD_STOPW[src]

Bit 3 - Flash memory powered down during Stop mode

pub fn lpms(&mut self) -> _LPMSW[src]

Bits 0:2 - Low-power mode selection

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