Associate II
March 23, 2017
Solved
TIM2 interrupt behaviour
- March 23, 2017
- 2 replies
- 1535 views
Posted on March 23, 2017 at 13:47
I am using TIM2.CH2 input compare. No other interrupts are activated except TIM2.CH2. In TIM2_IRQ handler all IC bits except CH2 are set. Why?
Using STM32Discovery on IAR. I expect TIM2_IRQ to fire up on trigger from outside. It does but CH2 interrupt ic leared and all other 3 IC interrupt bits are SET. Why?