Structure to hold the parameters of I2C transfer configuration.

This structure defines the configuration parameters for an I2C transfer, including pointers to the transmit and receive data buffers and the lengths of the data to be transmitted and received.

Public Attributes#

uint8_t *

Pointer to the transmit data buffer.

uint32_t

Number of bytes to transmit.

uint8_t *

Pointer to the receive data buffer.

uint32_t

Number of bytes to receive.

Public Attribute Documentation#

tx_buffer#

uint8_t* sl_i2c_transfer_config_t::tx_buffer

Pointer to the transmit data buffer.


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

tx_len#

uint32_t sl_i2c_transfer_config_t::tx_len

Number of bytes to transmit.


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

rx_buffer#

uint8_t* sl_i2c_transfer_config_t::rx_buffer

Pointer to the receive data buffer.


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

rx_len#

uint32_t sl_i2c_transfer_config_t::rx_len

Number of bytes to receive.


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