[][src]Struct stm32f1xx_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 Deep Sleep

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

Bit 2 - Clear Wake-up 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

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

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