/* Forces the TIMx output 4 waveform to active or inactive level.  */
void TIM_ForcedOC4Config(TIM_TypeDef *TIMx, uint16_t TIM_ForcedAction)
/* Forces the TIMx output 4 waveform to active or inactive level.  */
void TIM_ForcedOC4Config(TIM_TypeDef *TIMx, uint16_t TIM_ForcedAction)
{
    uint16_t tmpccmr2 = 0;
    assert_param(IS_TIM_123458_PERIPH(TIMx));
    assert_param(IS_TIM_FORCED_ACTION(TIM_ForcedAction));
    tmpccmr2 = TIMx->CCMR2;
    tmpccmr2 &= CCMR_OC24M_Mask;
    tmpccmr2 |= (uint16_t)(TIM_ForcedAction << 8);
    TIMx->CCMR2 = tmpccmr2;
}