/* TIM MSP Initialization This function configures the hardware resources used in this example:  */
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim)
/* TIM MSP Initialization This function configures the hardware resources used in this example:  */
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim)
{
  TIMx_CLK_ENABLE();
  HAL_NVIC_SetPriority(TIMx_IRQn, 0, 1);
  HAL_NVIC_EnableIRQ(TIMx_IRQn);
}