Indicates whether auto-reload (ARR) preload is enabled.
Reference Manual to
LL API cross
reference:
CR1 ARPE LL_TIM_IsEnabledARRPreload
LL_TIM_SetClockDivision
__STATIC_INLINE void LL_TIM_SetClockDivision
(TIM_TypeDef * TIMx, uint32_t ClockDivision)
Set the division ratio between the timer clock and the sampling
clock used by the dead-time generators (when supported) and the
digital filters.
TIMx: Timer instance
ClockDivision: This parameter can be one of the following
values:
LL_TIM_CLOCKDIVISION_DIV1
LL_TIM_CLOCKDIVISION_DIV2
LL_TIM_CLOCKDIVISION_DIV4
Macro IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx) can be
used to check whether or not the clock division feature is
supported by the timer instance.
Reference Manual to
LL API cross
reference:
CR1 CKD LL_TIM_SetClockDivision
LL_TIM_GetClockDivision
__STATIC_INLINE uint32_t LL_TIM_GetClockDivision
(TIM_TypeDef * TIMx)
Get the actual division ratio between the timer clock and the
sampling clock used by the dead-time generators (when
supported) and the digital filters.
Returned: value can be one of the following values:
LL_TIM_CLOCKDIVISION_DIV1
LL_TIM_CLOCKDIVISION_DIV2
LL_TIM_CLOCKDIVISION_DIV4
Macro IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx) can be
used to check whether or not the clock division feature is
supported by the timer instance.
Reference Manual to
LL API cross
CR1 CKD LL_TIM_GetClockDivision