Struct stm32_metapac::pwr::regs::Vmsr
#[repr(transparent)]pub struct Vmsr(pub u32);
Expand description
PWR voltage monitor status register.
Tuple Fields§
§0: u32
Implementations§
§impl Vmsr
impl Vmsr
pub const fn avdo(&self) -> bool
pub const fn avdo(&self) -> bool
analog voltage detector output on V_DDA This bit is set and cleared by hardware. It is valid only if AVD on VDDA is enabled by the AVDEN bit. Note: Since the AVD is disabled in Standby mode, this bit is equal to 0 after standby or reset until the AVDEN bit is set.
pub fn set_avdo(&mut self, val: bool)
pub fn set_avdo(&mut self, val: bool)
analog voltage detector output on V_DDA This bit is set and cleared by hardware. It is valid only if AVD on VDDA is enabled by the AVDEN bit. Note: Since the AVD is disabled in Standby mode, this bit is equal to 0 after standby or reset until the AVDEN bit is set.
pub const fn vddio2rdy(&self) -> bool
pub const fn vddio2rdy(&self) -> bool
voltage detector output on V_DDIO2 This bit is set and cleared by hardware.
pub fn set_vddio2rdy(&mut self, val: bool)
pub fn set_vddio2rdy(&mut self, val: bool)
voltage detector output on V_DDIO2 This bit is set and cleared by hardware.
pub const fn pvdo(&self) -> bool
pub const fn pvdo(&self) -> bool
programmable voltage detect output This bit is set and cleared by hardware. It is valid only if the PVD has been enabled by the PVDE bit. Note: Since the PVD is disabled in Standby mode, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
pub fn set_pvdo(&mut self, val: bool)
pub fn set_pvdo(&mut self, val: bool)
programmable voltage detect output This bit is set and cleared by hardware. It is valid only if the PVD has been enabled by the PVDE bit. Note: Since the PVD is disabled in Standby mode, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
pub fn set_usb33rdy(&mut self, val: bool)
pub fn set_usb33rdy(&mut self, val: bool)
V_DDUSB ready.