#[repr(u8)]
pub enum DMA0_RULE_A {
ENUM_NS_NP,
ENUM_NS_P,
ENUM_S_NP,
ENUM_S_P,
}
Expand description
DMA 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 DMA0_RULE_A
impl Clone for DMA0_RULE_A
sourcefn clone(&self) -> DMA0_RULE_A
fn clone(&self) -> DMA0_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 DMA0_RULE_A
impl Debug for DMA0_RULE_A
sourceimpl From<DMA0_RULE_A> for u8
impl From<DMA0_RULE_A> for u8
sourcefn from(variant: DMA0_RULE_A) -> Self
fn from(variant: DMA0_RULE_A) -> Self
Performs the conversion.
sourceimpl PartialEq<DMA0_RULE_A> for DMA0_RULE_A
impl PartialEq<DMA0_RULE_A> for DMA0_RULE_A
impl Copy for DMA0_RULE_A
impl StructuralPartialEq for DMA0_RULE_A
Auto Trait Implementations
impl RefUnwindSafe for DMA0_RULE_A
impl Send for DMA0_RULE_A
impl Sync for DMA0_RULE_A
impl Unpin for DMA0_RULE_A
impl UnwindSafe for DMA0_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