[][src]Function esp_idf_sys::spicommon_dma_chan_claim

pub unsafe extern "C" fn spicommon_dma_chan_claim(dma_chan: c_int) -> bool

@brief Try to claim a SPI DMA channel

Call this if your driver wants to use SPI with a DMA channnel.

@param dma_chan channel to claim

@return True if success; false otherwise.