/* TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim_base)
/* TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim_base)
{
        __HAL_RCC_TIM1_CLK_DISABLE();
    } else if (htim_base->Instance == TIM2) {
        __HAL_RCC_TIM2_CLK_DISABLE();
    } else if (htim_base->Instance == TIM3) {
        __HAL_RCC_TIM3_CLK_DISABLE();
    } else if (htim_base->Instance == TIM14) {
        __HAL_RCC_TIM14_CLK_DISABLE();
        HAL_NVIC_DisableIRQ(TIM8_TRG_COM_TIM14_IRQn);
    }
}