2018-09-18 05:50 AM
I am working with the STM32F4 family. External interrupts have a register called EXTI->SWIER that makes it possible to generate external interrupt from software. Do the timers have something similar, a register that I can use to generate timer interrupts in software?
Solved! Go to Solution.
2018-09-18 05:57 AM
2018-09-18 05:57 AM
TIMx_EGR
JW
2018-09-18 06:09 AM
Thanks!
2018-09-18 06:32 AM
Hi @arnold_w ,
Correct you have to use the TIMx_EGR as suggested by Jan.
Just do not forget to enable the interrupt in TIMx_DIER register.
Khouloud.