feat(esp_driver_gpio): support rtc_io edge wakeup deepsleep

This commit is contained in:
wuzhenghui
2026-05-20 11:04:00 +08:00
parent c67d98fb10
commit b7ec505923
12 changed files with 132 additions and 26 deletions
@@ -404,6 +404,16 @@ static inline void rtcio_ll_wakeup_disable(int rtcio_num)
LP_GPIO.pin[rtcio_num].int_type = 0;
}
/**
* Clear edge-wakeup latch.
*
* @param rtcio_num The index of rtcio. 0 ~ MAX(rtcio).
*/
static inline void rtcio_ll_clear_edge_wakeup_latch(int rtcio_num)
{
LP_GPIO.pin[rtcio_num].edge_wakeup_clr = 1;
}
/**
* Enable interrupt function and set interrupt type
*