spi_slave_hal_dma_need_reset() function
Check whether we need to reset the DMA according to the status of last transactions. In ESP32, sometimes we may need to reset the DMA for the slave before the next transaction. Call this to check it.
Arguments
hal
Context of the HAL layer.
Return value
true if reset is needed, else false.
![]()
if (spi_slave_hal_dma_need_reset(hal)) {
spi_slave_hal_dma_need_reset() is called by 1 function:
![]()
spi_slave_hal_dma_need_reset()
spi_slave_hal_dma_need_reset() reads 6 variables:
![]()
spi_slave_hal_dma_need_reset()