I found this in the ESP32-S3 TRM:
But the ESP-IDF says:I2C_TIME_OUT_VALUE This field is used to configure the timeout value for receiving a data bit in I2C_SCLK clock cycles. The configured timeout value equals 2^I2C_TIME_OUT_VALUE clock cycles. (R/W)
esp_err_ti2c_set_timeout(i2c_port_ti2c_num, int timeout)
.timeout: timeout value for I2C bus (unit: APB 80Mhz clock cycle)
Based on adjusting the timeout, I think the timeout value is actually (2^I2C_TIME_OUT_VALUE) APB cycles. Does that sound right?