Enum atsamv71q20b::i2sc0::mr::DATALENGTHSELECT_A
source · [−]#[repr(u8)]
pub enum DATALENGTHSELECT_A {
_32_BITS,
_24_BITS,
_20_BITS,
_18_BITS,
_16_BITS,
_16_BITS_COMPACT,
_8_BITS,
_8_BITS_COMPACT,
}
Expand description
Data Word Length
Value on reset: 0
Variants
_32_BITS
0: Data length is set to 32 bits
_24_BITS
1: Data length is set to 24 bits
_20_BITS
2: Data length is set to 20 bits
_18_BITS
3: Data length is set to 18 bits
_16_BITS
4: Data length is set to 16 bits
_16_BITS_COMPACT
5: Data length is set to 16-bit compact stereo. Left sample in bits 15:0 and right sample in bits 31:16 of same word.
_8_BITS
6: Data length is set to 8 bits
_8_BITS_COMPACT
7: Data length is set to 8-bit compact stereo. Left sample in bits 7:0 and right sample in bits 15:8 of the same word.
Trait Implementations
sourceimpl Clone for DATALENGTHSELECT_A
impl Clone for DATALENGTHSELECT_A
sourcefn clone(&self) -> DATALENGTHSELECT_A
fn clone(&self) -> DATALENGTHSELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DATALENGTHSELECT_A
impl Debug for DATALENGTHSELECT_A
sourceimpl From<DATALENGTHSELECT_A> for u8
impl From<DATALENGTHSELECT_A> for u8
sourcefn from(variant: DATALENGTHSELECT_A) -> Self
fn from(variant: DATALENGTHSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DATALENGTHSELECT_A> for DATALENGTHSELECT_A
impl PartialEq<DATALENGTHSELECT_A> for DATALENGTHSELECT_A
sourcefn eq(&self, other: &DATALENGTHSELECT_A) -> bool
fn eq(&self, other: &DATALENGTHSELECT_A) -> bool
impl Copy for DATALENGTHSELECT_A
impl StructuralPartialEq for DATALENGTHSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for DATALENGTHSELECT_A
impl Send for DATALENGTHSELECT_A
impl Sync for DATALENGTHSELECT_A
impl Unpin for DATALENGTHSELECT_A
impl UnwindSafe for DATALENGTHSELECT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more