[][src]Struct stm32g0::stm32g0x0::pwr::cr3::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 ewup1(&mut self) -> _EWUP1W[src]

Bit 0 - Enable Wakeup pin WKUP1

pub fn ewup2(&mut self) -> _EWUP2W[src]

Bit 1 - Enable Wakeup pin WKUP2

pub fn ewup4(&mut self) -> _EWUP4W[src]

Bit 3 - Enable Wakeup pin WKUP4

pub fn ewup5(&mut self) -> _EWUP5W[src]

Bit 4 - Enable WKUP5 wakeup pin

pub fn ewup6(&mut self) -> _EWUP6W[src]

Bit 5 - Enable WKUP6 wakeup pin

pub fn rrs(&mut self) -> _RRSW[src]

Bit 8 - SRAM retention in Standby mode

pub fn ulpen(&mut self) -> _ULPENW[src]

Bit 9 - Enable the periodical sampling mode for PDR detection

pub fn apc(&mut self) -> _APCW[src]

Bit 10 - Apply pull-up and pull-down configuration

pub fn eiwul(&mut self) -> _EIWULW[src]

Bit 15 - Enable internal wakeup line

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