feat(ulp): LP Timer interrupt support

This commit adds support for the LP Timer interrupt to be used by the LP
Core.

Merges https://github.com/espressif/esp-idf/pull/15717
This commit is contained in:
jath03
2025-04-08 19:04:41 -07:00
committed by Sudeep Mohanty
parent 53e84d9729
commit a9eba4058e
7 changed files with 52 additions and 1 deletions

View File

@@ -57,6 +57,11 @@ FORCE_INLINE_ATTR void lp_timer_ll_clear_overflow_intr_status(lp_timer_dev_t *de
dev->int_clr.overflow = 1;
}
FORCE_INLINE_ATTR void lp_timer_ll_lp_alarm_intr_enable(lp_timer_dev_t *dev, bool enable)
{
dev->lp_int_en.alarm = enable;
}
#ifdef __cplusplus
}
#endif