EasyManua.ls Logo

ST STM32F2 - Page 620

ST STM32F2
1371 pages
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
620/1371
DocID028236 Rev 2
None
__HAL_TIM_GET_COUNTER
Description:
Gets the TIM Counter Register value on
runtime.
Parameters:
__HANDLE__: TIM handle.
Return value:
16-bit: or 32-bit value of the timer counter
register (TIMx_CNT)
__HAL_TIM_SET_AUTORELOAD
Description:
Sets the TIM Autoreload Register value on
runtime without calling another time any Init
function.
Parameters:
__HANDLE__: TIM handle.
__AUTORELOAD__: specifies the Counter
register new value.
Return value:
None
__HAL_TIM_GET_AUTORELOAD
Description:
Gets the TIM Autoreload Register value on
runtime.
Parameters:
__HANDLE__: TIM handle.
Return value:
16-bit: or 32-bit value of the timer auto-
reload register(TIMx_ARR)
__HAL_TIM_SET_CLOCKDIVISION
Description:
Sets the TIM Clock Division value on
runtime without calling another time any Init
function.
Parameters:
__HANDLE__: TIM handle.
__CKD__: specifies the clock division
value. This parameter can be one of the
following value:
TIM_CLOCKDIVISION_DIV1:
tDTS=tCK_INT
TIM_CLOCKDIVISION_DIV2:
tDTS=2*tCK_INT
TIM_CLOCKDIVISION_DIV4:
tDTS=4*tCK_INT

Table of Contents

Related product manuals