i2c_driver_delete() function
Delete I2C driver
Arguments
i2c_num
I2C port to delete
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
Notes
This function does not guarantee thread safety. Please make sure that no thread will continuously hold semaphores before calling the delete function.
Examples
i2c_driver_delete() is referenced by 6 libraries and example projects: