1 //*****************************************************************************
2 // MIMXRT1064 startup code for use with MCUXpresso IDE
3 //
4 // Version : 200818
5 //*****************************************************************************
6 //
7 // Copyright 2016-2018 NXP
8 //
9 // SPDX-License-Identifier: BSD-3-Clause
10 //*****************************************************************************
11 
12 #if defined (DEBUG)
13 #pragma GCC push_options
14 #pragma GCC optimize ("Og")
15 #endif // (DEBUG)
16 
17 #if defined (__cplusplus)
18 #ifdef __REDLIB__
19 #error Redlib does not support C++
20 #else
21 //*****************************************************************************
22 //
23 // The entry point for the C++ library startup
24 //
25 //*****************************************************************************
26 extern "C" {
27     extern void __libc_init_array(void);
28 }
29 #endif
30 #endif
31 
32 #define WEAK __attribute__ ((weak))
33 #define WEAK_AV __attribute__ ((weak, section(".after_vectors")))
34 #define ALIAS(f) __attribute__ ((weak, alias (#f)))
35 
36 //*****************************************************************************
37 #if defined (__cplusplus)
38 extern "C" {
39 #endif
40 
41 //*****************************************************************************
42 // Variable to store CRP value in. Will be placed automatically
43 // by the linker when "Enable Code Read Protect" selected.
44 // See crp.h header for more information
45 //*****************************************************************************
46 //*****************************************************************************
47 // Declaration of external SystemInit function
48 //*****************************************************************************
49 #if defined (__USE_CMSIS)
50 extern void SystemInit(void);
51 #endif // (__USE_CMSIS)
52 
53 //*****************************************************************************
54 // Forward declaration of the core exception handlers.
55 // When the application defines a handler (with the same name), this will
56 // automatically take precedence over these weak definitions.
57 // If your application is a C++ one, then any interrupt handlers defined
58 // in C++ files within in your main application will need to have C linkage
59 // rather than C++ linkage. To do this, make sure that you are using extern "C"
60 // { .... } around the interrupt handler within your main application code.
61 //*****************************************************************************
62      void ResetISR(void);
63 WEAK void NMI_Handler(void);
64 WEAK void HardFault_Handler(void);
65 WEAK void SVC_Handler(void);
66 WEAK void PendSV_Handler(void);
67 WEAK void SysTick_Handler(void);
68 WEAK void IntDefaultHandler(void);
69 
70 //*****************************************************************************
71 // Forward declaration of the application IRQ handlers. When the application
72 // defines a handler (with the same name), this will automatically take
73 // precedence over weak definitions below
74 //*****************************************************************************
75 WEAK void DMA0_DMA16_IRQHandler(void);
76 WEAK void DMA1_DMA17_IRQHandler(void);
77 WEAK void DMA2_DMA18_IRQHandler(void);
78 WEAK void DMA3_DMA19_IRQHandler(void);
79 WEAK void DMA4_DMA20_IRQHandler(void);
80 WEAK void DMA5_DMA21_IRQHandler(void);
81 WEAK void DMA6_DMA22_IRQHandler(void);
82 WEAK void DMA7_DMA23_IRQHandler(void);
83 WEAK void DMA8_DMA24_IRQHandler(void);
84 WEAK void DMA9_DMA25_IRQHandler(void);
85 WEAK void DMA10_DMA26_IRQHandler(void);
86 WEAK void DMA11_DMA27_IRQHandler(void);
87 WEAK void DMA12_DMA28_IRQHandler(void);
88 WEAK void DMA13_DMA29_IRQHandler(void);
89 WEAK void DMA14_DMA30_IRQHandler(void);
90 WEAK void DMA15_DMA31_IRQHandler(void);
91 WEAK void DMA_ERROR_IRQHandler(void);
92 WEAK void CTI0_ERROR_IRQHandler(void);
93 WEAK void CTI1_ERROR_IRQHandler(void);
94 WEAK void CORE_IRQHandler(void);
95 WEAK void LPUART1_IRQHandler(void);
96 WEAK void LPUART2_IRQHandler(void);
97 WEAK void LPUART3_IRQHandler(void);
98 WEAK void LPUART4_IRQHandler(void);
99 WEAK void LPUART5_IRQHandler(void);
100 WEAK void LPUART6_IRQHandler(void);
101 WEAK void LPUART7_IRQHandler(void);
102 WEAK void LPUART8_IRQHandler(void);
103 WEAK void LPI2C1_IRQHandler(void);
104 WEAK void LPI2C2_IRQHandler(void);
105 WEAK void LPI2C3_IRQHandler(void);
106 WEAK void LPI2C4_IRQHandler(void);
107 WEAK void LPSPI1_IRQHandler(void);
108 WEAK void LPSPI2_IRQHandler(void);
109 WEAK void LPSPI3_IRQHandler(void);
110 WEAK void LPSPI4_IRQHandler(void);
111 WEAK void CAN1_IRQHandler(void);
112 WEAK void CAN2_IRQHandler(void);
113 WEAK void FLEXRAM_IRQHandler(void);
114 WEAK void KPP_IRQHandler(void);
115 WEAK void TSC_DIG_IRQHandler(void);
116 WEAK void GPR_IRQ_IRQHandler(void);
117 WEAK void LCDIF_IRQHandler(void);
118 WEAK void CSI_IRQHandler(void);
119 WEAK void PXP_IRQHandler(void);
120 WEAK void WDOG2_IRQHandler(void);
121 WEAK void SNVS_HP_WRAPPER_IRQHandler(void);
122 WEAK void SNVS_HP_WRAPPER_TZ_IRQHandler(void);
123 WEAK void SNVS_LP_WRAPPER_IRQHandler(void);
124 WEAK void CSU_IRQHandler(void);
125 WEAK void DCP_IRQHandler(void);
126 WEAK void DCP_VMI_IRQHandler(void);
127 WEAK void Reserved68_IRQHandler(void);
128 WEAK void TRNG_IRQHandler(void);
129 WEAK void SJC_IRQHandler(void);
130 WEAK void BEE_IRQHandler(void);
131 WEAK void SAI1_IRQHandler(void);
132 WEAK void SAI2_IRQHandler(void);
133 WEAK void SAI3_RX_IRQHandler(void);
134 WEAK void SAI3_TX_IRQHandler(void);
135 WEAK void SPDIF_IRQHandler(void);
136 WEAK void PMU_EVENT_IRQHandler(void);
137 WEAK void Reserved78_IRQHandler(void);
138 WEAK void TEMP_LOW_HIGH_IRQHandler(void);
139 WEAK void TEMP_PANIC_IRQHandler(void);
140 WEAK void USB_PHY1_IRQHandler(void);
141 WEAK void USB_PHY2_IRQHandler(void);
142 WEAK void ADC1_IRQHandler(void);
143 WEAK void ADC2_IRQHandler(void);
144 WEAK void DCDC_IRQHandler(void);
145 WEAK void Reserved86_IRQHandler(void);
146 WEAK void Reserved87_IRQHandler(void);
147 WEAK void GPIO1_INT0_IRQHandler(void);
148 WEAK void GPIO1_INT1_IRQHandler(void);
149 WEAK void GPIO1_INT2_IRQHandler(void);
150 WEAK void GPIO1_INT3_IRQHandler(void);
151 WEAK void GPIO1_INT4_IRQHandler(void);
152 WEAK void GPIO1_INT5_IRQHandler(void);
153 WEAK void GPIO1_INT6_IRQHandler(void);
154 WEAK void GPIO1_INT7_IRQHandler(void);
155 WEAK void GPIO1_Combined_0_15_IRQHandler(void);
156 WEAK void GPIO1_Combined_16_31_IRQHandler(void);
157 WEAK void GPIO2_Combined_0_15_IRQHandler(void);
158 WEAK void GPIO2_Combined_16_31_IRQHandler(void);
159 WEAK void GPIO3_Combined_0_15_IRQHandler(void);
160 WEAK void GPIO3_Combined_16_31_IRQHandler(void);
161 WEAK void GPIO4_Combined_0_15_IRQHandler(void);
162 WEAK void GPIO4_Combined_16_31_IRQHandler(void);
163 WEAK void GPIO5_Combined_0_15_IRQHandler(void);
164 WEAK void GPIO5_Combined_16_31_IRQHandler(void);
165 WEAK void FLEXIO1_IRQHandler(void);
166 WEAK void FLEXIO2_IRQHandler(void);
167 WEAK void WDOG1_IRQHandler(void);
168 WEAK void RTWDOG_IRQHandler(void);
169 WEAK void EWM_IRQHandler(void);
170 WEAK void CCM_1_IRQHandler(void);
171 WEAK void CCM_2_IRQHandler(void);
172 WEAK void GPC_IRQHandler(void);
173 WEAK void SRC_IRQHandler(void);
174 WEAK void Reserved115_IRQHandler(void);
175 WEAK void GPT1_IRQHandler(void);
176 WEAK void GPT2_IRQHandler(void);
177 WEAK void PWM1_0_IRQHandler(void);
178 WEAK void PWM1_1_IRQHandler(void);
179 WEAK void PWM1_2_IRQHandler(void);
180 WEAK void PWM1_3_IRQHandler(void);
181 WEAK void PWM1_FAULT_IRQHandler(void);
182 WEAK void FLEXSPI2_IRQHandler(void);
183 WEAK void FLEXSPI_IRQHandler(void);
184 WEAK void SEMC_IRQHandler(void);
185 WEAK void USDHC1_IRQHandler(void);
186 WEAK void USDHC2_IRQHandler(void);
187 WEAK void USB_OTG2_IRQHandler(void);
188 WEAK void USB_OTG1_IRQHandler(void);
189 WEAK void ENET_IRQHandler(void);
190 WEAK void ENET_1588_Timer_IRQHandler(void);
191 WEAK void XBAR1_IRQ_0_1_IRQHandler(void);
192 WEAK void XBAR1_IRQ_2_3_IRQHandler(void);
193 WEAK void ADC_ETC_IRQ0_IRQHandler(void);
194 WEAK void ADC_ETC_IRQ1_IRQHandler(void);
195 WEAK void ADC_ETC_IRQ2_IRQHandler(void);
196 WEAK void ADC_ETC_ERROR_IRQ_IRQHandler(void);
197 WEAK void PIT_IRQHandler(void);
198 WEAK void ACMP1_IRQHandler(void);
199 WEAK void ACMP2_IRQHandler(void);
200 WEAK void ACMP3_IRQHandler(void);
201 WEAK void ACMP4_IRQHandler(void);
202 WEAK void Reserved143_IRQHandler(void);
203 WEAK void Reserved144_IRQHandler(void);
204 WEAK void ENC1_IRQHandler(void);
205 WEAK void ENC2_IRQHandler(void);
206 WEAK void ENC3_IRQHandler(void);
207 WEAK void ENC4_IRQHandler(void);
208 WEAK void TMR1_IRQHandler(void);
209 WEAK void TMR2_IRQHandler(void);
210 WEAK void TMR3_IRQHandler(void);
211 WEAK void TMR4_IRQHandler(void);
212 WEAK void PWM2_0_IRQHandler(void);
213 WEAK void PWM2_1_IRQHandler(void);
214 WEAK void PWM2_2_IRQHandler(void);
215 WEAK void PWM2_3_IRQHandler(void);
216 WEAK void PWM2_FAULT_IRQHandler(void);
217 WEAK void PWM3_0_IRQHandler(void);
218 WEAK void PWM3_1_IRQHandler(void);
219 WEAK void PWM3_2_IRQHandler(void);
220 WEAK void PWM3_3_IRQHandler(void);
221 WEAK void PWM3_FAULT_IRQHandler(void);
222 WEAK void PWM4_0_IRQHandler(void);
223 WEAK void PWM4_1_IRQHandler(void);
224 WEAK void PWM4_2_IRQHandler(void);
225 WEAK void PWM4_3_IRQHandler(void);
226 WEAK void PWM4_FAULT_IRQHandler(void);
227 WEAK void ENET2_IRQHandler(void);
228 WEAK void ENET2_1588_Timer_IRQHandler(void);
229 WEAK void CAN3_IRQHandler(void);
230 WEAK void Reserved171_IRQHandler(void);
231 WEAK void FLEXIO3_IRQHandler(void);
232 WEAK void GPIO6_7_8_9_IRQHandler(void);
233 
234 //*****************************************************************************
235 // Forward declaration of the driver IRQ handlers. These are aliased
236 // to the IntDefaultHandler, which is a 'forever' loop. When the driver
237 // defines a handler (with the same name), this will automatically take
238 // precedence over these weak definitions
239 //*****************************************************************************
240 void DMA0_DMA16_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
241 void DMA1_DMA17_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
242 void DMA2_DMA18_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
243 void DMA3_DMA19_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
244 void DMA4_DMA20_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
245 void DMA5_DMA21_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
246 void DMA6_DMA22_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
247 void DMA7_DMA23_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
248 void DMA8_DMA24_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
249 void DMA9_DMA25_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
250 void DMA10_DMA26_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
251 void DMA11_DMA27_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
252 void DMA12_DMA28_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
253 void DMA13_DMA29_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
254 void DMA14_DMA30_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
255 void DMA15_DMA31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
256 void DMA_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
257 void CTI0_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
258 void CTI1_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
259 void CORE_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
260 void LPUART1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
261 void LPUART2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
262 void LPUART3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
263 void LPUART4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
264 void LPUART5_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
265 void LPUART6_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
266 void LPUART7_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
267 void LPUART8_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
268 void LPI2C1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
269 void LPI2C2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
270 void LPI2C3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
271 void LPI2C4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
272 void LPSPI1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
273 void LPSPI2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
274 void LPSPI3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
275 void LPSPI4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
276 void CAN1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
277 void CAN2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
278 void FLEXRAM_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
279 void KPP_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
280 void TSC_DIG_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
281 void GPR_IRQ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
282 void LCDIF_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
283 void CSI_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
284 void PXP_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
285 void WDOG2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
286 void SNVS_HP_WRAPPER_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
287 void SNVS_HP_WRAPPER_TZ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
288 void SNVS_LP_WRAPPER_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
289 void CSU_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
290 void DCP_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
291 void DCP_VMI_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
292 void Reserved68_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
293 void TRNG_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
294 void SJC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
295 void BEE_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
296 void SAI1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
297 void SAI2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
298 void SAI3_RX_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
299 void SAI3_TX_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
300 void SPDIF_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
301 void PMU_EVENT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
302 void Reserved78_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
303 void TEMP_LOW_HIGH_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
304 void TEMP_PANIC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
305 void USB_PHY1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
306 void USB_PHY2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
307 void ADC1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
308 void ADC2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
309 void DCDC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
310 void Reserved86_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
311 void Reserved87_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
312 void GPIO1_INT0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
313 void GPIO1_INT1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
314 void GPIO1_INT2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
315 void GPIO1_INT3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
316 void GPIO1_INT4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
317 void GPIO1_INT5_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
318 void GPIO1_INT6_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
319 void GPIO1_INT7_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
320 void GPIO1_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
321 void GPIO1_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
322 void GPIO2_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
323 void GPIO2_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
324 void GPIO3_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
325 void GPIO3_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
326 void GPIO4_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
327 void GPIO4_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
328 void GPIO5_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
329 void GPIO5_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
330 void FLEXIO1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
331 void FLEXIO2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
332 void WDOG1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
333 void RTWDOG_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
334 void EWM_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
335 void CCM_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
336 void CCM_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
337 void GPC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
338 void SRC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
339 void Reserved115_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
340 void GPT1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
341 void GPT2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
342 void PWM1_0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
343 void PWM1_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
344 void PWM1_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
345 void PWM1_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
346 void PWM1_FAULT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
347 void FLEXSPI2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
348 void FLEXSPI_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
349 void SEMC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
350 void USDHC1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
351 void USDHC2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
352 void USB_OTG2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
353 void USB_OTG1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
354 void ENET_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
355 void ENET_1588_Timer_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
356 void XBAR1_IRQ_0_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
357 void XBAR1_IRQ_2_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
358 void ADC_ETC_IRQ0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
359 void ADC_ETC_IRQ1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
360 void ADC_ETC_IRQ2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
361 void ADC_ETC_ERROR_IRQ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
362 void PIT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
363 void ACMP1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
364 void ACMP2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
365 void ACMP3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
366 void ACMP4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
367 void Reserved143_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
368 void Reserved144_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
369 void ENC1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
370 void ENC2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
371 void ENC3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
372 void ENC4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
373 void TMR1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
374 void TMR2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
375 void TMR3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
376 void TMR4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
377 void PWM2_0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
378 void PWM2_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
379 void PWM2_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
380 void PWM2_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
381 void PWM2_FAULT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
382 void PWM3_0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
383 void PWM3_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
384 void PWM3_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
385 void PWM3_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
386 void PWM3_FAULT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
387 void PWM4_0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
388 void PWM4_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
389 void PWM4_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
390 void PWM4_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
391 void PWM4_FAULT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
392 void ENET2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
393 void ENET2_1588_Timer_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
394 void CAN3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
395 void Reserved171_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
396 void FLEXIO3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
397 void GPIO6_7_8_9_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
398 
399 //*****************************************************************************
400 // The entry point for the application.
401 // __main() is the entry point for Redlib based applications
402 // main() is the entry point for Newlib based applications
403 //*****************************************************************************
404 #if defined (__REDLIB__)
405 extern void __main(void);
406 #endif
407 extern int main(void);
408 
409 //*****************************************************************************
410 // External declaration for the pointer to the stack top from the Linker Script
411 //*****************************************************************************
412 extern void _vStackTop(void);
413 //*****************************************************************************
414 #if defined (__cplusplus)
415 } // extern "C"
416 #endif
417 //*****************************************************************************
418 // The vector table.
419 // This relies on the linker script to place at correct location in memory.
420 //*****************************************************************************
421 extern void (* const g_pfnVectors[])(void);
422 extern void * __Vectors __attribute__ ((alias ("g_pfnVectors")));
423 
424 __attribute__ ((used, section(".isr_vector")))
425 void (* const g_pfnVectors[])(void) = {
426     // Core Level - CM7
427     &_vStackTop,                       // The initial stack pointer
428     ResetISR,                          // The reset handler
429     NMI_Handler,                       // The NMI handler
430     HardFault_Handler,                 // The hard fault handler
431     0,                                 // Reserved
432     0,                                 // Reserved
433     0,                                 // Reserved
434     0,                                 // Reserved
435     0,                                 // Reserved
436     0,                                 // Reserved
437     0,                                 // Reserved
438     SVC_Handler,                       // SVCall handler
439     0,                                 // Reserved
440     0,                                 // Reserved
441     PendSV_Handler,                    // The PendSV handler
442     SysTick_Handler,                   // The SysTick handler
443 
444     // Chip Level - MIMXRT1064
445     DMA0_DMA16_IRQHandler,            // 16 : DMA channel 0/16 transfer complete
446     DMA1_DMA17_IRQHandler,            // 17 : DMA channel 1/17 transfer complete
447     DMA2_DMA18_IRQHandler,            // 18 : DMA channel 2/18 transfer complete
448     DMA3_DMA19_IRQHandler,            // 19 : DMA channel 3/19 transfer complete
449     DMA4_DMA20_IRQHandler,            // 20 : DMA channel 4/20 transfer complete
450     DMA5_DMA21_IRQHandler,            // 21 : DMA channel 5/21 transfer complete
451     DMA6_DMA22_IRQHandler,            // 22 : DMA channel 6/22 transfer complete
452     DMA7_DMA23_IRQHandler,            // 23 : DMA channel 7/23 transfer complete
453     DMA8_DMA24_IRQHandler,            // 24 : DMA channel 8/24 transfer complete
454     DMA9_DMA25_IRQHandler,            // 25 : DMA channel 9/25 transfer complete
455     DMA10_DMA26_IRQHandler,           // 26 : DMA channel 10/26 transfer complete
456     DMA11_DMA27_IRQHandler,           // 27 : DMA channel 11/27 transfer complete
457     DMA12_DMA28_IRQHandler,           // 28 : DMA channel 12/28 transfer complete
458     DMA13_DMA29_IRQHandler,           // 29 : DMA channel 13/29 transfer complete
459     DMA14_DMA30_IRQHandler,           // 30 : DMA channel 14/30 transfer complete
460     DMA15_DMA31_IRQHandler,           // 31 : DMA channel 15/31 transfer complete
461     DMA_ERROR_IRQHandler,             // 32 : DMA error interrupt channels 0-15 / 16-31
462     CTI0_ERROR_IRQHandler,            // 33 : CTI0_Error
463     CTI1_ERROR_IRQHandler,            // 34 : CTI1_Error
464     CORE_IRQHandler,                  // 35 : CorePlatform exception IRQ
465     LPUART1_IRQHandler,               // 36 : LPUART1 TX interrupt and RX interrupt
466     LPUART2_IRQHandler,               // 37 : LPUART2 TX interrupt and RX interrupt
467     LPUART3_IRQHandler,               // 38 : LPUART3 TX interrupt and RX interrupt
468     LPUART4_IRQHandler,               // 39 : LPUART4 TX interrupt and RX interrupt
469     LPUART5_IRQHandler,               // 40 : LPUART5 TX interrupt and RX interrupt
470     LPUART6_IRQHandler,               // 41 : LPUART6 TX interrupt and RX interrupt
471     LPUART7_IRQHandler,               // 42 : LPUART7 TX interrupt and RX interrupt
472     LPUART8_IRQHandler,               // 43 : LPUART8 TX interrupt and RX interrupt
473     LPI2C1_IRQHandler,                // 44 : LPI2C1 interrupt
474     LPI2C2_IRQHandler,                // 45 : LPI2C2 interrupt
475     LPI2C3_IRQHandler,                // 46 : LPI2C3 interrupt
476     LPI2C4_IRQHandler,                // 47 : LPI2C4 interrupt
477     LPSPI1_IRQHandler,                // 48 : LPSPI1 single interrupt vector for all sources
478     LPSPI2_IRQHandler,                // 49 : LPSPI2 single interrupt vector for all sources
479     LPSPI3_IRQHandler,                // 50 : LPSPI3 single interrupt vector for all sources
480     LPSPI4_IRQHandler,                // 51 : LPSPI4  single interrupt vector for all sources
481     CAN1_IRQHandler,                  // 52 : CAN1 interrupt
482     CAN2_IRQHandler,                  // 53 : CAN2 interrupt
483     FLEXRAM_IRQHandler,               // 54 : FlexRAM address out of range Or access hit IRQ
484     KPP_IRQHandler,                   // 55 : Keypad nterrupt
485     TSC_DIG_IRQHandler,               // 56 : TSC interrupt
486     GPR_IRQ_IRQHandler,               // 57 : GPR interrupt
487     LCDIF_IRQHandler,                 // 58 : LCDIF interrupt
488     CSI_IRQHandler,                   // 59 : CSI interrupt
489     PXP_IRQHandler,                   // 60 : PXP interrupt
490     WDOG2_IRQHandler,                 // 61 : WDOG2 interrupt
491     SNVS_HP_WRAPPER_IRQHandler,       // 62 : SRTC Consolidated Interrupt. Non TZ
492     SNVS_HP_WRAPPER_TZ_IRQHandler,    // 63 : SRTC Security Interrupt. TZ
493     SNVS_LP_WRAPPER_IRQHandler,       // 64 : ON-OFF button press shorter than 5 secs (pulse event)
494     CSU_IRQHandler,                   // 65 : CSU interrupt
495     DCP_IRQHandler,                   // 66 : DCP_IRQ interrupt
496     DCP_VMI_IRQHandler,               // 67 : DCP_VMI_IRQ interrupt
497     Reserved68_IRQHandler,            // 68 : Reserved interrupt
498     TRNG_IRQHandler,                  // 69 : TRNG interrupt
499     SJC_IRQHandler,                   // 70 : SJC interrupt
500     BEE_IRQHandler,                   // 71 : BEE interrupt
501     SAI1_IRQHandler,                  // 72 : SAI1 interrupt
502     SAI2_IRQHandler,                  // 73 : SAI1 interrupt
503     SAI3_RX_IRQHandler,               // 74 : SAI3 interrupt
504     SAI3_TX_IRQHandler,               // 75 : SAI3 interrupt
505     SPDIF_IRQHandler,                 // 76 : SPDIF interrupt
506     PMU_EVENT_IRQHandler,             // 77 : Brown-out event interrupt
507     Reserved78_IRQHandler,            // 78 : Reserved interrupt
508     TEMP_LOW_HIGH_IRQHandler,         // 79 : TempSensor low/high interrupt
509     TEMP_PANIC_IRQHandler,            // 80 : TempSensor panic interrupt
510     USB_PHY1_IRQHandler,              // 81 : USBPHY (UTMI0), Interrupt
511     USB_PHY2_IRQHandler,              // 82 : USBPHY (UTMI1), Interrupt
512     ADC1_IRQHandler,                  // 83 : ADC1 interrupt
513     ADC2_IRQHandler,                  // 84 : ADC2 interrupt
514     DCDC_IRQHandler,                  // 85 : DCDC interrupt
515     Reserved86_IRQHandler,            // 86 : Reserved interrupt
516     Reserved87_IRQHandler,            // 87 : Reserved interrupt
517     GPIO1_INT0_IRQHandler,            // 88 : Active HIGH Interrupt from INT0 from GPIO
518     GPIO1_INT1_IRQHandler,            // 89 : Active HIGH Interrupt from INT1 from GPIO
519     GPIO1_INT2_IRQHandler,            // 90 : Active HIGH Interrupt from INT2 from GPIO
520     GPIO1_INT3_IRQHandler,            // 91 : Active HIGH Interrupt from INT3 from GPIO
521     GPIO1_INT4_IRQHandler,            // 92 : Active HIGH Interrupt from INT4 from GPIO
522     GPIO1_INT5_IRQHandler,            // 93 : Active HIGH Interrupt from INT5 from GPIO
523     GPIO1_INT6_IRQHandler,            // 94 : Active HIGH Interrupt from INT6 from GPIO
524     GPIO1_INT7_IRQHandler,            // 95 : Active HIGH Interrupt from INT7 from GPIO
525     GPIO1_Combined_0_15_IRQHandler,   // 96 : Combined interrupt indication for GPIO1 signal 0 throughout 15
526     GPIO1_Combined_16_31_IRQHandler,  // 97 : Combined interrupt indication for GPIO1 signal 16 throughout 31
527     GPIO2_Combined_0_15_IRQHandler,   // 98 : Combined interrupt indication for GPIO2 signal 0 throughout 15
528     GPIO2_Combined_16_31_IRQHandler,  // 99 : Combined interrupt indication for GPIO2 signal 16 throughout 31
529     GPIO3_Combined_0_15_IRQHandler,   // 100: Combined interrupt indication for GPIO3 signal 0 throughout 15
530     GPIO3_Combined_16_31_IRQHandler,  // 101: Combined interrupt indication for GPIO3 signal 16 throughout 31
531     GPIO4_Combined_0_15_IRQHandler,   // 102: Combined interrupt indication for GPIO4 signal 0 throughout 15
532     GPIO4_Combined_16_31_IRQHandler,  // 103: Combined interrupt indication for GPIO4 signal 16 throughout 31
533     GPIO5_Combined_0_15_IRQHandler,   // 104: Combined interrupt indication for GPIO5 signal 0 throughout 15
534     GPIO5_Combined_16_31_IRQHandler,  // 105: Combined interrupt indication for GPIO5 signal 16 throughout 31
535     FLEXIO1_IRQHandler,               // 106: FLEXIO1 interrupt
536     FLEXIO2_IRQHandler,               // 107: FLEXIO2 interrupt
537     WDOG1_IRQHandler,                 // 108: WDOG1 interrupt
538     RTWDOG_IRQHandler,                // 109: RTWDOG interrupt
539     EWM_IRQHandler,                   // 110: EWM interrupt
540     CCM_1_IRQHandler,                 // 111: CCM IRQ1 interrupt
541     CCM_2_IRQHandler,                 // 112: CCM IRQ2 interrupt
542     GPC_IRQHandler,                   // 113: GPC interrupt
543     SRC_IRQHandler,                   // 114: SRC interrupt
544     Reserved115_IRQHandler,           // 115: Reserved interrupt
545     GPT1_IRQHandler,                  // 116: GPT1 interrupt
546     GPT2_IRQHandler,                  // 117: GPT2 interrupt
547     PWM1_0_IRQHandler,                // 118: PWM1 capture 0, compare 0, or reload 0 interrupt
548     PWM1_1_IRQHandler,                // 119: PWM1 capture 1, compare 1, or reload 0 interrupt
549     PWM1_2_IRQHandler,                // 120: PWM1 capture 2, compare 2, or reload 0 interrupt
550     PWM1_3_IRQHandler,                // 121: PWM1 capture 3, compare 3, or reload 0 interrupt
551     PWM1_FAULT_IRQHandler,            // 122: PWM1 fault or reload error interrupt
552     FLEXSPI2_IRQHandler,              // 123: FlexSPI2 interrupt
553     FLEXSPI_IRQHandler,               // 124: FlexSPI0 interrupt
554     SEMC_IRQHandler,                  // 125: Reserved interrupt
555     USDHC1_IRQHandler,                // 126: USDHC1 interrupt
556     USDHC2_IRQHandler,                // 127: USDHC2 interrupt
557     USB_OTG2_IRQHandler,              // 128: USBO2 USB OTG2
558     USB_OTG1_IRQHandler,              // 129: USBO2 USB OTG1
559     ENET_IRQHandler,                  // 130: ENET interrupt
560     ENET_1588_Timer_IRQHandler,       // 131: ENET_1588_Timer interrupt
561     XBAR1_IRQ_0_1_IRQHandler,         // 132: XBAR1 interrupt
562     XBAR1_IRQ_2_3_IRQHandler,         // 133: XBAR1 interrupt
563     ADC_ETC_IRQ0_IRQHandler,          // 134: ADCETC IRQ0 interrupt
564     ADC_ETC_IRQ1_IRQHandler,          // 135: ADCETC IRQ1 interrupt
565     ADC_ETC_IRQ2_IRQHandler,          // 136: ADCETC IRQ2 interrupt
566     ADC_ETC_ERROR_IRQ_IRQHandler,     // 137: ADCETC Error IRQ interrupt
567     PIT_IRQHandler,                   // 138: PIT interrupt
568     ACMP1_IRQHandler,                 // 139: ACMP interrupt
569     ACMP2_IRQHandler,                 // 140: ACMP interrupt
570     ACMP3_IRQHandler,                 // 141: ACMP interrupt
571     ACMP4_IRQHandler,                 // 142: ACMP interrupt
572     Reserved143_IRQHandler,           // 143: Reserved interrupt
573     Reserved144_IRQHandler,           // 144: Reserved interrupt
574     ENC1_IRQHandler,                  // 145: ENC1 interrupt
575     ENC2_IRQHandler,                  // 146: ENC2 interrupt
576     ENC3_IRQHandler,                  // 147: ENC3 interrupt
577     ENC4_IRQHandler,                  // 148: ENC4 interrupt
578     TMR1_IRQHandler,                  // 149: TMR1 interrupt
579     TMR2_IRQHandler,                  // 150: TMR2 interrupt
580     TMR3_IRQHandler,                  // 151: TMR3 interrupt
581     TMR4_IRQHandler,                  // 152: TMR4 interrupt
582     PWM2_0_IRQHandler,                // 153: PWM2 capture 0, compare 0, or reload 0 interrupt
583     PWM2_1_IRQHandler,                // 154: PWM2 capture 1, compare 1, or reload 0 interrupt
584     PWM2_2_IRQHandler,                // 155: PWM2 capture 2, compare 2, or reload 0 interrupt
585     PWM2_3_IRQHandler,                // 156: PWM2 capture 3, compare 3, or reload 0 interrupt
586     PWM2_FAULT_IRQHandler,            // 157: PWM2 fault or reload error interrupt
587     PWM3_0_IRQHandler,                // 158: PWM3 capture 0, compare 0, or reload 0 interrupt
588     PWM3_1_IRQHandler,                // 159: PWM3 capture 1, compare 1, or reload 0 interrupt
589     PWM3_2_IRQHandler,                // 160: PWM3 capture 2, compare 2, or reload 0 interrupt
590     PWM3_3_IRQHandler,                // 161: PWM3 capture 3, compare 3, or reload 0 interrupt
591     PWM3_FAULT_IRQHandler,            // 162: PWM3 fault or reload error interrupt
592     PWM4_0_IRQHandler,                // 163: PWM4 capture 0, compare 0, or reload 0 interrupt
593     PWM4_1_IRQHandler,                // 164: PWM4 capture 1, compare 1, or reload 0 interrupt
594     PWM4_2_IRQHandler,                // 165: PWM4 capture 2, compare 2, or reload 0 interrupt
595     PWM4_3_IRQHandler,                // 166: PWM4 capture 3, compare 3, or reload 0 interrupt
596     PWM4_FAULT_IRQHandler,            // 167: PWM4 fault or reload error interrupt
597     ENET2_IRQHandler,                 // 168: ENET2 interrupt
598     ENET2_1588_Timer_IRQHandler,      // 169: ENET2_1588_Timer interrupt
599     CAN3_IRQHandler,                  // 170: CAN3 interrupt
600     Reserved171_IRQHandler,           // 171: Reserved interrupt
601     FLEXIO3_IRQHandler,               // 172: FLEXIO3 interrupt
602     GPIO6_7_8_9_IRQHandler,           // 173: GPIO6, GPIO7, GPIO8, GPIO9 interrupt
603 
604 }; /* End of g_pfnVectors */
605 
606 //*****************************************************************************
607 // Functions to carry out the initialization of RW and BSS data sections. These
608 // are written as separate functions rather than being inlined within the
609 // ResetISR() function in order to cope with MCUs with multiple banks of
610 // memory.
611 //*****************************************************************************
612 __attribute__ ((section(".after_vectors.init_data")))
data_init(unsigned int romstart,unsigned int start,unsigned int len)613 void data_init(unsigned int romstart, unsigned int start, unsigned int len) {
614     unsigned int *pulDest = (unsigned int*) start;
615     unsigned int *pulSrc = (unsigned int*) romstart;
616     unsigned int loop;
617     for (loop = 0; loop < len; loop = loop + 4)
618         *pulDest++ = *pulSrc++;
619 }
620 
621 __attribute__ ((section(".after_vectors.init_bss")))
bss_init(unsigned int start,unsigned int len)622 void bss_init(unsigned int start, unsigned int len) {
623     unsigned int *pulDest = (unsigned int*) start;
624     unsigned int loop;
625     for (loop = 0; loop < len; loop = loop + 4)
626         *pulDest++ = 0;
627 }
628 
629 //*****************************************************************************
630 // The following symbols are constructs generated by the linker, indicating
631 // the location of various points in the "Global Section Table". This table is
632 // created by the linker via the Code Red managed linker script mechanism. It
633 // contains the load address, execution address and length of each RW data
634 // section and the execution and length of each BSS (zero initialized) section.
635 //*****************************************************************************
636 extern unsigned int __data_section_table;
637 extern unsigned int __data_section_table_end;
638 extern unsigned int __bss_section_table;
639 extern unsigned int __bss_section_table_end;
640 
641 //*****************************************************************************
642 // Reset entry point for your code.
643 // Sets up a simple runtime environment and initializes the C/C++
644 // library.
645 //*****************************************************************************
646 __attribute__ ((naked, section(".after_vectors.reset")))
ResetISR(void)647 void ResetISR(void) {
648 
649     // Disable interrupts
650     __asm volatile ("cpsid i");
651 
652 #if defined (__USE_CMSIS)
653 // If __USE_CMSIS defined, then call CMSIS SystemInit code
654     SystemInit();
655 #else
656     // Disable Watchdog
657     volatile unsigned int *WDOG1_WCR = (unsigned int *) 0x400B8000;
658     *WDOG1_WCR = *WDOG1_WCR & ~(1 << 2);
659     volatile unsigned int *WDOG2_WCR = (unsigned int *) 0x400D0000;
660     *WDOG2_WCR = *WDOG2_WCR & ~(1 << 2);
661     // Write watchdog update key to unlock
662     *((volatile unsigned int *)0x400BC004) = 0xD928C520;
663     // Set timeout value
664     *((volatile unsigned int *)0x400BC008) = 0xFFFF;
665     // Now disable watchdog via control register
666     volatile unsigned int *RTWDOG_CS = (unsigned int *) 0x400BC000;
667     *RTWDOG_CS = (*RTWDOG_CS & ~(1 << 7)) | (1 << 5);
668 
669 #endif // (__USE_CMSIS)
670 
671     //
672     // Copy the data sections from flash to SRAM.
673     //
674     unsigned int LoadAddr, ExeAddr, SectionLen;
675     unsigned int *SectionTableAddr;
676 
677     // Load base address of Global Section Table
678     SectionTableAddr = &__data_section_table;
679 
680     // Copy the data sections from flash to SRAM.
681     while (SectionTableAddr < &__data_section_table_end) {
682         LoadAddr = *SectionTableAddr++;
683         ExeAddr = *SectionTableAddr++;
684         SectionLen = *SectionTableAddr++;
685         data_init(LoadAddr, ExeAddr, SectionLen);
686     }
687 
688     // At this point, SectionTableAddr = &__bss_section_table;
689     // Zero fill the bss segment
690     while (SectionTableAddr < &__bss_section_table_end) {
691         ExeAddr = *SectionTableAddr++;
692         SectionLen = *SectionTableAddr++;
693         bss_init(ExeAddr, SectionLen);
694     }
695 
696 #if !defined (__USE_CMSIS)
697 // Assume that if __USE_CMSIS defined, then CMSIS SystemInit code
698 // will setup the VTOR register
699 
700     // Check to see if we are running the code from a non-zero
701     // address (eg RAM, external flash), in which case we need
702     // to modify the VTOR register to tell the CPU that the
703     // vector table is located at a non-0x0 address.
704     unsigned int * pSCB_VTOR = (unsigned int *) 0xE000ED08;
705     if ((unsigned int *)g_pfnVectors!=(unsigned int *) 0x00000000) {
706         *pSCB_VTOR = (unsigned int)g_pfnVectors;
707     }
708 #endif // (__USE_CMSIS)
709 
710 #if defined (__cplusplus)
711     //
712     // Call C++ library initialisation
713     //
714     __libc_init_array();
715 #endif
716 
717     // Reenable interrupts
718     __asm volatile ("cpsie i");
719 
720 #if defined (__REDLIB__)
721     // Call the Redlib library, which in turn calls main()
722     __main();
723 #else
724     main();
725 #endif
726 
727     //
728     // main() shouldn't return, but if it does, we'll just enter an infinite loop
729     //
730     while (1) {
731         ;
732     }
733 }
734 
735 //*****************************************************************************
736 // Default core exception handlers. Override the ones here by defining your own
737 // handler routines in your application code.
738 //*****************************************************************************
NMI_Handler(void)739 WEAK_AV void NMI_Handler(void)
740 { while(1) {}
741 }
742 
HardFault_Handler(void)743 WEAK_AV void HardFault_Handler(void)
744 { while(1) {}
745 }
746 
SVC_Handler(void)747 WEAK_AV void SVC_Handler(void)
748 { while(1) {}
749 }
750 
PendSV_Handler(void)751 WEAK_AV void PendSV_Handler(void)
752 { while(1) {}
753 }
754 
SysTick_Handler(void)755 WEAK_AV void SysTick_Handler(void)
756 { while(1) {}
757 }
758 
759 //*****************************************************************************
760 // Processor ends up here if an unexpected interrupt occurs or a specific
761 // handler is not present in the application code.
762 //*****************************************************************************
IntDefaultHandler(void)763 WEAK_AV void IntDefaultHandler(void)
764 { while(1) {}
765 }
766 
767 //*****************************************************************************
768 // Default application exception handlers. Override the ones here by defining
769 // your own handler routines in your application code. These routines call
770 // driver exception handlers or IntDefaultHandler() if no driver exception
771 // handler is included.
772 //*****************************************************************************
DMA0_DMA16_IRQHandler(void)773 WEAK void DMA0_DMA16_IRQHandler(void)
774 {   DMA0_DMA16_DriverIRQHandler();
775 }
776 
DMA1_DMA17_IRQHandler(void)777 WEAK void DMA1_DMA17_IRQHandler(void)
778 {   DMA1_DMA17_DriverIRQHandler();
779 }
780 
DMA2_DMA18_IRQHandler(void)781 WEAK void DMA2_DMA18_IRQHandler(void)
782 {   DMA2_DMA18_DriverIRQHandler();
783 }
784 
DMA3_DMA19_IRQHandler(void)785 WEAK void DMA3_DMA19_IRQHandler(void)
786 {   DMA3_DMA19_DriverIRQHandler();
787 }
788 
DMA4_DMA20_IRQHandler(void)789 WEAK void DMA4_DMA20_IRQHandler(void)
790 {   DMA4_DMA20_DriverIRQHandler();
791 }
792 
DMA5_DMA21_IRQHandler(void)793 WEAK void DMA5_DMA21_IRQHandler(void)
794 {   DMA5_DMA21_DriverIRQHandler();
795 }
796 
DMA6_DMA22_IRQHandler(void)797 WEAK void DMA6_DMA22_IRQHandler(void)
798 {   DMA6_DMA22_DriverIRQHandler();
799 }
800 
DMA7_DMA23_IRQHandler(void)801 WEAK void DMA7_DMA23_IRQHandler(void)
802 {   DMA7_DMA23_DriverIRQHandler();
803 }
804 
DMA8_DMA24_IRQHandler(void)805 WEAK void DMA8_DMA24_IRQHandler(void)
806 {   DMA8_DMA24_DriverIRQHandler();
807 }
808 
DMA9_DMA25_IRQHandler(void)809 WEAK void DMA9_DMA25_IRQHandler(void)
810 {   DMA9_DMA25_DriverIRQHandler();
811 }
812 
DMA10_DMA26_IRQHandler(void)813 WEAK void DMA10_DMA26_IRQHandler(void)
814 {   DMA10_DMA26_DriverIRQHandler();
815 }
816 
DMA11_DMA27_IRQHandler(void)817 WEAK void DMA11_DMA27_IRQHandler(void)
818 {   DMA11_DMA27_DriverIRQHandler();
819 }
820 
DMA12_DMA28_IRQHandler(void)821 WEAK void DMA12_DMA28_IRQHandler(void)
822 {   DMA12_DMA28_DriverIRQHandler();
823 }
824 
DMA13_DMA29_IRQHandler(void)825 WEAK void DMA13_DMA29_IRQHandler(void)
826 {   DMA13_DMA29_DriverIRQHandler();
827 }
828 
DMA14_DMA30_IRQHandler(void)829 WEAK void DMA14_DMA30_IRQHandler(void)
830 {   DMA14_DMA30_DriverIRQHandler();
831 }
832 
DMA15_DMA31_IRQHandler(void)833 WEAK void DMA15_DMA31_IRQHandler(void)
834 {   DMA15_DMA31_DriverIRQHandler();
835 }
836 
DMA_ERROR_IRQHandler(void)837 WEAK void DMA_ERROR_IRQHandler(void)
838 {   DMA_ERROR_DriverIRQHandler();
839 }
840 
CTI0_ERROR_IRQHandler(void)841 WEAK void CTI0_ERROR_IRQHandler(void)
842 {   CTI0_ERROR_DriverIRQHandler();
843 }
844 
CTI1_ERROR_IRQHandler(void)845 WEAK void CTI1_ERROR_IRQHandler(void)
846 {   CTI1_ERROR_DriverIRQHandler();
847 }
848 
CORE_IRQHandler(void)849 WEAK void CORE_IRQHandler(void)
850 {   CORE_DriverIRQHandler();
851 }
852 
LPUART1_IRQHandler(void)853 WEAK void LPUART1_IRQHandler(void)
854 {   LPUART1_DriverIRQHandler();
855 }
856 
LPUART2_IRQHandler(void)857 WEAK void LPUART2_IRQHandler(void)
858 {   LPUART2_DriverIRQHandler();
859 }
860 
LPUART3_IRQHandler(void)861 WEAK void LPUART3_IRQHandler(void)
862 {   LPUART3_DriverIRQHandler();
863 }
864 
LPUART4_IRQHandler(void)865 WEAK void LPUART4_IRQHandler(void)
866 {   LPUART4_DriverIRQHandler();
867 }
868 
LPUART5_IRQHandler(void)869 WEAK void LPUART5_IRQHandler(void)
870 {   LPUART5_DriverIRQHandler();
871 }
872 
LPUART6_IRQHandler(void)873 WEAK void LPUART6_IRQHandler(void)
874 {   LPUART6_DriverIRQHandler();
875 }
876 
LPUART7_IRQHandler(void)877 WEAK void LPUART7_IRQHandler(void)
878 {   LPUART7_DriverIRQHandler();
879 }
880 
LPUART8_IRQHandler(void)881 WEAK void LPUART8_IRQHandler(void)
882 {   LPUART8_DriverIRQHandler();
883 }
884 
LPI2C1_IRQHandler(void)885 WEAK void LPI2C1_IRQHandler(void)
886 {   LPI2C1_DriverIRQHandler();
887 }
888 
LPI2C2_IRQHandler(void)889 WEAK void LPI2C2_IRQHandler(void)
890 {   LPI2C2_DriverIRQHandler();
891 }
892 
LPI2C3_IRQHandler(void)893 WEAK void LPI2C3_IRQHandler(void)
894 {   LPI2C3_DriverIRQHandler();
895 }
896 
LPI2C4_IRQHandler(void)897 WEAK void LPI2C4_IRQHandler(void)
898 {   LPI2C4_DriverIRQHandler();
899 }
900 
LPSPI1_IRQHandler(void)901 WEAK void LPSPI1_IRQHandler(void)
902 {   LPSPI1_DriverIRQHandler();
903 }
904 
LPSPI2_IRQHandler(void)905 WEAK void LPSPI2_IRQHandler(void)
906 {   LPSPI2_DriverIRQHandler();
907 }
908 
LPSPI3_IRQHandler(void)909 WEAK void LPSPI3_IRQHandler(void)
910 {   LPSPI3_DriverIRQHandler();
911 }
912 
LPSPI4_IRQHandler(void)913 WEAK void LPSPI4_IRQHandler(void)
914 {   LPSPI4_DriverIRQHandler();
915 }
916 
CAN1_IRQHandler(void)917 WEAK void CAN1_IRQHandler(void)
918 {   CAN1_DriverIRQHandler();
919 }
920 
CAN2_IRQHandler(void)921 WEAK void CAN2_IRQHandler(void)
922 {   CAN2_DriverIRQHandler();
923 }
924 
FLEXRAM_IRQHandler(void)925 WEAK void FLEXRAM_IRQHandler(void)
926 {   FLEXRAM_DriverIRQHandler();
927 }
928 
KPP_IRQHandler(void)929 WEAK void KPP_IRQHandler(void)
930 {   KPP_DriverIRQHandler();
931 }
932 
TSC_DIG_IRQHandler(void)933 WEAK void TSC_DIG_IRQHandler(void)
934 {   TSC_DIG_DriverIRQHandler();
935 }
936 
GPR_IRQ_IRQHandler(void)937 WEAK void GPR_IRQ_IRQHandler(void)
938 {   GPR_IRQ_DriverIRQHandler();
939 }
940 
LCDIF_IRQHandler(void)941 WEAK void LCDIF_IRQHandler(void)
942 {   LCDIF_DriverIRQHandler();
943 }
944 
CSI_IRQHandler(void)945 WEAK void CSI_IRQHandler(void)
946 {   CSI_DriverIRQHandler();
947 }
948 
PXP_IRQHandler(void)949 WEAK void PXP_IRQHandler(void)
950 {   PXP_DriverIRQHandler();
951 }
952 
WDOG2_IRQHandler(void)953 WEAK void WDOG2_IRQHandler(void)
954 {   WDOG2_DriverIRQHandler();
955 }
956 
SNVS_HP_WRAPPER_IRQHandler(void)957 WEAK void SNVS_HP_WRAPPER_IRQHandler(void)
958 {   SNVS_HP_WRAPPER_DriverIRQHandler();
959 }
960 
SNVS_HP_WRAPPER_TZ_IRQHandler(void)961 WEAK void SNVS_HP_WRAPPER_TZ_IRQHandler(void)
962 {   SNVS_HP_WRAPPER_TZ_DriverIRQHandler();
963 }
964 
SNVS_LP_WRAPPER_IRQHandler(void)965 WEAK void SNVS_LP_WRAPPER_IRQHandler(void)
966 {   SNVS_LP_WRAPPER_DriverIRQHandler();
967 }
968 
CSU_IRQHandler(void)969 WEAK void CSU_IRQHandler(void)
970 {   CSU_DriverIRQHandler();
971 }
972 
DCP_IRQHandler(void)973 WEAK void DCP_IRQHandler(void)
974 {   DCP_DriverIRQHandler();
975 }
976 
DCP_VMI_IRQHandler(void)977 WEAK void DCP_VMI_IRQHandler(void)
978 {   DCP_VMI_DriverIRQHandler();
979 }
980 
Reserved68_IRQHandler(void)981 WEAK void Reserved68_IRQHandler(void)
982 {   Reserved68_DriverIRQHandler();
983 }
984 
TRNG_IRQHandler(void)985 WEAK void TRNG_IRQHandler(void)
986 {   TRNG_DriverIRQHandler();
987 }
988 
SJC_IRQHandler(void)989 WEAK void SJC_IRQHandler(void)
990 {   SJC_DriverIRQHandler();
991 }
992 
BEE_IRQHandler(void)993 WEAK void BEE_IRQHandler(void)
994 {   BEE_DriverIRQHandler();
995 }
996 
SAI1_IRQHandler(void)997 WEAK void SAI1_IRQHandler(void)
998 {   SAI1_DriverIRQHandler();
999 }
1000 
SAI2_IRQHandler(void)1001 WEAK void SAI2_IRQHandler(void)
1002 {   SAI2_DriverIRQHandler();
1003 }
1004 
SAI3_RX_IRQHandler(void)1005 WEAK void SAI3_RX_IRQHandler(void)
1006 {   SAI3_RX_DriverIRQHandler();
1007 }
1008 
SAI3_TX_IRQHandler(void)1009 WEAK void SAI3_TX_IRQHandler(void)
1010 {   SAI3_TX_DriverIRQHandler();
1011 }
1012 
SPDIF_IRQHandler(void)1013 WEAK void SPDIF_IRQHandler(void)
1014 {   SPDIF_DriverIRQHandler();
1015 }
1016 
PMU_EVENT_IRQHandler(void)1017 WEAK void PMU_EVENT_IRQHandler(void)
1018 {   PMU_EVENT_DriverIRQHandler();
1019 }
1020 
Reserved78_IRQHandler(void)1021 WEAK void Reserved78_IRQHandler(void)
1022 {   Reserved78_DriverIRQHandler();
1023 }
1024 
TEMP_LOW_HIGH_IRQHandler(void)1025 WEAK void TEMP_LOW_HIGH_IRQHandler(void)
1026 {   TEMP_LOW_HIGH_DriverIRQHandler();
1027 }
1028 
TEMP_PANIC_IRQHandler(void)1029 WEAK void TEMP_PANIC_IRQHandler(void)
1030 {   TEMP_PANIC_DriverIRQHandler();
1031 }
1032 
USB_PHY1_IRQHandler(void)1033 WEAK void USB_PHY1_IRQHandler(void)
1034 {   USB_PHY1_DriverIRQHandler();
1035 }
1036 
USB_PHY2_IRQHandler(void)1037 WEAK void USB_PHY2_IRQHandler(void)
1038 {   USB_PHY2_DriverIRQHandler();
1039 }
1040 
ADC1_IRQHandler(void)1041 WEAK void ADC1_IRQHandler(void)
1042 {   ADC1_DriverIRQHandler();
1043 }
1044 
ADC2_IRQHandler(void)1045 WEAK void ADC2_IRQHandler(void)
1046 {   ADC2_DriverIRQHandler();
1047 }
1048 
DCDC_IRQHandler(void)1049 WEAK void DCDC_IRQHandler(void)
1050 {   DCDC_DriverIRQHandler();
1051 }
1052 
Reserved86_IRQHandler(void)1053 WEAK void Reserved86_IRQHandler(void)
1054 {   Reserved86_DriverIRQHandler();
1055 }
1056 
Reserved87_IRQHandler(void)1057 WEAK void Reserved87_IRQHandler(void)
1058 {   Reserved87_DriverIRQHandler();
1059 }
1060 
GPIO1_INT0_IRQHandler(void)1061 WEAK void GPIO1_INT0_IRQHandler(void)
1062 {   GPIO1_INT0_DriverIRQHandler();
1063 }
1064 
GPIO1_INT1_IRQHandler(void)1065 WEAK void GPIO1_INT1_IRQHandler(void)
1066 {   GPIO1_INT1_DriverIRQHandler();
1067 }
1068 
GPIO1_INT2_IRQHandler(void)1069 WEAK void GPIO1_INT2_IRQHandler(void)
1070 {   GPIO1_INT2_DriverIRQHandler();
1071 }
1072 
GPIO1_INT3_IRQHandler(void)1073 WEAK void GPIO1_INT3_IRQHandler(void)
1074 {   GPIO1_INT3_DriverIRQHandler();
1075 }
1076 
GPIO1_INT4_IRQHandler(void)1077 WEAK void GPIO1_INT4_IRQHandler(void)
1078 {   GPIO1_INT4_DriverIRQHandler();
1079 }
1080 
GPIO1_INT5_IRQHandler(void)1081 WEAK void GPIO1_INT5_IRQHandler(void)
1082 {   GPIO1_INT5_DriverIRQHandler();
1083 }
1084 
GPIO1_INT6_IRQHandler(void)1085 WEAK void GPIO1_INT6_IRQHandler(void)
1086 {   GPIO1_INT6_DriverIRQHandler();
1087 }
1088 
GPIO1_INT7_IRQHandler(void)1089 WEAK void GPIO1_INT7_IRQHandler(void)
1090 {   GPIO1_INT7_DriverIRQHandler();
1091 }
1092 
GPIO1_Combined_0_15_IRQHandler(void)1093 WEAK void GPIO1_Combined_0_15_IRQHandler(void)
1094 {   GPIO1_Combined_0_15_DriverIRQHandler();
1095 }
1096 
GPIO1_Combined_16_31_IRQHandler(void)1097 WEAK void GPIO1_Combined_16_31_IRQHandler(void)
1098 {   GPIO1_Combined_16_31_DriverIRQHandler();
1099 }
1100 
GPIO2_Combined_0_15_IRQHandler(void)1101 WEAK void GPIO2_Combined_0_15_IRQHandler(void)
1102 {   GPIO2_Combined_0_15_DriverIRQHandler();
1103 }
1104 
GPIO2_Combined_16_31_IRQHandler(void)1105 WEAK void GPIO2_Combined_16_31_IRQHandler(void)
1106 {   GPIO2_Combined_16_31_DriverIRQHandler();
1107 }
1108 
GPIO3_Combined_0_15_IRQHandler(void)1109 WEAK void GPIO3_Combined_0_15_IRQHandler(void)
1110 {   GPIO3_Combined_0_15_DriverIRQHandler();
1111 }
1112 
GPIO3_Combined_16_31_IRQHandler(void)1113 WEAK void GPIO3_Combined_16_31_IRQHandler(void)
1114 {   GPIO3_Combined_16_31_DriverIRQHandler();
1115 }
1116 
GPIO4_Combined_0_15_IRQHandler(void)1117 WEAK void GPIO4_Combined_0_15_IRQHandler(void)
1118 {   GPIO4_Combined_0_15_DriverIRQHandler();
1119 }
1120 
GPIO4_Combined_16_31_IRQHandler(void)1121 WEAK void GPIO4_Combined_16_31_IRQHandler(void)
1122 {   GPIO4_Combined_16_31_DriverIRQHandler();
1123 }
1124 
GPIO5_Combined_0_15_IRQHandler(void)1125 WEAK void GPIO5_Combined_0_15_IRQHandler(void)
1126 {   GPIO5_Combined_0_15_DriverIRQHandler();
1127 }
1128 
GPIO5_Combined_16_31_IRQHandler(void)1129 WEAK void GPIO5_Combined_16_31_IRQHandler(void)
1130 {   GPIO5_Combined_16_31_DriverIRQHandler();
1131 }
1132 
FLEXIO1_IRQHandler(void)1133 WEAK void FLEXIO1_IRQHandler(void)
1134 {   FLEXIO1_DriverIRQHandler();
1135 }
1136 
FLEXIO2_IRQHandler(void)1137 WEAK void FLEXIO2_IRQHandler(void)
1138 {   FLEXIO2_DriverIRQHandler();
1139 }
1140 
WDOG1_IRQHandler(void)1141 WEAK void WDOG1_IRQHandler(void)
1142 {   WDOG1_DriverIRQHandler();
1143 }
1144 
RTWDOG_IRQHandler(void)1145 WEAK void RTWDOG_IRQHandler(void)
1146 {   RTWDOG_DriverIRQHandler();
1147 }
1148 
EWM_IRQHandler(void)1149 WEAK void EWM_IRQHandler(void)
1150 {   EWM_DriverIRQHandler();
1151 }
1152 
CCM_1_IRQHandler(void)1153 WEAK void CCM_1_IRQHandler(void)
1154 {   CCM_1_DriverIRQHandler();
1155 }
1156 
CCM_2_IRQHandler(void)1157 WEAK void CCM_2_IRQHandler(void)
1158 {   CCM_2_DriverIRQHandler();
1159 }
1160 
GPC_IRQHandler(void)1161 WEAK void GPC_IRQHandler(void)
1162 {   GPC_DriverIRQHandler();
1163 }
1164 
SRC_IRQHandler(void)1165 WEAK void SRC_IRQHandler(void)
1166 {   SRC_DriverIRQHandler();
1167 }
1168 
Reserved115_IRQHandler(void)1169 WEAK void Reserved115_IRQHandler(void)
1170 {   Reserved115_DriverIRQHandler();
1171 }
1172 
GPT1_IRQHandler(void)1173 WEAK void GPT1_IRQHandler(void)
1174 {   GPT1_DriverIRQHandler();
1175 }
1176 
GPT2_IRQHandler(void)1177 WEAK void GPT2_IRQHandler(void)
1178 {   GPT2_DriverIRQHandler();
1179 }
1180 
PWM1_0_IRQHandler(void)1181 WEAK void PWM1_0_IRQHandler(void)
1182 {   PWM1_0_DriverIRQHandler();
1183 }
1184 
PWM1_1_IRQHandler(void)1185 WEAK void PWM1_1_IRQHandler(void)
1186 {   PWM1_1_DriverIRQHandler();
1187 }
1188 
PWM1_2_IRQHandler(void)1189 WEAK void PWM1_2_IRQHandler(void)
1190 {   PWM1_2_DriverIRQHandler();
1191 }
1192 
PWM1_3_IRQHandler(void)1193 WEAK void PWM1_3_IRQHandler(void)
1194 {   PWM1_3_DriverIRQHandler();
1195 }
1196 
PWM1_FAULT_IRQHandler(void)1197 WEAK void PWM1_FAULT_IRQHandler(void)
1198 {   PWM1_FAULT_DriverIRQHandler();
1199 }
1200 
FLEXSPI2_IRQHandler(void)1201 WEAK void FLEXSPI2_IRQHandler(void)
1202 {   FLEXSPI2_DriverIRQHandler();
1203 }
1204 
FLEXSPI_IRQHandler(void)1205 WEAK void FLEXSPI_IRQHandler(void)
1206 {   FLEXSPI_DriverIRQHandler();
1207 }
1208 
SEMC_IRQHandler(void)1209 WEAK void SEMC_IRQHandler(void)
1210 {   SEMC_DriverIRQHandler();
1211 }
1212 
USDHC1_IRQHandler(void)1213 WEAK void USDHC1_IRQHandler(void)
1214 {   USDHC1_DriverIRQHandler();
1215 }
1216 
USDHC2_IRQHandler(void)1217 WEAK void USDHC2_IRQHandler(void)
1218 {   USDHC2_DriverIRQHandler();
1219 }
1220 
USB_OTG2_IRQHandler(void)1221 WEAK void USB_OTG2_IRQHandler(void)
1222 {   USB_OTG2_DriverIRQHandler();
1223 }
1224 
USB_OTG1_IRQHandler(void)1225 WEAK void USB_OTG1_IRQHandler(void)
1226 {   USB_OTG1_DriverIRQHandler();
1227 }
1228 
ENET_IRQHandler(void)1229 WEAK void ENET_IRQHandler(void)
1230 {   ENET_DriverIRQHandler();
1231 }
1232 
ENET_1588_Timer_IRQHandler(void)1233 WEAK void ENET_1588_Timer_IRQHandler(void)
1234 {   ENET_1588_Timer_DriverIRQHandler();
1235 }
1236 
XBAR1_IRQ_0_1_IRQHandler(void)1237 WEAK void XBAR1_IRQ_0_1_IRQHandler(void)
1238 {   XBAR1_IRQ_0_1_DriverIRQHandler();
1239 }
1240 
XBAR1_IRQ_2_3_IRQHandler(void)1241 WEAK void XBAR1_IRQ_2_3_IRQHandler(void)
1242 {   XBAR1_IRQ_2_3_DriverIRQHandler();
1243 }
1244 
ADC_ETC_IRQ0_IRQHandler(void)1245 WEAK void ADC_ETC_IRQ0_IRQHandler(void)
1246 {   ADC_ETC_IRQ0_DriverIRQHandler();
1247 }
1248 
ADC_ETC_IRQ1_IRQHandler(void)1249 WEAK void ADC_ETC_IRQ1_IRQHandler(void)
1250 {   ADC_ETC_IRQ1_DriverIRQHandler();
1251 }
1252 
ADC_ETC_IRQ2_IRQHandler(void)1253 WEAK void ADC_ETC_IRQ2_IRQHandler(void)
1254 {   ADC_ETC_IRQ2_DriverIRQHandler();
1255 }
1256 
ADC_ETC_ERROR_IRQ_IRQHandler(void)1257 WEAK void ADC_ETC_ERROR_IRQ_IRQHandler(void)
1258 {   ADC_ETC_ERROR_IRQ_DriverIRQHandler();
1259 }
1260 
PIT_IRQHandler(void)1261 WEAK void PIT_IRQHandler(void)
1262 {   PIT_DriverIRQHandler();
1263 }
1264 
ACMP1_IRQHandler(void)1265 WEAK void ACMP1_IRQHandler(void)
1266 {   ACMP1_DriverIRQHandler();
1267 }
1268 
ACMP2_IRQHandler(void)1269 WEAK void ACMP2_IRQHandler(void)
1270 {   ACMP2_DriverIRQHandler();
1271 }
1272 
ACMP3_IRQHandler(void)1273 WEAK void ACMP3_IRQHandler(void)
1274 {   ACMP3_DriverIRQHandler();
1275 }
1276 
ACMP4_IRQHandler(void)1277 WEAK void ACMP4_IRQHandler(void)
1278 {   ACMP4_DriverIRQHandler();
1279 }
1280 
Reserved143_IRQHandler(void)1281 WEAK void Reserved143_IRQHandler(void)
1282 {   Reserved143_DriverIRQHandler();
1283 }
1284 
Reserved144_IRQHandler(void)1285 WEAK void Reserved144_IRQHandler(void)
1286 {   Reserved144_DriverIRQHandler();
1287 }
1288 
ENC1_IRQHandler(void)1289 WEAK void ENC1_IRQHandler(void)
1290 {   ENC1_DriverIRQHandler();
1291 }
1292 
ENC2_IRQHandler(void)1293 WEAK void ENC2_IRQHandler(void)
1294 {   ENC2_DriverIRQHandler();
1295 }
1296 
ENC3_IRQHandler(void)1297 WEAK void ENC3_IRQHandler(void)
1298 {   ENC3_DriverIRQHandler();
1299 }
1300 
ENC4_IRQHandler(void)1301 WEAK void ENC4_IRQHandler(void)
1302 {   ENC4_DriverIRQHandler();
1303 }
1304 
TMR1_IRQHandler(void)1305 WEAK void TMR1_IRQHandler(void)
1306 {   TMR1_DriverIRQHandler();
1307 }
1308 
TMR2_IRQHandler(void)1309 WEAK void TMR2_IRQHandler(void)
1310 {   TMR2_DriverIRQHandler();
1311 }
1312 
TMR3_IRQHandler(void)1313 WEAK void TMR3_IRQHandler(void)
1314 {   TMR3_DriverIRQHandler();
1315 }
1316 
TMR4_IRQHandler(void)1317 WEAK void TMR4_IRQHandler(void)
1318 {   TMR4_DriverIRQHandler();
1319 }
1320 
PWM2_0_IRQHandler(void)1321 WEAK void PWM2_0_IRQHandler(void)
1322 {   PWM2_0_DriverIRQHandler();
1323 }
1324 
PWM2_1_IRQHandler(void)1325 WEAK void PWM2_1_IRQHandler(void)
1326 {   PWM2_1_DriverIRQHandler();
1327 }
1328 
PWM2_2_IRQHandler(void)1329 WEAK void PWM2_2_IRQHandler(void)
1330 {   PWM2_2_DriverIRQHandler();
1331 }
1332 
PWM2_3_IRQHandler(void)1333 WEAK void PWM2_3_IRQHandler(void)
1334 {   PWM2_3_DriverIRQHandler();
1335 }
1336 
PWM2_FAULT_IRQHandler(void)1337 WEAK void PWM2_FAULT_IRQHandler(void)
1338 {   PWM2_FAULT_DriverIRQHandler();
1339 }
1340 
PWM3_0_IRQHandler(void)1341 WEAK void PWM3_0_IRQHandler(void)
1342 {   PWM3_0_DriverIRQHandler();
1343 }
1344 
PWM3_1_IRQHandler(void)1345 WEAK void PWM3_1_IRQHandler(void)
1346 {   PWM3_1_DriverIRQHandler();
1347 }
1348 
PWM3_2_IRQHandler(void)1349 WEAK void PWM3_2_IRQHandler(void)
1350 {   PWM3_2_DriverIRQHandler();
1351 }
1352 
PWM3_3_IRQHandler(void)1353 WEAK void PWM3_3_IRQHandler(void)
1354 {   PWM3_3_DriverIRQHandler();
1355 }
1356 
PWM3_FAULT_IRQHandler(void)1357 WEAK void PWM3_FAULT_IRQHandler(void)
1358 {   PWM3_FAULT_DriverIRQHandler();
1359 }
1360 
PWM4_0_IRQHandler(void)1361 WEAK void PWM4_0_IRQHandler(void)
1362 {   PWM4_0_DriverIRQHandler();
1363 }
1364 
PWM4_1_IRQHandler(void)1365 WEAK void PWM4_1_IRQHandler(void)
1366 {   PWM4_1_DriverIRQHandler();
1367 }
1368 
PWM4_2_IRQHandler(void)1369 WEAK void PWM4_2_IRQHandler(void)
1370 {   PWM4_2_DriverIRQHandler();
1371 }
1372 
PWM4_3_IRQHandler(void)1373 WEAK void PWM4_3_IRQHandler(void)
1374 {   PWM4_3_DriverIRQHandler();
1375 }
1376 
PWM4_FAULT_IRQHandler(void)1377 WEAK void PWM4_FAULT_IRQHandler(void)
1378 {   PWM4_FAULT_DriverIRQHandler();
1379 }
1380 
ENET2_IRQHandler(void)1381 WEAK void ENET2_IRQHandler(void)
1382 {   ENET2_DriverIRQHandler();
1383 }
1384 
ENET2_1588_Timer_IRQHandler(void)1385 WEAK void ENET2_1588_Timer_IRQHandler(void)
1386 {   ENET2_1588_Timer_DriverIRQHandler();
1387 }
1388 
CAN3_IRQHandler(void)1389 WEAK void CAN3_IRQHandler(void)
1390 {   CAN3_DriverIRQHandler();
1391 }
1392 
Reserved171_IRQHandler(void)1393 WEAK void Reserved171_IRQHandler(void)
1394 {   Reserved171_DriverIRQHandler();
1395 }
1396 
FLEXIO3_IRQHandler(void)1397 WEAK void FLEXIO3_IRQHandler(void)
1398 {   FLEXIO3_DriverIRQHandler();
1399 }
1400 
GPIO6_7_8_9_IRQHandler(void)1401 WEAK void GPIO6_7_8_9_IRQHandler(void)
1402 {   GPIO6_7_8_9_DriverIRQHandler();
1403 }
1404 
1405 //*****************************************************************************
1406 
1407 #if defined (DEBUG)
1408 #pragma GCC pop_options
1409 #endif // (DEBUG)
1410 
1411