/* Enables or disables the TIM Capture Compare Channel x.  */
void TIM_CCxCmd(TIM_TypeDef *tim, TIMCHx_Typedef channel, TIMCCxE_Typedef ccx_en)
/* Enables or disables the TIM Capture Compare Channel x.  */
void TIM_CCxCmd(TIM_TypeDef *tim, TIMCHx_Typedef channel, TIMCCxE_Typedef ccx_en)
{
    MODIFY_REG(tim->CCER, TIM_CCER_CC1EN << channel, ccx_en << channel);
}