cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI events vs interrupts

Posted on November 29, 2016 at 21:50

Hello there,

I am having hard time understanding what is the difference between external interrupt and external event. I was always using the former. I would appreciate if someone could point out the practical difference between those 2, as for now I only see it as 2 different interrupt sources for the same thing.

https://dl.dropboxusercontent.com/u/14154631/EXTI%20block%20diagram.png

1 REPLY 1
Radosław
Senior II
Posted on November 30, 2016 at 09:36

there are 3 options:

1. EXTI->IMR & NVIC enabled you get interrupt

2. EXTI->IMR & NVIC disabled you get flag in PR

3. EXTI->EMR you get only wake-up PR is not set