Structure to hold transmit and receive configuration parameters.
This structure contains the configuration parameters for I2S transmit and receive operations. It includes settings for mode, synchronization, protocol, resolution, data size, sampling rate, and transfer type.
Public Attributes#
Primary/Secondary mode (Master/Slave).
SYNC/ASYNC mode (Synchronous/Asynchronous).
I2S/PCM protocol (currently only I2S is supported).
Audio data resolution.
Data size in bits.
Audio sampling rate in Hz.
Transfer type (Transmit/Receive).
Public Attribute Documentation#
mode#
uint16_t sl_i2s_xfer_config_t::mode
Primary/Secondary mode (Master/Slave).
206
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
sync#
uint16_t sl_i2s_xfer_config_t::sync
SYNC/ASYNC mode (Synchronous/Asynchronous).
207
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
protocol#
uint16_t sl_i2s_xfer_config_t::protocol
I2S/PCM protocol (currently only I2S is supported).
208
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
resolution#
uint16_t sl_i2s_xfer_config_t::resolution
Audio data resolution.
209
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
data_size#
uint32_t sl_i2s_xfer_config_t::data_size
Data size in bits.
210
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
sampling_rate#
uint32_t sl_i2s_xfer_config_t::sampling_rate
Audio sampling rate in Hz.
211
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h
transfer_type#
uint32_t sl_i2s_xfer_config_t::transfer_type
Transfer type (Transmit/Receive).
212
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h