adc1_rtc_mode_acquire() function
For ADC1 to claim the usage of ADC1. Other tasks will be forbidden to use ADC1 between ``adc1_rtc_mode_acquire`` and ``adc1_i2s_release``. The ADC1 may have to wait for some time for the I2S read operation to finish.
Return value
- ESP_OK success - ESP_ERR_TIMEOUT reserved for future use. Currently the function will wait until success.
![]()
adc1_rtc_mode_acquire();
adc1_rtc_mode_acquire() is called by 1 function and calls 5 functions:
![]()
adc1_rtc_mode_acquire()
adc1_rtc_mode_acquire() reads 2 variables:
![]()
adc1_rtc_mode_acquire()