summaryrefslogtreecommitdiff
path: root/stm32cubemx/Src/stm32f1xx_it.c
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-05-13 10:48:31 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-05-16 23:24:34 +0200
commit037d84bed61fb93a5292d0194bbf734fd2927378 (patch)
tree1e3062ea7309adcc274cdbe61f3505b04bc68dfe /stm32cubemx/Src/stm32f1xx_it.c
parentce168959907bc922875902a703a1aebe2296ad2c (diff)
downloadradio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.gz
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.bz2
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.xz
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.zip
wip
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 */