Struct Cr2
#[repr(transparent)]pub struct Cr2(pub u32);Expand description
Power control register 2
Tuple Fields§
§0: u32Implementations§
§impl Cr2
impl Cr2
pub const fn pvme1(&self) -> bool
pub const fn pvme1(&self) -> bool
Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V (not available on STM32L471, and on STM32L41x-L46x only on L4x2/L4x3)
pub const fn set_pvme1(&mut self, val: bool)
pub const fn set_pvme1(&mut self, val: bool)
Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V (not available on STM32L471, and on STM32L41x-L46x only on L4x2/L4x3)
pub const fn pvme2(&self) -> bool
pub const fn pvme2(&self) -> bool
Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V (not available on STM32L41x-L46x)
pub const fn set_pvme2(&mut self, val: bool)
pub const fn set_pvme2(&mut self, val: bool)
Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V (not available on STM32L41x-L46x)
pub const fn pvme4(&self) -> bool
pub const fn pvme4(&self) -> bool
Peripheral voltage monitoring 4 enable: VDDA vs. 1.8V (2.2V on STM32L4+)
pub const fn set_pvme4(&mut self, val: bool)
pub const fn set_pvme4(&mut self, val: bool)
Peripheral voltage monitoring 4 enable: VDDA vs. 1.8V (2.2V on STM32L4+)
pub const fn iosv(&self) -> bool
pub const fn iosv(&self) -> bool
VDDIO2 Independent I/Os supply valid (not available on STM32L41x-L46x)
pub const fn set_iosv(&mut self, val: bool)
pub const fn set_iosv(&mut self, val: bool)
VDDIO2 Independent I/Os supply valid (not available on STM32L41x-L46x)
Trait Implementations§
impl Copy for Cr2
impl Eq for Cr2
impl StructuralPartialEq for Cr2
Auto Trait Implementations§
impl Freeze for Cr2
impl RefUnwindSafe for Cr2
impl Send for Cr2
impl Sync for Cr2
impl Unpin for Cr2
impl UnsafeUnpin for Cr2
impl UnwindSafe for Cr2
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