cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI event. Se what event woke the MCU?

sima2
Associate III

I'm using multiple external events through GPIO to wake the MCU from sleep. How can I check what source caused the event? Is there a register that I can read? What I understand is that the WFE instruction also clears the event register so I assume all traces of the event is lost?

1 REPLY 1

EXTI events are not latched.

EXTI interrupts are latched in EXTI_PR. See the EXTI chapter in manual.

JW