spi: esp32s3 bringup for spi

This commit is contained in:
Armando
2020-09-08 17:05:49 +08:00
parent 286ccb203e
commit f7e91ef6c1
26 changed files with 675 additions and 343 deletions
@@ -150,6 +150,14 @@ bool spicommon_dma_chan_in_use(int dma_chan);
*/
bool spicommon_dma_chan_free(int dma_chan);
/**
* @brief Connect SPI and DMA peripherals
*
* @param host SPI peripheral
* @param dma_chan DMA channel
*/
void spicommon_connect_spi_and_dma(spi_host_device_t host, int dma_chan);
/**
* @brief Connect a SPI peripheral to GPIO pins
*