adc_hal_digi_sample_freq_config() function
For esp32s2 and later chips - Set ADC digital controller clock division factor. The clock is divided from `APLL` or `APB` clock. Expression: controller_clk = APLL/APB * (div_num + div_a / div_b + 1). - Enable clock and select clock source for ADC digital controller. For esp32, use I2S clock
adc_hal_digi_sample_freq_config() is called by 1 function and calls 4 functions:
![]()
adc_hal_digi_sample_freq_config()
adc_hal_digi_sample_freq_config() reads 2 variables:
![]()
adc_hal_digi_sample_freq_config()