/* Configures the TIMx Output Compare 2 Fast feature.  */
void TIM_ConfigOc2Fast(TIM_Module *TIMx, uint16_t TIM_OCFast)
/* Configures the TIMx Output Compare 2 Fast feature.  */
void TIM_ConfigOc2Fast(TIM_Module *TIMx, uint16_t TIM_OCFast)
{
    uint16_t tmpccmr1 = 0;
    assert_param(IsTimList6Module(TIMx));
    assert_param(IsTimOcFastState(TIM_OCFast));
    tmpccmr1 = TIMx->CCMOD1;
    tmpccmr1 &= (uint16_t) ~((uint16_t)TIM_CCMOD1_OC2FEN);
    tmpccmr1 |= (uint16_t)(TIM_OCFast << 8);
    TIMx->CCMOD1 = tmpccmr1;
}