pub unsafe extern "C" fn i2c_param_config(
    i2c_num: u32,
    i2c_conf: *const i2c_config_t
) -> i32
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