Structure to hold the configuration parameters of an I2C instance.
This structure defines the configuration parameters for an I2C instance, including the mode, operating speed, transfer type, and callback function.
Public Attributes#
sl_i2c_mode_t
Leader/Follower mode. 0 for leader mode and 1 for follower mode.
Speed mode. See sl_i2c_operating_mode_t for possible values.
Transfer type. See sl_i2c_transfer_type_t for possible values.
I2C callback function. See sl_i2c_callback_t.
Public Attribute Documentation#
mode#
sl_i2c_mode_t sl_i2c_config_t::mode
Leader/Follower mode. 0 for leader mode and 1 for follower mode.
Definition at line
161
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2c.h
operating_mode#
sl_i2c_operating_mode_t sl_i2c_config_t::operating_mode
Speed mode. See sl_i2c_operating_mode_t for possible values.
Definition at line
162
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2c.h
transfer_type#
sl_i2c_transfer_type_t sl_i2c_config_t::transfer_type
Transfer type. See sl_i2c_transfer_type_t for possible values.
Definition at line
163
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2c.h
i2c_callback#
sl_i2c_callback_t sl_i2c_config_t::i2c_callback
I2C callback function. See sl_i2c_callback_t.
Definition at line
164
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_i2c.h