/* Configures the TIMx Output Compare 1 Fast feature.  */
void TIM_OC1FastConfig(TIM_TypeDef *TIMx, uint16_t TIM_OCFast)
/* Configures the TIMx Output Compare 1 Fast feature.  */
void TIM_OC1FastConfig(TIM_TypeDef *TIMx, uint16_t TIM_OCFast)
{
    uint16_t tmpccmr1 = 0;
    assert_param(IS_TIM_LIST4_PERIPH(TIMx));
    assert_param(IS_TIM_OCFAST_STATE(TIM_OCFast));
    tmpccmr1 = TIMx->CCMR1;
    tmpccmr1 &= (uint16_t)~((uint16_t)TIM_CCMR1_OC1FE);
    tmpccmr1 |= TIM_OCFast;
    TIMx->CCMR1 = tmpccmr1;
}