Merge branch 'feat/esp32c61_adc_support' into 'master'

ADC: support ADC oneshot and continuous mode on ESP32C61

Closes IDF-9302 and IDF-9304

See merge request espressif/esp-idf!32907
This commit is contained in:
Gao Xu
2024-11-11 10:22:47 +08:00
32 changed files with 1189 additions and 86 deletions

View File

@@ -565,7 +565,6 @@ static inline void adc_ll_enable_bus_clock(bool enable)
PCR.saradc_conf.saradc_reg_clk_en = enable;
}
#if SOC_RCC_IS_INDEPENDENT
/**
* @brief Enable the ADC function clock
* @param enable true to enable, false to disable
@@ -574,7 +573,6 @@ static inline void adc_ll_enable_func_clock(bool enable)
{
PCR.saradc_clkm_conf.saradc_clkm_en = enable;
}
#endif
/**
* @brief Reset ADC module