Enum cortex_m::cmse::AccessType
source · pub enum AccessType {
Current,
Unprivileged,
NonSecure,
NonSecureUnprivileged,
}
Expand description
Memory access behaviour: determine which privilege execution mode is used and which Memory Protection Unit (MPU) is used.
Variants§
Current
Access using current privilege level and reading from current security state MPU. Uses the TT instruction.
Unprivileged
Unprivileged access reading from current security state MPU. Uses the TTT instruction.
NonSecure
Access using current privilege level reading from Non-Secure MPU. Uses the TTA instruction. Undefined if used from Non-Secure state.
NonSecureUnprivileged
Unprivilege access reading from Non-Secure MPU. Uses the TTAT instruction. Undefined if used from Non-Secure state.
Trait Implementations§
source§impl Clone for AccessType
impl Clone for AccessType
source§fn clone(&self) -> AccessType
fn clone(&self) -> AccessType
Returns a copy 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 AccessType
impl Debug for AccessType
source§impl PartialEq<AccessType> for AccessType
impl PartialEq<AccessType> for AccessType
source§fn eq(&self, other: &AccessType) -> bool
fn eq(&self, other: &AccessType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.