/* Forces the tim output 4 waveform to active or inactive level.  */
void TIM_ForcedOC4Config(TIM_TypeDef *tim, TIMOCMODE_Typedef forced_action)
/* Forces the tim output 4 waveform to active or inactive level.  */
void TIM_ForcedOC4Config(TIM_TypeDef *tim, TIMOCMODE_Typedef forced_action)
{
    MODIFY_REG(tim->CCMR2, TIM_CCMR2_OC4M, forced_action << 8);
}