(TIM_TypeDef * TIMx, uint32_t CompareValue)
Set compare value for output channel 4 (TIMx_CCR4).
TIMx: Timer instance
CompareValue: between Min_Data=0 and
Max_Data=65535
In 32-bit timer implementations compare 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_CC4_INSTANCE(TIMx) can be used to check
whether or not output channel 4 is supported by a timer
instance.
Reference Manual to
LL API cross
reference:
CCR4 CCR4 LL_TIM_OC_SetCompareCH4
LL_TIM_OC_GetCompareCH1
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1
(TIM_TypeDef * TIMx)
Get compare value (TIMx_CCR1) set for output channel 1.
CompareValue: (between Min_Data=0 and
Max_Data=65535)
In 32-bit timer implementations returned compare 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 output channel 1 is supported by a timer
instance.
Reference Manual to
LL API cross
reference:
CCR1 CCR1 LL_TIM_OC_GetCompareCH1
LL_TIM_OC_GetCompareCH2
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2
(TIM_TypeDef * TIMx)
Get compare value (TIMx_CCR2) set for output channel 2.
CompareValue: (between Min_Data=0 and
Max_Data=65535)
In 32-bit timer implementations returned compare value can