i2c_set_data_timing() function
set I2C data signal timing
Arguments
sample_time
clock number I2C used to sample data on SDA after the rising-edge of SCL, it's a 10-bit value
hold_time
clock number I2C used to hold the data after the falling-edge of SCL, it's a 10-bit value
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
i2c_set_data_timing() calls 6 functions:
![]()
i2c_set_data_timing()
i2c_set_data_timing() reads 11 variables:
![]()
i2c_set_data_timing()