message: move handler style to user code segment
diff: @@ -241,20 +241,6 @@ void ADC_IRQHandler(void)
  /* USER CODE END ADC_IRQn 1 */
  }
  -/**
  -* @brief This function handles TIM1 update interrupt and TIM10 global interrupt.
  -*/
  -void TIM1_UP_TIM10_IRQHandler(void)
  -{
  - /* USER CODE BEGIN TIM1_UP_TIM10_IRQn 0 */
  -
  - /* USER CODE END TIM1_UP_TIM10_IRQn 0 */
  - HAL_TIM_IRQHandler(&htim1);
  - /* USER CODE BEGIN TIM1_UP_TIM10_IRQn 1 */
  -
  - /* USER CODE END TIM1_UP_TIM10_IRQn 1 */
  -}
  -
  /**
  * @brief This function handles TIM8 update interrupt and TIM13 global interrupt.
  */
  @@ -339,6 +325,25 @@ void ADC_IRQ_Dispatch(ADC_HandleTypeDef* hadc, ADC_handler_t callback) {
  }
  }
  +/**
  +* @brief This function handles TIM1 update interrupt and TIM10 global interrupt.
  +*/
  +void TIM1_UP_TIM10_IRQHandler(void)
  +{
  + __HAL_TIM_CLEAR_IT(&htim1, TIM_IT_UPDATE);
  + // TODO: Callback here
  +}
  +
  +/**
  +* @brief This function handles TIM8 update interrupt and TIM13 global interrupt.
  +*/
  +void TIM8_UP_TIM13_IRQHandler(void)
  +{
  + __HAL_TIM_CLEAR_IT(&htim1, TIM_IT_UPDATE);
  + // TODO: Callback here
  +}
  +
  +
  /**
  * @brief This function handles I2C1 event interrupt.
  */
  @@ -414,7 +419,5 @@ void EXTI15_10_IRQHandler(void)
  HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_15);
  }
  -
  -
  /* USER CODE END 1 */
  /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
  