Hi
I have a small problem that I need help with. In my program I put the MSP in LMP4, with port 1 interrupt enabled. In this interrupt I need to know if the MSP is going to return to LPM4 or if it is in normal (active) state. The port 1 interrupt is also enabled when the program is running.
Is there any register I can check if the MSP is to return to LPM4, or is the easiest way just to have a global variable that tells me what kind of stat the MSP is running (LPM4/Active)?