Hi! Use LPMn; to go sleep and user LPMn_EXIT; (in ISR routines) to wake up (n = 0..3 LPM level – check in the data sheet).
Krisztian From: [email protected] [mailto:[email protected]] On Behalf Of Ori Idan Sent: Tuesday, September 18, 2007 3:55 PM To: [email protected] Subject: [Mspgcc-users] Exiting from low power mode When I enter a low power mode, I set bits in register SR I understand that this register is pushed on the stack when entering interrupt service routine. How do I change the SR from within the interrupt service routine so that I can exit low power mode when returning from the interrupt? I would like to do it in C without resorting to assembly. -- Ori Idan
