Struct stm32_metapac::pwr::regs::Vmcr
#[repr(transparent)]pub struct Vmcr(pub u32);
Expand description
PWR voltage monitor control register.
Tuple Fields§
§0: u32
Implementations§
§impl Vmcr
impl Vmcr
pub const fn pls(&self) -> Pls
pub const fn pls(&self) -> Pls
programmable voltage detector (PVD) level selection These bits select the voltage threshold detected by the PVD.
pub fn set_pls(&mut self, val: Pls)
pub fn set_pls(&mut self, val: Pls)
programmable voltage detector (PVD) level selection These bits select the voltage threshold detected by the PVD.
Trait Implementations§
impl Copy for Vmcr
impl Eq for Vmcr
impl StructuralPartialEq for Vmcr
Auto Trait Implementations§
impl Freeze for Vmcr
impl RefUnwindSafe for Vmcr
impl Send for Vmcr
impl Sync for Vmcr
impl Unpin for Vmcr
impl UnwindSafe for Vmcr
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
)