i'm working with STM32F415RG and i want only ask a easy question.
I'ts possible to detect if the chip (during StandBy mode) is wakeup from RTC ALARM or from PA0-WKUP pin ? some flag will be setted ?
Doesn't the RTC flag this? RTC_ISR
Plus you know the time currently and of the alarms.
When you restart from Standby, both flags are '0', so you can't know if wakeup are from pa0-wkup pin or from RTC alarm.
Any way to detect it ?
Retrieving data ...