#[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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.