If an XMEGA is woken up from sleep but misses the interrupt that caused it, does it go back to sleep or continue executing code?
Specifically, I have an xmega that needs to be woken from sleep mode by one of three things, two of which are port pins (the other is the RTC, but I'm not as worried about that). Thanks to some hardware design that was out of my control, at least one of the wakeup pins is only going to be partially asynchronous, which is to say that if it changes then changes back before the xmega can come out of sleep, the interrupt will not be generated. I'm not that worried about figuring out which interrupt woke me since they all do the same thing, I was just wondering what will happen. If the chip wakes up and sees no interrupts, will it go back to sleep, or continue executing code from where it left off?