/* Forces the TIMx output 1 waveform to active or inactive level.  */
void TIM_ForcedOC1Config(TIM_TypeDef *TIMx, uint16_t TIM_ForcedAction)
/* Forces the TIMx output 1 waveform to active or inactive level.  */
void TIM_ForcedOC1Config(TIM_TypeDef *TIMx, uint16_t TIM_ForcedAction)
{
  uint32_t tmpccmr1 = 0;
  assert_param(IS_TIM_LIST1_PERIPH(TIMx));
  assert_param(IS_TIM_FORCED_ACTION(TIM_ForcedAction));
  tmpccmr1 = TIMx->CCMR1;
  tmpccmr1 &= (uint32_t)~TIM_CCMR1_OC1M;
  tmpccmr1 |= TIM_ForcedAction;
  TIMx->CCMR1 = tmpccmr1;
}