#[repr(transparent)]pub struct MiscCtrlDpReg2(pub u32);Expand description
Secure Control Duplicate.
Tuple Fields§
§0: u32Implementations§
Source§impl MiscCtrlDpReg2
impl MiscCtrlDpReg2
Sourcepub const fn write_lock(&self) -> MiscCtrlRegWriteLock
pub const fn write_lock(&self) -> MiscCtrlRegWriteLock
Write Lock.
Sourcepub const fn set_write_lock(&mut self, val: MiscCtrlRegWriteLock)
pub const fn set_write_lock(&mut self, val: MiscCtrlRegWriteLock)
Write Lock.
Sourcepub const fn enable_secure_checking(&self) -> EnableSecureChecking
pub const fn enable_secure_checking(&self) -> EnableSecureChecking
Enable Secure Checking.
Sourcepub const fn set_enable_secure_checking(&mut self, val: EnableSecureChecking)
pub const fn set_enable_secure_checking(&mut self, val: EnableSecureChecking)
Enable Secure Checking.
Sourcepub const fn enable_s_priv_check(&self) -> EnableSPrivCheck2
pub const fn enable_s_priv_check(&self) -> EnableSPrivCheck2
Enable Secure Privilege Checking.
Sourcepub const fn set_enable_s_priv_check(&mut self, val: EnableSPrivCheck2)
pub const fn set_enable_s_priv_check(&mut self, val: EnableSPrivCheck2)
Enable Secure Privilege Checking.
Sourcepub const fn enable_ns_priv_check(&self) -> MiscCtrlEnable
pub const fn enable_ns_priv_check(&self) -> MiscCtrlEnable
Enable Non-Secure Privilege Checking.
Sourcepub const fn set_enable_ns_priv_check(&mut self, val: MiscCtrlEnable)
pub const fn set_enable_ns_priv_check(&mut self, val: MiscCtrlEnable)
Enable Non-Secure Privilege Checking.
Sourcepub const fn disable_violation_abort(&self) -> MiscCtrlRegDisableViolationAbort
pub const fn disable_violation_abort(&self) -> MiscCtrlRegDisableViolationAbort
Disable Violation Abort.
Sourcepub const fn set_disable_violation_abort(
&mut self,
val: MiscCtrlRegDisableViolationAbort,
)
pub const fn set_disable_violation_abort( &mut self, val: MiscCtrlRegDisableViolationAbort, )
Disable Violation Abort.
Sourcepub const fn disable_strict_mode(&self) -> MiscCtrlRegDisableStrictMode
pub const fn disable_strict_mode(&self) -> MiscCtrlRegDisableStrictMode
Disable Strict Mode.
Sourcepub const fn set_disable_strict_mode(
&mut self,
val: MiscCtrlRegDisableStrictMode,
)
pub const fn set_disable_strict_mode( &mut self, val: MiscCtrlRegDisableStrictMode, )
Disable Strict Mode.
Sourcepub const fn idau_all_ns(&self) -> MiscCtrlRegIdauAllNs
pub const fn idau_all_ns(&self) -> MiscCtrlRegIdauAllNs
IDAU All Non-Secure.
Sourcepub const fn set_idau_all_ns(&mut self, val: MiscCtrlRegIdauAllNs)
pub const fn set_idau_all_ns(&mut self, val: MiscCtrlRegIdauAllNs)
IDAU All Non-Secure.
Trait Implementations§
Source§impl Clone for MiscCtrlDpReg2
impl Clone for MiscCtrlDpReg2
Source§fn clone(&self) -> MiscCtrlDpReg2
fn clone(&self) -> MiscCtrlDpReg2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MiscCtrlDpReg2
impl Default for MiscCtrlDpReg2
Source§fn default() -> MiscCtrlDpReg2
fn default() -> MiscCtrlDpReg2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MiscCtrlDpReg2
impl PartialEq for MiscCtrlDpReg2
impl Copy for MiscCtrlDpReg2
impl Eq for MiscCtrlDpReg2
impl StructuralPartialEq for MiscCtrlDpReg2
Auto Trait Implementations§
impl Freeze for MiscCtrlDpReg2
impl RefUnwindSafe for MiscCtrlDpReg2
impl Send for MiscCtrlDpReg2
impl Sync for MiscCtrlDpReg2
impl Unpin for MiscCtrlDpReg2
impl UnwindSafe for MiscCtrlDpReg2
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