General-purpose timers (TIM)
ï€ TIM_IT_Update : TIM update Interrupt source
ï€ TIM_IT_CC1 : TIM Capture Compare 1 Interrupt source
ï€ TIM_IT_CC2 : TIM Capture Compare 2 Interrupt source
ï€ TIM_IT_CC3 : TIM Capture Compare 3 Interrupt source
ï€ TIM_IT_CC4 : TIM Capture Compare 4 Interrupt source
ï€ TIM_IT_COM : TIM Commutation Interrupt source
ï€ TIM_IT_Trigger : TIM Trigger Interrupt source
ï€ TIM_IT_Break : TIM Break Interrupt source
ï‚· The new state of the TIM_IT(SET or RESET).
ï‚· TIM6 and TIM7 can generate only an update interrupt.
ï‚· TIM_IT_COM and TIM_IT_Break are used only with TIM1 and
TIM8.
22.2.15.6 TIM_ClearITPendingBit
void TIM_ClearITPendingBit ( TIM_TypeDef * TIMx, uint16_t
TIM_IT)
Clears the TIMx's interrupt pending bits.
ï‚· TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIM peripheral.
ï‚· TIM_IT : specifies the pending bit to clear. This parameter
can be any combination of the following values:
ï€ TIM_IT_Update : TIM1 update Interrupt source
ï€ TIM_IT_CC1 : TIM Capture Compare 1 Interrupt source
ï€ TIM_IT_CC2 : TIM Capture Compare 2 Interrupt source
ï€ TIM_IT_CC3 : TIM Capture Compare 3 Interrupt source
ï€ TIM_IT_CC4 : TIM Capture Compare 4 Interrupt source
ï€ TIM_IT_COM : TIM Commutation Interrupt source
ï€ TIM_IT_Trigger : TIM Trigger Interrupt source
ï€ TIM_IT_Break : TIM Break Interrupt source
ï‚· TIM6 and TIM7 can generate only an update interrupt.
ï‚· TIM_IT_COM and TIM_IT_Break are used only with TIM1 and
TIM8.