#define?DEFINE_FAST_IRQ_HANDLER(irq_handler)?void?irq_handler()?__attribute__((interrupt("WCH-Interrupt-fast"))) DEFINE_FAST_IRQ_HANDLER(NMI_Handler); DEFINE_FAST_IRQ_HANDLER(HardFault_Handler); DEFINE_FAST_IRQ_HANDLER(Ecall_U_Mode_Handler); DEFINE_FAST_IRQ_HANDLER(SysTick_Handler); DEFINE_FAST_IRQ_HANDLER(SW_Handler); DEFINE_FAST_IRQ_HANDLER(TMR0_IRQHandler); DEFINE_FAST_IRQ_HANDLER(GPIOA_IRQHandler); DEFINE_FAST_IRQ_HANDLER(GPIOB_IRQHandler); DEFINE_FAST_IRQ_HANDLER(SPI0_IRQHandler); DEFINE_FAST_IRQ_HANDLER(BB_IRQHandler); DEFINE_FAST_IRQ_HANDLER(LLE_IRQHandler); DEFINE_FAST_IRQ_HANDLER(USB_IRQHandler); DEFINE_FAST_IRQ_HANDLER(TMR1_IRQHandler); DEFINE_FAST_IRQ_HANDLER(TMR2_IRQHandler); DEFINE_FAST_IRQ_HANDLER(UART0_IRQHandler); DEFINE_FAST_IRQ_HANDLER(UART1_IRQHandler); DEFINE_FAST_IRQ_HANDLER(RTC_IRQHandler); DEFINE_FAST_IRQ_HANDLER(ADC_IRQHandler); DEFINE_FAST_IRQ_HANDLER(PWMX_IRQHandler); DEFINE_FAST_IRQ_HANDLER(TMR3_IRQHandler); DEFINE_FAST_IRQ_HANDLER(UART2_IRQHandler); DEFINE_FAST_IRQ_HANDLER(UART3_IRQHandler); DEFINE_FAST_IRQ_HANDLER(I2C_IRQHandler);
這段代碼是什么含義,官方例程沒有這段也可以工作,我的項目刪掉就不行
熱門產(chǎn)品 :
CH32V317: 互聯(lián)型青稞RISC-V MCU