Function esp_idf_svc::sys::spi_bus_remove_device

source ยท
pub unsafe extern "C" fn spi_bus_remove_device(
    handle: *mut spi_device_t,
) -> i32
Expand description

@brief Remove a device from the SPI bus

@param handle Device handle to free @return - ESP_ERR_INVALID_ARG if parameter is invalid - ESP_ERR_INVALID_STATE if device already is freed - ESP_OK on success