Skip to main content
sima2
Associate III
April 16, 2019
Question

EXTI event. Se what event woke the MCU?

  • April 16, 2019
  • 1 reply
  • 1124 views

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?

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
April 16, 2019

EXTI events are not latched.

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

JW