i2c_param_config() function
Configure an I2C bus with the given configuration.
Arguments
i2c_num
I2C port to configure
i2c_conf
Pointer to the I2C configuration
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
i2c_param_config() calls 24 functions:
![]()
i2c_param_config()
i2c_param_config() reads 26 variables:
![]()
i2c_param_config()