#[repr(transparent)]pub struct CtrlTog(pub u32);Expand description
OTP Controller Control and Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl CtrlTog
impl CtrlTog
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 CtrlTog
impl Eq for CtrlTog
impl StructuralPartialEq for CtrlTog
Auto Trait Implementations§
impl Freeze for CtrlTog
impl RefUnwindSafe for CtrlTog
impl Send for CtrlTog
impl Sync for CtrlTog
impl Unpin for CtrlTog
impl UnwindSafe for CtrlTog
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