feat(esp_hw_support): allow lp io clk close in cpu start

This commit is contained in:
hebinglin
2026-05-21 19:53:51 +08:00
parent d7a2e15164
commit b46b72cf19
15 changed files with 97 additions and 9 deletions
@@ -529,6 +529,11 @@ FORCE_INLINE_ATTR void pmu_ll_hp_enable_sw_intr(pmu_dev_t *hw, bool enable)
hw->hp_ext.int_ena.sw = enable;
}
FORCE_INLINE_ATTR uint32_t pmu_ll_hp_get_wakeup_enable(pmu_dev_t *hw)
{
return hw->wakeup.cntl2;
}
FORCE_INLINE_ATTR uint32_t pmu_ll_hp_get_wakeup_cause(pmu_dev_t *hw)
{
return hw->wakeup.status0;