i2c_set_period() function
Set I2C master clock period
Arguments
high_period
Clock cycle number during SCL is high level, high_period is a 14 bit value
low_period
Clock cycle number during SCL is low level, low_period is a 14 bit value
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
i2c_set_period() calls 6 functions:
![]()
i2c_set_period()
i2c_set_period() reads 11 variables:
![]()
i2c_set_period()