/* Configures the TIMx Output Compare 4 Fast feature.  */
void TIM_ConfigOc4Fast(TIM_Module *TIMx, uint16_t TIM_OCFast)
/* Configures the TIMx Output Compare 4 Fast feature.  */
void TIM_ConfigOc4Fast(TIM_Module *TIMx, uint16_t TIM_OCFast)
{
    uint16_t tmpccmr2 = 0;
    assert_param(IsTimList3Module(TIMx));
    assert_param(IsTimOcFastState(TIM_OCFast));
    tmpccmr2 = TIMx->CCMOD2;
    tmpccmr2 &= (uint16_t) ~((uint16_t)TIM_CCMOD2_OC4FEN);
    tmpccmr2 |= (uint16_t)(TIM_OCFast << 8);
    TIMx->CCMOD2 = tmpccmr2;
}