void TIM_ClearOC1Ref(TIM_TypeDef* TIMx, uint16_t TIM_OCClear)
TIM_OCClear | 説明 |
TIM_OCClear_Enable | TIMx Output Compare Clear enable. |
TIM_OCClear_Disable | TIMx Output Compare Clear disable. |
/* Enable the TIM1 Channel1 Ouput Compare Refence clear bit */ TIM_ClearOC1Ref(TIM1, TIM_OCClear_Enable);