Merge branch 'feat/pwr_glitch_bringup_c5_c61' into 'master'

feat(pwr_glitch): Add power glitch reset support on esp32c5, esp32c61

See merge request espressif/esp-idf!33032
This commit is contained in:
Jiang Jiang Jian
2024-10-15 14:15:49 +08:00
11 changed files with 123 additions and 51 deletions

View File

@@ -113,8 +113,6 @@ static inline void brownout_ll_ana_reset_enable(bool enable)
LP_ANA_PERI.fib_enable.val &= ~BROWNOUT_DETECTOR_LL_FIB_ENABLE;
// then we can enable or disable if we want the BOD mode1 to reset the system
LP_ANA_PERI.bod_mode1_cntl.bod_mode1_reset_ena = enable;
// Disable the power glitch detect.
LP_ANA_PERI.fib_enable.val &= ~(BIT2|BIT3|BIT4|BIT5);
}
/**