Enum nrf5340_app_pac::spu_s::periphid::perm::SECUREMAPPING_A
source · [−]#[repr(u8)]
pub enum SECUREMAPPING_A {
NON_SECURE,
SECURE,
USER_SELECTABLE,
SPLIT,
}
Expand description
Define configuration capabilities for Arm TrustZone Cortex-M secure attribute
Value on reset: 2
Variants
NON_SECURE
0: This peripheral is always accessible as a non-secure peripheral
SECURE
1: This peripheral is always accessible as a secure peripheral
USER_SELECTABLE
2: Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register
SPLIT
3: This peripheral implements the split security mechanism. Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register.
Trait Implementations
sourceimpl Clone for SECUREMAPPING_A
impl Clone for SECUREMAPPING_A
sourcefn clone(&self) -> SECUREMAPPING_A
fn clone(&self) -> SECUREMAPPING_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SECUREMAPPING_A
impl Debug for SECUREMAPPING_A
sourceimpl From<SECUREMAPPING_A> for u8
impl From<SECUREMAPPING_A> for u8
sourcefn from(variant: SECUREMAPPING_A) -> Self
fn from(variant: SECUREMAPPING_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SECUREMAPPING_A> for SECUREMAPPING_A
impl PartialEq<SECUREMAPPING_A> for SECUREMAPPING_A
sourcefn eq(&self, other: &SECUREMAPPING_A) -> bool
fn eq(&self, other: &SECUREMAPPING_A) -> bool
impl Copy for SECUREMAPPING_A
impl StructuralPartialEq for SECUREMAPPING_A
Auto Trait Implementations
impl RefUnwindSafe for SECUREMAPPING_A
impl Send for SECUREMAPPING_A
impl Sync for SECUREMAPPING_A
impl Unpin for SECUREMAPPING_A
impl UnwindSafe for SECUREMAPPING_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more