mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user