LL_TIM_CC_EnablePreload
__STATIC_INLINE void LL_TIM_CC_EnablePreload
(TIM_TypeDef * TIMx)
Enable the capture/compare control bits (CCxE, CCxNE and
OCxM) preload.
CCxE, CCxNE and OCxM bits are preloaded, after having
been written, they are updated only when a commutation
event (COM) occurs.
Only on channels that have a complementary output.
Macro IS_TIM_COMMUTATION_EVENT_INSTANCE(TIMx)
can be used to check whether or not a timer instance is able
to generate a commutation event.
Reference Manual to
LL API cross
reference:
CR2 CCPC LL_TIM_CC_EnablePreload
LL_TIM_CC_DisablePreload
__STATIC_INLINE void LL_TIM_CC_DisablePreload
(TIM_TypeDef * TIMx)
Disable the capture/compare control bits (CCxE, CCxNE and
OCxM) preload.
Macro IS_TIM_COMMUTATION_EVENT_INSTANCE(TIMx)
can be used to check whether or not a timer instance is able
to generate a commutation event.
Reference Manual to
LL API cross
reference:
CR2 CCPC LL_TIM_CC_DisablePreload
LL_TIM_CC_SetUpdate
__STATIC_INLINE void LL_TIM_CC_SetUpdate (TIM_TypeDef
* TIMx, uint32_t CCUpdateSource)
Set the updated source of the capture/compare control bits (CCxE,
CCxNE and OCxM).
TIMx: Timer instance
CCUpdateSource: This parameter can be one of the
following values:
LL_TIM_CCUPDATESOURCE_COMG_ONLY
LL_TIM_CCUPDATESOURCE_COMG_AND_TRGI
Macro IS_TIM_COMMUTATION_EVENT_INSTANCE(TIMx)