Enum atsame70n21b::xdmac::xdmac_chid::cc::DWIDTHSELECT_A
source · #[repr(u8)]pub enum DWIDTHSELECT_A {
BYTE = 0,
HALFWORD = 1,
WORD = 2,
}
Expand description
Channel x Data Width
Value on reset: 0
Variants§
BYTE = 0
0: The data size is set to 8 bits
HALFWORD = 1
1: The data size is set to 16 bits
WORD = 2
2: The data size is set to 32 bits
Trait Implementations§
source§impl Clone for DWIDTHSELECT_A
impl Clone for DWIDTHSELECT_A
source§fn clone(&self) -> DWIDTHSELECT_A
fn clone(&self) -> DWIDTHSELECT_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 DWIDTHSELECT_A
impl Debug for DWIDTHSELECT_A
source§impl From<DWIDTHSELECT_A> for u8
impl From<DWIDTHSELECT_A> for u8
source§fn from(variant: DWIDTHSELECT_A) -> Self
fn from(variant: DWIDTHSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for DWIDTHSELECT_A
impl PartialEq for DWIDTHSELECT_A
source§fn eq(&self, other: &DWIDTHSELECT_A) -> bool
fn eq(&self, other: &DWIDTHSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DWIDTHSELECT_A
impl Eq for DWIDTHSELECT_A
impl StructuralEq for DWIDTHSELECT_A
impl StructuralPartialEq for DWIDTHSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for DWIDTHSELECT_A
impl Send for DWIDTHSELECT_A
impl Sync for DWIDTHSELECT_A
impl Unpin for DWIDTHSELECT_A
impl UnwindSafe for DWIDTHSELECT_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