#[repr(transparent)]pub struct MiscCtrlReg(pub u32);Expand description
secure control register
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
AHB bus matrix 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, )
AHB bus matrix enable secure checking.
Sourcepub const fn enable_s_priv_check(&self) -> MiscCtrlRegEnableSPrivCheck
pub const fn enable_s_priv_check(&self) -> MiscCtrlRegEnableSPrivCheck
AHB bus matrix enable secure privilege check.
Sourcepub const fn set_enable_s_priv_check(
&mut self,
val: MiscCtrlRegEnableSPrivCheck,
)
pub const fn set_enable_s_priv_check( &mut self, val: MiscCtrlRegEnableSPrivCheck, )
AHB bus matrix enable secure privilege check.
Sourcepub const fn enable_ns_priv_check(&self) -> MiscCtrlRegEnableNsPrivCheck
pub const fn enable_ns_priv_check(&self) -> MiscCtrlRegEnableNsPrivCheck
AHB bus matrix enable non-secure privilege check.
Sourcepub const fn set_enable_ns_priv_check(
&mut self,
val: MiscCtrlRegEnableNsPrivCheck,
)
pub const fn set_enable_ns_priv_check( &mut self, val: MiscCtrlRegEnableNsPrivCheck, )
AHB bus matrix enable non-secure privilege check.
Sourcepub const fn disable_violation_abort(&self) -> MiscCtrlRegDisableViolationAbort
pub const fn disable_violation_abort(&self) -> MiscCtrlRegDisableViolationAbort
Disable secure 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 secure violation abort.
Sourcepub const fn disable_simple_master_strict_mode(
&self,
) -> MiscCtrlRegDisableSimpleMasterStrictMode
pub const fn disable_simple_master_strict_mode( &self, ) -> MiscCtrlRegDisableSimpleMasterStrictMode
Disable simple master strict mode.
Sourcepub const fn set_disable_simple_master_strict_mode(
&mut self,
val: MiscCtrlRegDisableSimpleMasterStrictMode,
)
pub const fn set_disable_simple_master_strict_mode( &mut self, val: MiscCtrlRegDisableSimpleMasterStrictMode, )
Disable simple master strict mode.
Sourcepub const fn disable_smart_master_strict_mode(
&self,
) -> MiscCtrlRegDisableSmartMasterStrictMode
pub const fn disable_smart_master_strict_mode( &self, ) -> MiscCtrlRegDisableSmartMasterStrictMode
Disable smart master strict mode.
Sourcepub const fn set_disable_smart_master_strict_mode(
&mut self,
val: MiscCtrlRegDisableSmartMasterStrictMode,
)
pub const fn set_disable_smart_master_strict_mode( &mut self, val: MiscCtrlRegDisableSmartMasterStrictMode, )
Disable smart master strict mode.
Sourcepub const fn idau_all_ns(&self) -> MiscCtrlRegIdauAllNs
pub const fn idau_all_ns(&self) -> MiscCtrlRegIdauAllNs
Disable IDAU.
Sourcepub const fn set_idau_all_ns(&mut self, val: MiscCtrlRegIdauAllNs)
pub const fn set_idau_all_ns(&mut self, val: MiscCtrlRegIdauAllNs)
Disable IDAU.
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