[][src]Enum cortex_m::cmse::AccessType

[]
pub enum AccessType {
    Current,
    Unprivileged,
    NonSecure,
    NonSecureUnprivileged,
}
[]

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

impl Clone for AccessType[src][+]

impl Copy for AccessType[src]

impl Debug for AccessType[src][+]

impl PartialEq<AccessType> for AccessType[src][+]

impl StructuralPartialEq for AccessType[src]

Auto Trait Implementations

impl Send for AccessType

impl Sync for AccessType

impl Unpin for AccessType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.