Enum atsame54n::i2s::txctrl::DATASIZESELECT_A
source · #[repr(u8)]pub enum DATASIZESELECT_A {
_32 = 0,
_24 = 1,
_20 = 2,
_18 = 3,
_16 = 4,
_16C = 5,
_8 = 6,
_8C = 7,
}
Expand description
Data Word Size
Value on reset: 0
Variants§
_32 = 0
0: 32 bits
_24 = 1
1: 24 bits
_20 = 2
2: 20 bits
_18 = 3
3: 18 bits
_16 = 4
4: 16 bits
_16C = 5
5: 16 bits compact stereo
_8 = 6
6: 8 bits
_8C = 7
7: 8 bits compact stereo
Trait Implementations§
source§impl Clone for DATASIZESELECT_A
impl Clone for DATASIZESELECT_A
source§fn clone(&self) -> DATASIZESELECT_A
fn clone(&self) -> DATASIZESELECT_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 DATASIZESELECT_A
impl Debug for DATASIZESELECT_A
source§impl From<DATASIZESELECT_A> for u8
impl From<DATASIZESELECT_A> for u8
source§fn from(variant: DATASIZESELECT_A) -> Self
fn from(variant: DATASIZESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for DATASIZESELECT_A
impl PartialEq for DATASIZESELECT_A
source§fn eq(&self, other: &DATASIZESELECT_A) -> bool
fn eq(&self, other: &DATASIZESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DATASIZESELECT_A
impl Eq for DATASIZESELECT_A
impl StructuralPartialEq for DATASIZESELECT_A
Auto Trait Implementations§
impl Freeze for DATASIZESELECT_A
impl RefUnwindSafe for DATASIZESELECT_A
impl Send for DATASIZESELECT_A
impl Sync for DATASIZESELECT_A
impl Unpin for DATASIZESELECT_A
impl UnwindSafe for DATASIZESELECT_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