#[repr(transparent)]pub struct TrimLock(pub u32);Expand description
Trim Lock register.
Tuple Fields§
§0: u32Implementations§
Source§impl TrimLock
impl TrimLock
Sourcepub const fn trim_unlock(&self) -> TrimUnlock
pub const fn trim_unlock(&self) -> TrimUnlock
TRIM_UNLOCK.
Sourcepub const fn set_trim_unlock(&mut self, val: TrimUnlock)
pub const fn set_trim_unlock(&mut self, val: TrimUnlock)
TRIM_UNLOCK.
Sourcepub const fn ifr_disable(&self) -> IfrDisable
pub const fn ifr_disable(&self) -> IfrDisable
IFR_DISABLE.
Sourcepub const fn set_ifr_disable(&mut self, val: IfrDisable)
pub const fn set_ifr_disable(&mut self, val: IfrDisable)
IFR_DISABLE.
Sourcepub const fn trim_lock_key(&self) -> u16
pub const fn trim_lock_key(&self) -> u16
TRIM_LOCK_KEY.
Sourcepub const fn set_trim_lock_key(&mut self, val: u16)
pub const fn set_trim_lock_key(&mut self, val: u16)
TRIM_LOCK_KEY.
Trait Implementations§
impl Copy for TrimLock
impl Eq for TrimLock
impl StructuralPartialEq for TrimLock
Auto Trait Implementations§
impl Freeze for TrimLock
impl RefUnwindSafe for TrimLock
impl Send for TrimLock
impl Sync for TrimLock
impl Unpin for TrimLock
impl UnwindSafe for TrimLock
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