Function esp_idf_svc::sys::i2c_del_slave_device
source ยท pub unsafe extern "C" fn i2c_del_slave_device(
i2c_slave: *mut i2c_slave_dev_t,
) -> i32
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.