Function esp_idf_svc::sys::i2c_set_data_timing

source ·
pub unsafe extern "C" fn i2c_set_data_timing(
    i2c_num: u32,
    sample_time: i32,
    hold_time: i32,
) -> i32
Expand description

@brief set I2C data signal timing

@param i2c_num I2C port number @param sample_time clock number I2C used to sample data on SDA after the rising-edge of SCL, it’s a 10-bit value @param hold_time clock number I2C used to hold the data after the falling-edge of SCL, it’s a 10-bit value

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error