#[repr(u8)]pub enum STRUCTTYPE {
Transfer = 0,
Synchronize = 1,
Write = 2,
}
Expand description
DMA Structure Type
Value on reset: 0
Variants§
Transfer = 0
0: DMA transfer structure type selected.
Synchronize = 1
1: Synchronization structure type selected.
Write = 2
2: Write immediate value structure type selected.
Trait Implementations§
Source§impl Clone for STRUCTTYPE
impl Clone for STRUCTTYPE
Source§fn clone(&self) -> STRUCTTYPE
fn clone(&self) -> STRUCTTYPE
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 Debug for STRUCTTYPE
impl Debug for STRUCTTYPE
Source§impl From<STRUCTTYPE> for u8
impl From<STRUCTTYPE> for u8
Source§fn from(variant: STRUCTTYPE) -> Self
fn from(variant: STRUCTTYPE) -> Self
Converts to this type from the input type.
Source§impl PartialEq for STRUCTTYPE
impl PartialEq for STRUCTTYPE
impl Copy for STRUCTTYPE
impl Eq for STRUCTTYPE
impl IsEnum for STRUCTTYPE
impl StructuralPartialEq for STRUCTTYPE
Auto Trait Implementations§
impl Freeze for STRUCTTYPE
impl RefUnwindSafe for STRUCTTYPE
impl Send for STRUCTTYPE
impl Sync for STRUCTTYPE
impl Unpin for STRUCTTYPE
impl UnwindSafe for STRUCTTYPE
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