i2s_module_config_t Struct Reference

I2S module configuration (TX or RX) More...

#include <i2s.h>

Collaboration diagram for i2s_module_config_t:
[legend]

Public Attributes

i2s_mode_t mode
 I2S work mode (combination of i2s_mode_t) More...
 
i2s_bits_per_sample_t bits_per_sample
 I2S bits per sample. More...
 
i2s_channel_fmt_t channel_format
 I2S channel format. More...
 
i2s_comm_format_t communication_format
 I2S communication format. More...
 
uint16_t dma_buf_len
 I2S DMA Buffer Length (in samples) More...
 
uint8_t dma_buf_count
 I2S DMA Buffer Count. More...
 
uint8_t callback_threshold
 

Detailed Description

I2S module configuration (TX or RX)

Member Data Documentation

◆ bits_per_sample

i2s_bits_per_sample_t i2s_module_config_t::bits_per_sample

I2S bits per sample.

◆ callback_threshold

uint8_t i2s_module_config_t::callback_threshold

TX: callback when available buffers > threshold RX: Callback when slc_queue_len > threshold

◆ channel_format

i2s_channel_fmt_t i2s_module_config_t::channel_format

I2S channel format.

◆ communication_format

i2s_comm_format_t i2s_module_config_t::communication_format

I2S communication format.

◆ dma_buf_count

uint8_t i2s_module_config_t::dma_buf_count

I2S DMA Buffer Count.

◆ dma_buf_len

uint16_t i2s_module_config_t::dma_buf_len

I2S DMA Buffer Length (in samples)

◆ mode

i2s_mode_t i2s_module_config_t::mode

I2S work mode (combination of i2s_mode_t)


The documentation for this struct was generated from the following file: