Enum Securemapping
#[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§
§impl Securemapping
impl Securemapping
pub const fn from_bits(val: u8) -> Securemapping
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Securemapping
impl Clone for Securemapping
§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 more§impl From<u8> for Securemapping
impl From<u8> for Securemapping
§fn from(val: u8) -> Securemapping
fn from(val: u8) -> Securemapping
Converts to this type from the input type.
§impl Ord for Securemapping
impl Ord for Securemapping
§impl PartialEq for Securemapping
impl PartialEq for Securemapping
§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
)