[][src]Struct stm32h7::stm32h743::pwr::cr2::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn bren(&self) -> BRENR[src]

Bit 0 - Backup regulator enable When set, the Backup regulator (used to maintain the backup RAM content in Standby and VBAT modes) is enabled. If BREN is reset, the backup regulator is switched off. The backup RAM can still be used in Run and Stop modes. However, its content will be lost in Standby and VBAT modes. If BREN is set, the application must wait till the Backup Regulator Ready flag (BRRDY) is set to indicate that the data written into the SRAM will be maintained in Standby and VBAT modes.

pub fn monen(&self) -> MONENR[src]

Bit 4 - VBAT and temperature monitoring enable When set, the VBAT supply and temperature monitoring is enabled.

pub fn brrdy(&self) -> BRRDYR[src]

Bit 16 - Backup regulator ready This bit is set by hardware to indicate that the Backup regulator is ready.

pub fn vbatl(&self) -> VBATLR[src]

Bit 20 - VBAT level monitoring versus low threshold

pub fn vbath(&self) -> VBATHR[src]

Bit 21 - VBAT level monitoring versus high threshold

pub fn templ(&self) -> TEMPLR[src]

Bit 22 - Temperature level monitoring versus low threshold

pub fn temph(&self) -> TEMPHR[src]

Bit 23 - Temperature level monitoring versus high threshold

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

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