Function esp_idf_svc::hal::sys::i2c_master_bus_reset
source ยท pub unsafe extern "C" fn i2c_master_bus_reset(
bus_handle: *mut i2c_master_bus_t,
) -> i32
Expand description
@brief Reset the I2C master bus.
@param bus_handle I2C bus handle. @return - ESP_OK: Reset succeed. - ESP_ERR_INVALID_ARG: I2C master bus handle is not initialized. - Otherwise: Reset failed.