[][src]Function esp_idf_sys::spicommon_periph_claim

pub unsafe extern "C" fn spicommon_periph_claim(host: spi_host_device_t) -> bool

@brief Try to claim a SPI peripheral

Call this if your driver wants to manage a SPI peripheral.

@param host Peripheral to claim @return True if peripheral is claimed successfully; false if peripheral already is claimed.