#[repr(transparent)]pub struct CtrlSet(pub u32);Expand description
OTP Controller Control and Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl CtrlSet
impl CtrlSet
Sourcepub const fn reload_shadows(&self) -> bool
pub const fn reload_shadows(&self) -> bool
Reload Shadow Registers
Sourcepub const fn set_reload_shadows(&mut self, val: bool)
pub const fn set_reload_shadows(&mut self, val: bool)
Reload Shadow Registers
Sourcepub const fn set_wr_unlock(&mut self, val: u16)
pub const fn set_wr_unlock(&mut self, val: u16)
Write Unlock
Trait Implementations§
impl Copy for CtrlSet
impl Eq for CtrlSet
impl StructuralPartialEq for CtrlSet
Auto Trait Implementations§
impl Freeze for CtrlSet
impl RefUnwindSafe for CtrlSet
impl Send for CtrlSet
impl Sync for CtrlSet
impl Unpin for CtrlSet
impl UnwindSafe for CtrlSet
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