Enum stm32_hal2::sai::SlotSize
source · #[repr(u8)]pub enum SlotSize {
DataSize = 0,
S16 = 1,
S32 = 2,
}
Expand description
Select the slot size to use. xSLOTR register, SLOTSZ field.
Variants§
DataSize = 0
The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
S16 = 1
16 bits
S32 = 2
32 bits
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotSize
impl RefUnwindSafe for SlotSize
impl Send for SlotSize
impl Sync for SlotSize
impl Unpin for SlotSize
impl UnwindSafe for SlotSize
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