Ll_Tim_Setclockdivision; Ll_Tim_Getclockdivision - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_TIM_SetClockDivision

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_TIM_GetClockDivision

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
(TIM_TypeDef * TIMx)
Indicates whether auto-reload (ARR) preload is enabled.
TIMx: Timer instance
State: of bit (1 or 0).
CR1 ARPE LL_TIM_IsEnabledARRPreload
__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
None:
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.
CR1 CKD LL_TIM_SetClockDivision
__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.
TIMx: Timer instance
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.
CR1 CKD LL_TIM_GetClockDivision
DocID028236 Rev 2
LL TIM Generic Driver
1171/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF