资源预览内容
第1页 / 共10页
第2页 / 共10页
第3页 / 共10页
第4页 / 共10页
第5页 / 共10页
第6页 / 共10页
第7页 / 共10页
第8页 / 共10页
第9页 / 共10页
第10页 / 共10页
亲,该文档总共10页全部预览完了,如果喜欢就下载吧!
资源描述
1. 中断号定义typedef enum IRQn/* Cortex-M4 Processor Exceptions Numbers */ NonMaskableInt_IRQn = -14, /*! 2 Non Maskable Interrupt */ MemoryManagement_IRQn = -12, /*! 4 Cortex-M4 Memory Management Interrupt */ BusFault_IRQn = -11, /*! 5 Cortex-M4 Bus Fault Interrupt */ UsageFault_IRQn = -10, /*! 6 Cortex-M4 Usage Fault Interrupt */ SVCall_IRQn = -5, /*! 11 Cortex-M4 SV Call Interrupt */ DebugMonitor_IRQn = -4, /*! 12 Cortex-M4 Debug Monitor Interrupt */ PendSV_IRQn = -2, /*! 14 Cortex-M4 Pend SV Interrupt */ SysTick_IRQn = -1, /*! 15 Cortex-M4 System Tick Interrupt */* STM32 specific Interrupt Numbers */ WWDG_IRQn = 0, /*! Window WatchDog Interrupt */ PVD_IRQn = 1, /*! PVD through EXTI Line detection Interrupt */ TAMP_STAMP_IRQn = 2, /*! Tamper and TimeStamp interrupts through the EXTI line */ RTC_WKUP_IRQn = 3, /*! RTC Wakeup interrupt through the EXTI line */ FLASH_IRQn = 4, /*! FLASH global Interrupt */ RCC_IRQn = 5, /*! RCC global Interrupt */ EXTI0_IRQn = 6, /*! EXTI Line0 Interrupt */ EXTI1_IRQn = 7, /*! EXTI Line1 Interrupt */ EXTI2_IRQn = 8, /*! EXTI Line2 Interrupt */ EXTI3_IRQn = 9, /*! EXTI Line3 Interrupt */ EXTI4_IRQn = 10, /*! EXTI Line4 Interrupt */ DMA1_Stream0_IRQn = 11, /*! DMA1 Stream 0 global Interrupt */ DMA1_Stream1_IRQn = 12, /*! DMA1 Stream 1 global Interrupt */ DMA1_Stream2_IRQn = 13, /*! DMA1 Stream 2 global Interrupt */ DMA1_Stream3_IRQn = 14, /*! DMA1 Stream 3 global Interrupt */ DMA1_Stream4_IRQn = 15, /*! DMA1 Stream 4 global Interrupt */ DMA1_Stream5_IRQn = 16, /*! DMA1 Stream 5 global Interrupt */ DMA1_Stream6_IRQn = 17, /*! DMA1 Stream 6 global Interrupt */ ADC_IRQn = 18, /*! ADC1, ADC2 and ADC3 global Interrupts */ CAN1_TX_IRQn = 19, /*! CAN1 TX Interrupt */ CAN1_RX0_IRQn = 20, /*! CAN1 RX0 Interrupt */ CAN1_RX1_IRQn = 21, /*! CAN1 RX1 Interrupt */ CAN1_SCE_IRQn = 22, /*! CAN1 SCE Interrupt */ EXTI9_5_IRQn = 23, /*! External Line9:5 Interrupts */ TIM1_BRK_TIM9_IRQn = 24, /*! TIM1 Break interrupt and TIM9 global interrupt */ TIM1_UP_TIM10_IRQn = 25, /*! TIM1 Update Interrupt and TIM10 global interrupt */ TIM1_TRG_COM_TIM11_IRQn = 26, /*! TIM1 Trigger and Commutation Interrupt and TIM11 global interrupt */ TIM1_CC_IRQn = 27, /*! TIM1 Capture Compare Interrupt */ TIM2_IRQn = 28, /*! TIM2 global Interrupt */ TIM3_IRQn = 29, /*! TIM3 global Interrupt */ TIM4_IRQn = 30, /*! TIM4 global Interrupt */ I2C1_EV_IRQn = 31, /*! I2C1 Event Interrupt */ I2C1_ER_IRQn = 32, /*! I2C1 Error Interrupt */ I2C2_EV_IRQn
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号