Enum nrf5340_app_pac::spu_s::extdomain::perm::SECUREMAPPING_A
source · [−]#[repr(u8)]
pub enum SECUREMAPPING_A {
NON_SECURE,
SECURE,
USER_SELECTABLE,
}
Expand description
Define configuration capabilities for TrustZone Cortex-M secure attribute
Value on reset: 2
Variants
NON_SECURE
0: The bus access from this external domain always have the non-secure attribute set
SECURE
1: The bus access from this external domain always have the secure attribute set
USER_SELECTABLE
2: Non-secure or secure attribute for bus access from this domain is defined by the EXTDOMAIN[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