#[repr(u8)]pub enum Ocram2TzEn {
OCRAM2_TZ_EN_0 = 0,
OCRAM2_TZ_EN_1 = 1,
}Variants§
OCRAM2_TZ_EN_0 = 0
The TrustZone feature is disabled. Entire OCRAM2 space is available for all access types (secure/non-secure/user/supervisor).
OCRAM2_TZ_EN_1 = 1
The TrustZone feature is enabled. Access to address in the range specified by [ENDADDR:STARTADDR] follows the execution mode access policy described in CSU chapter.
Implementations§
Source§impl Ocram2TzEn
impl Ocram2TzEn
Trait Implementations§
Source§impl Clone for Ocram2TzEn
impl Clone for Ocram2TzEn
Source§fn clone(&self) -> Ocram2TzEn
fn clone(&self) -> Ocram2TzEn
Returns a duplicate 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 Debug for Ocram2TzEn
impl Debug for Ocram2TzEn
Source§impl From<Ocram2TzEn> for u8
impl From<Ocram2TzEn> for u8
Source§fn from(val: Ocram2TzEn) -> u8
fn from(val: Ocram2TzEn) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ocram2TzEn
impl From<u8> for Ocram2TzEn
Source§fn from(val: u8) -> Ocram2TzEn
fn from(val: u8) -> Ocram2TzEn
Converts to this type from the input type.
Source§impl Ord for Ocram2TzEn
impl Ord for Ocram2TzEn
Source§fn cmp(&self, other: &Ocram2TzEn) -> Ordering
fn cmp(&self, other: &Ocram2TzEn) -> 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 Ocram2TzEn
impl PartialEq for Ocram2TzEn
Source§impl PartialOrd for Ocram2TzEn
impl PartialOrd for Ocram2TzEn
impl Copy for Ocram2TzEn
impl Eq for Ocram2TzEn
impl StructuralPartialEq for Ocram2TzEn
Auto Trait Implementations§
impl Freeze for Ocram2TzEn
impl RefUnwindSafe for Ocram2TzEn
impl Send for Ocram2TzEn
impl Sync for Ocram2TzEn
impl Unpin for Ocram2TzEn
impl UnwindSafe for Ocram2TzEn
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