Set the OCREF clear input 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
-
| TIMx | Timer instance |
| OCRefClearInputSource | This parameter can be one of the following values:
- LL_TIM_OCREF_CLR_INT_NC
- LL_TIM_OCREF_CLR_INT_ETR
|
- Return values
-
Definition at line 3998 of file stm32l4xx_ll_tim.h.
4000 MODIFY_REG(TIMx->SMCR, TIM_SMCR_OCCS, OCRefClearInputSource);
MODIFY_REG(hrtc->Instance->CR, RTC_CR_WUCKSEL,(uint32_t) WakeUpClock)