Function esp_idf_sys::i2c_param_config
source ยท pub unsafe extern "C" fn i2c_param_config(
i2c_num: i2c_port_t,
i2c_conf: *const i2c_config_t,
) -> esp_err_t
Expand description
@brief Configure an I2C bus with the given configuration.
@param i2c_num I2C port to configure @param i2c_conf Pointer to the I2C configuration
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error