Enum esp_idf_svc::hal::i2s::config::StdCommFormat
source · pub enum StdCommFormat {
Philips,
Msb,
PcmShort,
PcmLong,
}
Expand description
The communication format used by the v4 driver.
Variants§
Philips
Standard I2S/Philips format.
Msb
MSB-aligned format (data present at first bit clock).
PcmShort
PCM short standard. Word select is one bit clock.
PcmLong
PCM long standard. Word select is the same as the data bit width.
Trait Implementations§
source§impl Clone for StdCommFormat
impl Clone for StdCommFormat
source§fn clone(&self) -> StdCommFormat
fn clone(&self) -> StdCommFormat
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 StdCommFormat
impl Debug for StdCommFormat
source§impl Default for StdCommFormat
impl Default for StdCommFormat
source§fn default() -> StdCommFormat
fn default() -> StdCommFormat
Returns the “default value” for a type. Read more
source§impl PartialEq for StdCommFormat
impl PartialEq for StdCommFormat
source§fn eq(&self, other: &StdCommFormat) -> bool
fn eq(&self, other: &StdCommFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StdCommFormat
impl Eq for StdCommFormat
impl StructuralPartialEq for StdCommFormat
Auto Trait Implementations§
impl Freeze for StdCommFormat
impl RefUnwindSafe for StdCommFormat
impl Send for StdCommFormat
impl Sync for StdCommFormat
impl Unpin for StdCommFormat
impl UnwindSafe for StdCommFormat
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
)