summaryrefslogtreecommitdiff
path: root/stm32cubemx/Src/stm32f1xx_it.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm32cubemx/Src/stm32f1xx_it.c')
-rw-r--r--stm32cubemx/Src/stm32f1xx_it.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/stm32cubemx/Src/stm32f1xx_it.c b/stm32cubemx/Src/stm32f1xx_it.c
index 83f5436..ac5d604 100644
--- a/stm32cubemx/Src/stm32f1xx_it.c
+++ b/stm32cubemx/Src/stm32f1xx_it.c
@@ -242,6 +242,20 @@ void TIM1_TRG_COM_IRQHandler(void)
/* USER CODE END TIM1_TRG_COM_IRQn 1 */
}
+/**
+* @brief This function handles TIM1 capture compare interrupt.
+*/
+void TIM1_CC_IRQHandler(void)
+{
+ /* USER CODE BEGIN TIM1_CC_IRQn 0 */
+ it_tim1();
+ /* USER CODE END TIM1_CC_IRQn 0 */
+ HAL_TIM_IRQHandler(&htim1);
+ /* USER CODE BEGIN TIM1_CC_IRQn 1 */
+
+ /* USER CODE END TIM1_CC_IRQn 1 */
+}
+
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */