Struct Cr3
#[repr(transparent)]pub struct Cr3(pub u32);Expand description
Power control register 3
Tuple Fields§
§0: u32Implementations§
§impl Cr3
impl Cr3
pub const fn set_rrs(&mut self, val: Rrs)
pub const fn set_rrs(&mut self, val: Rrs)
SRAM2 retention in Standby mode (bit 9 only on STM32L4P5/L4Q5)
pub const fn set_enulp(&mut self, val: bool)
pub const fn set_enulp(&mut self, val: bool)
Enable ULP sampling (STM32L412/L422 and STM32L4P5/L4Q5 only)
pub const fn set_dsipden(&mut self, val: bool)
pub const fn set_dsipden(&mut self, val: bool)
Enable Pull-down activation on DSI pins (STM32L4+ only)
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl Freeze for Cr3
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnsafeUnpin for Cr3
impl UnwindSafe for Cr3
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