You could save the RTC time before sleep in a backup register and then read RTC when you wakeup and compare.
↧
You could save the RTC time before sleep in a backup register and then read RTC when you wakeup and compare.