#[repr(u8)]pub enum SLOTSZ_A {
DataSize = 0,
Bit16 = 1,
Bit32 = 2,
}
Expand description
Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode.
Value on reset: 0
Variants§
DataSize = 0
0: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
Bit16 = 1
1: 16-bit
Bit32 = 2
2: 32-bit
Trait Implementations§
source§impl PartialEq for SLOTSZ_A
impl PartialEq for SLOTSZ_A
impl Copy for SLOTSZ_A
impl StructuralPartialEq for SLOTSZ_A
Auto Trait Implementations§
impl RefUnwindSafe for SLOTSZ_A
impl Send for SLOTSZ_A
impl Sync for SLOTSZ_A
impl Unpin for SLOTSZ_A
impl UnwindSafe for SLOTSZ_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