feat(esp_hw_support): support switch to VBAT power supply in deepsleep on esp32p4

This commit is contained in:
wuzhenghui
2025-02-24 14:37:24 +08:00
parent 190eca39b2
commit 9b5944b795
21 changed files with 317 additions and 41 deletions

View File

@@ -102,6 +102,7 @@ static inline void vbat_ll_set_charger_resistor(uint32_t resistor)
*/
static inline void vbat_ll_start_battery_charge(bool start)
{
LP_ANA_PERI.vddbat_charge_cntl.vddbat_charge_charger = start;
LP_ANA_PERI.vddbat_bod_cntl.vddbat_charger = start;
}