feat(bod): Update bod threshold on esp32p4-eco2

This commit is contained in:
C.S.M
2024-11-01 15:31:02 +08:00
parent 12d6cdb29a
commit 4049f2b5fb
5 changed files with 24 additions and 12 deletions
@@ -65,7 +65,8 @@ static inline void brownout_ll_reset_config(bool reset_ena, uint32_t reset_wait,
*/
static inline void brownout_ll_set_threshold(uint8_t threshold)
{
REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold);
REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD_L, threshold);
REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD_H, threshold);
}
/**