Thank you for reply
Sure, I provide the KLQRUG.pdf link.
http://cache.freescale.com/files/32bit/doc/quick_ref_guide/KLQRUG.
If you open the pdf go to 5.4.2.4 LLWU port and module interrupt section. you will see some example code attached 'enable_irq(RTCA_irq_no)'. I do not have this function or constant generated by PE.
Basically, what I want to do is put the uC in LLS mode for 1 minute, then wake up by RTC alarm and run some instructions such as toggling LEDs, then go back to LLS mode again. keep doing this as a loop. However, when I wake up uC, finished toggling LEDs, it just do not go back to LLS mode. it keeps run the Cpu_OnLLSWakeUpINT() event. It seems it just keep running interrupt.
Do you have any idea?
Thank you