Enum esp_idf_hal::i2s::config::PdmSlotMask
source · pub enum PdmSlotMask {
Left,
Right,
Both,
}
Expand description
I2S slot selection in PDM mode.
The default is PdmSlotMask::Both
.
Variants§
Left
I2S transmits or receives the left slot.
Right
I2S transmits or receives the right slot.
Both
I2S transmits or receives both slots.
Trait Implementations§
source§impl Clone for PdmSlotMask
impl Clone for PdmSlotMask
source§fn clone(&self) -> PdmSlotMask
fn clone(&self) -> PdmSlotMask
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 PdmSlotMask
impl Debug for PdmSlotMask
source§impl Default for PdmSlotMask
impl Default for PdmSlotMask
source§impl PartialEq for PdmSlotMask
impl PartialEq for PdmSlotMask
impl Copy for PdmSlotMask
impl Eq for PdmSlotMask
impl StructuralPartialEq for PdmSlotMask
Auto Trait Implementations§
impl Freeze for PdmSlotMask
impl RefUnwindSafe for PdmSlotMask
impl Send for PdmSlotMask
impl Sync for PdmSlotMask
impl Unpin for PdmSlotMask
impl UnwindSafe for PdmSlotMask
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
)