This question already has an answer here:

I am configuring GPIOs for stm32f0 MCU using CubeMX. I encountered this "GPIO mode" setting. It seems that GPIO mode can be triggered by "External event mode" or "External interrupt mode". See image below. What is the difference between "External event mode" and "External interrupt mode"? Under what situation should one use "External event mode" versus "External interrupt mode"?

enter image description here


marked as duplicate by Chris Stratton, Turbo J, uint128_t, PeterJ, Dmitry Grigoryev May 23 '16 at 11:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ This ought to be covered in STs technical reference documentation for the part. Its related to how you can detect activity on the pins. Event might relate to using the GPIO to wake from a sleep state, but yoiu need to check. \$\endgroup\$ – Sean Houlihane May 22 '16 at 12:34
  • \$\begingroup\$ I tried reading the reference document. I probably missed it out because it is 771 pages. I will try again. \$\endgroup\$ – user768421 May 22 '16 at 12:45
  • 4
    \$\begingroup\$ This has already been addressed at Stm32 Event and interrupts any additional followup should go there to keep the topic in one place. \$\endgroup\$ – Chris Stratton May 22 '16 at 18:27