2 * FreeRTOS Kernel V10.0.0
\r
3 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
\r
5 * Permission is hereby granted, free of charge, to any person obtaining a copy of
\r
6 * this software and associated documentation files (the "Software"), to deal in
\r
7 * the Software without restriction, including without limitation the rights to
\r
8 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
\r
9 * the Software, and to permit persons to whom the Software is furnished to do so,
\r
10 * subject to the following conditions:
\r
12 * The above copyright notice and this permission notice shall be included in all
\r
13 * copies or substantial portions of the Software. If you wish to use our Amazon
\r
14 * FreeRTOS name, please do so in a fair use way that does not cause confusion.
\r
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\r
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
\r
18 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
\r
19 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
\r
20 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
\r
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
23 * http://www.FreeRTOS.org
\r
24 * http://aws.amazon.com/freertos
\r
26 * 1 tab == 4 spaces!
\r
28 SECTION intvec:CODE:ROOT(2)
\r
31 EXTERN pxISRFunction
\r
32 EXTERN FreeRTOS_Tick_Handler
\r
33 EXTERN FreeRTOS_IRQ_Handler
\r
34 EXTERN vCMT_1_Channel_0_ISR
\r
35 EXTERN vCMT_1_Channel_1_ISR
\r
36 EXTERN r_scifa2_txif2_interrupt
\r
37 EXTERN r_scifa2_rxif2_interrupt
\r
38 EXTERN r_scifa2_drif2_interrupt
\r
39 EXTERN r_scifa2_brif2_interrupt
\r
41 PUBLIC FreeRTOS_Tick_Handler_Entry
\r
42 PUBLIC vCMT_1_Channel_0_ISR_Entry
\r
43 PUBLIC vCMT_1_Channel_1_ISR_Entry
\r
44 PUBLIC r_scifa2_txif2_interrupt_entry
\r
45 PUBLIC r_scifa2_rxif2_interrupt_entry
\r
46 PUBLIC r_scifa2_drif2_interrupt_entry
\r
47 PUBLIC r_scifa2_brif2_interrupt_entry
\r
49 FreeRTOS_Tick_Handler_Entry:
\r
50 /* Save used registers (probably not necessary). */
\r
52 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
53 LDR r0, =pxISRFunction
\r
54 LDR R1, =FreeRTOS_Tick_Handler
\r
56 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
58 B FreeRTOS_IRQ_Handler
\r
59 /*-----------------------------------------------------------*/
\r
61 vCMT_1_Channel_0_ISR_Entry:
\r
62 /* Save used registers (probably not necessary). */
\r
64 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
65 LDR r0, =pxISRFunction
\r
66 LDR R1, =vCMT_1_Channel_0_ISR
\r
68 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
70 B FreeRTOS_IRQ_Handler
\r
71 /*-----------------------------------------------------------*/
\r
73 vCMT_1_Channel_1_ISR_Entry:
\r
74 /* Save used registers (probably not necessary). */
\r
76 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
77 LDR r0, =pxISRFunction
\r
78 LDR R1, =vCMT_1_Channel_1_ISR
\r
80 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
82 B FreeRTOS_IRQ_Handler
\r
83 /*-----------------------------------------------------------*/
\r
85 r_scifa2_txif2_interrupt_entry:
\r
86 /* Save used registers (probably not necessary). */
\r
88 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
89 LDR r0, =pxISRFunction
\r
90 LDR R1, =r_scifa2_txif2_interrupt
\r
92 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
94 B FreeRTOS_IRQ_Handler
\r
95 /*-----------------------------------------------------------*/
\r
97 r_scifa2_rxif2_interrupt_entry:
\r
98 /* Save used registers (probably not necessary). */
\r
100 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
101 LDR r0, =pxISRFunction
\r
102 LDR R1, =r_scifa2_rxif2_interrupt
\r
104 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
106 B FreeRTOS_IRQ_Handler
\r
107 /*-----------------------------------------------------------*/
\r
109 r_scifa2_drif2_interrupt_entry:
\r
110 /* Save used registers (probably not necessary). */
\r
112 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
113 LDR r0, =pxISRFunction
\r
114 LDR R1, =r_scifa2_drif2_interrupt
\r
116 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
118 B FreeRTOS_IRQ_Handler
\r
119 /*-----------------------------------------------------------*/
\r
121 r_scifa2_brif2_interrupt_entry:
\r
122 /* Save used registers (probably not necessary). */
\r
124 /* Save the address of the C portion of this handler in pxISRFunction. */
\r
125 LDR r0, =pxISRFunction
\r
126 LDR R1, =r_scifa2_brif2_interrupt
\r
128 /* Restore used registers then branch to the FreeRTOS IRQ handler. */
\r
130 B FreeRTOS_IRQ_Handler
\r