头文件常用枚举类型定义.docx

上传人:王** 文档编号:116557 上传时间:2022-12-30 格式:DOCX 页数:11 大小:45.97KB
下载 相关 举报
头文件常用枚举类型定义.docx_第1页
第1页 / 共11页
头文件常用枚举类型定义.docx_第2页
第2页 / 共11页
头文件常用枚举类型定义.docx_第3页
第3页 / 共11页
头文件常用枚举类型定义.docx_第4页
第4页 / 共11页
头文件常用枚举类型定义.docx_第5页
第5页 / 共11页
头文件常用枚举类型定义.docx_第6页
第6页 / 共11页
头文件常用枚举类型定义.docx_第7页
第7页 / 共11页
头文件常用枚举类型定义.docx_第8页
第8页 / 共11页
头文件常用枚举类型定义.docx_第9页
第9页 / 共11页
头文件常用枚举类型定义.docx_第10页
第10页 / 共11页
亲,该文档总共11页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《头文件常用枚举类型定义.docx》由会员分享,可在线阅读,更多相关《头文件常用枚举类型定义.docx(11页珍藏版)》请在优知文库上搜索。

1、1.中断号定义typedefenumIRQn(/*Cortex-M4ProcessorExceptionsNumbers*/NonMaSkabIemJIRQn=-14,*!2NonMaskableInterrupt*/MemoryManagementJRQn=-12,*!4Cortex-M4MemoryManagementInterrupt*/BusFauItJRQn=-Ilz*!5Cortex-M4BusFaultInterrupt*/UsageFauItJRQn=-IOz*!6Cortex-M4UsageFaultInterrupt*/SVCaIIJRQn=-5z*!11Cortex-M4

2、SVCallInterrupt*/DebugMonitorJRQn=-4,*!12Cortex-M4DebugMonitorInterrupt7PendSVJRQn=-2,*!14Cortex-M4PendSVInterrupt*/SysTick_IRQn=-1,*!15Cortex-M4SystemTickInterrupt*/*STM32specificInterruptNumbers*/WWDGJRQn=O,*!WindowWatchDogInterrupt*/PVDJRQn=1,*!PVDthroughEXTILinedetectionInterrupt7TAMP_S7AMP_IRQn

3、=2,*!TamperandTimeStampinterruptsthroughtheEXTIline*/RTC_WKUP_IRQn=3,*!RTCWakeupinterruptthroughtheEXTIline*/FLASHJRQn=4,*!FLASHglobalInterrupt*/RCCJRQn=5,*!RCCglobalInterrupt*/EXTIOJRQn=6,*!EXTILineOInterrupt*/EXTIlJRQn=7,*!EXTILinelInterrupt*/EXTI2JRQn=8,*!EXTILine2Interrupt*/EXTI3JRQn=9,*!EXTILin

4、e3Interrupt*/EXTI4_IRQn=10,*!EXTILine4InterruptDMAI_StreamO_lRQn=11,*!DMAlStream0globalInterrupt*/DMAl_StreamIJRQn=12,*!DMAlStream1globalInterrupt*/DMAI_Stream2_lRQn=13,*!DMAlStream2globalInterrupt*/DMAl_Stream3RQn=14,*!DMAlStream3globalInterrupt*/DMAl_Stream4_IRQn=15,*!DMAlStream4globalInterrupt*/D

5、MAl_Stream5RQn=16,*!DMAlStream5globalInterrupt*/DMAI_Stream6RQn=,*!DMAlStream6globalInterrupt*/ADC_IRQn=18,*!ADClzADC2andADC3globalInterrupts*/CANl_TX_IRQn:19,*!CANlTXInterrupt*/CANl_RXO_IRQn=20,*!CANlRXOInterrupt*/CANl_RXl_IRQn=21,*!CANlRXlInterrupt*/CANl_SCE_IRQn=22,*!CANlSCEInterrupt*/EXTI9_5_IRQ

6、n=23,*!ExternalLine9:5Interrupts*/TIMl_BRK_TIM9_IRQn=24,*!TIMlBreakinterruptandTIM9globalinterrupt7TIMl_UP_TIM10_IRQn=25,*!TIMlUpdateInterruptandTIMlOglobalinterrupt*/TIM1_TRG_COM_TIMIlJRQn=26,*!TIMlTriggerandCommutationInterruptandTIMllglobalinterrupt*/TIMl_CC_IRQn=27,*!TIMlCaptureCompareInterrupt*

7、/TIM2JRQn=28,*!TIM2globalInterrupt*/TIM3JRQn=29,*!TIM3globalInterrupt*/TIM4JRQn=30,*!TIM4globalInterrupt*/l2Cl_EV_IRQn31,*!I2C1EventInterrupt*/l2Cl_ER_IRQn32,*!I2C1ErrorInterruptl2C2_EV_IRQn=33,*!I2C2EventInterrupt* /l2C2_ER_IRQn*/SPIlJRQn* /SPI2JRQn* /USARTl_IRQn=* /USART2_IRQn=* /USART3_IRQn=* /EX

8、TI15_10_IRQn=40,* /RTC_Alarm_IRQn=41zLineInterrupt*/OTG_FS_WKUP_IRQn=42,lineinterrupt*/TIM8_BRK_TIM12_IRQn=43,globalinterrupt*/TIM8_UP_TIM13_IRQn=44,globalinterrupt*/TIM8_TRG_COM_TIM14_IRQn=45,=34,*!I2C2ErrorInterrupt=35,*!SPIlglobalInterrupt=36,*!SPI2globalInterrupt37, *!USARTlglobalInterrupt38, /!

9、USART2globalInterrupt39, *!USART3globalInterrupt*!ExternalLine15:10Interrupts*!RTCAlarm(AandB)throughEXTI/!USBOTGFSWakeupthroughEXTI*!TIM8BreakInterruptandTIM12*!TIM8UpdateInterruptandTIM13*!TIM8TriggerandCommutationInterruptandTIM14globalinterrupt*/TIM8_CC_IRQn=46,*!TIM8CaptureCompareInterrupt*/DMA

10、l_Stream7_IRQn=47,*!DMAlStream?Interrupt*/FSMCJRQn=48,*!FSMCglobalInterrupt*/SDIOJRQn=49,*!SDIOglobalInterrupt*/TIM5JRQn=50,*!TIM5globalInterrupt*/SPI3JRQn=51,*!SPI3globalInterrupt*/ART4JRQn=52,*!UART4globalInterrupt*/UART5_IRQn=53,*!UART5globalInterrupt*/TIM6_DAC_IRQn=54,*!TIM6globalandDAC1&2underr

11、unerrorinterrupts*/TIM7JRQn=55,*!TIM7globalinterrupt*/DMA2_StreamO_IRQn=56,*!DMA2StreamOglobalInterrupt*/DMA2_Streaml_IRQn=57,*!DMA2Stream1globalInterrupt*/DMA2_Stream2_IRQn=58,*!DMA2Stream2globalInterrupt*/DMA2_Stream3_lRQn=59,*!DMA2Stream3globalInterrupt*/DMA2_Strear4IRQn=60,*!DMA2Stream4globalInt

12、errupt*/ETH_IRQn=61,*!EthernetglobalInterrupt*/ETH_WKUP_IRQn=62,*!EthernetWakeupthroughEXTIlineInterrupt*/CAN2_TX_IRQn=63,*!CAN2TXInterrupt*/CAN2_RX0_IRQn=64,*!CAN2RXOInterrupt*/CAN2_RXl_IRQn=65,*!CAN2RXlInterrupt*/CAN2_SCE_IRQn=66,*!CAN2SCEInterrupt*/OTG_FS_IRQn=67,*!USBOTGFSglobalInterrupt*/DMA2_S

13、tream5_IRQn=68z*!DMA2Stream5globalinterrupt*/DMA2_Stream6_lRQn=69,*!DMA2Stream6globalinterrupt*/DMA2_Stream7_IRQn=70,*!DMA2Stream7globalinterrupt7USART6_IRQn=71z*!USART6globalinterrupt*/l2C3_EV_IRQn=72,*!I2C3eventinterrupt*/l2C3_ER_IRQn=73,*!I2C3errorinterrupt7OTG_HS_EPl_OUT_IRQn=74,*!USBOTGHSEndPoint1Outglobalinterrupt*/OTG_HS_EPl_IN_IRQn=75z

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > C/C++资料

copyright@ 2008-2023 yzwku网站版权所有

经营许可证编号:宁ICP备2022001189号-2

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!