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#

uint16_t

Primary/Secondary mode (Master/Slave).

uint16_t

SYNC/ASYNC mode (Synchronous/Asynchronous).

uint16_t

I2S/PCM protocol (currently only I2S is supported).

uint16_t

Audio data resolution.

uint32_t

Data size in bits.

uint32_t

Audio sampling rate in Hz.

uint32_t

Transfer type (Transmit/Receive).

Public Attribute Documentation#

mode#

uint16_t sl_i2s_xfer_config_t::mode

Primary/Secondary mode (Master/Slave).


Definition at line 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).


Definition at line 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).


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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).


Definition at line 212 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2s.h