mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(esp_driver_gpio): support rtc_io edge wakeup deepsleep
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user