970e574433
- CubeMX 加 TIM6(PSC=83 / ARR=999 / ARR 预装载 / NVIC 抢占优先级 6) - Src/main.c 回调加 TIM6 分支触发 CONVST(USER CODE 区) - app_main.c 用 HAL_TIM_Base_Start_IT(&htim6) 替换单次触发 - adc_task.c 退化为纯消费者(1 ms 轮询仅作消费节奏) - @build 0 错 0 警;台架 @test 验收待做 - 同步 ADC采样节拍设计说明 / 继电保护复现规划 / AGENTS / TPAFE README
84 lines
2.4 KiB
C
84 lines
2.4 KiB
C
/* USER CODE BEGIN Header */
|
|
/**
|
|
******************************************************************************
|
|
* @file stm32f4xx_it.h
|
|
* @brief This file contains the headers of the interrupt handlers.
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2026 STMicroelectronics.
|
|
* All rights reserved.
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file
|
|
* in the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
/* USER CODE END Header */
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __STM32F4xx_IT_H
|
|
#define __STM32F4xx_IT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Private includes ----------------------------------------------------------*/
|
|
/* USER CODE BEGIN Includes */
|
|
|
|
/* USER CODE END Includes */
|
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
/* USER CODE BEGIN ET */
|
|
|
|
/* USER CODE END ET */
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
/* USER CODE BEGIN EC */
|
|
|
|
/* USER CODE END EC */
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
/* USER CODE BEGIN EM */
|
|
|
|
/* USER CODE END EM */
|
|
|
|
/* Exported functions prototypes ---------------------------------------------*/
|
|
void NMI_Handler(void);
|
|
void HardFault_Handler(void);
|
|
void MemManage_Handler(void);
|
|
void BusFault_Handler(void);
|
|
void UsageFault_Handler(void);
|
|
void DebugMon_Handler(void);
|
|
void DMA1_Stream3_IRQHandler(void);
|
|
void DMA1_Stream4_IRQHandler(void);
|
|
void EXTI9_5_IRQHandler(void);
|
|
void SPI1_IRQHandler(void);
|
|
void SPI2_IRQHandler(void);
|
|
void USART1_IRQHandler(void);
|
|
void USART2_IRQHandler(void);
|
|
void USART3_IRQHandler(void);
|
|
void UART4_IRQHandler(void);
|
|
void UART5_IRQHandler(void);
|
|
void TIM6_DAC_IRQHandler(void);
|
|
void TIM7_IRQHandler(void);
|
|
void DMA2_Stream0_IRQHandler(void);
|
|
void DMA2_Stream2_IRQHandler(void);
|
|
void DMA2_Stream3_IRQHandler(void);
|
|
void DMA2_Stream7_IRQHandler(void);
|
|
/* USER CODE BEGIN EFP */
|
|
|
|
/* 使能 MemManage / BusFault / UsageFault 三个异常(默认只有 HardFault 使能)。
|
|
* 见 Src/stm32f4xx_it.c 的实现注释;须在 app_main_init() 早期调用。 */
|
|
void fault_handler_enable(void);
|
|
|
|
/* USER CODE END EFP */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __STM32F4xx_IT_H */
|