Merge branch 'feature/c6_ulp_sleep' into 'master'

ulp: added sleep support for lp core

Closes IDF-7012

See merge request espressif/esp-idf!23103
This commit is contained in:
Zim Kalinowski
2023-04-25 22:40:52 +08:00
33 changed files with 307 additions and 27 deletions

View File

@@ -506,6 +506,11 @@ FORCE_INLINE_ATTR bool pmu_ll_hp_is_sleep_reject(pmu_dev_t *hw)
return (hw->hp_ext.int_raw.reject == 1);
}
FORCE_INLINE_ATTR void pmu_ll_hp_clear_sw_intr_status(pmu_dev_t *hw)
{
hw->hp_ext.int_clr.sw = 1;
}
FORCE_INLINE_ATTR void pmu_ll_hp_clear_wakeup_intr_status(pmu_dev_t *hw)
{
hw->hp_ext.int_clr.wakeup = 1;