Ll_Tim_Isenabledupdateevent; Ll_Tim_Setupdatesource; Ll_Tim_Getupdatesource - ST STM32F2 User Manual

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

Advertisement

LL TIM Generic Driver

LL_TIM_IsEnabledUpdateEvent

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

LL_TIM_SetUpdateSource

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

LL_TIM_GetUpdateSource

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
1168/1371
__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent
(TIM_TypeDef * TIMx)
Indicates whether update event generation is enabled.
TIMx: Timer instance
State: of bit (1 or 0).
CR1 UDIS LL_TIM_IsEnabledUpdateEvent
__STATIC_INLINE void LL_TIM_SetUpdateSource
(TIM_TypeDef * TIMx, uint32_t UpdateSource)
Set update event source.
TIMx: Timer instance
UpdateSource: This parameter can be one of the following
values:
LL_TIM_UPDATESOURCE_REGULAR
LL_TIM_UPDATESOURCE_COUNTER
None:
Update event source set to
LL_TIM_UPDATESOURCE_REGULAR: any of the following
events generate an update interrupt or DMA request if
enabled: Counter overflow/underflowSetting the UG bitUpdate
generation through the slave mode controller
Update event source set to
LL_TIM_UPDATESOURCE_COUNTER: only counter
overflow/underflow generates an update interrupt or DMA
request if enabled.
CR1 URS LL_TIM_SetUpdateSource
__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource
(TIM_TypeDef * TIMx)
Get actual event update source.
TIMx: Timer instance
Returned: value can be one of the following values:
LL_TIM_UPDATESOURCE_REGULAR
LL_TIM_UPDATESOURCE_COUNTER
CR1 URS LL_TIM_GetUpdateSource
DocID028236 Rev 2
UM1940

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?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF