i2c_set_stop_timing() function
set I2C master stop signal timing
Arguments
setup_time
clock num between the rising-edge of SCL and the rising-edge of SDA, it's a 10-bit value.
hold_time
clock number after the STOP bit's rising-edge, it's a 14-bit value.
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
i2c_set_stop_timing() calls 6 functions:
![]()
i2c_set_stop_timing()
i2c_set_stop_timing() reads 11 variables:
![]()
i2c_set_stop_timing()