Function esp_idf_svc::hal::sys::spi_slave_free

source ยท
pub unsafe extern "C" fn spi_slave_free(host: u32) -> i32
Expand description

@brief Free a SPI bus claimed as a SPI slave interface

@param host SPI peripheral to free @return - ESP_ERR_INVALID_ARG if parameter is invalid - ESP_ERR_INVALID_STATE if not all devices on the bus are freed - ESP_OK on success