#[repr(u8)]pub enum PeriphidPermSecuremapping {
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 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.
Implementations§
Trait Implementations§
Source§impl Clone for PeriphidPermSecuremapping
impl Clone for PeriphidPermSecuremapping
Source§fn clone(&self) -> PeriphidPermSecuremapping
fn clone(&self) -> PeriphidPermSecuremapping
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<PeriphidPermSecuremapping> for u8
impl From<PeriphidPermSecuremapping> for u8
Source§fn from(val: PeriphidPermSecuremapping) -> u8
fn from(val: PeriphidPermSecuremapping) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PeriphidPermSecuremapping
impl From<u8> for PeriphidPermSecuremapping
Source§fn from(val: u8) -> PeriphidPermSecuremapping
fn from(val: u8) -> PeriphidPermSecuremapping
Converts to this type from the input type.
Source§impl Ord for PeriphidPermSecuremapping
impl Ord for PeriphidPermSecuremapping
Source§fn cmp(&self, other: &PeriphidPermSecuremapping) -> Ordering
fn cmp(&self, other: &PeriphidPermSecuremapping) -> 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 PartialOrd for PeriphidPermSecuremapping
impl PartialOrd for PeriphidPermSecuremapping
impl Copy for PeriphidPermSecuremapping
impl Eq for PeriphidPermSecuremapping
impl StructuralPartialEq for PeriphidPermSecuremapping
Auto Trait Implementations§
impl Freeze for PeriphidPermSecuremapping
impl RefUnwindSafe for PeriphidPermSecuremapping
impl Send for PeriphidPermSecuremapping
impl Sync for PeriphidPermSecuremapping
impl Unpin for PeriphidPermSecuremapping
impl UnwindSafe for PeriphidPermSecuremapping
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
)