#[repr(u8)]
pub enum DS_A {
Bit8,
Bit10,
Bit16,
Bit20,
Bit24,
Bit32,
}
Expand description
Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled.
Value on reset: 2
Variants
Bit8
2: 8 bits
Bit10
3: 10 bits
Bit16
4: 16 bits
Bit20
5: 20 bits
Bit24
6: 24 bits
Bit32
7: 32 bits
Trait Implementations
impl Copy for DS_A
impl StructuralPartialEq for DS_A
Auto Trait Implementations
impl RefUnwindSafe for DS_A
impl Send for DS_A
impl Sync for DS_A
impl Unpin for DS_A
impl UnwindSafe for DS_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