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)
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
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