Function esp_idf_sys::i2c_set_timeout
source ยท pub unsafe extern "C" fn i2c_set_timeout(
i2c_num: i2c_port_t,
timeout: c_int,
) -> esp_err_t
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