#[repr(transparent)]pub struct TrimLock4(pub u32);Expand description
Trim Lock register.
Tuple Fields§
§0: u32Implementations§
Source§impl TrimLock4
impl TrimLock4
Sourcepub const fn trim_unlock(&self) -> bool
pub const fn trim_unlock(&self) -> bool
TRIM_UNLOCK. Raw bit values: false (0) = Locked: SCG Trim registers are locked and not writable.; true (1) = NotLocked: SCG Trim registers are unlocked and writable.
Sourcepub const fn set_trim_unlock(&mut self, val: bool)
pub const fn set_trim_unlock(&mut self, val: bool)
TRIM_UNLOCK. Raw bit values: false (0) = Locked: SCG Trim registers are locked and not writable.; true (1) = NotLocked: SCG Trim registers are unlocked and writable.
Sourcepub const fn ifr_disable(&self) -> bool
pub const fn ifr_disable(&self) -> bool
IFR_DISABLE. Raw bit values: false (0) = Enabled: IFR write access to SCG trim registers not disabled. The SCG Trim registers are reprogrammed with the IFR values after any system reset.; true (1) = Disabled: IFR write access to SCG trim registers during system reset is blocked.
Sourcepub const fn set_ifr_disable(&mut self, val: bool)
pub const fn set_ifr_disable(&mut self, val: bool)
IFR_DISABLE. Raw bit values: false (0) = Enabled: IFR write access to SCG trim registers not disabled. The SCG Trim registers are reprogrammed with the IFR values after any system reset.; true (1) = Disabled: IFR write access to SCG trim registers during system reset is blocked.
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.