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
Examples
i2c_param_config() is referenced by 8 libraries and example projects: