Struct Cr4
#[repr(transparent)]pub struct Cr4(pub u32);Expand description
Power control register 4
Tuple Fields§
§0: u32Implementations§
§impl Cr4
impl Cr4
pub const fn ext_smps_on(&self) -> bool
pub const fn ext_smps_on(&self) -> bool
External SMPS on (STM32L412/L422 and STM32L4P5/L4Q5 only)
pub const fn set_ext_smps_on(&mut self, val: bool)
pub const fn set_ext_smps_on(&mut self, val: bool)
External SMPS on (STM32L412/L422 and STM32L4P5/L4Q5 only)
Trait Implementations§
impl Copy for Cr4
impl Eq for Cr4
impl StructuralPartialEq for Cr4
Auto Trait Implementations§
impl Freeze for Cr4
impl RefUnwindSafe for Cr4
impl Send for Cr4
impl Sync for Cr4
impl Unpin for Cr4
impl UnsafeUnpin for Cr4
impl UnwindSafe for Cr4
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