Enum esp_idf_hal::i2s::config::SlotMode
source · pub enum SlotMode {
Mono,
Stereo,
}
Expand description
I2S channel slot mode.
See the documentation for the mode of operation to see how this affects the data layout:
Variants§
Mono
Mono mode:
- When transmitting, transmit the same data in all slots.
- When receiving, only receive data from the first slot.
Stereo
Stereo mode:
- When transmitting, transmit different data in each slot.
- When receiving, receive data from all slots.
Trait Implementations§
impl Copy for SlotMode
impl Eq for SlotMode
impl StructuralPartialEq for SlotMode
Auto Trait Implementations§
impl Freeze for SlotMode
impl RefUnwindSafe for SlotMode
impl Send for SlotMode
impl Sync for SlotMode
impl Unpin for SlotMode
impl UnwindSafe for SlotMode
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
)