Mercurial > public > ostc4
diff Small_CPU/Src/stm32f4xx_it_v3.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | 1b995079c045 |
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 Fri Aug 19 11:30:24 2022 +0200 @@ -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