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