cancel
Showing results for 
Search instead for 
Did you mean: 

Question on TIM 1 interrupts

xpp07
Senior

I would like to know more about the following interrupts so that I learn when to use them. Where can I find details about them?

TIM1 Break interrupt

TIM1 Update interrupt

TIM1 trigger and commutation interrupt, specially this one

TIM1 Capture Compare interrupt

1 REPLY 1

Look at TIMx_SR.TIF and TIMx_SR.COMIF description.

The commutation event is not described clearly; it refers to to CCxE/CCxNE bits when they are preloaded. Essentially, the COM event is generated by TRGI, or by setting TIMx_EGR.COMG. Search for "COM" through the TIM chapter.

JW