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