Function esp_idf_sys::i2c_set_start_timing
source · pub unsafe extern "C" fn i2c_set_start_timing(
i2c_num: i2c_port_t,
setup_time: c_int,
hold_time: c_int,
) -> esp_err_t
Expand description
@brief set I2C master start signal timing
@param i2c_num I2C port number @param setup_time clock number between the falling-edge of SDA and rising-edge of SCL for start mark, it’s a 10-bit value. @param hold_time clock num between the falling-edge of SDA and falling-edge of SCL for start mark, it’s a 10-bit value.
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error