[−][src]Struct esp_idf_sys::i2s_config_t
@brief I2S configuration parameters for i2s_param_config function
Fields
mode: i2s_mode_t
< I2S work mode
sample_rate: c_int
< I2S sample rate
bits_per_sample: i2s_bits_per_sample_t
< I2S bits per sample
channel_format: i2s_channel_fmt_t
< I2S channel format
communication_format: i2s_comm_format_t
< I2S communication format
intr_alloc_flags: c_int
< Flags used to allocate the interrupt. One or multiple (ORred) ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info
dma_buf_count: c_int
< I2S DMA Buffer Count
dma_buf_len: c_int
< I2S DMA Buffer Length
use_apll: bool
< I2S using APLL as main I2S clock, enable it to get accurate clock
tx_desc_auto_clear: bool
< I2S auto clear tx descriptor if there is underflow condition (helps in avoiding noise in case of data unavailability)
fixed_mclk: c_int
< I2S using fixed MCLK output. If use_apll = true and fixed_mclk > 0, then the clock output for i2s is fixed and equal to the fixed_mclk value.
Trait Implementations
impl Debug for i2s_config_t
[src]
impl Copy for i2s_config_t
[src]
impl Clone for i2s_config_t
[src]
fn clone(&self) -> i2s_config_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,