mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-16 08:59:13 +00:00
feat(pwr_glitch): Add power glitch support on esp32c5/esp32c61
This commit is contained in:

committed by
zhoupeng

parent
1662e28718
commit
e1423c53d5
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user