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