Enum atsam4e8c_pac::dmac::ctrla0::SRC_WIDTH_A
source · #[repr(u8)]
pub enum SRC_WIDTH_A {
BYTE,
HALF_WORD,
WORD,
}
Expand description
Transfer Width for the Source
Value on reset: 0
Variants§
BYTE
0: the transfer size is set to 8-bit width
HALF_WORD
1: the transfer size is set to 16-bit width
WORD
2: the transfer size is set to 32-bit width
Trait Implementations§
source§impl Clone for SRC_WIDTH_A
impl Clone for SRC_WIDTH_A
source§fn clone(&self) -> SRC_WIDTH_A
fn clone(&self) -> SRC_WIDTH_A
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 SRC_WIDTH_A
impl Debug for SRC_WIDTH_A
source§impl From<SRC_WIDTH_A> for u8
impl From<SRC_WIDTH_A> for u8
source§fn from(variant: SRC_WIDTH_A) -> Self
fn from(variant: SRC_WIDTH_A) -> Self
Converts to this type from the input type.