comparison 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
comparison
equal deleted inserted replaced
661:87bee7cc77b3 696:cc542448fb28
56 extern I2C_HandleTypeDef I2cHandle; 56 extern I2C_HandleTypeDef I2cHandle;
57 extern SPI_HandleTypeDef hspi1; 57 extern SPI_HandleTypeDef hspi1;
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;
62 extern DMA_HandleTypeDef hdma_usart1_rx;
63
61 /* Private function prototypes -----------------------------------------------*/ 64 /* Private function prototypes -----------------------------------------------*/
62 /* Private functions ---------------------------------------------------------*/ 65 /* Private functions ---------------------------------------------------------*/
63 66
64 /******************************************************************************/ 67 /******************************************************************************/
65 /* Cortex-M4 Processor Exceptions Handlers */ 68 /* Cortex-M4 Processor Exceptions Handlers */
231 * @brief This function handles PPP interrupt request. 234 * @brief This function handles PPP interrupt request.
232 * @param None 235 * @param None
233 * @retval None 236 * @retval None
234 */ 237 */
235 238
239 void DMA2_Stream5_IRQHandler(void)
240 {
241 HAL_DMA_IRQHandler(&hdma_usart1_rx);
242 }
243
236 244
237 /******************************************************************************/ 245 /******************************************************************************/
238 /* STM32F4xx Peripherals Interrupt Handlers */ 246 /* STM32F4xx Peripherals Interrupt Handlers */
239 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ 247 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
240 /* available peripheral interrupt handler's name please refer to the startup */ 248 /* available peripheral interrupt handler's name please refer to the startup */
293 void ADC_IRQHandler(void) 301 void ADC_IRQHandler(void)
294 { 302 {
295 HAL_ADC_IRQHandler(&AdcHandle); 303 HAL_ADC_IRQHandler(&AdcHandle);
296 } 304 }
297 305
306
307 void USART1_IRQHandler(void)
308 {
309 HAL_UART_IRQHandler(&huart1);
310 }
311
298 /** 312 /**
299 * @brief This function handles PPP interrupt request. 313 * @brief This function handles PPP interrupt request.
300 * @param None 314 * @param None
301 * @retval None 315 * @retval None
302 */ 316 */