[][src]Struct stm32f4xx_hal::stm32::pwr::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 W[src]

Writes raw bits to the register

pub fn lpds(&mut self) -> _LPDSW[src]

Bit 0 - Low-power deep sleep

pub fn pdds(&mut self) -> _PDDSW[src]

Bit 1 - Power down deepsleep

pub fn cwuf(&mut self) -> _CWUFW[src]

Bit 2 - Clear wakeup flag

pub fn csbf(&mut self) -> _CSBFW[src]

Bit 3 - Clear standby flag

pub fn pvde(&mut self) -> _PVDEW[src]

Bit 4 - Power voltage detector enable

pub fn pls(&mut self) -> _PLSW[src]

Bits 5:7 - PVD level selection

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

Bit 8 - Disable backup domain write protection

pub fn fpds(&mut self) -> _FPDSW[src]

Bit 9 - Flash power down in Stop mode

pub fn lplvds(&mut self) -> _LPLVDSW[src]

Bit 10 - Low-Power Regulator Low Voltage in deepsleep

pub fn mrlvds(&mut self) -> _MRLVDSW[src]

Bit 11 - Main regulator low voltage in deepsleep mode

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

Bits 14:15 - Regulator voltage scaling output selection

pub fn oden(&mut self) -> _ODENW[src]

Bit 16 - Over-drive enable

pub fn odswen(&mut self) -> _ODSWENW[src]

Bit 17 - Over-drive switching enabled

pub fn uden(&mut self) -> _UDENW[src]

Bits 18:19 - Under-drive enable in stop mode

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

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

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