Function esp_idf_svc::hal::sys::i2c_set_timeout

source ยท
pub unsafe extern "C" fn i2c_set_timeout(
    i2c_num: u32,
    timeout: i32,
) -> i32
Expand description

@brief set I2C timeout value @param i2c_num I2C port number @param timeout timeout value for I2C bus (unit: APB 80Mhz clock cycle) @return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error