mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 13:27:36 +00:00
brownout: Disable the hardware BOD when BOD interrupt is enabled
This commit is contained in:
@@ -96,6 +96,16 @@ static inline void brownout_ll_intr_enable(bool enable)
|
||||
LP_ANA_PERI.int_ena.bod_mode0 = enable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Enable brownout hardware reset
|
||||
*
|
||||
* @param enable
|
||||
*/
|
||||
static inline void brownout_ll_ana_reset_enable(bool enable)
|
||||
{
|
||||
LP_ANA_PERI.bod_mode1_cntl.bod_mode1_reset_ena = enable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Clear interrupt bits.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user