Struct 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) -> Avdo
pub const fn avdo(&self) -> Avdo
analog voltage detector output on VDDA 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: Avdo)
pub fn set_avdo(&mut self, val: Avdo)
analog voltage detector output on VDDA 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 VDDIO2 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 VDDIO2 This bit is set and cleared by hardware.
pub const fn pvdo(&self) -> Pvdo
pub const fn pvdo(&self) -> Pvdo
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: Pvdo)
pub fn set_pvdo(&mut self, val: Pvdo)
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)
VDDUSB ready