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.
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)