#[repr(u8)]
pub enum AHB_SEC_CTRL_RULE_A {
ENUM_NS_NP,
ENUM_NS_P,
ENUM_S_NP,
ENUM_S_P,
}
Expand description
AHB Secure Controller
Value on reset: 0
Variants
ENUM_NS_NP
0: Non-secure and Non-priviledge user access allowed.
ENUM_NS_P
1: Non-secure and Privilege access allowed.
ENUM_S_NP
2: Secure and Non-priviledge user access allowed.
ENUM_S_P
3: Secure and Priviledge user access allowed.
Trait Implementations
sourceimpl Clone for AHB_SEC_CTRL_RULE_A
impl Clone for AHB_SEC_CTRL_RULE_A
sourcefn clone(&self) -> AHB_SEC_CTRL_RULE_A
fn clone(&self) -> AHB_SEC_CTRL_RULE_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 more
sourceimpl Debug for AHB_SEC_CTRL_RULE_A
impl Debug for AHB_SEC_CTRL_RULE_A
sourceimpl From<AHB_SEC_CTRL_RULE_A> for u8
impl From<AHB_SEC_CTRL_RULE_A> for u8
sourcefn from(variant: AHB_SEC_CTRL_RULE_A) -> Self
fn from(variant: AHB_SEC_CTRL_RULE_A) -> Self
Performs the conversion.
impl Copy for AHB_SEC_CTRL_RULE_A
impl StructuralPartialEq for AHB_SEC_CTRL_RULE_A
Auto Trait Implementations
impl RefUnwindSafe for AHB_SEC_CTRL_RULE_A
impl Send for AHB_SEC_CTRL_RULE_A
impl Sync for AHB_SEC_CTRL_RULE_A
impl Unpin for AHB_SEC_CTRL_RULE_A
impl UnwindSafe for AHB_SEC_CTRL_RULE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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