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.
Trait Implementations§
impl Copy for Vmsr
impl Eq for Vmsr
impl StructuralPartialEq for Vmsr
Auto Trait Implementations§
impl Freeze for Vmsr
impl RefUnwindSafe for Vmsr
impl Send for Vmsr
impl Sync for Vmsr
impl Unpin for Vmsr
impl UnwindSafe for Vmsr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)