#[repr(transparent)]pub struct MiscCtrlReg2(pub u32);Expand description
Secure Control.
Tuple Fields§
§0: u32Implementations§
Source§impl MiscCtrlReg2
impl MiscCtrlReg2
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) -> EnableSPrivCheck
pub const fn enable_s_priv_check(&self) -> EnableSPrivCheck
Enable Secure Privilege Checking.
Sourcepub const fn set_enable_s_priv_check(&mut self, val: EnableSPrivCheck)
pub const fn set_enable_s_priv_check(&mut self, val: EnableSPrivCheck)
Enable Secure Privilege Checking.
Sourcepub const fn enable_ns_priv_check(&self) -> EnableNsPrivCheck
pub const fn enable_ns_priv_check(&self) -> EnableNsPrivCheck
Enable Non-Secure Privilege Checking.
Sourcepub const fn set_enable_ns_priv_check(&mut self, val: EnableNsPrivCheck)
pub const fn set_enable_ns_priv_check(&mut self, val: EnableNsPrivCheck)
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) -> DisableStrictMode
pub const fn disable_strict_mode(&self) -> DisableStrictMode
Disable Strict Mode.
Sourcepub const fn set_disable_strict_mode(&mut self, val: DisableStrictMode)
pub const fn set_disable_strict_mode(&mut self, val: DisableStrictMode)
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 MiscCtrlReg2
impl Clone for MiscCtrlReg2
Source§fn clone(&self) -> MiscCtrlReg2
fn clone(&self) -> MiscCtrlReg2
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 MiscCtrlReg2
impl Default for MiscCtrlReg2
Source§fn default() -> MiscCtrlReg2
fn default() -> MiscCtrlReg2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MiscCtrlReg2
impl PartialEq for MiscCtrlReg2
impl Copy for MiscCtrlReg2
impl Eq for MiscCtrlReg2
impl StructuralPartialEq for MiscCtrlReg2
Auto Trait Implementations§
impl Freeze for MiscCtrlReg2
impl RefUnwindSafe for MiscCtrlReg2
impl Send for MiscCtrlReg2
impl Sync for MiscCtrlReg2
impl Unpin for MiscCtrlReg2
impl UnwindSafe for MiscCtrlReg2
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