Mercurial > public > ostc4
comparison Small_CPU/Src/stm32f4xx_it_v3.c @ 981:c6c781a2e85b default
Merge into default
| author | heinrichsweikamp |
|---|---|
| date | Tue, 11 Feb 2025 18:12:00 +0100 |
| parents | 6fc0e3d230e4 |
| children | d9290c76b840 |
comparison
equal
deleted
inserted
replaced
| 871:f7318457df4d | 981:c6c781a2e85b |
|---|---|
| 58 extern RTC_HandleTypeDef RTCHandle; | 58 extern RTC_HandleTypeDef RTCHandle; |
| 59 extern ADC_HandleTypeDef AdcHandle; | 59 extern ADC_HandleTypeDef AdcHandle; |
| 60 | 60 |
| 61 extern UART_HandleTypeDef huart1; | 61 extern UART_HandleTypeDef huart1; |
| 62 extern DMA_HandleTypeDef hdma_usart1_rx; | 62 extern DMA_HandleTypeDef hdma_usart1_rx; |
| 63 | 63 extern DMA_HandleTypeDef hdma_usart1_tx; |
| 64 extern UART_HandleTypeDef huart6; | |
| 65 extern DMA_HandleTypeDef hdma_usart6_rx; | |
| 66 extern DMA_HandleTypeDef hdma_usart6_tx; | |
| 64 /* Private function prototypes -----------------------------------------------*/ | 67 /* Private function prototypes -----------------------------------------------*/ |
| 65 /* Private functions ---------------------------------------------------------*/ | 68 /* Private functions ---------------------------------------------------------*/ |
| 66 | 69 |
| 67 /******************************************************************************/ | 70 /******************************************************************************/ |
| 68 /* Cortex-M4 Processor Exceptions Handlers */ | 71 /* Cortex-M4 Processor Exceptions Handlers */ |
| 239 void DMA2_Stream5_IRQHandler(void) | 242 void DMA2_Stream5_IRQHandler(void) |
| 240 { | 243 { |
| 241 HAL_DMA_IRQHandler(&hdma_usart1_rx); | 244 HAL_DMA_IRQHandler(&hdma_usart1_rx); |
| 242 } | 245 } |
| 243 | 246 |
| 244 | 247 void DMA2_Stream7_IRQHandler(void) |
| 248 { | |
| 249 HAL_DMA_IRQHandler(&hdma_usart1_tx); | |
| 250 } | |
| 251 | |
| 252 #ifdef ENABLE_GPIO_V2 | |
| 253 void DMA2_Stream2_IRQHandler(void) | |
| 254 { | |
| 255 HAL_DMA_IRQHandler(&hdma_usart6_rx); | |
| 256 } | |
| 257 | |
| 258 void DMA2_Stream6_IRQHandler(void) | |
| 259 { | |
| 260 HAL_DMA_IRQHandler(&hdma_usart6_tx); | |
| 261 } | |
| 262 #endif | |
| 245 /******************************************************************************/ | 263 /******************************************************************************/ |
| 246 /* STM32F4xx Peripherals Interrupt Handlers */ | 264 /* STM32F4xx Peripherals Interrupt Handlers */ |
| 247 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ | 265 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ |
| 248 /* available peripheral interrupt handler's name please refer to the startup */ | 266 /* available peripheral interrupt handler's name please refer to the startup */ |
| 249 /* file (startup_stm32f4xx.s). */ | 267 /* file (startup_stm32f4xx.s). */ |
| 307 void USART1_IRQHandler(void) | 325 void USART1_IRQHandler(void) |
| 308 { | 326 { |
| 309 HAL_UART_IRQHandler(&huart1); | 327 HAL_UART_IRQHandler(&huart1); |
| 310 } | 328 } |
| 311 | 329 |
| 330 #ifdef ENABLE_GPIO_V2 | |
| 331 void USART6_IRQHandler(void) | |
| 332 { | |
| 333 HAL_UART_IRQHandler(&huart6); | |
| 334 } | |
| 335 #endif | |
| 336 | |
| 312 /** | 337 /** |
| 313 * @brief This function handles PPP interrupt request. | 338 * @brief This function handles PPP interrupt request. |
| 314 * @param None | 339 * @param None |
| 315 * @retval None | 340 * @retval None |
| 316 */ | 341 */ |
