Ll_Tim_Setonepulsemode; Ll_Tim_Getonepulsemode; Ll_Tim_Setcountermode - ST STM32F2 User Manual

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

Advertisement

UM1940

LL_TIM_SetOnePulseMode

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

LL_TIM_GetOnePulseMode

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

LL_TIM_SetCounterMode

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
__STATIC_INLINE void LL_TIM_SetOnePulseMode
(TIM_TypeDef * TIMx, uint32_t OnePulseMode)
Set one pulse mode (one shot v.s.
TIMx: Timer instance
OnePulseMode: This parameter can be one of the following
values:
LL_TIM_ONEPULSEMODE_SINGLE
LL_TIM_ONEPULSEMODE_REPETITIVE
None:
CR1 OPM LL_TIM_SetOnePulseMode
__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode
(TIM_TypeDef * TIMx)
Get actual one pulse mode.
TIMx: Timer instance
Returned: value can be one of the following values:
LL_TIM_ONEPULSEMODE_SINGLE
LL_TIM_ONEPULSEMODE_REPETITIVE
CR1 OPM LL_TIM_GetOnePulseMode
__STATIC_INLINE void LL_TIM_SetCounterMode
(TIM_TypeDef * TIMx, uint32_t CounterMode)
Set the timer counter counting mode.
TIMx: Timer instance
CounterMode: This parameter 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
None:
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.
CR1 DIR LL_TIM_SetCounterMode
DocID028236 Rev 2
LL TIM Generic Driver
1169/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