diff Small_CPU/Src/stm32f4xx_it_v3.c @ 662:1b995079c045 Betatest

PSCR Mode
author heinrichs weikamp
date Tue, 14 Dec 2021 15:36:10 +0100
parents 331882a89421
children 4832981f9af8
line wrap: on
line diff
--- a/Small_CPU/Src/stm32f4xx_it_v3.c	Mon Nov 01 12:39:34 2021 +0100
+++ b/Small_CPU/Src/stm32f4xx_it_v3.c	Tue Dec 14 15:36:10 2021 +0100
@@ -58,6 +58,9 @@
 extern RTC_HandleTypeDef RTCHandle;
 extern ADC_HandleTypeDef    AdcHandle;
 
+extern UART_HandleTypeDef huart1;
+extern DMA_HandleTypeDef  hdma_usart1_rx;
+
 /* Private function prototypes -----------------------------------------------*/
 /* Private functions ---------------------------------------------------------*/
 
@@ -233,6 +236,11 @@
   * @retval None
   */
 
+void DMA2_Stream5_IRQHandler(void)
+{
+  HAL_DMA_IRQHandler(&hdma_usart1_rx);
+}
+
 
 /******************************************************************************/
 /*                 STM32F4xx Peripherals Interrupt Handlers                   */
@@ -295,6 +303,12 @@
   HAL_ADC_IRQHandler(&AdcHandle);
 }
 
+
+void USART1_IRQHandler(void)
+{
+  HAL_UART_IRQHandler(&huart1);
+}
+
 /**
   * @brief  This function handles PPP interrupt request.
   * @param  None