Merge branch 'feature/lp_core_etm' into 'master'

feat(lp-core): added support for using ETM events as wake-up source

Closes IDF-10201 and IDF-6360

See merge request espressif/esp-idf!31810
This commit is contained in:
Marius Vikhammer
2024-07-08 12:23:03 +08:00
23 changed files with 404 additions and 6 deletions

View File

@@ -148,6 +148,15 @@ static inline void lp_core_ll_request_sleep(void)
PMU.lp_ext.pwr1.sleep_req = 1;
}
/**
* @brief Clear the ETM wakeup interrupt sources on the LP core
*
*/
static inline void lp_core_ll_clear_etm_wakeup_status(void)
{
LP_SYS.sys_ctrl.lp_core_etm_wakeup_flag_clr = 1;
}
#ifdef __cplusplus
}
#endif