/* Enables or disables the TIM Capture Compare Channel x.  */
void RTIM_CCxCmd(RTIM_TypeDef *TIMx, u16 TIM_Channel, u32 TIM_CCx)
/* Enables or disables the TIM Capture Compare Channel x.  */
void RTIM_CCxCmd(RTIM_TypeDef *TIMx, u16 TIM_Channel, u32 TIM_CCx)
{
	u32 tmpccmr = TIMx->CCMRx[TIM_Channel];
	assert_param(IS_TIM_CCM_TIM(TIMx)); 
	assert_param(IS_TIM_CHANNEL(TIM_Channel));
	assert_param(IS_TIM_CCX(TIM_CCx));
	tmpccmr &= ~TIM_CCER_CCxE;
	tmpccmr |= TIM_CCx; 
	TIMx->CCMRx[TIM_Channel] =  tmpccmr;
}