2021-09-02 08:01 AM
__WFI(): (Wake up by Interrupt):
leads to a one wake up as expected but swallows some interrupts if more interrupt sources are simultaneously produce interrupts. The understanding of this behavior costed me a lot of time.
__WFE(): (Wake up by Interrupt or Even):
don't swallow simultaneous interrupts but leads to two wake ups controlled by the same source and consumes more power than allowed.
What is to do?
I need a solution, which wakes up main() by every interrupt source but that only one time.
.