Enum esp_idf_svc::hal::i2s::config::SlotBitWidth
source · pub enum SlotBitWidth {
Auto,
Bits8,
Bits16,
Bits24,
Bits32,
}
Expand description
The total slot bit width in one slot.
This is not necessarily the number of data bits in one slot. A slot may have additional bits padded to fill out the slot.
Variants§
Auto
Slot bit width is automatically set to the data bit width.
Bits8
Slot bit width is 8 bits.
Bits16
Slot bit width is 16 bits.
Bits24
Slot bit width is 24 bits.
Bits32
Slot bit width is 32 bits.
Trait Implementations§
source§impl Clone for SlotBitWidth
impl Clone for SlotBitWidth
source§fn clone(&self) -> SlotBitWidth
fn clone(&self) -> SlotBitWidth
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SlotBitWidth
impl Debug for SlotBitWidth
source§impl Default for SlotBitWidth
impl Default for SlotBitWidth
source§fn default() -> SlotBitWidth
fn default() -> SlotBitWidth
Returns the “default value” for a type. Read more
source§impl PartialEq for SlotBitWidth
impl PartialEq for SlotBitWidth
source§impl TryFrom<u32> for SlotBitWidth
impl TryFrom<u32> for SlotBitWidth
source§fn try_from(
value: u32,
) -> Result<SlotBitWidth, <SlotBitWidth as TryFrom<u32>>::Error>
fn try_from( value: u32, ) -> Result<SlotBitWidth, <SlotBitWidth as TryFrom<u32>>::Error>
Performs the conversion.
impl Copy for SlotBitWidth
impl Eq for SlotBitWidth
impl StructuralPartialEq for SlotBitWidth
Auto Trait Implementations§
impl Freeze for SlotBitWidth
impl RefUnwindSafe for SlotBitWidth
impl Send for SlotBitWidth
impl Sync for SlotBitWidth
impl Unpin for SlotBitWidth
impl UnwindSafe for SlotBitWidth
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)