AnsweredAssumed Answered

LLWU + PORT interrupt

Question asked by Martin Dusek on May 31, 2013
Latest reply on Feb 19, 2015 by Mark Butcher


I have configured single pin both to generate interrupt (in PORTx_PCRn register) and to wake MCU (MK20DN512VLL10) from LLS (LLWU_PEn register).


I have enabled both interrupts in NVIC.


When MCU wakes up, will both interrupt handlers (LLW_IRQHandler and PORTx_IRQHandler) be invoked? Or only  LLW_IRQHandler?


When MCU wakes up, are PORTx_IRQHandler and LLW_IRQHandler invoked according to their interrupt priority (higher priority first)?


Does clearing of ISF bit in PORTx_PCRn also clear corresponding bit in LLWU_Fx?


Does clearing bit in LLWU_Fx also clear corresponding ISF bit in PORTx_PCRn?

Best regards