#[repr(u8)]pub enum Securemapping {
NON_SECURE = 0,
SECURE = 1,
USER_SELECTABLE = 2,
SPLIT = 3,
}
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 PERIPH[n].PERM register
SPLIT = 3
This peripheral implements the split security mechanism.
Implementations§
Source§impl Securemapping
impl Securemapping
Trait Implementations§
Source§impl Clone for Securemapping
impl Clone for Securemapping
Source§fn clone(&self) -> Securemapping
fn clone(&self) -> Securemapping
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 From<Securemapping> for u8
impl From<Securemapping> for u8
Source§fn from(val: Securemapping) -> u8
fn from(val: Securemapping) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Securemapping
impl From<u8> for Securemapping
Source§fn from(val: u8) -> Securemapping
fn from(val: u8) -> Securemapping
Converts to this type from the input type.
Source§impl Ord for Securemapping
impl Ord for Securemapping
Source§fn cmp(&self, other: &Securemapping) -> Ordering
fn cmp(&self, other: &Securemapping) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Securemapping
impl PartialEq for Securemapping
Source§impl PartialOrd for Securemapping
impl PartialOrd for Securemapping
impl Copy for Securemapping
impl Eq for Securemapping
impl StructuralPartialEq for Securemapping
Auto Trait Implementations§
impl Freeze for Securemapping
impl RefUnwindSafe for Securemapping
impl Send for Securemapping
impl Sync for Securemapping
impl Unpin for Securemapping
impl UnwindSafe for Securemapping
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)