26 ; by any user-defined modules that define the PUBLIC
symbol _program_start
or
32 ; When debugging in
RAM, it can be located in
RAM, aligned
to at
least 2^6.
33 ; The name
"__vector_table" has special meaning
for C-
SPY:
35 ; table
register (VTOR)
is initialized
to this address if != 0.
42 ;; Forward declaration of sections.
45 SECTION .intvec:
CODE:NOROOT(2)
47 EXTERN __iar_program_start
50 PUBLIC __vector_table_0x1c
79 DCD TIMER0_IRQHandler ; 17: Timer0
80 DCD TIMER1_IRQHandler ; 18: Timer1
81 DCD TIMER2_IRQHandler ; 19: Timer2
82 DCD TIMER3_IRQHandler ; 20: Timer3
83 DCD UART0_IRQHandler ; 21: UART0
84 DCD UART1_IRQHandler ; 22: UART1
85 DCD UART2_IRQHandler ; 23: UART2
86 DCD UART3_IRQHandler ; 24: UART3
87 DCD PWM1_IRQHandler ; 25: PWM1
88 DCD I2C0_IRQHandler ; 26: I2C0
89 DCD I2C1_IRQHandler ; 27: I2C1
90 DCD I2C2_IRQHandler ; 28: I2C2
91 DCD SPI_IRQHandler ; 29: SPI
92 DCD SSP0_IRQHandler ; 30: SSP0
93 DCD SSP1_IRQHandler ; 31: SSP1
94 DCD PLL0_IRQHandler ; 32: PLL0 Lock (Main PLL)
95 DCD RTC_IRQHandler ; 33: Real Time Clock
96 DCD EINT0_IRQHandler ; 34: External Interrupt 0
97 DCD EINT1_IRQHandler ; 35: External Interrupt 1
98 DCD EINT2_IRQHandler ; 36: External Interrupt 2
99 DCD EINT3_IRQHandler ; 37: External Interrupt 3
100 DCD ADC_IRQHandler ; 38: A/D Converter
101 DCD BOD_IRQHandler ; 39: Brown-Out Detect
103 DCD CAN_IRQHandler ; 41: CAN
104 DCD DMA_IRQHandler ; 42: General Purpose DMA
105 DCD I2S_IRQHandler ; 43: I2S
106 DCD ENET_IRQHandler ; 44: Ethernet
107 DCD RIT_IRQHandler ; 45: Repetitive Interrupt Timer
108 DCD MCPWM_IRQHandler ; 46: Motor Control PWM
109 DCD QEI_IRQHandler ; 47: Quadrature Encoder Interface
110 DCD PLL1_IRQHandler ; 48: PLL1 Lock (
USB PLL)
111 DCD USBActivity_IRQHandler ; 49:
USB Activity Interrupt
112 DCD CANActivity_IRQHandler ; 50: CAN Activity Interrupt
115 __Vectors EQU __vector_table
116 __Vectors_Size EQU __Vectors_End - __Vectors
119 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
130 LDR R0, =__iar_program_start
173 PUBWEAK SysTick_Handler
178 PUBWEAK WDT_IRQHandler
183 PUBWEAK TIMER0_IRQHandler
188 PUBWEAK TIMER1_IRQHandler
193 PUBWEAK TIMER2_IRQHandler
198 PUBWEAK TIMER3_IRQHandler
203 PUBWEAK UART0_IRQHandler
208 PUBWEAK UART1_IRQHandler
213 PUBWEAK UART2_IRQHandler
218 PUBWEAK UART3_IRQHandler
223 PUBWEAK PWM1_IRQHandler
228 PUBWEAK I2C0_IRQHandler
233 PUBWEAK I2C1_IRQHandler
238 PUBWEAK I2C2_IRQHandler
243 PUBWEAK SPI_IRQHandler
248 PUBWEAK SSP0_IRQHandler
253 PUBWEAK SSP1_IRQHandler
258 PUBWEAK PLL0_IRQHandler
263 PUBWEAK RTC_IRQHandler
268 PUBWEAK EINT0_IRQHandler
273 PUBWEAK EINT1_IRQHandler
278 PUBWEAK EINT2_IRQHandler
283 PUBWEAK EINT3_IRQHandler
288 PUBWEAK ADC_IRQHandler
293 PUBWEAK BOD_IRQHandler
298 PUBWEAK USB_IRQHandler
303 PUBWEAK CAN_IRQHandler
308 PUBWEAK DMA_IRQHandler
313 PUBWEAK I2S_IRQHandler
318 PUBWEAK ENET_IRQHandler
323 PUBWEAK RIT_IRQHandler
328 PUBWEAK MCPWM_IRQHandler
333 PUBWEAK QEI_IRQHandler
338 PUBWEAK PLL1_IRQHandler
343 PUBWEAK USBActivity_IRQHandler
345 USBActivity_IRQHandler
346 B USBActivity_IRQHandler
348 PUBWEAK CANActivity_IRQHandler
350 CANActivity_IRQHandler
351 B CANActivity_IRQHandler