From 0917738f20328de743be272ce4b042945d701830 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期六, 28 一月 2023 15:41:25 +0800 Subject: [PATCH] Radio add channel jumpper config --- Src/stm32f0xx_it.c | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/Src/stm32f0xx_it.c b/Src/stm32f0xx_it.c index 7d8e4dc..ae44ae7 100644 --- a/Src/stm32f0xx_it.c +++ b/Src/stm32f0xx_it.c @@ -127,6 +127,21 @@ /* For the available peripheral interrupt handler names, */ /* please refer to the startup file (startup_stm32f0xx.s). */ /******************************************************************************/ +/** + * @brief This function handles TIM6 global interrupt. + */ +void TIM6_IRQHandler(void) +{ + /* USER CODE BEGIN TIM6_IRQn 0 */ + if (LL_TIM_IsActiveFlag_UPDATE(TIM6)) { LL_TIM_ClearFlag_UPDATE(TIM6);} + +// KMem.SDD[46]+=1000; +// KMem.SDT[93] = LL_TIM_GetCounter(TIM6); + /* USER CODE END TIM6_IRQn 0 */ + /* USER CODE BEGIN TIM6_IRQn 1 */ + + /* USER CODE END TIM6_IRQn 1 */ +} /** * @brief This function handles DMA1 channel 2 and 3 interrupts. @@ -211,6 +226,17 @@ } /* USER CODE END DMA1_Channel4_5_IRQn 1 */ } + +void SPI1_IRQHandler(void) +{ + /* USER CODE BEGIN SPI1_IRQn 0 */ + SPI1_IRQ_CallBack(); + /* USER CODE END SPI1_IRQn 0 */ + /* USER CODE BEGIN SPI1_IRQn 1 */ + + /* USER CODE END SPI1_IRQn 1 */ +} + /** * @brief This function handles USART1 global interrupt. */ -- Gitblit v1.9.1