EasyManuals Logo

ST STM32F2 User Manual

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
Page #1170 background imageLoading...
Page #1170 background image
LL TIM Generic Driver
UM1940
1170/1371
DocID028236 Rev 2
reference:
CR1 CMS LL_TIM_SetCounterMode
LL_TIM_GetCounterMode
Function name
__STATIC_INLINE uint32_t LL_TIM_GetCounterMode
(TIM_TypeDef * TIMx)
Function description
Get actual counter mode.
Parameters
TIMx: Timer instance
Return values
Returned: value can be one of the following values:
LL_TIM_COUNTERMODE_UP
LL_TIM_COUNTERMODE_DOWN
LL_TIM_COUNTERMODE_CENTER_UP
LL_TIM_COUNTERMODE_CENTER_DOWN
LL_TIM_COUNTERMODE_CENTER_UP_DOWN
Notes
Macro
IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx) can
be used to check whether or not the counter mode selection
feature is supported by a timer instance.
Reference Manual to
LL API cross
reference:
CR1 DIR LL_TIM_GetCounterMode
CR1 CMS LL_TIM_GetCounterMode
LL_TIM_EnableARRPreload
Function name
__STATIC_INLINE void LL_TIM_EnableARRPreload
(TIM_TypeDef * TIMx)
Function description
Enable auto-reload (ARR) preload.
Parameters
TIMx: Timer instance
Return values
None:
Reference Manual to
LL API cross
reference:
CR1 ARPE LL_TIM_EnableARRPreload
LL_TIM_DisableARRPreload
Function name
__STATIC_INLINE void LL_TIM_DisableARRPreload
(TIM_TypeDef * TIMx)
Function description
Disable auto-reload (ARR) preload.
Parameters
TIMx: Timer instance
Return values
None:
Reference Manual to
LL API cross
reference:
CR1 ARPE LL_TIM_DisableARRPreload
LL_TIM_IsEnabledARRPreload
Function name
__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals