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)
|
||||
RTCCNTL.int_ena.rtc_brown_out = enable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Enable brownout hardware reset
|
||||
*
|
||||
* @param enable
|
||||
*/
|
||||
static inline void brownout_ll_ana_reset_enable(bool enable)
|
||||
{
|
||||
RTCCNTL.brown_out.ana_rst_en = enable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Clear interrupt bits.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user