__HAL_TIM_ENABLE_IT macro
Enable the specified TIM interrupt.
Syntax
#define __HAL_TIM_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DIER |= (__INTERRUPT__)) Arguments
__HANDLE__
specifies the TIM Handle.
__INTERRUPT__
specifies the TIM interrupt source to enable. This parameter can be one of the following values: @arg TIM_IT_UPDATE: Update interrupt @arg TIM_IT_CC1: Capture/Compare 1 interrupt @arg TIM_IT_CC2: Capture/Compare 2 interrupt @arg TIM_IT_CC3: Capture/Compare 3 interrupt @arg TIM_IT_CC4: Capture/Compare 4 interrupt @arg TIM_IT_COM: Commutation interrupt @arg TIM_IT_TRIGGER: Trigger interrupt @arg TIM_IT_BREAK: Break interrupt
Return value
None
Examples
__HAL_TIM_ENABLE_IT is referenced by 163 libraries and example projects: