EasyManua.ls Logo

ST STM32F2

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
Loading...
LL TIM Generic Driver
UM1940
1196/1371
DocID028236 Rev 2
LL_TIM_IC_GetCaptureCH1
Function name
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1
(TIM_TypeDef * TIMx)
Function description
Get captured value for input channel 1.
Parameters
TIMx: Timer instance
Return values
CapturedValue: (between Min_Data=0 and
Max_Data=65535)
Notes
In 32-bit timer implementations returned captured value can
be between 0x00000000 and 0xFFFFFFFF.
Macro IS_TIM_32B_COUNTER_INSTANCE(TIMx) can be
used to check whether or not a timer instance supports a 32
bits counter.
Macro IS_TIM_CC1_INSTANCE(TIMx) can be used to check
whether or not input channel 1 is supported by a timer
instance.
Reference Manual to
LL API cross
reference:
CCR1 CCR1 LL_TIM_IC_GetCaptureCH1
LL_TIM_IC_GetCaptureCH2
Function name
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2
(TIM_TypeDef * TIMx)
Function description
Get captured value for input channel 2.
Parameters
TIMx: Timer instance
Return values
CapturedValue: (between Min_Data=0 and
Max_Data=65535)
Notes
In 32-bit timer implementations returned captured value can
be between 0x00000000 and 0xFFFFFFFF.
Macro IS_TIM_32B_COUNTER_INSTANCE(TIMx) can be
used to check whether or not a timer instance supports a 32
bits counter.
Macro IS_TIM_CC2_INSTANCE(TIMx) can be used to check
whether or not input channel 2 is supported by a timer
instance.
Reference Manual to
LL API cross
reference:
CCR2 CCR2 LL_TIM_IC_GetCaptureCH2
LL_TIM_IC_GetCaptureCH3
Function name
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3
(TIM_TypeDef * TIMx)
Function description
Get captured value for input channel 3.
Parameters
TIMx: Timer instance
Return values
CapturedValue: (between Min_Data=0 and
Max_Data=65535)

Table of Contents

Related product manuals