/* Enables or disables the TIM Capture Compare Channel xN.  */
void TIM_CCxNCmd(TIM_TypeDef *TIMx, uint16_t TIM_Channel, uint16_t TIM_CCxN)
/* Enables or disables the TIM Capture Compare Channel xN.  */
void TIM_CCxNCmd(TIM_TypeDef *TIMx, uint16_t TIM_Channel, uint16_t TIM_CCxN)
{
    uint16_t tmp = 0;
    assert_param(IS_TIM_LIST2_PERIPH(TIMx));
    assert_param(IS_TIM_COMPLEMENTARY_CHANNEL(TIM_Channel));
    assert_param(IS_TIM_CCXN(TIM_CCxN));
    tmp = CCER_CCNE_SET << TIM_Channel;
    TIMx->CCER &= (uint16_t) ~tmp; 
    TIMx->CCER |=  (uint16_t)(TIM_CCxN << TIM_Channel);
}