Function esp_idf_svc::hal::sys::i2c_driver_delete
source ยท pub unsafe extern "C" fn i2c_driver_delete(i2c_num: u32) -> i32
Expand description
@brief Delete I2C driver
@note This function does not guarantee thread safety. Please make sure that no thread will continuously hold semaphores before calling the delete function.
@param i2c_num I2C port to delete
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error