Enum stm32_metapac::sai::vals::Slotsz
#[repr(u8)]pub enum Slotsz {
DATASIZE = 0,
BIT16 = 1,
BIT32 = 2,
_RESERVED_3 = 3,
}
Variants§
DATASIZE = 0
The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
BIT16 = 1
16-bit
BIT32 = 2
32-bit
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Slotsz
impl Ord for Slotsz
§impl PartialOrd for Slotsz
impl PartialOrd for Slotsz
§fn partial_cmp(&self, other: &Slotsz) -> Option<Ordering>
fn partial_cmp(&self, other: &Slotsz) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Slotsz
impl Eq for Slotsz
impl StructuralEq for Slotsz
impl StructuralPartialEq for Slotsz
Auto Trait Implementations§
impl RefUnwindSafe for Slotsz
impl Send for Slotsz
impl Sync for Slotsz
impl Unpin for Slotsz
impl UnwindSafe for Slotsz
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