mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 00:21:44 +01:00
ulp: document the need to wait for RTC to be ready for wakeup
This commit is contained in:
@@ -105,7 +105,7 @@ exit:
|
||||
.global wake_up
|
||||
wake_up:
|
||||
/* Check if the system can be woken up */
|
||||
READ_RTC_REG(RTC_CNTL_DIAG0_REG, 19, 1)
|
||||
READ_RTC_FIELD(RTC_CNTL_LOW_POWER_ST_REG, RTC_CNTL_RDY_FOR_WAKEUP)
|
||||
and r0, r0, 1
|
||||
jump exit, eq
|
||||
|
||||
|
||||
Reference in New Issue
Block a user