[]Struct nucleo_f042k6::pwr::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn dbp(&mut self) -> _DBPW

Bit 8 - Disable backup domain write protection

pub fn pls(&mut self) -> _PLSW

Bits 5:7 - PVD level selection

pub fn pvde(&mut self) -> _PVDEW

Bit 4 - Power voltage detector enable

pub fn csbf(&mut self) -> _CSBFW

Bit 3 - Clear standby flag

pub fn cwuf(&mut self) -> _CWUFW

Bit 2 - Clear wakeup flag

pub fn pdds(&mut self) -> _PDDSW

Bit 1 - Power down deepsleep

pub fn lpds(&mut self) -> _LPDSW

Bit 0 - Low-power deep sleep

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]