Enum atsam4e16c_pac::dmac::ctrla1::DST_WIDTH_A
source · #[repr(u8)]
pub enum DST_WIDTH_A {
BYTE,
HALF_WORD,
WORD,
}
Expand description
Transfer Width for the Destination
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 DST_WIDTH_A
impl Clone for DST_WIDTH_A
source§fn clone(&self) -> DST_WIDTH_A
fn clone(&self) -> DST_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 DST_WIDTH_A
impl Debug for DST_WIDTH_A
source§impl From<DST_WIDTH_A> for u8
impl From<DST_WIDTH_A> for u8
source§fn from(variant: DST_WIDTH_A) -> Self
fn from(variant: DST_WIDTH_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<DST_WIDTH_A> for DST_WIDTH_A
impl PartialEq<DST_WIDTH_A> for DST_WIDTH_A
source§fn eq(&self, other: &DST_WIDTH_A) -> bool
fn eq(&self, other: &DST_WIDTH_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DST_WIDTH_A
impl Eq for DST_WIDTH_A
impl StructuralEq for DST_WIDTH_A
impl StructuralPartialEq for DST_WIDTH_A
Auto Trait Implementations§
impl RefUnwindSafe for DST_WIDTH_A
impl Send for DST_WIDTH_A
impl Sync for DST_WIDTH_A
impl Unpin for DST_WIDTH_A
impl UnwindSafe for DST_WIDTH_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