Is it possible to let the XMEGA Event system wake up the controller from sleep? I can not find if that is possible. I can probably use an interrupt in parallell to the event to wake it up but is there another way?
It is the RTC compare match that will invoke the event.
/edit. No I will use either RTC or Timer 0. It depends on if I need a fast clock or if I need to put the CPU in power save mode during counting.