TUKS MCU Introductory course / TUKS-COURSE-TIMER
Embed: (wiki syntax)

« Back to documentation index

OCREF_Clear_Management

OCREF_Clear_Management
[TIM Exported Functions]

Functions

__STATIC_INLINE void LL_TIM_SetOCRefClearInputSource (TIM_TypeDef *TIMx, uint32_t OCRefClearInputSource)
 Set the OCREF clear source.

Function Documentation

__STATIC_INLINE void LL_TIM_SetOCRefClearInputSource ( TIM_TypeDef *  TIMx,
uint32_t  OCRefClearInputSource 
)

Set the OCREF clear source.

Note:
The OCxREF signal of a given channel can be cleared when a high level is applied on the OCREF_CLR_INPUT
This function can only be used in Output compare and PWM modes. SMCR OCCS LL_TIM_SetOCRefClearInputSource
Parameters:
TIMxTimer instance
OCRefClearInputSourceThis parameter can be one of the following values:

  • LL_TIM_OCREF_CLR_INT_NC
  • LL_TIM_OCREF_CLR_INT_ETR
Return values:
None

Definition at line 3813 of file stm32l4xx_ll_tim.h.