Exact wakeup reason from standy mode (STM32F429): RTC vs WKUP pin
Hi,
I am looking for a way to determine what caused a wakeup from standby mode, in my case the options are RTC or the WKUP pin (and if you have multiple, which pin).
In my case I only have one WKUP pin, so I could check the RTC and conclude if it was not the RTC then is must have been the one pin, but in borderline cases the RTC might expire after the pin wokeup the CPU but before I check the RTC which will lead to the wrong result. So a more direct way would be nice ....
( Duplicate of https://stackoverflow.com/questions/42509500/reason-of-wakeup-from-standby-mode-in-stm32f4 which does not have an answer at the time of writing)