/* Forces the TIMx output 2 waveform to active or inactive level.  */
void TIM_ConfigForcedOc2(TIM_Module *TIMx, uint16_t TIM_ForcedAction)
/* Forces the TIMx output 2 waveform to active or inactive level.  */
void TIM_ConfigForcedOc2(TIM_Module *TIMx, uint16_t TIM_ForcedAction)
{
    uint16_t tmpccmr1 = 0;
    assert_param(IsTimList6Module(TIMx));
    assert_param(IsTimForceActive(TIM_ForcedAction));
    tmpccmr1 = TIMx->CCMOD1;
    tmpccmr1 &= (uint16_t) ~((uint16_t)TIM_CCMOD1_OC2M);
    tmpccmr1 |= (uint16_t)(TIM_ForcedAction << 8);
    TIMx->CCMOD1 = tmpccmr1;
}