Function esp_idf_sys::i2c_del_slave_device
source ยท pub unsafe extern "C" fn i2c_del_slave_device(
i2c_slave: i2c_slave_dev_handle_t,
) -> esp_err_t
Expand description
@brief Deinitialize the I2C slave device
@param[in] i2c_slave I2C slave device handle that created by i2c_new_slave_device
.
@return
- ESP_OK: Delete I2C device successfully.
- ESP_ERR_INVALID_ARG: I2C device initialization failed because of invalid argument.