Resolved! differentiate wake-up reason between two interrupts: RTC & GPIO_EXTI ?
In my system, I initialised two interrupts for wake-up from STOP2 mode, after exiting STOP2 mode, how do I know that the system is waking up by RTC timer or interrupt pin? Is there any variable that I can check after waking up to find the reason why ...