/* TIM_Base MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim_base)
/* TIM_Base MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim_base)
{
  if(htim_base->Instance==TIM1)
  {
    __HAL_RCC_TIM1_CLK_ENABLE();
  }
  else if(htim_base->Instance==TIM16)
  {
    __HAL_RCC_TIM16_CLK_ENABLE();
  }
}