adc1_dma_mode_acquire() function
For I2S dma to claim the usage of ADC1. Other tasks will be forbidden to use ADC1 between ``adc1_dma_mode_acquire`` and ``adc1_i2s_release``. The I2S module may have to wait for a short time for the current conversion (if exist) to finish.
Return value
- ESP_OK success - ESP_ERR_TIMEOUT reserved for future use. Currently the function will wait until success.
![]()
adc1_dma_mode_acquire();
adc1_dma_mode_acquire() is called by 1 function and calls 7 functions:
![]()
adc1_dma_mode_acquire()
adc1_dma_mode_acquire() reads 8 variables:
![]()
adc1_dma_mode_acquire()