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