one of the following values:
TIM_IT_UPDATE: Update interrupt
TIM_IT_CC1: Capture/Compare 1
interrupt
TIM_IT_CC2: Capture/Compare 2
interrupt
TIM_IT_CC3: Capture/Compare 3
interrupt
TIM_IT_CC4: Capture/Compare 4
interrupt
TIM_IT_COM: Commutation interrupt
TIM_IT_TRIGGER: Trigger interrupt
TIM_IT_BREAK: Break interrupt
Return value:
None
__HAL_TIM_IS_TIM_COUNTING_DO
WN
Description:
Indicates whether or not the TIM Counter is
used as downcounter.
Parameters:
__HANDLE__: TIM handle.
Return value:
False: (Counter used as upcounter) or True
(Counter used as downcounter)
Notes:
This macro is particularly useful to get the
counting mode when the timer operates in
Center-aligned mode or Encoder mode.
Description:
Set the TIM Prescaler on runtime.
Parameters:
__HANDLE__: TIM handle.
__PRESC__: specifies the Prescaler new
value.
Return value:
None
TIM_RESET_ICPRESCALERVALUE
TIM_RESET_CAPTUREPOLARITY
Description:
Sets the TIM Capture Compare Register
value on runtime without calling another