Struct Csr2
#[repr(transparent)]pub struct Csr2(pub u32);Expand description
PWR control status register 2.
Tuple Fields§
§0: u32Implementations§
§impl Csr2
impl Csr2
pub const fn set_bypass(&mut self, val: bool)
pub const fn set_bypass(&mut self, val: bool)
Power management unit bypass.
pub const fn set_smpsen(&mut self, val: bool)
pub const fn set_smpsen(&mut self, val: bool)
Integrated SMPS step-down converter enable (read only).
Trait Implementations§
impl Copy for Csr2
impl Eq for Csr2
impl StructuralPartialEq for Csr2
Auto Trait Implementations§
impl Freeze for Csr2
impl RefUnwindSafe for Csr2
impl Send for Csr2
impl Sync for Csr2
impl Unpin for Csr2
impl UnsafeUnpin for Csr2
impl UnwindSafe for Csr2
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