1/* ------------------------------------------------------------------------- */
2/*  @file:    startup_LPC5534.s                                              */
3/*  @purpose: CMSIS Cortex-M33 Core Device Startup File                      */
4/*            LPC5534                                                        */
5/*  @version: 1.1                                                            */
6/*  @date:    2021-8-4                                                       */
7/*  @build:   b231018                                                        */
8/* ------------------------------------------------------------------------- */
9/*                                                                           */
10/* Copyright 1997-2016 Freescale Semiconductor, Inc.                         */
11/* Copyright 2016-2023 NXP                                                   */
12/* SPDX-License-Identifier: BSD-3-Clause                                     */
13/*****************************************************************************/
14/* Version: GCC for ARM Embedded Processors                                  */
15/*****************************************************************************/
16    .syntax unified
17    .arch armv8-m.main
18
19    .section .isr_vector, "a"
20    .align 2
21    .globl __Vectors
22__Vectors:
23    .long   __StackTop                                      /* Top of Stack */
24    .long   Reset_Handler                                   /* Reset Handler */
25    .long   NMI_Handler                                     /* NMI Handler*/
26    .long   HardFault_Handler                               /* Hard Fault Handler*/
27    .long   MemManage_Handler                               /* MPU Fault Handler*/
28    .long   BusFault_Handler                                /* Bus Fault Handler*/
29    .long   UsageFault_Handler                              /* Usage Fault Handler*/
30    .long   SecureFault_Handler                             /* Secure Fault Handler*/
31    .long   0                                               /* Reserved*/
32    .long   0                                               /* Reserved*/
33    .long   0                                               /* Reserved*/
34    .long   SVC_Handler                                     /* SVCall Handler*/
35    .long   DebugMon_Handler                                /* Debug Monitor Handler*/
36    .long   0                                               /* Reserved*/
37    .long   PendSV_Handler                                  /* PendSV Handler*/
38    .long   SysTick_Handler                                 /* SysTick Handler*/
39
40                                                            /* External Interrupts*/
41    .long   WDT_BOD_IRQHandler                              /* Windowed watchdog timer, Brownout detect, Flash interrupt*/
42    .long   DMA0_IRQHandler                                 /* DMA0 controller*/
43    .long   GINT0_IRQHandler                                /* GPIO group 0*/
44    .long   GINT1_IRQHandler                                /* GPIO group 1*/
45    .long   PIN_INT0_IRQHandler                             /* Pin interrupt 0 or pattern match engine slice 0*/
46    .long   PIN_INT1_IRQHandler                             /* Pin interrupt 1or pattern match engine slice 1*/
47    .long   PIN_INT2_IRQHandler                             /* Pin interrupt 2 or pattern match engine slice 2*/
48    .long   PIN_INT3_IRQHandler                             /* Pin interrupt 3 or pattern match engine slice 3*/
49    .long   UTICK0_IRQHandler                               /* Micro-tick Timer*/
50    .long   MRT0_IRQHandler                                 /* Multi-rate timer*/
51    .long   CTIMER0_IRQHandler                              /* Standard counter/timer CTIMER0*/
52    .long   CTIMER1_IRQHandler                              /* Standard counter/timer CTIMER1*/
53    .long   SCT0_IRQHandler                                 /* SCTimer/PWM*/
54    .long   CTIMER3_IRQHandler                              /* Standard counter/timer CTIMER3*/
55    .long   FLEXCOMM0_IRQHandler                            /* Flexcomm Interface 0 (USART, SPI, I2C, I2S, FLEXCOMM)*/
56    .long   FLEXCOMM1_IRQHandler                            /* Flexcomm Interface 1 (USART, SPI, I2C, I2S, FLEXCOMM)*/
57    .long   FLEXCOMM2_IRQHandler                            /* Flexcomm Interface 2 (USART, SPI, I2C, I2S, FLEXCOMM)*/
58    .long   FLEXCOMM3_IRQHandler                            /* Flexcomm Interface 3 (USART, SPI, I2C, I2S, FLEXCOMM)*/
59    .long   FLEXCOMM4_IRQHandler                            /* Flexcomm Interface 4 (USART, SPI, I2C, I2S, FLEXCOMM)*/
60    .long   FLEXCOMM5_IRQHandler                            /* Flexcomm Interface 5 (USART, SPI, I2C, I2S, FLEXCOMM)*/
61    .long   FLEXCOMM6_IRQHandler                            /* Flexcomm Interface 6 (USART, SPI, I2C, I2S, FLEXCOMM)*/
62    .long   FLEXCOMM7_IRQHandler                            /* Flexcomm Interface 7 (USART, SPI, I2C, I2S, FLEXCOMM)*/
63    .long   ADC0_IRQHandler                                 /* ADC0 */
64    .long   ADC1_IRQHandler                                 /* ADC1*/
65    .long   ACMP_IRQHandler                                 /* ACMP interrupts*/
66    .long   DMIC_IRQHandler                                 /* Digital microphone and DMIC subsystem*/
67    .long   HWVAD0_IRQHandler                               /* Hardware Voice Activity Detector*/
68    .long   USB0_NEEDCLK_IRQHandler                         /* USB Activity Wake-up Interrupt*/
69    .long   USB0_IRQHandler                                 /* USB device*/
70    .long   RTC_IRQHandler                                  /* RTC alarm and wake-up interrupts*/
71    .long   EZH_ARCH_B0_IRQHandler                          /* EZH interrupt*/
72    .long   WAKEUP_IRQHandler                               /* Wakeup interrupt*/
73    .long   PIN_INT4_IRQHandler                             /* Pin interrupt 4 or pattern match engine slice 4 int*/
74    .long   PIN_INT5_IRQHandler                             /* Pin interrupt 5 or pattern match engine slice 5 int*/
75    .long   PIN_INT6_IRQHandler                             /* Pin interrupt 6 or pattern match engine slice 6 int*/
76    .long   PIN_INT7_IRQHandler                             /* Pin interrupt 7 or pattern match engine slice 7 int*/
77    .long   CTIMER2_IRQHandler                              /* Standard counter/timer CTIMER2*/
78    .long   CTIMER4_IRQHandler                              /* Standard counter/timer CTIMER4*/
79    .long   OS_EVENT_IRQHandler                             /* OS_EVENT_TIMER and OS_EVENT_WAKEUP interrupts*/
80    .long   FlexSPI0_IRQHandler                             /* FlexSPI interrupt*/
81    .long   Reserved56_IRQHandler                           /* Reserved interrupt*/
82    .long   Reserved57_IRQHandler                           /* Reserved interrupt*/
83    .long   Reserved58_IRQHandler                           /* Reserved interrupt*/
84    .long   CAN0_IRQ0_IRQHandler                            /* CAN0 interrupt0*/
85    .long   CAN0_IRQ1_IRQHandler                            /* CAN0 interrupt1*/
86    .long   Reserved61_IRQHandler                           /* Reserved interrupt*/
87    .long   Reserved62_IRQHandler                           /* Reserved interrupt*/
88    .long   Reserved63_IRQHandler                           /* Reserved interrupt*/
89    .long   Reserved64_IRQHandler                           /* Reserved interrupt*/
90    .long   SEC_HYPERVISOR_CALL_IRQHandler                  /* SEC_HYPERVISOR_CALL interrupt*/
91    .long   SEC_GPIO_INT0_IRQ0_IRQHandler                   /* SEC_GPIO_INT00 interrupt*/
92    .long   SEC_GPIO_INT0_IRQ1_IRQHandler                   /* SEC_GPIO_INT01 interrupt*/
93    .long   Freqme_IRQHandler                               /* frequency measure interrupt*/
94    .long   SEC_VIO_IRQHandler                              /* SEC_VIO interrupt*/
95    .long   ELS_IRQHandler                                  /* ELS and ELS error interrupts*/
96    .long   PKC_IRQHandler                                  /* Public Key Cryptography interrupt*/
97    .long   Reserved72_IRQHandler                           /* Reserved interrupt*/
98    .long   POWERQUAD_IRQHandler                            /* PowerQuad interrupt*/
99    .long   DMA1_IRQHandler                                 /* DMA1 interrupt*/
100    .long   FLEXCOMM8_IRQHandler                            /* LSPI_HS interrupt*/
101    .long   CDOG_IRQHandler                                 /* CodeWDG interrupt*/
102    .long   Reserved77_IRQHandler                           /* Reserved interrupt*/
103    .long   I3C0_IRQHandler                                 /* I3C interrupt*/
104    .long   Reserved79_IRQHandler                           /* Reserved interrupt*/
105    .long   Reserved80_IRQHandler                           /* Reserved interrupt*/
106    .long   ELS_IRQ1_IRQHandler                             /* ELS_IRQ1*/
107    .long   Tamper_IRQHandler                               /* Tamper*/
108    .long   Reserved83_IRQHandler                           /* Reserved interrupt*/
109    .long   Reserved84_IRQHandler                           /* Reserved interrupt*/
110    .long   Reserved85_IRQHandler                           /* Reserved interrupt*/
111    .long   Reserved86_IRQHandler                           /* Reserved interrupt*/
112    .long   Reserved87_IRQHandler                           /* Reserved interrupt*/
113    .long   Reserved88_IRQHandler                           /* Reserved interrupt*/
114    .long   Reserved89_IRQHandler                           /* Reserved interrupt*/
115    .long   DAC0_IRQHandler                                 /* dac0 interrupt*/
116    .long   DAC1_IRQHandler                                 /* dac1 interrupt*/
117    .long   DAC2_IRQHandler                                 /* dac2 interrupt*/
118    .long   HSCMP0_IRQHandler                               /* hscmp0 interrupt*/
119    .long   HSCMP1_IRQHandler                               /* hscmp1 interrupt*/
120    .long   HSCMP2_IRQHandler                               /* hscmp2 interrupt*/
121    .long   FLEXPWM0_CAPTURE_IRQHandler                     /* flexpwm0_capture interrupt*/
122    .long   FLEXPWM0_FAULT_IRQHandler                       /* flexpwm0_fault interrupt*/
123    .long   FLEXPWM0_RELOAD_ERROR_IRQHandler                /* flexpwm0_reload_error interrupt*/
124    .long   FLEXPWM0_COMPARE0_IRQHandler                    /* flexpwm0_compare0 interrupt*/
125    .long   FLEXPWM0_RELOAD0_IRQHandler                     /* flexpwm0_reload0 interrupt*/
126    .long   FLEXPWM0_COMPARE1_IRQHandler                    /* flexpwm0_compare1 interrupt*/
127    .long   FLEXPWM0_RELOAD1_IRQHandler                     /* flexpwm0_reload1 interrupt*/
128    .long   FLEXPWM0_COMPARE2_IRQHandler                    /* flexpwm0_compare2 interrupt*/
129    .long   FLEXPWM0_RELOAD2_IRQHandler                     /* flexpwm0_reload2 interrupt*/
130    .long   FLEXPWM0_COMPARE3_IRQHandler                    /* flexpwm0_compare3 interrupt*/
131    .long   FLEXPWM0_RELOAD3_IRQHandler                     /* flexpwm0_reload3 interrupt*/
132    .long   FLEXPWM1_CAPTURE_IRQHandler                     /* flexpwm1_capture interrupt*/
133    .long   FLEXPWM1_FAULT_IRQHandler                       /* flexpwm1_fault interrupt*/
134    .long   FLEXPWM1_RELOAD_ERROR_IRQHandler                /* flexpwm1_reload_error interrupt*/
135    .long   FLEXPWM1_COMPARE0_IRQHandler                    /* flexpwm1_compare0 interrupt*/
136    .long   FLEXPWM1_RELOAD0_IRQHandler                     /* flexpwm1_reload0 interrupt*/
137    .long   FLEXPWM1_COMPARE1_IRQHandler                    /* flexpwm1_compare1 interrupt*/
138    .long   FLEXPWM1_RELOAD1_IRQHandler                     /* flexpwm1_reload1 interrupt*/
139    .long   FLEXPWM1_COMPARE2_IRQHandler                    /* flexpwm1_compare2 interrupt*/
140    .long   FLEXPWM1_RELOAD2_IRQHandler                     /* flexpwm1_reload2 interrupt*/
141    .long   FLEXPWM1_COMPARE3_IRQHandler                    /* flexpwm1_compare3 interrupt*/
142    .long   FLEXPWM1_RELOAD3_IRQHandler                     /* flexpwm1_reload3 interrupt*/
143    .long   ENC0_COMPARE_IRQHandler                         /* enc0_compare interrupt*/
144    .long   ENC0_HOME_IRQHandler                            /* enc0_home interrupt*/
145    .long   ENC0_WDG_IRQHandler                             /* enc0_wdg interrupt*/
146    .long   ENC0_IDX_IRQHandler                             /* enc0_idx interrupt*/
147    .long   ENC1_COMPARE_IRQHandler                         /* enc1_compare interrupt*/
148    .long   ENC1_HOME_IRQHandler                            /* enc1_home interrupt*/
149    .long   ENC1_WDG_IRQHandler                             /* enc1_wdg interrupt*/
150    .long   ENC1_IDX_IRQHandler                             /* enc1_idx interrupt*/
151    .long   Reserved126_IRQHandler                          /* Reserved interrupt*/
152    .long   Reserved127_IRQHandler                          /* Reserved interrupt*/
153    .long   ELS_ERR_IRQHandler                              /* ELS error interrupt*/
154    .long   PKC_ERR_IRQHandler                              /* PKC error interrupt*/
155    .long   Reserved130_IRQHandler                          /* Reserved interrupt*/
156    .long   Reserved131_IRQHandler                          /* Reserved interrupt*/
157    .long   Reserved132_IRQHandler                          /* Reserved interrupt*/
158    .long   Reserved133_IRQHandler                          /* Reserved interrupt*/
159    .long   FLASH_IRQHandler                                /* flash interrupt*/
160    .long   RAM_PARITY_ECC_ERR_IRQHandler                   /* ram_parity_ecc_err interrupt*/
161
162    .size   __Vectors, . - __Vectors
163
164    .text
165    .thumb
166
167#if defined (__cplusplus)
168#ifdef __REDLIB__
169#error Redlib does not support C++
170#endif
171#endif
172/* Reset Handler */
173
174    .thumb_func
175    .align 2
176    .globl   Reset_Handler
177    .weak    Reset_Handler
178    .type    Reset_Handler, %function
179Reset_Handler:
180    cpsid   i               /* Mask interrupts */
181    .equ    VTOR, 0xE000ED08
182    ldr     r0, =VTOR
183    ldr     r1, =__Vectors
184    str     r1, [r0]
185    ldr     r2, [r1]
186    msr     msp, r2
187#ifndef __NO_SYSTEM_INIT
188    ldr   r0,=SystemInit
189    blx   r0
190#endif
191/*     Loop to copy data from read only memory to RAM. The ranges
192 *      of copy from/to are specified by following symbols evaluated in
193 *      linker script.
194 *      __etext: End of code section, i.e., begin of data sections to copy from.
195 *      __data_start__/__data_end__: RAM address range that data should be
196 *      copied to. Both must be aligned to 4 bytes boundary.  */
197
198    ldr    r1, =__etext
199    ldr    r2, =__data_start__
200    ldr    r3, =__data_end__
201
202#if 1
203/* Here are two copies of loop implemenations. First one favors code size
204 * and the second one favors performance. Default uses the first one.
205 * Change to "#if 0" to use the second one */
206.LC0:
207    cmp     r2, r3
208    ittt    lt
209    ldrlt   r0, [r1], #4
210    strlt   r0, [r2], #4
211    blt    .LC0
212#else
213    subs    r3, r2
214    ble    .LC1
215.LC0:
216    subs    r3, #4
217    ldr    r0, [r1, r3]
218    str    r0, [r2, r3]
219    bgt    .LC0
220.LC1:
221#endif
222
223#ifdef __STARTUP_CLEAR_BSS
224/*     This part of work usually is done in C library startup code. Otherwise,
225 *     define this macro to enable it in this startup.
226 *
227 *     Loop to zero out BSS section, which uses following symbols
228 *     in linker script:
229 *      __bss_start__: start of BSS section. Must align to 4
230 *      __bss_end__: end of BSS section. Must align to 4
231 */
232    ldr r1, =__bss_start__
233    ldr r2, =__bss_end__
234
235    movs    r0, 0
236.LC2:
237    cmp     r1, r2
238    itt    lt
239    strlt   r0, [r1], #4
240    blt    .LC2
241#endif /* __STARTUP_CLEAR_BSS */
242
243/* Add stack / heap initializaiton */
244    movs    r0, 0
245    ldr     r1, =__HeapBase
246    ldr     r2, =__HeapLimit
247.LC3:
248    cmp     r1, r2
249    itt     lt
250    strlt   r0, [r1], #4
251    blt     .LC3
252
253    ldr     r1, =__StackLimit
254    ldr     r2, =__StackTop
255.LC4:
256    cmp     r1, r2
257    itt     lt
258    strlt   r0, [r1], #4
259    blt     .LC4
260
261/*End of stack / heap initializaiton */
262    cpsie   i               /* Unmask interrupts */
263#ifndef __START
264#ifdef __REDLIB__
265#define __START __main
266#else
267#define __START _start
268#endif
269#endif
270#ifndef __ATOLLIC__
271    ldr   r0,=__START
272    blx   r0
273#else
274    ldr   r0,=__libc_init_array
275    blx   r0
276    ldr   r0,=main
277    bx    r0
278#endif
279    .pool
280    .size Reset_Handler, . - Reset_Handler
281
282    .align  1
283    .thumb_func
284    .weak DefaultISR
285    .type DefaultISR, %function
286DefaultISR:
287    b DefaultISR
288    .size DefaultISR, . - DefaultISR
289
290    .align 1
291    .thumb_func
292    .weak NMI_Handler
293    .type NMI_Handler, %function
294NMI_Handler:
295    ldr   r0,=NMI_Handler
296    bx    r0
297    .size NMI_Handler, . - NMI_Handler
298
299    .align 1
300    .thumb_func
301    .weak HardFault_Handler
302    .type HardFault_Handler, %function
303HardFault_Handler:
304    ldr   r0,=HardFault_Handler
305    bx    r0
306    .size HardFault_Handler, . - HardFault_Handler
307
308    .align 1
309    .thumb_func
310    .weak SVC_Handler
311    .type SVC_Handler, %function
312SVC_Handler:
313    ldr   r0,=SVC_Handler
314    bx    r0
315    .size SVC_Handler, . - SVC_Handler
316
317    .align 1
318    .thumb_func
319    .weak PendSV_Handler
320    .type PendSV_Handler, %function
321PendSV_Handler:
322    ldr   r0,=PendSV_Handler
323    bx    r0
324    .size PendSV_Handler, . - PendSV_Handler
325
326    .align 1
327    .thumb_func
328    .weak SysTick_Handler
329    .type SysTick_Handler, %function
330SysTick_Handler:
331    ldr   r0,=SysTick_Handler
332    bx    r0
333    .size SysTick_Handler, . - SysTick_Handler
334
335    .align 1
336    .thumb_func
337    .weak WDT_BOD_IRQHandler
338    .type WDT_BOD_IRQHandler, %function
339WDT_BOD_IRQHandler:
340    ldr   r0,=WDT_BOD_DriverIRQHandler
341    bx    r0
342    .size WDT_BOD_IRQHandler, . - WDT_BOD_IRQHandler
343
344    .align 1
345    .thumb_func
346    .weak DMA0_IRQHandler
347    .type DMA0_IRQHandler, %function
348DMA0_IRQHandler:
349    ldr   r0,=DMA0_DriverIRQHandler
350    bx    r0
351    .size DMA0_IRQHandler, . - DMA0_IRQHandler
352
353    .align 1
354    .thumb_func
355    .weak GINT0_IRQHandler
356    .type GINT0_IRQHandler, %function
357GINT0_IRQHandler:
358    ldr   r0,=GINT0_DriverIRQHandler
359    bx    r0
360    .size GINT0_IRQHandler, . - GINT0_IRQHandler
361
362    .align 1
363    .thumb_func
364    .weak GINT1_IRQHandler
365    .type GINT1_IRQHandler, %function
366GINT1_IRQHandler:
367    ldr   r0,=GINT1_DriverIRQHandler
368    bx    r0
369    .size GINT1_IRQHandler, . - GINT1_IRQHandler
370
371    .align 1
372    .thumb_func
373    .weak PIN_INT0_IRQHandler
374    .type PIN_INT0_IRQHandler, %function
375PIN_INT0_IRQHandler:
376    ldr   r0,=PIN_INT0_DriverIRQHandler
377    bx    r0
378    .size PIN_INT0_IRQHandler, . - PIN_INT0_IRQHandler
379
380    .align 1
381    .thumb_func
382    .weak PIN_INT1_IRQHandler
383    .type PIN_INT1_IRQHandler, %function
384PIN_INT1_IRQHandler:
385    ldr   r0,=PIN_INT1_DriverIRQHandler
386    bx    r0
387    .size PIN_INT1_IRQHandler, . - PIN_INT1_IRQHandler
388
389    .align 1
390    .thumb_func
391    .weak PIN_INT2_IRQHandler
392    .type PIN_INT2_IRQHandler, %function
393PIN_INT2_IRQHandler:
394    ldr   r0,=PIN_INT2_DriverIRQHandler
395    bx    r0
396    .size PIN_INT2_IRQHandler, . - PIN_INT2_IRQHandler
397
398    .align 1
399    .thumb_func
400    .weak PIN_INT3_IRQHandler
401    .type PIN_INT3_IRQHandler, %function
402PIN_INT3_IRQHandler:
403    ldr   r0,=PIN_INT3_DriverIRQHandler
404    bx    r0
405    .size PIN_INT3_IRQHandler, . - PIN_INT3_IRQHandler
406
407    .align 1
408    .thumb_func
409    .weak UTICK0_IRQHandler
410    .type UTICK0_IRQHandler, %function
411UTICK0_IRQHandler:
412    ldr   r0,=UTICK0_DriverIRQHandler
413    bx    r0
414    .size UTICK0_IRQHandler, . - UTICK0_IRQHandler
415
416    .align 1
417    .thumb_func
418    .weak MRT0_IRQHandler
419    .type MRT0_IRQHandler, %function
420MRT0_IRQHandler:
421    ldr   r0,=MRT0_DriverIRQHandler
422    bx    r0
423    .size MRT0_IRQHandler, . - MRT0_IRQHandler
424
425    .align 1
426    .thumb_func
427    .weak CTIMER0_IRQHandler
428    .type CTIMER0_IRQHandler, %function
429CTIMER0_IRQHandler:
430    ldr   r0,=CTIMER0_DriverIRQHandler
431    bx    r0
432    .size CTIMER0_IRQHandler, . - CTIMER0_IRQHandler
433
434    .align 1
435    .thumb_func
436    .weak CTIMER1_IRQHandler
437    .type CTIMER1_IRQHandler, %function
438CTIMER1_IRQHandler:
439    ldr   r0,=CTIMER1_DriverIRQHandler
440    bx    r0
441    .size CTIMER1_IRQHandler, . - CTIMER1_IRQHandler
442
443    .align 1
444    .thumb_func
445    .weak SCT0_IRQHandler
446    .type SCT0_IRQHandler, %function
447SCT0_IRQHandler:
448    ldr   r0,=SCT0_DriverIRQHandler
449    bx    r0
450    .size SCT0_IRQHandler, . - SCT0_IRQHandler
451
452    .align 1
453    .thumb_func
454    .weak CTIMER3_IRQHandler
455    .type CTIMER3_IRQHandler, %function
456CTIMER3_IRQHandler:
457    ldr   r0,=CTIMER3_DriverIRQHandler
458    bx    r0
459    .size CTIMER3_IRQHandler, . - CTIMER3_IRQHandler
460
461    .align 1
462    .thumb_func
463    .weak FLEXCOMM0_IRQHandler
464    .type FLEXCOMM0_IRQHandler, %function
465FLEXCOMM0_IRQHandler:
466    ldr   r0,=FLEXCOMM0_DriverIRQHandler
467    bx    r0
468    .size FLEXCOMM0_IRQHandler, . - FLEXCOMM0_IRQHandler
469
470    .align 1
471    .thumb_func
472    .weak FLEXCOMM1_IRQHandler
473    .type FLEXCOMM1_IRQHandler, %function
474FLEXCOMM1_IRQHandler:
475    ldr   r0,=FLEXCOMM1_DriverIRQHandler
476    bx    r0
477    .size FLEXCOMM1_IRQHandler, . - FLEXCOMM1_IRQHandler
478
479    .align 1
480    .thumb_func
481    .weak FLEXCOMM2_IRQHandler
482    .type FLEXCOMM2_IRQHandler, %function
483FLEXCOMM2_IRQHandler:
484    ldr   r0,=FLEXCOMM2_DriverIRQHandler
485    bx    r0
486    .size FLEXCOMM2_IRQHandler, . - FLEXCOMM2_IRQHandler
487
488    .align 1
489    .thumb_func
490    .weak FLEXCOMM3_IRQHandler
491    .type FLEXCOMM3_IRQHandler, %function
492FLEXCOMM3_IRQHandler:
493    ldr   r0,=FLEXCOMM3_DriverIRQHandler
494    bx    r0
495    .size FLEXCOMM3_IRQHandler, . - FLEXCOMM3_IRQHandler
496
497    .align 1
498    .thumb_func
499    .weak FLEXCOMM4_IRQHandler
500    .type FLEXCOMM4_IRQHandler, %function
501FLEXCOMM4_IRQHandler:
502    ldr   r0,=FLEXCOMM4_DriverIRQHandler
503    bx    r0
504    .size FLEXCOMM4_IRQHandler, . - FLEXCOMM4_IRQHandler
505
506    .align 1
507    .thumb_func
508    .weak FLEXCOMM5_IRQHandler
509    .type FLEXCOMM5_IRQHandler, %function
510FLEXCOMM5_IRQHandler:
511    ldr   r0,=FLEXCOMM5_DriverIRQHandler
512    bx    r0
513    .size FLEXCOMM5_IRQHandler, . - FLEXCOMM5_IRQHandler
514
515    .align 1
516    .thumb_func
517    .weak FLEXCOMM6_IRQHandler
518    .type FLEXCOMM6_IRQHandler, %function
519FLEXCOMM6_IRQHandler:
520    ldr   r0,=FLEXCOMM6_DriverIRQHandler
521    bx    r0
522    .size FLEXCOMM6_IRQHandler, . - FLEXCOMM6_IRQHandler
523
524    .align 1
525    .thumb_func
526    .weak FLEXCOMM7_IRQHandler
527    .type FLEXCOMM7_IRQHandler, %function
528FLEXCOMM7_IRQHandler:
529    ldr   r0,=FLEXCOMM7_DriverIRQHandler
530    bx    r0
531    .size FLEXCOMM7_IRQHandler, . - FLEXCOMM7_IRQHandler
532
533    .align 1
534    .thumb_func
535    .weak ADC0_IRQHandler
536    .type ADC0_IRQHandler, %function
537ADC0_IRQHandler:
538    ldr   r0,=ADC0_DriverIRQHandler
539    bx    r0
540    .size ADC0_IRQHandler, . - ADC0_IRQHandler
541
542    .align 1
543    .thumb_func
544    .weak ADC1_IRQHandler
545    .type ADC1_IRQHandler, %function
546ADC1_IRQHandler:
547    ldr   r0,=ADC1_DriverIRQHandler
548    bx    r0
549    .size ADC1_IRQHandler, . - ADC1_IRQHandler
550
551    .align 1
552    .thumb_func
553    .weak ACMP_IRQHandler
554    .type ACMP_IRQHandler, %function
555ACMP_IRQHandler:
556    ldr   r0,=ACMP_DriverIRQHandler
557    bx    r0
558    .size ACMP_IRQHandler, . - ACMP_IRQHandler
559
560    .align 1
561    .thumb_func
562    .weak DMIC_IRQHandler
563    .type DMIC_IRQHandler, %function
564DMIC_IRQHandler:
565    ldr   r0,=DMIC_DriverIRQHandler
566    bx    r0
567    .size DMIC_IRQHandler, . - DMIC_IRQHandler
568
569    .align 1
570    .thumb_func
571    .weak HWVAD0_IRQHandler
572    .type HWVAD0_IRQHandler, %function
573HWVAD0_IRQHandler:
574    ldr   r0,=HWVAD0_DriverIRQHandler
575    bx    r0
576    .size HWVAD0_IRQHandler, . - HWVAD0_IRQHandler
577
578    .align 1
579    .thumb_func
580    .weak USB0_NEEDCLK_IRQHandler
581    .type USB0_NEEDCLK_IRQHandler, %function
582USB0_NEEDCLK_IRQHandler:
583    ldr   r0,=USB0_NEEDCLK_DriverIRQHandler
584    bx    r0
585    .size USB0_NEEDCLK_IRQHandler, . - USB0_NEEDCLK_IRQHandler
586
587    .align 1
588    .thumb_func
589    .weak USB0_IRQHandler
590    .type USB0_IRQHandler, %function
591USB0_IRQHandler:
592    ldr   r0,=USB0_DriverIRQHandler
593    bx    r0
594    .size USB0_IRQHandler, . - USB0_IRQHandler
595
596    .align 1
597    .thumb_func
598    .weak RTC_IRQHandler
599    .type RTC_IRQHandler, %function
600RTC_IRQHandler:
601    ldr   r0,=RTC_DriverIRQHandler
602    bx    r0
603    .size RTC_IRQHandler, . - RTC_IRQHandler
604
605    .align 1
606    .thumb_func
607    .weak EZH_ARCH_B0_IRQHandler
608    .type EZH_ARCH_B0_IRQHandler, %function
609EZH_ARCH_B0_IRQHandler:
610    ldr   r0,=EZH_ARCH_B0_DriverIRQHandler
611    bx    r0
612    .size EZH_ARCH_B0_IRQHandler, . - EZH_ARCH_B0_IRQHandler
613
614    .align 1
615    .thumb_func
616    .weak WAKEUP_IRQHandler
617    .type WAKEUP_IRQHandler, %function
618WAKEUP_IRQHandler:
619    ldr   r0,=WAKEUP_DriverIRQHandler
620    bx    r0
621    .size WAKEUP_IRQHandler, . - WAKEUP_IRQHandler
622
623    .align 1
624    .thumb_func
625    .weak PIN_INT4_IRQHandler
626    .type PIN_INT4_IRQHandler, %function
627PIN_INT4_IRQHandler:
628    ldr   r0,=PIN_INT4_DriverIRQHandler
629    bx    r0
630    .size PIN_INT4_IRQHandler, . - PIN_INT4_IRQHandler
631
632    .align 1
633    .thumb_func
634    .weak PIN_INT5_IRQHandler
635    .type PIN_INT5_IRQHandler, %function
636PIN_INT5_IRQHandler:
637    ldr   r0,=PIN_INT5_DriverIRQHandler
638    bx    r0
639    .size PIN_INT5_IRQHandler, . - PIN_INT5_IRQHandler
640
641    .align 1
642    .thumb_func
643    .weak PIN_INT6_IRQHandler
644    .type PIN_INT6_IRQHandler, %function
645PIN_INT6_IRQHandler:
646    ldr   r0,=PIN_INT6_DriverIRQHandler
647    bx    r0
648    .size PIN_INT6_IRQHandler, . - PIN_INT6_IRQHandler
649
650    .align 1
651    .thumb_func
652    .weak PIN_INT7_IRQHandler
653    .type PIN_INT7_IRQHandler, %function
654PIN_INT7_IRQHandler:
655    ldr   r0,=PIN_INT7_DriverIRQHandler
656    bx    r0
657    .size PIN_INT7_IRQHandler, . - PIN_INT7_IRQHandler
658
659    .align 1
660    .thumb_func
661    .weak CTIMER2_IRQHandler
662    .type CTIMER2_IRQHandler, %function
663CTIMER2_IRQHandler:
664    ldr   r0,=CTIMER2_DriverIRQHandler
665    bx    r0
666    .size CTIMER2_IRQHandler, . - CTIMER2_IRQHandler
667
668    .align 1
669    .thumb_func
670    .weak CTIMER4_IRQHandler
671    .type CTIMER4_IRQHandler, %function
672CTIMER4_IRQHandler:
673    ldr   r0,=CTIMER4_DriverIRQHandler
674    bx    r0
675    .size CTIMER4_IRQHandler, . - CTIMER4_IRQHandler
676
677    .align 1
678    .thumb_func
679    .weak OS_EVENT_IRQHandler
680    .type OS_EVENT_IRQHandler, %function
681OS_EVENT_IRQHandler:
682    ldr   r0,=OS_EVENT_DriverIRQHandler
683    bx    r0
684    .size OS_EVENT_IRQHandler, . - OS_EVENT_IRQHandler
685
686    .align 1
687    .thumb_func
688    .weak FlexSPI0_IRQHandler
689    .type FlexSPI0_IRQHandler, %function
690FlexSPI0_IRQHandler:
691    ldr   r0,=FlexSPI0_DriverIRQHandler
692    bx    r0
693    .size FlexSPI0_IRQHandler, . - FlexSPI0_IRQHandler
694
695    .align 1
696    .thumb_func
697    .weak Reserved56_IRQHandler
698    .type Reserved56_IRQHandler, %function
699Reserved56_IRQHandler:
700    ldr   r0,=Reserved56_DriverIRQHandler
701    bx    r0
702    .size Reserved56_IRQHandler, . - Reserved56_IRQHandler
703
704    .align 1
705    .thumb_func
706    .weak Reserved57_IRQHandler
707    .type Reserved57_IRQHandler, %function
708Reserved57_IRQHandler:
709    ldr   r0,=Reserved57_DriverIRQHandler
710    bx    r0
711    .size Reserved57_IRQHandler, . - Reserved57_IRQHandler
712
713    .align 1
714    .thumb_func
715    .weak Reserved58_IRQHandler
716    .type Reserved58_IRQHandler, %function
717Reserved58_IRQHandler:
718    ldr   r0,=Reserved58_DriverIRQHandler
719    bx    r0
720    .size Reserved58_IRQHandler, . - Reserved58_IRQHandler
721
722    .align 1
723    .thumb_func
724    .weak CAN0_IRQ0_IRQHandler
725    .type CAN0_IRQ0_IRQHandler, %function
726CAN0_IRQ0_IRQHandler:
727    ldr   r0,=CAN0_IRQ0_DriverIRQHandler
728    bx    r0
729    .size CAN0_IRQ0_IRQHandler, . - CAN0_IRQ0_IRQHandler
730
731    .align 1
732    .thumb_func
733    .weak CAN0_IRQ1_IRQHandler
734    .type CAN0_IRQ1_IRQHandler, %function
735CAN0_IRQ1_IRQHandler:
736    ldr   r0,=CAN0_IRQ1_DriverIRQHandler
737    bx    r0
738    .size CAN0_IRQ1_IRQHandler, . - CAN0_IRQ1_IRQHandler
739
740    .align 1
741    .thumb_func
742    .weak Reserved61_IRQHandler
743    .type Reserved61_IRQHandler, %function
744Reserved61_IRQHandler:
745    ldr   r0,=Reserved61_DriverIRQHandler
746    bx    r0
747    .size Reserved61_IRQHandler, . - Reserved61_IRQHandler
748
749    .align 1
750    .thumb_func
751    .weak Reserved62_IRQHandler
752    .type Reserved62_IRQHandler, %function
753Reserved62_IRQHandler:
754    ldr   r0,=Reserved62_DriverIRQHandler
755    bx    r0
756    .size Reserved62_IRQHandler, . - Reserved62_IRQHandler
757
758    .align 1
759    .thumb_func
760    .weak Reserved63_IRQHandler
761    .type Reserved63_IRQHandler, %function
762Reserved63_IRQHandler:
763    ldr   r0,=Reserved63_DriverIRQHandler
764    bx    r0
765    .size Reserved63_IRQHandler, . - Reserved63_IRQHandler
766
767    .align 1
768    .thumb_func
769    .weak Reserved64_IRQHandler
770    .type Reserved64_IRQHandler, %function
771Reserved64_IRQHandler:
772    ldr   r0,=Reserved64_DriverIRQHandler
773    bx    r0
774    .size Reserved64_IRQHandler, . - Reserved64_IRQHandler
775
776    .align 1
777    .thumb_func
778    .weak SEC_HYPERVISOR_CALL_IRQHandler
779    .type SEC_HYPERVISOR_CALL_IRQHandler, %function
780SEC_HYPERVISOR_CALL_IRQHandler:
781    ldr   r0,=SEC_HYPERVISOR_CALL_DriverIRQHandler
782    bx    r0
783    .size SEC_HYPERVISOR_CALL_IRQHandler, . - SEC_HYPERVISOR_CALL_IRQHandler
784
785    .align 1
786    .thumb_func
787    .weak SEC_GPIO_INT0_IRQ0_IRQHandler
788    .type SEC_GPIO_INT0_IRQ0_IRQHandler, %function
789SEC_GPIO_INT0_IRQ0_IRQHandler:
790    ldr   r0,=SEC_GPIO_INT0_IRQ0_DriverIRQHandler
791    bx    r0
792    .size SEC_GPIO_INT0_IRQ0_IRQHandler, . - SEC_GPIO_INT0_IRQ0_IRQHandler
793
794    .align 1
795    .thumb_func
796    .weak SEC_GPIO_INT0_IRQ1_IRQHandler
797    .type SEC_GPIO_INT0_IRQ1_IRQHandler, %function
798SEC_GPIO_INT0_IRQ1_IRQHandler:
799    ldr   r0,=SEC_GPIO_INT0_IRQ1_DriverIRQHandler
800    bx    r0
801    .size SEC_GPIO_INT0_IRQ1_IRQHandler, . - SEC_GPIO_INT0_IRQ1_IRQHandler
802
803    .align 1
804    .thumb_func
805    .weak Freqme_IRQHandler
806    .type Freqme_IRQHandler, %function
807Freqme_IRQHandler:
808    ldr   r0,=Freqme_DriverIRQHandler
809    bx    r0
810    .size Freqme_IRQHandler, . - Freqme_IRQHandler
811
812    .align 1
813    .thumb_func
814    .weak SEC_VIO_IRQHandler
815    .type SEC_VIO_IRQHandler, %function
816SEC_VIO_IRQHandler:
817    ldr   r0,=SEC_VIO_DriverIRQHandler
818    bx    r0
819    .size SEC_VIO_IRQHandler, . - SEC_VIO_IRQHandler
820
821    .align 1
822    .thumb_func
823    .weak ELS_IRQHandler
824    .type ELS_IRQHandler, %function
825ELS_IRQHandler:
826    ldr   r0,=ELS_DriverIRQHandler
827    bx    r0
828    .size ELS_IRQHandler, . - ELS_IRQHandler
829
830    .align 1
831    .thumb_func
832    .weak PKC_IRQHandler
833    .type PKC_IRQHandler, %function
834PKC_IRQHandler:
835    ldr   r0,=PKC_DriverIRQHandler
836    bx    r0
837    .size PKC_IRQHandler, . - PKC_IRQHandler
838
839    .align 1
840    .thumb_func
841    .weak Reserved72_IRQHandler
842    .type Reserved72_IRQHandler, %function
843Reserved72_IRQHandler:
844    ldr   r0,=Reserved72_DriverIRQHandler
845    bx    r0
846    .size Reserved72_IRQHandler, . - Reserved72_IRQHandler
847
848    .align 1
849    .thumb_func
850    .weak POWERQUAD_IRQHandler
851    .type POWERQUAD_IRQHandler, %function
852POWERQUAD_IRQHandler:
853    ldr   r0,=POWERQUAD_DriverIRQHandler
854    bx    r0
855    .size POWERQUAD_IRQHandler, . - POWERQUAD_IRQHandler
856
857    .align 1
858    .thumb_func
859    .weak DMA1_IRQHandler
860    .type DMA1_IRQHandler, %function
861DMA1_IRQHandler:
862    ldr   r0,=DMA1_DriverIRQHandler
863    bx    r0
864    .size DMA1_IRQHandler, . - DMA1_IRQHandler
865
866    .align 1
867    .thumb_func
868    .weak FLEXCOMM8_IRQHandler
869    .type FLEXCOMM8_IRQHandler, %function
870FLEXCOMM8_IRQHandler:
871    ldr   r0,=FLEXCOMM8_DriverIRQHandler
872    bx    r0
873    .size FLEXCOMM8_IRQHandler, . - FLEXCOMM8_IRQHandler
874
875    .align 1
876    .thumb_func
877    .weak CDOG_IRQHandler
878    .type CDOG_IRQHandler, %function
879CDOG_IRQHandler:
880    ldr   r0,=CDOG_DriverIRQHandler
881    bx    r0
882    .size CDOG_IRQHandler, . - CDOG_IRQHandler
883
884    .align 1
885    .thumb_func
886    .weak Reserved77_IRQHandler
887    .type Reserved77_IRQHandler, %function
888Reserved77_IRQHandler:
889    ldr   r0,=Reserved77_DriverIRQHandler
890    bx    r0
891    .size Reserved77_IRQHandler, . - Reserved77_IRQHandler
892
893    .align 1
894    .thumb_func
895    .weak I3C0_IRQHandler
896    .type I3C0_IRQHandler, %function
897I3C0_IRQHandler:
898    ldr   r0,=I3C0_DriverIRQHandler
899    bx    r0
900    .size I3C0_IRQHandler, . - I3C0_IRQHandler
901
902    .align 1
903    .thumb_func
904    .weak Reserved79_IRQHandler
905    .type Reserved79_IRQHandler, %function
906Reserved79_IRQHandler:
907    ldr   r0,=Reserved79_DriverIRQHandler
908    bx    r0
909    .size Reserved79_IRQHandler, . - Reserved79_IRQHandler
910
911    .align 1
912    .thumb_func
913    .weak Reserved80_IRQHandler
914    .type Reserved80_IRQHandler, %function
915Reserved80_IRQHandler:
916    ldr   r0,=Reserved80_DriverIRQHandler
917    bx    r0
918    .size Reserved80_IRQHandler, . - Reserved80_IRQHandler
919
920    .align 1
921    .thumb_func
922    .weak ELS_IRQ1_IRQHandler
923    .type ELS_IRQ1_IRQHandler, %function
924ELS_IRQ1_IRQHandler:
925    ldr   r0,=ELS_IRQ1_DriverIRQHandler
926    bx    r0
927    .size ELS_IRQ1_IRQHandler, . - ELS_IRQ1_IRQHandler
928
929    .align 1
930    .thumb_func
931    .weak Tamper_IRQHandler
932    .type Tamper_IRQHandler, %function
933Tamper_IRQHandler:
934    ldr   r0,=Tamper_DriverIRQHandler
935    bx    r0
936    .size Tamper_IRQHandler, . - Tamper_IRQHandler
937
938    .align 1
939    .thumb_func
940    .weak Reserved83_IRQHandler
941    .type Reserved83_IRQHandler, %function
942Reserved83_IRQHandler:
943    ldr   r0,=Reserved83_DriverIRQHandler
944    bx    r0
945    .size Reserved83_IRQHandler, . - Reserved83_IRQHandler
946
947    .align 1
948    .thumb_func
949    .weak Reserved84_IRQHandler
950    .type Reserved84_IRQHandler, %function
951Reserved84_IRQHandler:
952    ldr   r0,=Reserved84_DriverIRQHandler
953    bx    r0
954    .size Reserved84_IRQHandler, . - Reserved84_IRQHandler
955
956    .align 1
957    .thumb_func
958    .weak Reserved85_IRQHandler
959    .type Reserved85_IRQHandler, %function
960Reserved85_IRQHandler:
961    ldr   r0,=Reserved85_DriverIRQHandler
962    bx    r0
963    .size Reserved85_IRQHandler, . - Reserved85_IRQHandler
964
965    .align 1
966    .thumb_func
967    .weak Reserved86_IRQHandler
968    .type Reserved86_IRQHandler, %function
969Reserved86_IRQHandler:
970    ldr   r0,=Reserved86_DriverIRQHandler
971    bx    r0
972    .size Reserved86_IRQHandler, . - Reserved86_IRQHandler
973
974    .align 1
975    .thumb_func
976    .weak Reserved87_IRQHandler
977    .type Reserved87_IRQHandler, %function
978Reserved87_IRQHandler:
979    ldr   r0,=Reserved87_DriverIRQHandler
980    bx    r0
981    .size Reserved87_IRQHandler, . - Reserved87_IRQHandler
982
983    .align 1
984    .thumb_func
985    .weak Reserved88_IRQHandler
986    .type Reserved88_IRQHandler, %function
987Reserved88_IRQHandler:
988    ldr   r0,=Reserved88_DriverIRQHandler
989    bx    r0
990    .size Reserved88_IRQHandler, . - Reserved88_IRQHandler
991
992    .align 1
993    .thumb_func
994    .weak Reserved89_IRQHandler
995    .type Reserved89_IRQHandler, %function
996Reserved89_IRQHandler:
997    ldr   r0,=Reserved89_DriverIRQHandler
998    bx    r0
999    .size Reserved89_IRQHandler, . - Reserved89_IRQHandler
1000
1001    .align 1
1002    .thumb_func
1003    .weak DAC0_IRQHandler
1004    .type DAC0_IRQHandler, %function
1005DAC0_IRQHandler:
1006    ldr   r0,=DAC0_DriverIRQHandler
1007    bx    r0
1008    .size DAC0_IRQHandler, . - DAC0_IRQHandler
1009
1010    .align 1
1011    .thumb_func
1012    .weak DAC1_IRQHandler
1013    .type DAC1_IRQHandler, %function
1014DAC1_IRQHandler:
1015    ldr   r0,=DAC1_DriverIRQHandler
1016    bx    r0
1017    .size DAC1_IRQHandler, . - DAC1_IRQHandler
1018
1019    .align 1
1020    .thumb_func
1021    .weak DAC2_IRQHandler
1022    .type DAC2_IRQHandler, %function
1023DAC2_IRQHandler:
1024    ldr   r0,=DAC2_DriverIRQHandler
1025    bx    r0
1026    .size DAC2_IRQHandler, . - DAC2_IRQHandler
1027
1028    .align 1
1029    .thumb_func
1030    .weak HSCMP0_IRQHandler
1031    .type HSCMP0_IRQHandler, %function
1032HSCMP0_IRQHandler:
1033    ldr   r0,=HSCMP0_DriverIRQHandler
1034    bx    r0
1035    .size HSCMP0_IRQHandler, . - HSCMP0_IRQHandler
1036
1037    .align 1
1038    .thumb_func
1039    .weak HSCMP1_IRQHandler
1040    .type HSCMP1_IRQHandler, %function
1041HSCMP1_IRQHandler:
1042    ldr   r0,=HSCMP1_DriverIRQHandler
1043    bx    r0
1044    .size HSCMP1_IRQHandler, . - HSCMP1_IRQHandler
1045
1046    .align 1
1047    .thumb_func
1048    .weak HSCMP2_IRQHandler
1049    .type HSCMP2_IRQHandler, %function
1050HSCMP2_IRQHandler:
1051    ldr   r0,=HSCMP2_DriverIRQHandler
1052    bx    r0
1053    .size HSCMP2_IRQHandler, . - HSCMP2_IRQHandler
1054
1055    .align 1
1056    .thumb_func
1057    .weak FLEXPWM0_CAPTURE_IRQHandler
1058    .type FLEXPWM0_CAPTURE_IRQHandler, %function
1059FLEXPWM0_CAPTURE_IRQHandler:
1060    ldr   r0,=FLEXPWM0_CAPTURE_DriverIRQHandler
1061    bx    r0
1062    .size FLEXPWM0_CAPTURE_IRQHandler, . - FLEXPWM0_CAPTURE_IRQHandler
1063
1064    .align 1
1065    .thumb_func
1066    .weak FLEXPWM0_FAULT_IRQHandler
1067    .type FLEXPWM0_FAULT_IRQHandler, %function
1068FLEXPWM0_FAULT_IRQHandler:
1069    ldr   r0,=FLEXPWM0_FAULT_DriverIRQHandler
1070    bx    r0
1071    .size FLEXPWM0_FAULT_IRQHandler, . - FLEXPWM0_FAULT_IRQHandler
1072
1073    .align 1
1074    .thumb_func
1075    .weak FLEXPWM0_RELOAD_ERROR_IRQHandler
1076    .type FLEXPWM0_RELOAD_ERROR_IRQHandler, %function
1077FLEXPWM0_RELOAD_ERROR_IRQHandler:
1078    ldr   r0,=FLEXPWM0_RELOAD_ERROR_DriverIRQHandler
1079    bx    r0
1080    .size FLEXPWM0_RELOAD_ERROR_IRQHandler, . - FLEXPWM0_RELOAD_ERROR_IRQHandler
1081
1082    .align 1
1083    .thumb_func
1084    .weak FLEXPWM0_COMPARE0_IRQHandler
1085    .type FLEXPWM0_COMPARE0_IRQHandler, %function
1086FLEXPWM0_COMPARE0_IRQHandler:
1087    ldr   r0,=FLEXPWM0_COMPARE0_DriverIRQHandler
1088    bx    r0
1089    .size FLEXPWM0_COMPARE0_IRQHandler, . - FLEXPWM0_COMPARE0_IRQHandler
1090
1091    .align 1
1092    .thumb_func
1093    .weak FLEXPWM0_RELOAD0_IRQHandler
1094    .type FLEXPWM0_RELOAD0_IRQHandler, %function
1095FLEXPWM0_RELOAD0_IRQHandler:
1096    ldr   r0,=FLEXPWM0_RELOAD0_DriverIRQHandler
1097    bx    r0
1098    .size FLEXPWM0_RELOAD0_IRQHandler, . - FLEXPWM0_RELOAD0_IRQHandler
1099
1100    .align 1
1101    .thumb_func
1102    .weak FLEXPWM0_COMPARE1_IRQHandler
1103    .type FLEXPWM0_COMPARE1_IRQHandler, %function
1104FLEXPWM0_COMPARE1_IRQHandler:
1105    ldr   r0,=FLEXPWM0_COMPARE1_DriverIRQHandler
1106    bx    r0
1107    .size FLEXPWM0_COMPARE1_IRQHandler, . - FLEXPWM0_COMPARE1_IRQHandler
1108
1109    .align 1
1110    .thumb_func
1111    .weak FLEXPWM0_RELOAD1_IRQHandler
1112    .type FLEXPWM0_RELOAD1_IRQHandler, %function
1113FLEXPWM0_RELOAD1_IRQHandler:
1114    ldr   r0,=FLEXPWM0_RELOAD1_DriverIRQHandler
1115    bx    r0
1116    .size FLEXPWM0_RELOAD1_IRQHandler, . - FLEXPWM0_RELOAD1_IRQHandler
1117
1118    .align 1
1119    .thumb_func
1120    .weak FLEXPWM0_COMPARE2_IRQHandler
1121    .type FLEXPWM0_COMPARE2_IRQHandler, %function
1122FLEXPWM0_COMPARE2_IRQHandler:
1123    ldr   r0,=FLEXPWM0_COMPARE2_DriverIRQHandler
1124    bx    r0
1125    .size FLEXPWM0_COMPARE2_IRQHandler, . - FLEXPWM0_COMPARE2_IRQHandler
1126
1127    .align 1
1128    .thumb_func
1129    .weak FLEXPWM0_RELOAD2_IRQHandler
1130    .type FLEXPWM0_RELOAD2_IRQHandler, %function
1131FLEXPWM0_RELOAD2_IRQHandler:
1132    ldr   r0,=FLEXPWM0_RELOAD2_DriverIRQHandler
1133    bx    r0
1134    .size FLEXPWM0_RELOAD2_IRQHandler, . - FLEXPWM0_RELOAD2_IRQHandler
1135
1136    .align 1
1137    .thumb_func
1138    .weak FLEXPWM0_COMPARE3_IRQHandler
1139    .type FLEXPWM0_COMPARE3_IRQHandler, %function
1140FLEXPWM0_COMPARE3_IRQHandler:
1141    ldr   r0,=FLEXPWM0_COMPARE3_DriverIRQHandler
1142    bx    r0
1143    .size FLEXPWM0_COMPARE3_IRQHandler, . - FLEXPWM0_COMPARE3_IRQHandler
1144
1145    .align 1
1146    .thumb_func
1147    .weak FLEXPWM0_RELOAD3_IRQHandler
1148    .type FLEXPWM0_RELOAD3_IRQHandler, %function
1149FLEXPWM0_RELOAD3_IRQHandler:
1150    ldr   r0,=FLEXPWM0_RELOAD3_DriverIRQHandler
1151    bx    r0
1152    .size FLEXPWM0_RELOAD3_IRQHandler, . - FLEXPWM0_RELOAD3_IRQHandler
1153
1154    .align 1
1155    .thumb_func
1156    .weak FLEXPWM1_CAPTURE_IRQHandler
1157    .type FLEXPWM1_CAPTURE_IRQHandler, %function
1158FLEXPWM1_CAPTURE_IRQHandler:
1159    ldr   r0,=FLEXPWM1_CAPTURE_DriverIRQHandler
1160    bx    r0
1161    .size FLEXPWM1_CAPTURE_IRQHandler, . - FLEXPWM1_CAPTURE_IRQHandler
1162
1163    .align 1
1164    .thumb_func
1165    .weak FLEXPWM1_FAULT_IRQHandler
1166    .type FLEXPWM1_FAULT_IRQHandler, %function
1167FLEXPWM1_FAULT_IRQHandler:
1168    ldr   r0,=FLEXPWM1_FAULT_DriverIRQHandler
1169    bx    r0
1170    .size FLEXPWM1_FAULT_IRQHandler, . - FLEXPWM1_FAULT_IRQHandler
1171
1172    .align 1
1173    .thumb_func
1174    .weak FLEXPWM1_RELOAD_ERROR_IRQHandler
1175    .type FLEXPWM1_RELOAD_ERROR_IRQHandler, %function
1176FLEXPWM1_RELOAD_ERROR_IRQHandler:
1177    ldr   r0,=FLEXPWM1_RELOAD_ERROR_DriverIRQHandler
1178    bx    r0
1179    .size FLEXPWM1_RELOAD_ERROR_IRQHandler, . - FLEXPWM1_RELOAD_ERROR_IRQHandler
1180
1181    .align 1
1182    .thumb_func
1183    .weak FLEXPWM1_COMPARE0_IRQHandler
1184    .type FLEXPWM1_COMPARE0_IRQHandler, %function
1185FLEXPWM1_COMPARE0_IRQHandler:
1186    ldr   r0,=FLEXPWM1_COMPARE0_DriverIRQHandler
1187    bx    r0
1188    .size FLEXPWM1_COMPARE0_IRQHandler, . - FLEXPWM1_COMPARE0_IRQHandler
1189
1190    .align 1
1191    .thumb_func
1192    .weak FLEXPWM1_RELOAD0_IRQHandler
1193    .type FLEXPWM1_RELOAD0_IRQHandler, %function
1194FLEXPWM1_RELOAD0_IRQHandler:
1195    ldr   r0,=FLEXPWM1_RELOAD0_DriverIRQHandler
1196    bx    r0
1197    .size FLEXPWM1_RELOAD0_IRQHandler, . - FLEXPWM1_RELOAD0_IRQHandler
1198
1199    .align 1
1200    .thumb_func
1201    .weak FLEXPWM1_COMPARE1_IRQHandler
1202    .type FLEXPWM1_COMPARE1_IRQHandler, %function
1203FLEXPWM1_COMPARE1_IRQHandler:
1204    ldr   r0,=FLEXPWM1_COMPARE1_DriverIRQHandler
1205    bx    r0
1206    .size FLEXPWM1_COMPARE1_IRQHandler, . - FLEXPWM1_COMPARE1_IRQHandler
1207
1208    .align 1
1209    .thumb_func
1210    .weak FLEXPWM1_RELOAD1_IRQHandler
1211    .type FLEXPWM1_RELOAD1_IRQHandler, %function
1212FLEXPWM1_RELOAD1_IRQHandler:
1213    ldr   r0,=FLEXPWM1_RELOAD1_DriverIRQHandler
1214    bx    r0
1215    .size FLEXPWM1_RELOAD1_IRQHandler, . - FLEXPWM1_RELOAD1_IRQHandler
1216
1217    .align 1
1218    .thumb_func
1219    .weak FLEXPWM1_COMPARE2_IRQHandler
1220    .type FLEXPWM1_COMPARE2_IRQHandler, %function
1221FLEXPWM1_COMPARE2_IRQHandler:
1222    ldr   r0,=FLEXPWM1_COMPARE2_DriverIRQHandler
1223    bx    r0
1224    .size FLEXPWM1_COMPARE2_IRQHandler, . - FLEXPWM1_COMPARE2_IRQHandler
1225
1226    .align 1
1227    .thumb_func
1228    .weak FLEXPWM1_RELOAD2_IRQHandler
1229    .type FLEXPWM1_RELOAD2_IRQHandler, %function
1230FLEXPWM1_RELOAD2_IRQHandler:
1231    ldr   r0,=FLEXPWM1_RELOAD2_DriverIRQHandler
1232    bx    r0
1233    .size FLEXPWM1_RELOAD2_IRQHandler, . - FLEXPWM1_RELOAD2_IRQHandler
1234
1235    .align 1
1236    .thumb_func
1237    .weak FLEXPWM1_COMPARE3_IRQHandler
1238    .type FLEXPWM1_COMPARE3_IRQHandler, %function
1239FLEXPWM1_COMPARE3_IRQHandler:
1240    ldr   r0,=FLEXPWM1_COMPARE3_DriverIRQHandler
1241    bx    r0
1242    .size FLEXPWM1_COMPARE3_IRQHandler, . - FLEXPWM1_COMPARE3_IRQHandler
1243
1244    .align 1
1245    .thumb_func
1246    .weak FLEXPWM1_RELOAD3_IRQHandler
1247    .type FLEXPWM1_RELOAD3_IRQHandler, %function
1248FLEXPWM1_RELOAD3_IRQHandler:
1249    ldr   r0,=FLEXPWM1_RELOAD3_DriverIRQHandler
1250    bx    r0
1251    .size FLEXPWM1_RELOAD3_IRQHandler, . - FLEXPWM1_RELOAD3_IRQHandler
1252
1253    .align 1
1254    .thumb_func
1255    .weak ENC0_COMPARE_IRQHandler
1256    .type ENC0_COMPARE_IRQHandler, %function
1257ENC0_COMPARE_IRQHandler:
1258    ldr   r0,=ENC0_COMPARE_DriverIRQHandler
1259    bx    r0
1260    .size ENC0_COMPARE_IRQHandler, . - ENC0_COMPARE_IRQHandler
1261
1262    .align 1
1263    .thumb_func
1264    .weak ENC0_HOME_IRQHandler
1265    .type ENC0_HOME_IRQHandler, %function
1266ENC0_HOME_IRQHandler:
1267    ldr   r0,=ENC0_HOME_DriverIRQHandler
1268    bx    r0
1269    .size ENC0_HOME_IRQHandler, . - ENC0_HOME_IRQHandler
1270
1271    .align 1
1272    .thumb_func
1273    .weak ENC0_WDG_IRQHandler
1274    .type ENC0_WDG_IRQHandler, %function
1275ENC0_WDG_IRQHandler:
1276    ldr   r0,=ENC0_WDG_DriverIRQHandler
1277    bx    r0
1278    .size ENC0_WDG_IRQHandler, . - ENC0_WDG_IRQHandler
1279
1280    .align 1
1281    .thumb_func
1282    .weak ENC0_IDX_IRQHandler
1283    .type ENC0_IDX_IRQHandler, %function
1284ENC0_IDX_IRQHandler:
1285    ldr   r0,=ENC0_IDX_DriverIRQHandler
1286    bx    r0
1287    .size ENC0_IDX_IRQHandler, . - ENC0_IDX_IRQHandler
1288
1289    .align 1
1290    .thumb_func
1291    .weak ENC1_COMPARE_IRQHandler
1292    .type ENC1_COMPARE_IRQHandler, %function
1293ENC1_COMPARE_IRQHandler:
1294    ldr   r0,=ENC1_COMPARE_DriverIRQHandler
1295    bx    r0
1296    .size ENC1_COMPARE_IRQHandler, . - ENC1_COMPARE_IRQHandler
1297
1298    .align 1
1299    .thumb_func
1300    .weak ENC1_HOME_IRQHandler
1301    .type ENC1_HOME_IRQHandler, %function
1302ENC1_HOME_IRQHandler:
1303    ldr   r0,=ENC1_HOME_DriverIRQHandler
1304    bx    r0
1305    .size ENC1_HOME_IRQHandler, . - ENC1_HOME_IRQHandler
1306
1307    .align 1
1308    .thumb_func
1309    .weak ENC1_WDG_IRQHandler
1310    .type ENC1_WDG_IRQHandler, %function
1311ENC1_WDG_IRQHandler:
1312    ldr   r0,=ENC1_WDG_DriverIRQHandler
1313    bx    r0
1314    .size ENC1_WDG_IRQHandler, . - ENC1_WDG_IRQHandler
1315
1316    .align 1
1317    .thumb_func
1318    .weak ENC1_IDX_IRQHandler
1319    .type ENC1_IDX_IRQHandler, %function
1320ENC1_IDX_IRQHandler:
1321    ldr   r0,=ENC1_IDX_DriverIRQHandler
1322    bx    r0
1323    .size ENC1_IDX_IRQHandler, . - ENC1_IDX_IRQHandler
1324
1325    .align 1
1326    .thumb_func
1327    .weak Reserved126_IRQHandler
1328    .type Reserved126_IRQHandler, %function
1329Reserved126_IRQHandler:
1330    ldr   r0,=Reserved126_DriverIRQHandler
1331    bx    r0
1332    .size Reserved126_IRQHandler, . - Reserved126_IRQHandler
1333
1334    .align 1
1335    .thumb_func
1336    .weak Reserved127_IRQHandler
1337    .type Reserved127_IRQHandler, %function
1338Reserved127_IRQHandler:
1339    ldr   r0,=Reserved127_DriverIRQHandler
1340    bx    r0
1341    .size Reserved127_IRQHandler, . - Reserved127_IRQHandler
1342
1343    .align 1
1344    .thumb_func
1345    .weak ELS_ERR_IRQHandler
1346    .type ELS_ERR_IRQHandler, %function
1347ELS_ERR_IRQHandler:
1348    ldr   r0,=ELS_ERR_DriverIRQHandler
1349    bx    r0
1350    .size ELS_ERR_IRQHandler, . - ELS_ERR_IRQHandler
1351
1352    .align 1
1353    .thumb_func
1354    .weak PKC_ERR_IRQHandler
1355    .type PKC_ERR_IRQHandler, %function
1356PKC_ERR_IRQHandler:
1357    ldr   r0,=PKC_ERR_DriverIRQHandler
1358    bx    r0
1359    .size PKC_ERR_IRQHandler, . - PKC_ERR_IRQHandler
1360
1361    .align 1
1362    .thumb_func
1363    .weak Reserved130_IRQHandler
1364    .type Reserved130_IRQHandler, %function
1365Reserved130_IRQHandler:
1366    ldr   r0,=Reserved130_DriverIRQHandler
1367    bx    r0
1368    .size Reserved130_IRQHandler, . - Reserved130_IRQHandler
1369
1370    .align 1
1371    .thumb_func
1372    .weak Reserved131_IRQHandler
1373    .type Reserved131_IRQHandler, %function
1374Reserved131_IRQHandler:
1375    ldr   r0,=Reserved131_DriverIRQHandler
1376    bx    r0
1377    .size Reserved131_IRQHandler, . - Reserved131_IRQHandler
1378
1379    .align 1
1380    .thumb_func
1381    .weak Reserved132_IRQHandler
1382    .type Reserved132_IRQHandler, %function
1383Reserved132_IRQHandler:
1384    ldr   r0,=Reserved132_DriverIRQHandler
1385    bx    r0
1386    .size Reserved132_IRQHandler, . - Reserved132_IRQHandler
1387
1388    .align 1
1389    .thumb_func
1390    .weak Reserved133_IRQHandler
1391    .type Reserved133_IRQHandler, %function
1392Reserved133_IRQHandler:
1393    ldr   r0,=Reserved133_DriverIRQHandler
1394    bx    r0
1395    .size Reserved133_IRQHandler, . - Reserved133_IRQHandler
1396
1397    .align 1
1398    .thumb_func
1399    .weak FLASH_IRQHandler
1400    .type FLASH_IRQHandler, %function
1401FLASH_IRQHandler:
1402    ldr   r0,=FLASH_DriverIRQHandler
1403    bx    r0
1404    .size FLASH_IRQHandler, . - FLASH_IRQHandler
1405
1406    .align 1
1407    .thumb_func
1408    .weak RAM_PARITY_ECC_ERR_IRQHandler
1409    .type RAM_PARITY_ECC_ERR_IRQHandler, %function
1410RAM_PARITY_ECC_ERR_IRQHandler:
1411    ldr   r0,=RAM_PARITY_ECC_ERR_DriverIRQHandler
1412    bx    r0
1413    .size RAM_PARITY_ECC_ERR_IRQHandler, . - RAM_PARITY_ECC_ERR_IRQHandler
1414
1415
1416/*    Macro to define default handlers. Default handler
1417 *    will be weak symbol and just dead loops. They can be
1418 *    overwritten by other handlers */
1419    .macro def_irq_handler  handler_name
1420    .weak \handler_name
1421    .set  \handler_name, DefaultISR
1422    .endm
1423/* Exception Handlers */
1424    def_irq_handler    MemManage_Handler
1425    def_irq_handler    BusFault_Handler
1426    def_irq_handler    UsageFault_Handler
1427    def_irq_handler    SecureFault_Handler
1428    def_irq_handler    DebugMon_Handler
1429    def_irq_handler    WDT_BOD_DriverIRQHandler
1430    def_irq_handler    DMA0_DriverIRQHandler
1431    def_irq_handler    GINT0_DriverIRQHandler
1432    def_irq_handler    GINT1_DriverIRQHandler
1433    def_irq_handler    PIN_INT0_DriverIRQHandler
1434    def_irq_handler    PIN_INT1_DriverIRQHandler
1435    def_irq_handler    PIN_INT2_DriverIRQHandler
1436    def_irq_handler    PIN_INT3_DriverIRQHandler
1437    def_irq_handler    UTICK0_DriverIRQHandler
1438    def_irq_handler    MRT0_DriverIRQHandler
1439    def_irq_handler    CTIMER0_DriverIRQHandler
1440    def_irq_handler    CTIMER1_DriverIRQHandler
1441    def_irq_handler    SCT0_DriverIRQHandler
1442    def_irq_handler    CTIMER3_DriverIRQHandler
1443    def_irq_handler    FLEXCOMM0_DriverIRQHandler
1444    def_irq_handler    FLEXCOMM1_DriverIRQHandler
1445    def_irq_handler    FLEXCOMM2_DriverIRQHandler
1446    def_irq_handler    FLEXCOMM3_DriverIRQHandler
1447    def_irq_handler    FLEXCOMM4_DriverIRQHandler
1448    def_irq_handler    FLEXCOMM5_DriverIRQHandler
1449    def_irq_handler    FLEXCOMM6_DriverIRQHandler
1450    def_irq_handler    FLEXCOMM7_DriverIRQHandler
1451    def_irq_handler    ADC0_DriverIRQHandler
1452    def_irq_handler    ADC1_DriverIRQHandler
1453    def_irq_handler    ACMP_DriverIRQHandler
1454    def_irq_handler    DMIC_DriverIRQHandler
1455    def_irq_handler    HWVAD0_DriverIRQHandler
1456    def_irq_handler    USB0_NEEDCLK_DriverIRQHandler
1457    def_irq_handler    USB0_DriverIRQHandler
1458    def_irq_handler    RTC_DriverIRQHandler
1459    def_irq_handler    EZH_ARCH_B0_DriverIRQHandler
1460    def_irq_handler    WAKEUP_DriverIRQHandler
1461    def_irq_handler    PIN_INT4_DriverIRQHandler
1462    def_irq_handler    PIN_INT5_DriverIRQHandler
1463    def_irq_handler    PIN_INT6_DriverIRQHandler
1464    def_irq_handler    PIN_INT7_DriverIRQHandler
1465    def_irq_handler    CTIMER2_DriverIRQHandler
1466    def_irq_handler    CTIMER4_DriverIRQHandler
1467    def_irq_handler    OS_EVENT_DriverIRQHandler
1468    def_irq_handler    FlexSPI0_DriverIRQHandler
1469    def_irq_handler    Reserved56_DriverIRQHandler
1470    def_irq_handler    Reserved57_DriverIRQHandler
1471    def_irq_handler    Reserved58_DriverIRQHandler
1472    def_irq_handler    CAN0_IRQ0_DriverIRQHandler
1473    def_irq_handler    CAN0_IRQ1_DriverIRQHandler
1474    def_irq_handler    Reserved61_DriverIRQHandler
1475    def_irq_handler    Reserved62_DriverIRQHandler
1476    def_irq_handler    Reserved63_DriverIRQHandler
1477    def_irq_handler    Reserved64_DriverIRQHandler
1478    def_irq_handler    SEC_HYPERVISOR_CALL_DriverIRQHandler
1479    def_irq_handler    SEC_GPIO_INT0_IRQ0_DriverIRQHandler
1480    def_irq_handler    SEC_GPIO_INT0_IRQ1_DriverIRQHandler
1481    def_irq_handler    Freqme_DriverIRQHandler
1482    def_irq_handler    SEC_VIO_DriverIRQHandler
1483    def_irq_handler    ELS_DriverIRQHandler
1484    def_irq_handler    PKC_DriverIRQHandler
1485    def_irq_handler    Reserved72_DriverIRQHandler
1486    def_irq_handler    POWERQUAD_DriverIRQHandler
1487    def_irq_handler    DMA1_DriverIRQHandler
1488    def_irq_handler    FLEXCOMM8_DriverIRQHandler
1489    def_irq_handler    CDOG_DriverIRQHandler
1490    def_irq_handler    Reserved77_DriverIRQHandler
1491    def_irq_handler    I3C0_DriverIRQHandler
1492    def_irq_handler    Reserved79_DriverIRQHandler
1493    def_irq_handler    Reserved80_DriverIRQHandler
1494    def_irq_handler    ELS_IRQ1_DriverIRQHandler
1495    def_irq_handler    Tamper_DriverIRQHandler
1496    def_irq_handler    Reserved83_DriverIRQHandler
1497    def_irq_handler    Reserved84_DriverIRQHandler
1498    def_irq_handler    Reserved85_DriverIRQHandler
1499    def_irq_handler    Reserved86_DriverIRQHandler
1500    def_irq_handler    Reserved87_DriverIRQHandler
1501    def_irq_handler    Reserved88_DriverIRQHandler
1502    def_irq_handler    Reserved89_DriverIRQHandler
1503    def_irq_handler    DAC0_DriverIRQHandler
1504    def_irq_handler    DAC1_DriverIRQHandler
1505    def_irq_handler    DAC2_DriverIRQHandler
1506    def_irq_handler    HSCMP0_DriverIRQHandler
1507    def_irq_handler    HSCMP1_DriverIRQHandler
1508    def_irq_handler    HSCMP2_DriverIRQHandler
1509    def_irq_handler    FLEXPWM0_CAPTURE_DriverIRQHandler
1510    def_irq_handler    FLEXPWM0_FAULT_DriverIRQHandler
1511    def_irq_handler    FLEXPWM0_RELOAD_ERROR_DriverIRQHandler
1512    def_irq_handler    FLEXPWM0_COMPARE0_DriverIRQHandler
1513    def_irq_handler    FLEXPWM0_RELOAD0_DriverIRQHandler
1514    def_irq_handler    FLEXPWM0_COMPARE1_DriverIRQHandler
1515    def_irq_handler    FLEXPWM0_RELOAD1_DriverIRQHandler
1516    def_irq_handler    FLEXPWM0_COMPARE2_DriverIRQHandler
1517    def_irq_handler    FLEXPWM0_RELOAD2_DriverIRQHandler
1518    def_irq_handler    FLEXPWM0_COMPARE3_DriverIRQHandler
1519    def_irq_handler    FLEXPWM0_RELOAD3_DriverIRQHandler
1520    def_irq_handler    FLEXPWM1_CAPTURE_DriverIRQHandler
1521    def_irq_handler    FLEXPWM1_FAULT_DriverIRQHandler
1522    def_irq_handler    FLEXPWM1_RELOAD_ERROR_DriverIRQHandler
1523    def_irq_handler    FLEXPWM1_COMPARE0_DriverIRQHandler
1524    def_irq_handler    FLEXPWM1_RELOAD0_DriverIRQHandler
1525    def_irq_handler    FLEXPWM1_COMPARE1_DriverIRQHandler
1526    def_irq_handler    FLEXPWM1_RELOAD1_DriverIRQHandler
1527    def_irq_handler    FLEXPWM1_COMPARE2_DriverIRQHandler
1528    def_irq_handler    FLEXPWM1_RELOAD2_DriverIRQHandler
1529    def_irq_handler    FLEXPWM1_COMPARE3_DriverIRQHandler
1530    def_irq_handler    FLEXPWM1_RELOAD3_DriverIRQHandler
1531    def_irq_handler    ENC0_COMPARE_DriverIRQHandler
1532    def_irq_handler    ENC0_HOME_DriverIRQHandler
1533    def_irq_handler    ENC0_WDG_DriverIRQHandler
1534    def_irq_handler    ENC0_IDX_DriverIRQHandler
1535    def_irq_handler    ENC1_COMPARE_DriverIRQHandler
1536    def_irq_handler    ENC1_HOME_DriverIRQHandler
1537    def_irq_handler    ENC1_WDG_DriverIRQHandler
1538    def_irq_handler    ENC1_IDX_DriverIRQHandler
1539    def_irq_handler    Reserved126_DriverIRQHandler
1540    def_irq_handler    Reserved127_DriverIRQHandler
1541    def_irq_handler    ELS_ERR_DriverIRQHandler
1542    def_irq_handler    PKC_ERR_DriverIRQHandler
1543    def_irq_handler    Reserved130_DriverIRQHandler
1544    def_irq_handler    Reserved131_DriverIRQHandler
1545    def_irq_handler    Reserved132_DriverIRQHandler
1546    def_irq_handler    Reserved133_DriverIRQHandler
1547    def_irq_handler    FLASH_DriverIRQHandler
1548    def_irq_handler    RAM_PARITY_ECC_ERR_DriverIRQHandler
1549
1550    .end
1551