EasyManua.ls Logo

ST STM32F2 - Page 618

ST STM32F2
1371 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
HAL TIM Generic Driver
UM1940
618/1371
DocID028236 Rev 2
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.
__HAL_TIM_SET_PRESCALER
Description:
Set the TIM Prescaler on runtime.
Parameters:
__HANDLE__: TIM handle.
__PRESC__: specifies the Prescaler new
value.
Return value:
None
TIM_SET_ICPRESCALERVALUE
TIM_RESET_ICPRESCALERVALUE
TIM_SET_CAPTUREPOLARITY
TIM_RESET_CAPTUREPOLARITY
__HAL_TIM_SET_COMPARE
Description:
Sets the TIM Capture Compare Register
value on runtime without calling another

Table of Contents

Related product manuals