mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 20:00:53 +00:00
fix(adc): fixed adc function register not reset issue
This commit is contained in:
@@ -580,6 +580,8 @@ static inline void adc_ll_enable_func_clock(bool enable)
|
||||
*/
|
||||
static inline void adc_ll_reset_register(void)
|
||||
{
|
||||
PCR.saradc_conf.saradc_rst_en = 1;
|
||||
PCR.saradc_conf.saradc_rst_en = 0;
|
||||
PCR.saradc_conf.saradc_reg_rst_en = 1;
|
||||
PCR.saradc_conf.saradc_reg_rst_en = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user