#[repr(u8)]pub enum DMA0MODE_A {
FULL = 0,
LENLIMIT = 1,
FULLBYTE = 2,
LENLIMITBYTE = 3,
}Expand description
DMA0 Read Mode
Value on reset: 0
Variants§
FULL = 0
0: Target register is fully read/written during every DMA transaction
LENLIMIT = 1
1: Length Limited. When the current length, i.e. LENGTHA or LENGTHB indicates that there are less bytes available than the register size, only length + necessary zero padding is read. Zero padding is automatically added when writing.
FULLBYTE = 2
2: Target register is fully read/written during every DMA transaction. Bytewise DMA.
LENLIMITBYTE = 3
3: Length Limited. When the current length, i.e. LENGTHA or LENGTHB indicates that there are less bytes available than the register size, only length + necessary zero padding is read. Bytewise DMA. Zero padding is automatically added when writing.
Trait Implementations§
Source§impl Clone for DMA0MODE_A
impl Clone for DMA0MODE_A
Source§fn clone(&self) -> DMA0MODE_A
fn clone(&self) -> DMA0MODE_A
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 DMA0MODE_A
impl Debug for DMA0MODE_A
Source§impl From<DMA0MODE_A> for u8
impl From<DMA0MODE_A> for u8
Source§fn from(variant: DMA0MODE_A) -> Self
fn from(variant: DMA0MODE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DMA0MODE_A
impl PartialEq for DMA0MODE_A
impl Copy for DMA0MODE_A
impl StructuralPartialEq for DMA0MODE_A
Auto Trait Implementations§
impl Freeze for DMA0MODE_A
impl RefUnwindSafe for DMA0MODE_A
impl Send for DMA0MODE_A
impl Sync for DMA0MODE_A
impl Unpin for DMA0MODE_A
impl UnwindSafe for DMA0MODE_A
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