/* Stops the TIM Output Compare signal generation in interrupt mode.  */
static void SINGLE_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t tim_it)
/* Stops the TIM Output Compare signal generation in interrupt mode.  */
static void SINGLE_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t tim_it)
{
  assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
  __HAL_TIM_DISABLE_IT(htim, tim_it);
  TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
  if(IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
  {
    htim->Instance->BDTR &= ~(TIM_BDTR_MOE);
  }
  htim->Instance->BDTR &= ~(TIM_BDTR_MOE);
}