ARM中斷函數(shù)定義
RM的中斷函數(shù)是在startup code中定義的,在CODE區(qū)分配中斷向量表時(shí),及將中斷函數(shù)定義出了
;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