[−][src]Struct stm32h7::stm32h743::pwr::cr2::R
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
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self