ARM中断函数定义
扫描二维码
随时随地手机看文章
RM的中断函数是在startup code中定义的,在CODE区分配中断向量表时,及将中断函数定义出了
;VectorTableMappedtoAddress0atReset
AREARESET,DATA,READONLY
EXPORT__Vectors
__VectorsDCD__initial_sp;TopofStack
DCDReset_Handler;ResetHandler
DCDNMI_Handler;NMIHandler
DCDHardFault_Handler;HardFaultHandler
DCD0;Reserved
DCD0;Reserved
DCD0;Reserved
DCD0;Reserved
DCD0;Reserved
DCD0;Reserved
DCD0;Reserved
DCDSVC_Handler;SVCallHandler
DCD0;Reserved
DCD0;Reserved
DCDPendSV_Handler;PendSVHandler
DCDSysTick_Handler;SysTickHandler
;ExternalInterrupts
DCDGPIO0_IRQHandler;GPIOP0Interrupt
DCDGPIO1_IRQHandler;GPIOP1Interrupt
DCDGPIO2_IRQHandler;GPIOP2Interrupt
DCDGPIO3_IRQHandler;GPIOP3Interrupt
DCDGPIO4_IRQHandler;GPIOP4Interrupt
DCDCP_IRQHandler;Capture/PWM
DCDADC_IRQHandler;A/DConverter
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDReserved_IRQHandler;Reserved
DCDUART0_IRQHandler;UART0
DCDUART1_IRQHandler;UART1
DCDUART2_IRQHandler;UART2
DCDUART3_IRQHandler;UART3
DCDTIMER0_IRQHandler;Timer0
DCD TIMER1_IRQHandler ; Timer1