Hello,
My code needs to sometimes waking up from LPM4.5(via I/O pin interrupt) and sometime from LPM3.5(via RTC interrupt)
In the past when I had only one low power mode, my main always used the " if (SYSRSTIV == SYSRSTIV_LPM5WU) " check to see if I am coming from low power mode in order to execute specific tasks if true.
However, now that I need to wakeup from either LPM4.5 or LMP3.5 mode, I am not sure how to check and differentiate in my main, wether I am coming from LPM4.5 or LMP3.5.
Any help is truly appreciated.
Thank you,
Admir