1 /**
2  * \file
3  *
4  * \brief Peripheral I/O description for SAMC21G17A
5  *
6  * Copyright (c) 2018 Microchip Technology Inc.
7  *
8  * \asf_license_start
9  *
10  * \page License
11  *
12  * SPDX-License-Identifier: Apache-2.0
13  *
14  * Licensed under the Apache License, Version 2.0 (the "License"); you may
15  * not use this file except in compliance with the License.
16  * You may obtain a copy of the Licence at
17  *
18  * http://www.apache.org/licenses/LICENSE-2.0
19  *
20  * Unless required by applicable law or agreed to in writing, software
21  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
22  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23  * See the License for the specific language governing permissions and
24  * limitations under the License.
25  *
26  * \asf_license_stop
27  *
28  */
29 
30 #ifndef _SAMC21G17A_PIO_
31 #define _SAMC21G17A_PIO_
32 
33 #define PIN_PA00                            0  /**< \brief Pin Number for PA00 */
34 #define PORT_PA00              (_UL_(1) <<  0) /**< \brief PORT Mask  for PA00 */
35 #define PIN_PA01                            1  /**< \brief Pin Number for PA01 */
36 #define PORT_PA01              (_UL_(1) <<  1) /**< \brief PORT Mask  for PA01 */
37 #define PIN_PA02                            2  /**< \brief Pin Number for PA02 */
38 #define PORT_PA02              (_UL_(1) <<  2) /**< \brief PORT Mask  for PA02 */
39 #define PIN_PA03                            3  /**< \brief Pin Number for PA03 */
40 #define PORT_PA03              (_UL_(1) <<  3) /**< \brief PORT Mask  for PA03 */
41 #define PIN_PA04                            4  /**< \brief Pin Number for PA04 */
42 #define PORT_PA04              (_UL_(1) <<  4) /**< \brief PORT Mask  for PA04 */
43 #define PIN_PA05                            5  /**< \brief Pin Number for PA05 */
44 #define PORT_PA05              (_UL_(1) <<  5) /**< \brief PORT Mask  for PA05 */
45 #define PIN_PA06                            6  /**< \brief Pin Number for PA06 */
46 #define PORT_PA06              (_UL_(1) <<  6) /**< \brief PORT Mask  for PA06 */
47 #define PIN_PA07                            7  /**< \brief Pin Number for PA07 */
48 #define PORT_PA07              (_UL_(1) <<  7) /**< \brief PORT Mask  for PA07 */
49 #define PIN_PA08                            8  /**< \brief Pin Number for PA08 */
50 #define PORT_PA08              (_UL_(1) <<  8) /**< \brief PORT Mask  for PA08 */
51 #define PIN_PA09                            9  /**< \brief Pin Number for PA09 */
52 #define PORT_PA09              (_UL_(1) <<  9) /**< \brief PORT Mask  for PA09 */
53 #define PIN_PA10                           10  /**< \brief Pin Number for PA10 */
54 #define PORT_PA10              (_UL_(1) << 10) /**< \brief PORT Mask  for PA10 */
55 #define PIN_PA11                           11  /**< \brief Pin Number for PA11 */
56 #define PORT_PA11              (_UL_(1) << 11) /**< \brief PORT Mask  for PA11 */
57 #define PIN_PA12                           12  /**< \brief Pin Number for PA12 */
58 #define PORT_PA12              (_UL_(1) << 12) /**< \brief PORT Mask  for PA12 */
59 #define PIN_PA13                           13  /**< \brief Pin Number for PA13 */
60 #define PORT_PA13              (_UL_(1) << 13) /**< \brief PORT Mask  for PA13 */
61 #define PIN_PA14                           14  /**< \brief Pin Number for PA14 */
62 #define PORT_PA14              (_UL_(1) << 14) /**< \brief PORT Mask  for PA14 */
63 #define PIN_PA15                           15  /**< \brief Pin Number for PA15 */
64 #define PORT_PA15              (_UL_(1) << 15) /**< \brief PORT Mask  for PA15 */
65 #define PIN_PA16                           16  /**< \brief Pin Number for PA16 */
66 #define PORT_PA16              (_UL_(1) << 16) /**< \brief PORT Mask  for PA16 */
67 #define PIN_PA17                           17  /**< \brief Pin Number for PA17 */
68 #define PORT_PA17              (_UL_(1) << 17) /**< \brief PORT Mask  for PA17 */
69 #define PIN_PA18                           18  /**< \brief Pin Number for PA18 */
70 #define PORT_PA18              (_UL_(1) << 18) /**< \brief PORT Mask  for PA18 */
71 #define PIN_PA19                           19  /**< \brief Pin Number for PA19 */
72 #define PORT_PA19              (_UL_(1) << 19) /**< \brief PORT Mask  for PA19 */
73 #define PIN_PA20                           20  /**< \brief Pin Number for PA20 */
74 #define PORT_PA20              (_UL_(1) << 20) /**< \brief PORT Mask  for PA20 */
75 #define PIN_PA21                           21  /**< \brief Pin Number for PA21 */
76 #define PORT_PA21              (_UL_(1) << 21) /**< \brief PORT Mask  for PA21 */
77 #define PIN_PA22                           22  /**< \brief Pin Number for PA22 */
78 #define PORT_PA22              (_UL_(1) << 22) /**< \brief PORT Mask  for PA22 */
79 #define PIN_PA23                           23  /**< \brief Pin Number for PA23 */
80 #define PORT_PA23              (_UL_(1) << 23) /**< \brief PORT Mask  for PA23 */
81 #define PIN_PA24                           24  /**< \brief Pin Number for PA24 */
82 #define PORT_PA24              (_UL_(1) << 24) /**< \brief PORT Mask  for PA24 */
83 #define PIN_PA25                           25  /**< \brief Pin Number for PA25 */
84 #define PORT_PA25              (_UL_(1) << 25) /**< \brief PORT Mask  for PA25 */
85 #define PIN_PA27                           27  /**< \brief Pin Number for PA27 */
86 #define PORT_PA27              (_UL_(1) << 27) /**< \brief PORT Mask  for PA27 */
87 #define PIN_PA28                           28  /**< \brief Pin Number for PA28 */
88 #define PORT_PA28              (_UL_(1) << 28) /**< \brief PORT Mask  for PA28 */
89 #define PIN_PA30                           30  /**< \brief Pin Number for PA30 */
90 #define PORT_PA30              (_UL_(1) << 30) /**< \brief PORT Mask  for PA30 */
91 #define PIN_PA31                           31  /**< \brief Pin Number for PA31 */
92 #define PORT_PA31              (_UL_(1) << 31) /**< \brief PORT Mask  for PA31 */
93 #define PIN_PB02                           34  /**< \brief Pin Number for PB02 */
94 #define PORT_PB02              (_UL_(1) <<  2) /**< \brief PORT Mask  for PB02 */
95 #define PIN_PB03                           35  /**< \brief Pin Number for PB03 */
96 #define PORT_PB03              (_UL_(1) <<  3) /**< \brief PORT Mask  for PB03 */
97 #define PIN_PB08                           40  /**< \brief Pin Number for PB08 */
98 #define PORT_PB08              (_UL_(1) <<  8) /**< \brief PORT Mask  for PB08 */
99 #define PIN_PB09                           41  /**< \brief Pin Number for PB09 */
100 #define PORT_PB09              (_UL_(1) <<  9) /**< \brief PORT Mask  for PB09 */
101 #define PIN_PB10                           42  /**< \brief Pin Number for PB10 */
102 #define PORT_PB10              (_UL_(1) << 10) /**< \brief PORT Mask  for PB10 */
103 #define PIN_PB11                           43  /**< \brief Pin Number for PB11 */
104 #define PORT_PB11              (_UL_(1) << 11) /**< \brief PORT Mask  for PB11 */
105 #define PIN_PB22                           54  /**< \brief Pin Number for PB22 */
106 #define PORT_PB22              (_UL_(1) << 22) /**< \brief PORT Mask  for PB22 */
107 #define PIN_PB23                           55  /**< \brief Pin Number for PB23 */
108 #define PORT_PB23              (_UL_(1) << 23) /**< \brief PORT Mask  for PB23 */
109 /* ========== PORT definition for RSTC peripheral ========== */
110 #define PIN_PA00A_RSTC_EXTWAKE0         _L_(0) /**< \brief RSTC signal: EXTWAKE0 on PA00 mux A */
111 #define MUX_PA00A_RSTC_EXTWAKE0         _L_(0)
112 #define PINMUX_PA00A_RSTC_EXTWAKE0  ((PIN_PA00A_RSTC_EXTWAKE0 << 16) | MUX_PA00A_RSTC_EXTWAKE0)
113 #define PORT_PA00A_RSTC_EXTWAKE0  (_UL_(1) <<  0)
114 #define PIN_PA01A_RSTC_EXTWAKE1         _L_(1) /**< \brief RSTC signal: EXTWAKE1 on PA01 mux A */
115 #define MUX_PA01A_RSTC_EXTWAKE1         _L_(0)
116 #define PINMUX_PA01A_RSTC_EXTWAKE1  ((PIN_PA01A_RSTC_EXTWAKE1 << 16) | MUX_PA01A_RSTC_EXTWAKE1)
117 #define PORT_PA01A_RSTC_EXTWAKE1  (_UL_(1) <<  1)
118 #define PIN_PA02A_RSTC_EXTWAKE2         _L_(2) /**< \brief RSTC signal: EXTWAKE2 on PA02 mux A */
119 #define MUX_PA02A_RSTC_EXTWAKE2         _L_(0)
120 #define PINMUX_PA02A_RSTC_EXTWAKE2  ((PIN_PA02A_RSTC_EXTWAKE2 << 16) | MUX_PA02A_RSTC_EXTWAKE2)
121 #define PORT_PA02A_RSTC_EXTWAKE2  (_UL_(1) <<  2)
122 #define PIN_PA03A_RSTC_EXTWAKE3         _L_(3) /**< \brief RSTC signal: EXTWAKE3 on PA03 mux A */
123 #define MUX_PA03A_RSTC_EXTWAKE3         _L_(0)
124 #define PINMUX_PA03A_RSTC_EXTWAKE3  ((PIN_PA03A_RSTC_EXTWAKE3 << 16) | MUX_PA03A_RSTC_EXTWAKE3)
125 #define PORT_PA03A_RSTC_EXTWAKE3  (_UL_(1) <<  3)
126 #define PIN_PA04A_RSTC_EXTWAKE4         _L_(4) /**< \brief RSTC signal: EXTWAKE4 on PA04 mux A */
127 #define MUX_PA04A_RSTC_EXTWAKE4         _L_(0)
128 #define PINMUX_PA04A_RSTC_EXTWAKE4  ((PIN_PA04A_RSTC_EXTWAKE4 << 16) | MUX_PA04A_RSTC_EXTWAKE4)
129 #define PORT_PA04A_RSTC_EXTWAKE4  (_UL_(1) <<  4)
130 #define PIN_PA05A_RSTC_EXTWAKE5         _L_(5) /**< \brief RSTC signal: EXTWAKE5 on PA05 mux A */
131 #define MUX_PA05A_RSTC_EXTWAKE5         _L_(0)
132 #define PINMUX_PA05A_RSTC_EXTWAKE5  ((PIN_PA05A_RSTC_EXTWAKE5 << 16) | MUX_PA05A_RSTC_EXTWAKE5)
133 #define PORT_PA05A_RSTC_EXTWAKE5  (_UL_(1) <<  5)
134 #define PIN_PA06A_RSTC_EXTWAKE6         _L_(6) /**< \brief RSTC signal: EXTWAKE6 on PA06 mux A */
135 #define MUX_PA06A_RSTC_EXTWAKE6         _L_(0)
136 #define PINMUX_PA06A_RSTC_EXTWAKE6  ((PIN_PA06A_RSTC_EXTWAKE6 << 16) | MUX_PA06A_RSTC_EXTWAKE6)
137 #define PORT_PA06A_RSTC_EXTWAKE6  (_UL_(1) <<  6)
138 #define PIN_PA07A_RSTC_EXTWAKE7         _L_(7) /**< \brief RSTC signal: EXTWAKE7 on PA07 mux A */
139 #define MUX_PA07A_RSTC_EXTWAKE7         _L_(0)
140 #define PINMUX_PA07A_RSTC_EXTWAKE7  ((PIN_PA07A_RSTC_EXTWAKE7 << 16) | MUX_PA07A_RSTC_EXTWAKE7)
141 #define PORT_PA07A_RSTC_EXTWAKE7  (_UL_(1) <<  7)
142 #define PIN_PA08A_RSTC_EXTWAKE8         _L_(8) /**< \brief RSTC signal: EXTWAKE8 on PA08 mux A */
143 #define MUX_PA08A_RSTC_EXTWAKE8         _L_(0)
144 #define PINMUX_PA08A_RSTC_EXTWAKE8  ((PIN_PA08A_RSTC_EXTWAKE8 << 16) | MUX_PA08A_RSTC_EXTWAKE8)
145 #define PORT_PA08A_RSTC_EXTWAKE8  (_UL_(1) <<  8)
146 #define PIN_PA09A_RSTC_EXTWAKE9         _L_(9) /**< \brief RSTC signal: EXTWAKE9 on PA09 mux A */
147 #define MUX_PA09A_RSTC_EXTWAKE9         _L_(0)
148 #define PINMUX_PA09A_RSTC_EXTWAKE9  ((PIN_PA09A_RSTC_EXTWAKE9 << 16) | MUX_PA09A_RSTC_EXTWAKE9)
149 #define PORT_PA09A_RSTC_EXTWAKE9  (_UL_(1) <<  9)
150 #define PIN_PA10A_RSTC_EXTWAKE10       _L_(10) /**< \brief RSTC signal: EXTWAKE10 on PA10 mux A */
151 #define MUX_PA10A_RSTC_EXTWAKE10        _L_(0)
152 #define PINMUX_PA10A_RSTC_EXTWAKE10  ((PIN_PA10A_RSTC_EXTWAKE10 << 16) | MUX_PA10A_RSTC_EXTWAKE10)
153 #define PORT_PA10A_RSTC_EXTWAKE10  (_UL_(1) << 10)
154 #define PIN_PA11A_RSTC_EXTWAKE11       _L_(11) /**< \brief RSTC signal: EXTWAKE11 on PA11 mux A */
155 #define MUX_PA11A_RSTC_EXTWAKE11        _L_(0)
156 #define PINMUX_PA11A_RSTC_EXTWAKE11  ((PIN_PA11A_RSTC_EXTWAKE11 << 16) | MUX_PA11A_RSTC_EXTWAKE11)
157 #define PORT_PA11A_RSTC_EXTWAKE11  (_UL_(1) << 11)
158 #define PIN_PA12A_RSTC_EXTWAKE12       _L_(12) /**< \brief RSTC signal: EXTWAKE12 on PA12 mux A */
159 #define MUX_PA12A_RSTC_EXTWAKE12        _L_(0)
160 #define PINMUX_PA12A_RSTC_EXTWAKE12  ((PIN_PA12A_RSTC_EXTWAKE12 << 16) | MUX_PA12A_RSTC_EXTWAKE12)
161 #define PORT_PA12A_RSTC_EXTWAKE12  (_UL_(1) << 12)
162 #define PIN_PA13A_RSTC_EXTWAKE13       _L_(13) /**< \brief RSTC signal: EXTWAKE13 on PA13 mux A */
163 #define MUX_PA13A_RSTC_EXTWAKE13        _L_(0)
164 #define PINMUX_PA13A_RSTC_EXTWAKE13  ((PIN_PA13A_RSTC_EXTWAKE13 << 16) | MUX_PA13A_RSTC_EXTWAKE13)
165 #define PORT_PA13A_RSTC_EXTWAKE13  (_UL_(1) << 13)
166 #define PIN_PA14A_RSTC_EXTWAKE14       _L_(14) /**< \brief RSTC signal: EXTWAKE14 on PA14 mux A */
167 #define MUX_PA14A_RSTC_EXTWAKE14        _L_(0)
168 #define PINMUX_PA14A_RSTC_EXTWAKE14  ((PIN_PA14A_RSTC_EXTWAKE14 << 16) | MUX_PA14A_RSTC_EXTWAKE14)
169 #define PORT_PA14A_RSTC_EXTWAKE14  (_UL_(1) << 14)
170 #define PIN_PA15A_RSTC_EXTWAKE15       _L_(15) /**< \brief RSTC signal: EXTWAKE15 on PA15 mux A */
171 #define MUX_PA15A_RSTC_EXTWAKE15        _L_(0)
172 #define PINMUX_PA15A_RSTC_EXTWAKE15  ((PIN_PA15A_RSTC_EXTWAKE15 << 16) | MUX_PA15A_RSTC_EXTWAKE15)
173 #define PORT_PA15A_RSTC_EXTWAKE15  (_UL_(1) << 15)
174 /* ========== PORT definition for GCLK peripheral ========== */
175 #define PIN_PB22H_GCLK_IO0             _L_(54) /**< \brief GCLK signal: IO0 on PB22 mux H */
176 #define MUX_PB22H_GCLK_IO0              _L_(7)
177 #define PINMUX_PB22H_GCLK_IO0      ((PIN_PB22H_GCLK_IO0 << 16) | MUX_PB22H_GCLK_IO0)
178 #define PORT_PB22H_GCLK_IO0    (_UL_(1) << 22)
179 #define PIN_PA14H_GCLK_IO0             _L_(14) /**< \brief GCLK signal: IO0 on PA14 mux H */
180 #define MUX_PA14H_GCLK_IO0              _L_(7)
181 #define PINMUX_PA14H_GCLK_IO0      ((PIN_PA14H_GCLK_IO0 << 16) | MUX_PA14H_GCLK_IO0)
182 #define PORT_PA14H_GCLK_IO0    (_UL_(1) << 14)
183 #define PIN_PA27H_GCLK_IO0             _L_(27) /**< \brief GCLK signal: IO0 on PA27 mux H */
184 #define MUX_PA27H_GCLK_IO0              _L_(7)
185 #define PINMUX_PA27H_GCLK_IO0      ((PIN_PA27H_GCLK_IO0 << 16) | MUX_PA27H_GCLK_IO0)
186 #define PORT_PA27H_GCLK_IO0    (_UL_(1) << 27)
187 #define PIN_PA30H_GCLK_IO0             _L_(30) /**< \brief GCLK signal: IO0 on PA30 mux H */
188 #define MUX_PA30H_GCLK_IO0              _L_(7)
189 #define PINMUX_PA30H_GCLK_IO0      ((PIN_PA30H_GCLK_IO0 << 16) | MUX_PA30H_GCLK_IO0)
190 #define PORT_PA30H_GCLK_IO0    (_UL_(1) << 30)
191 #define PIN_PA28H_GCLK_IO0             _L_(28) /**< \brief GCLK signal: IO0 on PA28 mux H */
192 #define MUX_PA28H_GCLK_IO0              _L_(7)
193 #define PINMUX_PA28H_GCLK_IO0      ((PIN_PA28H_GCLK_IO0 << 16) | MUX_PA28H_GCLK_IO0)
194 #define PORT_PA28H_GCLK_IO0    (_UL_(1) << 28)
195 #define PIN_PB23H_GCLK_IO1             _L_(55) /**< \brief GCLK signal: IO1 on PB23 mux H */
196 #define MUX_PB23H_GCLK_IO1              _L_(7)
197 #define PINMUX_PB23H_GCLK_IO1      ((PIN_PB23H_GCLK_IO1 << 16) | MUX_PB23H_GCLK_IO1)
198 #define PORT_PB23H_GCLK_IO1    (_UL_(1) << 23)
199 #define PIN_PA15H_GCLK_IO1             _L_(15) /**< \brief GCLK signal: IO1 on PA15 mux H */
200 #define MUX_PA15H_GCLK_IO1              _L_(7)
201 #define PINMUX_PA15H_GCLK_IO1      ((PIN_PA15H_GCLK_IO1 << 16) | MUX_PA15H_GCLK_IO1)
202 #define PORT_PA15H_GCLK_IO1    (_UL_(1) << 15)
203 #define PIN_PA16H_GCLK_IO2             _L_(16) /**< \brief GCLK signal: IO2 on PA16 mux H */
204 #define MUX_PA16H_GCLK_IO2              _L_(7)
205 #define PINMUX_PA16H_GCLK_IO2      ((PIN_PA16H_GCLK_IO2 << 16) | MUX_PA16H_GCLK_IO2)
206 #define PORT_PA16H_GCLK_IO2    (_UL_(1) << 16)
207 #define PIN_PA17H_GCLK_IO3             _L_(17) /**< \brief GCLK signal: IO3 on PA17 mux H */
208 #define MUX_PA17H_GCLK_IO3              _L_(7)
209 #define PINMUX_PA17H_GCLK_IO3      ((PIN_PA17H_GCLK_IO3 << 16) | MUX_PA17H_GCLK_IO3)
210 #define PORT_PA17H_GCLK_IO3    (_UL_(1) << 17)
211 #define PIN_PA10H_GCLK_IO4             _L_(10) /**< \brief GCLK signal: IO4 on PA10 mux H */
212 #define MUX_PA10H_GCLK_IO4              _L_(7)
213 #define PINMUX_PA10H_GCLK_IO4      ((PIN_PA10H_GCLK_IO4 << 16) | MUX_PA10H_GCLK_IO4)
214 #define PORT_PA10H_GCLK_IO4    (_UL_(1) << 10)
215 #define PIN_PA20H_GCLK_IO4             _L_(20) /**< \brief GCLK signal: IO4 on PA20 mux H */
216 #define MUX_PA20H_GCLK_IO4              _L_(7)
217 #define PINMUX_PA20H_GCLK_IO4      ((PIN_PA20H_GCLK_IO4 << 16) | MUX_PA20H_GCLK_IO4)
218 #define PORT_PA20H_GCLK_IO4    (_UL_(1) << 20)
219 #define PIN_PB10H_GCLK_IO4             _L_(42) /**< \brief GCLK signal: IO4 on PB10 mux H */
220 #define MUX_PB10H_GCLK_IO4              _L_(7)
221 #define PINMUX_PB10H_GCLK_IO4      ((PIN_PB10H_GCLK_IO4 << 16) | MUX_PB10H_GCLK_IO4)
222 #define PORT_PB10H_GCLK_IO4    (_UL_(1) << 10)
223 #define PIN_PA11H_GCLK_IO5             _L_(11) /**< \brief GCLK signal: IO5 on PA11 mux H */
224 #define MUX_PA11H_GCLK_IO5              _L_(7)
225 #define PINMUX_PA11H_GCLK_IO5      ((PIN_PA11H_GCLK_IO5 << 16) | MUX_PA11H_GCLK_IO5)
226 #define PORT_PA11H_GCLK_IO5    (_UL_(1) << 11)
227 #define PIN_PA21H_GCLK_IO5             _L_(21) /**< \brief GCLK signal: IO5 on PA21 mux H */
228 #define MUX_PA21H_GCLK_IO5              _L_(7)
229 #define PINMUX_PA21H_GCLK_IO5      ((PIN_PA21H_GCLK_IO5 << 16) | MUX_PA21H_GCLK_IO5)
230 #define PORT_PA21H_GCLK_IO5    (_UL_(1) << 21)
231 #define PIN_PB11H_GCLK_IO5             _L_(43) /**< \brief GCLK signal: IO5 on PB11 mux H */
232 #define MUX_PB11H_GCLK_IO5              _L_(7)
233 #define PINMUX_PB11H_GCLK_IO5      ((PIN_PB11H_GCLK_IO5 << 16) | MUX_PB11H_GCLK_IO5)
234 #define PORT_PB11H_GCLK_IO5    (_UL_(1) << 11)
235 #define PIN_PA22H_GCLK_IO6             _L_(22) /**< \brief GCLK signal: IO6 on PA22 mux H */
236 #define MUX_PA22H_GCLK_IO6              _L_(7)
237 #define PINMUX_PA22H_GCLK_IO6      ((PIN_PA22H_GCLK_IO6 << 16) | MUX_PA22H_GCLK_IO6)
238 #define PORT_PA22H_GCLK_IO6    (_UL_(1) << 22)
239 #define PIN_PA23H_GCLK_IO7             _L_(23) /**< \brief GCLK signal: IO7 on PA23 mux H */
240 #define MUX_PA23H_GCLK_IO7              _L_(7)
241 #define PINMUX_PA23H_GCLK_IO7      ((PIN_PA23H_GCLK_IO7 << 16) | MUX_PA23H_GCLK_IO7)
242 #define PORT_PA23H_GCLK_IO7    (_UL_(1) << 23)
243 /* ========== PORT definition for EIC peripheral ========== */
244 #define PIN_PA16A_EIC_EXTINT0          _L_(16) /**< \brief EIC signal: EXTINT0 on PA16 mux A */
245 #define MUX_PA16A_EIC_EXTINT0           _L_(0)
246 #define PINMUX_PA16A_EIC_EXTINT0   ((PIN_PA16A_EIC_EXTINT0 << 16) | MUX_PA16A_EIC_EXTINT0)
247 #define PORT_PA16A_EIC_EXTINT0  (_UL_(1) << 16)
248 #define PIN_PA16A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PA16 External Interrupt Line */
249 #define PIN_PA00A_EIC_EXTINT0           _L_(0) /**< \brief EIC signal: EXTINT0 on PA00 mux A */
250 #define MUX_PA00A_EIC_EXTINT0           _L_(0)
251 #define PINMUX_PA00A_EIC_EXTINT0   ((PIN_PA00A_EIC_EXTINT0 << 16) | MUX_PA00A_EIC_EXTINT0)
252 #define PORT_PA00A_EIC_EXTINT0  (_UL_(1) <<  0)
253 #define PIN_PA00A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PA00 External Interrupt Line */
254 #define PIN_PA17A_EIC_EXTINT1          _L_(17) /**< \brief EIC signal: EXTINT1 on PA17 mux A */
255 #define MUX_PA17A_EIC_EXTINT1           _L_(0)
256 #define PINMUX_PA17A_EIC_EXTINT1   ((PIN_PA17A_EIC_EXTINT1 << 16) | MUX_PA17A_EIC_EXTINT1)
257 #define PORT_PA17A_EIC_EXTINT1  (_UL_(1) << 17)
258 #define PIN_PA17A_EIC_EXTINT_NUM        _L_(1) /**< \brief EIC signal: PIN_PA17 External Interrupt Line */
259 #define PIN_PA01A_EIC_EXTINT1           _L_(1) /**< \brief EIC signal: EXTINT1 on PA01 mux A */
260 #define MUX_PA01A_EIC_EXTINT1           _L_(0)
261 #define PINMUX_PA01A_EIC_EXTINT1   ((PIN_PA01A_EIC_EXTINT1 << 16) | MUX_PA01A_EIC_EXTINT1)
262 #define PORT_PA01A_EIC_EXTINT1  (_UL_(1) <<  1)
263 #define PIN_PA01A_EIC_EXTINT_NUM        _L_(1) /**< \brief EIC signal: PIN_PA01 External Interrupt Line */
264 #define PIN_PA02A_EIC_EXTINT2           _L_(2) /**< \brief EIC signal: EXTINT2 on PA02 mux A */
265 #define MUX_PA02A_EIC_EXTINT2           _L_(0)
266 #define PINMUX_PA02A_EIC_EXTINT2   ((PIN_PA02A_EIC_EXTINT2 << 16) | MUX_PA02A_EIC_EXTINT2)
267 #define PORT_PA02A_EIC_EXTINT2  (_UL_(1) <<  2)
268 #define PIN_PA02A_EIC_EXTINT_NUM        _L_(2) /**< \brief EIC signal: PIN_PA02 External Interrupt Line */
269 #define PIN_PA18A_EIC_EXTINT2          _L_(18) /**< \brief EIC signal: EXTINT2 on PA18 mux A */
270 #define MUX_PA18A_EIC_EXTINT2           _L_(0)
271 #define PINMUX_PA18A_EIC_EXTINT2   ((PIN_PA18A_EIC_EXTINT2 << 16) | MUX_PA18A_EIC_EXTINT2)
272 #define PORT_PA18A_EIC_EXTINT2  (_UL_(1) << 18)
273 #define PIN_PA18A_EIC_EXTINT_NUM        _L_(2) /**< \brief EIC signal: PIN_PA18 External Interrupt Line */
274 #define PIN_PB02A_EIC_EXTINT2          _L_(34) /**< \brief EIC signal: EXTINT2 on PB02 mux A */
275 #define MUX_PB02A_EIC_EXTINT2           _L_(0)
276 #define PINMUX_PB02A_EIC_EXTINT2   ((PIN_PB02A_EIC_EXTINT2 << 16) | MUX_PB02A_EIC_EXTINT2)
277 #define PORT_PB02A_EIC_EXTINT2  (_UL_(1) <<  2)
278 #define PIN_PB02A_EIC_EXTINT_NUM        _L_(2) /**< \brief EIC signal: PIN_PB02 External Interrupt Line */
279 #define PIN_PA03A_EIC_EXTINT3           _L_(3) /**< \brief EIC signal: EXTINT3 on PA03 mux A */
280 #define MUX_PA03A_EIC_EXTINT3           _L_(0)
281 #define PINMUX_PA03A_EIC_EXTINT3   ((PIN_PA03A_EIC_EXTINT3 << 16) | MUX_PA03A_EIC_EXTINT3)
282 #define PORT_PA03A_EIC_EXTINT3  (_UL_(1) <<  3)
283 #define PIN_PA03A_EIC_EXTINT_NUM        _L_(3) /**< \brief EIC signal: PIN_PA03 External Interrupt Line */
284 #define PIN_PA19A_EIC_EXTINT3          _L_(19) /**< \brief EIC signal: EXTINT3 on PA19 mux A */
285 #define MUX_PA19A_EIC_EXTINT3           _L_(0)
286 #define PINMUX_PA19A_EIC_EXTINT3   ((PIN_PA19A_EIC_EXTINT3 << 16) | MUX_PA19A_EIC_EXTINT3)
287 #define PORT_PA19A_EIC_EXTINT3  (_UL_(1) << 19)
288 #define PIN_PA19A_EIC_EXTINT_NUM        _L_(3) /**< \brief EIC signal: PIN_PA19 External Interrupt Line */
289 #define PIN_PB03A_EIC_EXTINT3          _L_(35) /**< \brief EIC signal: EXTINT3 on PB03 mux A */
290 #define MUX_PB03A_EIC_EXTINT3           _L_(0)
291 #define PINMUX_PB03A_EIC_EXTINT3   ((PIN_PB03A_EIC_EXTINT3 << 16) | MUX_PB03A_EIC_EXTINT3)
292 #define PORT_PB03A_EIC_EXTINT3  (_UL_(1) <<  3)
293 #define PIN_PB03A_EIC_EXTINT_NUM        _L_(3) /**< \brief EIC signal: PIN_PB03 External Interrupt Line */
294 #define PIN_PA04A_EIC_EXTINT4           _L_(4) /**< \brief EIC signal: EXTINT4 on PA04 mux A */
295 #define MUX_PA04A_EIC_EXTINT4           _L_(0)
296 #define PINMUX_PA04A_EIC_EXTINT4   ((PIN_PA04A_EIC_EXTINT4 << 16) | MUX_PA04A_EIC_EXTINT4)
297 #define PORT_PA04A_EIC_EXTINT4  (_UL_(1) <<  4)
298 #define PIN_PA04A_EIC_EXTINT_NUM        _L_(4) /**< \brief EIC signal: PIN_PA04 External Interrupt Line */
299 #define PIN_PA20A_EIC_EXTINT4          _L_(20) /**< \brief EIC signal: EXTINT4 on PA20 mux A */
300 #define MUX_PA20A_EIC_EXTINT4           _L_(0)
301 #define PINMUX_PA20A_EIC_EXTINT4   ((PIN_PA20A_EIC_EXTINT4 << 16) | MUX_PA20A_EIC_EXTINT4)
302 #define PORT_PA20A_EIC_EXTINT4  (_UL_(1) << 20)
303 #define PIN_PA20A_EIC_EXTINT_NUM        _L_(4) /**< \brief EIC signal: PIN_PA20 External Interrupt Line */
304 #define PIN_PA05A_EIC_EXTINT5           _L_(5) /**< \brief EIC signal: EXTINT5 on PA05 mux A */
305 #define MUX_PA05A_EIC_EXTINT5           _L_(0)
306 #define PINMUX_PA05A_EIC_EXTINT5   ((PIN_PA05A_EIC_EXTINT5 << 16) | MUX_PA05A_EIC_EXTINT5)
307 #define PORT_PA05A_EIC_EXTINT5  (_UL_(1) <<  5)
308 #define PIN_PA05A_EIC_EXTINT_NUM        _L_(5) /**< \brief EIC signal: PIN_PA05 External Interrupt Line */
309 #define PIN_PA21A_EIC_EXTINT5          _L_(21) /**< \brief EIC signal: EXTINT5 on PA21 mux A */
310 #define MUX_PA21A_EIC_EXTINT5           _L_(0)
311 #define PINMUX_PA21A_EIC_EXTINT5   ((PIN_PA21A_EIC_EXTINT5 << 16) | MUX_PA21A_EIC_EXTINT5)
312 #define PORT_PA21A_EIC_EXTINT5  (_UL_(1) << 21)
313 #define PIN_PA21A_EIC_EXTINT_NUM        _L_(5) /**< \brief EIC signal: PIN_PA21 External Interrupt Line */
314 #define PIN_PA06A_EIC_EXTINT6           _L_(6) /**< \brief EIC signal: EXTINT6 on PA06 mux A */
315 #define MUX_PA06A_EIC_EXTINT6           _L_(0)
316 #define PINMUX_PA06A_EIC_EXTINT6   ((PIN_PA06A_EIC_EXTINT6 << 16) | MUX_PA06A_EIC_EXTINT6)
317 #define PORT_PA06A_EIC_EXTINT6  (_UL_(1) <<  6)
318 #define PIN_PA06A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PA06 External Interrupt Line */
319 #define PIN_PA22A_EIC_EXTINT6          _L_(22) /**< \brief EIC signal: EXTINT6 on PA22 mux A */
320 #define MUX_PA22A_EIC_EXTINT6           _L_(0)
321 #define PINMUX_PA22A_EIC_EXTINT6   ((PIN_PA22A_EIC_EXTINT6 << 16) | MUX_PA22A_EIC_EXTINT6)
322 #define PORT_PA22A_EIC_EXTINT6  (_UL_(1) << 22)
323 #define PIN_PA22A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PA22 External Interrupt Line */
324 #define PIN_PB22A_EIC_EXTINT6          _L_(54) /**< \brief EIC signal: EXTINT6 on PB22 mux A */
325 #define MUX_PB22A_EIC_EXTINT6           _L_(0)
326 #define PINMUX_PB22A_EIC_EXTINT6   ((PIN_PB22A_EIC_EXTINT6 << 16) | MUX_PB22A_EIC_EXTINT6)
327 #define PORT_PB22A_EIC_EXTINT6  (_UL_(1) << 22)
328 #define PIN_PB22A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PB22 External Interrupt Line */
329 #define PIN_PA07A_EIC_EXTINT7           _L_(7) /**< \brief EIC signal: EXTINT7 on PA07 mux A */
330 #define MUX_PA07A_EIC_EXTINT7           _L_(0)
331 #define PINMUX_PA07A_EIC_EXTINT7   ((PIN_PA07A_EIC_EXTINT7 << 16) | MUX_PA07A_EIC_EXTINT7)
332 #define PORT_PA07A_EIC_EXTINT7  (_UL_(1) <<  7)
333 #define PIN_PA07A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PA07 External Interrupt Line */
334 #define PIN_PA23A_EIC_EXTINT7          _L_(23) /**< \brief EIC signal: EXTINT7 on PA23 mux A */
335 #define MUX_PA23A_EIC_EXTINT7           _L_(0)
336 #define PINMUX_PA23A_EIC_EXTINT7   ((PIN_PA23A_EIC_EXTINT7 << 16) | MUX_PA23A_EIC_EXTINT7)
337 #define PORT_PA23A_EIC_EXTINT7  (_UL_(1) << 23)
338 #define PIN_PA23A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PA23 External Interrupt Line */
339 #define PIN_PB23A_EIC_EXTINT7          _L_(55) /**< \brief EIC signal: EXTINT7 on PB23 mux A */
340 #define MUX_PB23A_EIC_EXTINT7           _L_(0)
341 #define PINMUX_PB23A_EIC_EXTINT7   ((PIN_PB23A_EIC_EXTINT7 << 16) | MUX_PB23A_EIC_EXTINT7)
342 #define PORT_PB23A_EIC_EXTINT7  (_UL_(1) << 23)
343 #define PIN_PB23A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PB23 External Interrupt Line */
344 #define PIN_PB08A_EIC_EXTINT8          _L_(40) /**< \brief EIC signal: EXTINT8 on PB08 mux A */
345 #define MUX_PB08A_EIC_EXTINT8           _L_(0)
346 #define PINMUX_PB08A_EIC_EXTINT8   ((PIN_PB08A_EIC_EXTINT8 << 16) | MUX_PB08A_EIC_EXTINT8)
347 #define PORT_PB08A_EIC_EXTINT8  (_UL_(1) <<  8)
348 #define PIN_PB08A_EIC_EXTINT_NUM        _L_(8) /**< \brief EIC signal: PIN_PB08 External Interrupt Line */
349 #define PIN_PA28A_EIC_EXTINT8          _L_(28) /**< \brief EIC signal: EXTINT8 on PA28 mux A */
350 #define MUX_PA28A_EIC_EXTINT8           _L_(0)
351 #define PINMUX_PA28A_EIC_EXTINT8   ((PIN_PA28A_EIC_EXTINT8 << 16) | MUX_PA28A_EIC_EXTINT8)
352 #define PORT_PA28A_EIC_EXTINT8  (_UL_(1) << 28)
353 #define PIN_PA28A_EIC_EXTINT_NUM        _L_(8) /**< \brief EIC signal: PIN_PA28 External Interrupt Line */
354 #define PIN_PA09A_EIC_EXTINT9           _L_(9) /**< \brief EIC signal: EXTINT9 on PA09 mux A */
355 #define MUX_PA09A_EIC_EXTINT9           _L_(0)
356 #define PINMUX_PA09A_EIC_EXTINT9   ((PIN_PA09A_EIC_EXTINT9 << 16) | MUX_PA09A_EIC_EXTINT9)
357 #define PORT_PA09A_EIC_EXTINT9  (_UL_(1) <<  9)
358 #define PIN_PA09A_EIC_EXTINT_NUM        _L_(9) /**< \brief EIC signal: PIN_PA09 External Interrupt Line */
359 #define PIN_PB09A_EIC_EXTINT9          _L_(41) /**< \brief EIC signal: EXTINT9 on PB09 mux A */
360 #define MUX_PB09A_EIC_EXTINT9           _L_(0)
361 #define PINMUX_PB09A_EIC_EXTINT9   ((PIN_PB09A_EIC_EXTINT9 << 16) | MUX_PB09A_EIC_EXTINT9)
362 #define PORT_PB09A_EIC_EXTINT9  (_UL_(1) <<  9)
363 #define PIN_PB09A_EIC_EXTINT_NUM        _L_(9) /**< \brief EIC signal: PIN_PB09 External Interrupt Line */
364 #define PIN_PA10A_EIC_EXTINT10         _L_(10) /**< \brief EIC signal: EXTINT10 on PA10 mux A */
365 #define MUX_PA10A_EIC_EXTINT10          _L_(0)
366 #define PINMUX_PA10A_EIC_EXTINT10  ((PIN_PA10A_EIC_EXTINT10 << 16) | MUX_PA10A_EIC_EXTINT10)
367 #define PORT_PA10A_EIC_EXTINT10  (_UL_(1) << 10)
368 #define PIN_PA10A_EIC_EXTINT_NUM       _L_(10) /**< \brief EIC signal: PIN_PA10 External Interrupt Line */
369 #define PIN_PA30A_EIC_EXTINT10         _L_(30) /**< \brief EIC signal: EXTINT10 on PA30 mux A */
370 #define MUX_PA30A_EIC_EXTINT10          _L_(0)
371 #define PINMUX_PA30A_EIC_EXTINT10  ((PIN_PA30A_EIC_EXTINT10 << 16) | MUX_PA30A_EIC_EXTINT10)
372 #define PORT_PA30A_EIC_EXTINT10  (_UL_(1) << 30)
373 #define PIN_PA30A_EIC_EXTINT_NUM       _L_(10) /**< \brief EIC signal: PIN_PA30 External Interrupt Line */
374 #define PIN_PB10A_EIC_EXTINT10         _L_(42) /**< \brief EIC signal: EXTINT10 on PB10 mux A */
375 #define MUX_PB10A_EIC_EXTINT10          _L_(0)
376 #define PINMUX_PB10A_EIC_EXTINT10  ((PIN_PB10A_EIC_EXTINT10 << 16) | MUX_PB10A_EIC_EXTINT10)
377 #define PORT_PB10A_EIC_EXTINT10  (_UL_(1) << 10)
378 #define PIN_PB10A_EIC_EXTINT_NUM       _L_(10) /**< \brief EIC signal: PIN_PB10 External Interrupt Line */
379 #define PIN_PA11A_EIC_EXTINT11         _L_(11) /**< \brief EIC signal: EXTINT11 on PA11 mux A */
380 #define MUX_PA11A_EIC_EXTINT11          _L_(0)
381 #define PINMUX_PA11A_EIC_EXTINT11  ((PIN_PA11A_EIC_EXTINT11 << 16) | MUX_PA11A_EIC_EXTINT11)
382 #define PORT_PA11A_EIC_EXTINT11  (_UL_(1) << 11)
383 #define PIN_PA11A_EIC_EXTINT_NUM       _L_(11) /**< \brief EIC signal: PIN_PA11 External Interrupt Line */
384 #define PIN_PA31A_EIC_EXTINT11         _L_(31) /**< \brief EIC signal: EXTINT11 on PA31 mux A */
385 #define MUX_PA31A_EIC_EXTINT11          _L_(0)
386 #define PINMUX_PA31A_EIC_EXTINT11  ((PIN_PA31A_EIC_EXTINT11 << 16) | MUX_PA31A_EIC_EXTINT11)
387 #define PORT_PA31A_EIC_EXTINT11  (_UL_(1) << 31)
388 #define PIN_PA31A_EIC_EXTINT_NUM       _L_(11) /**< \brief EIC signal: PIN_PA31 External Interrupt Line */
389 #define PIN_PB11A_EIC_EXTINT11         _L_(43) /**< \brief EIC signal: EXTINT11 on PB11 mux A */
390 #define MUX_PB11A_EIC_EXTINT11          _L_(0)
391 #define PINMUX_PB11A_EIC_EXTINT11  ((PIN_PB11A_EIC_EXTINT11 << 16) | MUX_PB11A_EIC_EXTINT11)
392 #define PORT_PB11A_EIC_EXTINT11  (_UL_(1) << 11)
393 #define PIN_PB11A_EIC_EXTINT_NUM       _L_(11) /**< \brief EIC signal: PIN_PB11 External Interrupt Line */
394 #define PIN_PA12A_EIC_EXTINT12         _L_(12) /**< \brief EIC signal: EXTINT12 on PA12 mux A */
395 #define MUX_PA12A_EIC_EXTINT12          _L_(0)
396 #define PINMUX_PA12A_EIC_EXTINT12  ((PIN_PA12A_EIC_EXTINT12 << 16) | MUX_PA12A_EIC_EXTINT12)
397 #define PORT_PA12A_EIC_EXTINT12  (_UL_(1) << 12)
398 #define PIN_PA12A_EIC_EXTINT_NUM       _L_(12) /**< \brief EIC signal: PIN_PA12 External Interrupt Line */
399 #define PIN_PA24A_EIC_EXTINT12         _L_(24) /**< \brief EIC signal: EXTINT12 on PA24 mux A */
400 #define MUX_PA24A_EIC_EXTINT12          _L_(0)
401 #define PINMUX_PA24A_EIC_EXTINT12  ((PIN_PA24A_EIC_EXTINT12 << 16) | MUX_PA24A_EIC_EXTINT12)
402 #define PORT_PA24A_EIC_EXTINT12  (_UL_(1) << 24)
403 #define PIN_PA24A_EIC_EXTINT_NUM       _L_(12) /**< \brief EIC signal: PIN_PA24 External Interrupt Line */
404 #define PIN_PA13A_EIC_EXTINT13         _L_(13) /**< \brief EIC signal: EXTINT13 on PA13 mux A */
405 #define MUX_PA13A_EIC_EXTINT13          _L_(0)
406 #define PINMUX_PA13A_EIC_EXTINT13  ((PIN_PA13A_EIC_EXTINT13 << 16) | MUX_PA13A_EIC_EXTINT13)
407 #define PORT_PA13A_EIC_EXTINT13  (_UL_(1) << 13)
408 #define PIN_PA13A_EIC_EXTINT_NUM       _L_(13) /**< \brief EIC signal: PIN_PA13 External Interrupt Line */
409 #define PIN_PA25A_EIC_EXTINT13         _L_(25) /**< \brief EIC signal: EXTINT13 on PA25 mux A */
410 #define MUX_PA25A_EIC_EXTINT13          _L_(0)
411 #define PINMUX_PA25A_EIC_EXTINT13  ((PIN_PA25A_EIC_EXTINT13 << 16) | MUX_PA25A_EIC_EXTINT13)
412 #define PORT_PA25A_EIC_EXTINT13  (_UL_(1) << 25)
413 #define PIN_PA25A_EIC_EXTINT_NUM       _L_(13) /**< \brief EIC signal: PIN_PA25 External Interrupt Line */
414 #define PIN_PA14A_EIC_EXTINT14         _L_(14) /**< \brief EIC signal: EXTINT14 on PA14 mux A */
415 #define MUX_PA14A_EIC_EXTINT14          _L_(0)
416 #define PINMUX_PA14A_EIC_EXTINT14  ((PIN_PA14A_EIC_EXTINT14 << 16) | MUX_PA14A_EIC_EXTINT14)
417 #define PORT_PA14A_EIC_EXTINT14  (_UL_(1) << 14)
418 #define PIN_PA14A_EIC_EXTINT_NUM       _L_(14) /**< \brief EIC signal: PIN_PA14 External Interrupt Line */
419 #define PIN_PA27A_EIC_EXTINT15         _L_(27) /**< \brief EIC signal: EXTINT15 on PA27 mux A */
420 #define MUX_PA27A_EIC_EXTINT15          _L_(0)
421 #define PINMUX_PA27A_EIC_EXTINT15  ((PIN_PA27A_EIC_EXTINT15 << 16) | MUX_PA27A_EIC_EXTINT15)
422 #define PORT_PA27A_EIC_EXTINT15  (_UL_(1) << 27)
423 #define PIN_PA27A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PA27 External Interrupt Line */
424 #define PIN_PA15A_EIC_EXTINT15         _L_(15) /**< \brief EIC signal: EXTINT15 on PA15 mux A */
425 #define MUX_PA15A_EIC_EXTINT15          _L_(0)
426 #define PINMUX_PA15A_EIC_EXTINT15  ((PIN_PA15A_EIC_EXTINT15 << 16) | MUX_PA15A_EIC_EXTINT15)
427 #define PORT_PA15A_EIC_EXTINT15  (_UL_(1) << 15)
428 #define PIN_PA15A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PA15 External Interrupt Line */
429 #define PIN_PA08A_EIC_NMI               _L_(8) /**< \brief EIC signal: NMI on PA08 mux A */
430 #define MUX_PA08A_EIC_NMI               _L_(0)
431 #define PINMUX_PA08A_EIC_NMI       ((PIN_PA08A_EIC_NMI << 16) | MUX_PA08A_EIC_NMI)
432 #define PORT_PA08A_EIC_NMI     (_UL_(1) <<  8)
433 /* ========== PORT definition for SERCOM0 peripheral ========== */
434 #define PIN_PA04D_SERCOM0_PAD0          _L_(4) /**< \brief SERCOM0 signal: PAD0 on PA04 mux D */
435 #define MUX_PA04D_SERCOM0_PAD0          _L_(3)
436 #define PINMUX_PA04D_SERCOM0_PAD0  ((PIN_PA04D_SERCOM0_PAD0 << 16) | MUX_PA04D_SERCOM0_PAD0)
437 #define PORT_PA04D_SERCOM0_PAD0  (_UL_(1) <<  4)
438 #define PIN_PA08C_SERCOM0_PAD0          _L_(8) /**< \brief SERCOM0 signal: PAD0 on PA08 mux C */
439 #define MUX_PA08C_SERCOM0_PAD0          _L_(2)
440 #define PINMUX_PA08C_SERCOM0_PAD0  ((PIN_PA08C_SERCOM0_PAD0 << 16) | MUX_PA08C_SERCOM0_PAD0)
441 #define PORT_PA08C_SERCOM0_PAD0  (_UL_(1) <<  8)
442 #define PIN_PA05D_SERCOM0_PAD1          _L_(5) /**< \brief SERCOM0 signal: PAD1 on PA05 mux D */
443 #define MUX_PA05D_SERCOM0_PAD1          _L_(3)
444 #define PINMUX_PA05D_SERCOM0_PAD1  ((PIN_PA05D_SERCOM0_PAD1 << 16) | MUX_PA05D_SERCOM0_PAD1)
445 #define PORT_PA05D_SERCOM0_PAD1  (_UL_(1) <<  5)
446 #define PIN_PA09C_SERCOM0_PAD1          _L_(9) /**< \brief SERCOM0 signal: PAD1 on PA09 mux C */
447 #define MUX_PA09C_SERCOM0_PAD1          _L_(2)
448 #define PINMUX_PA09C_SERCOM0_PAD1  ((PIN_PA09C_SERCOM0_PAD1 << 16) | MUX_PA09C_SERCOM0_PAD1)
449 #define PORT_PA09C_SERCOM0_PAD1  (_UL_(1) <<  9)
450 #define PIN_PA06D_SERCOM0_PAD2          _L_(6) /**< \brief SERCOM0 signal: PAD2 on PA06 mux D */
451 #define MUX_PA06D_SERCOM0_PAD2          _L_(3)
452 #define PINMUX_PA06D_SERCOM0_PAD2  ((PIN_PA06D_SERCOM0_PAD2 << 16) | MUX_PA06D_SERCOM0_PAD2)
453 #define PORT_PA06D_SERCOM0_PAD2  (_UL_(1) <<  6)
454 #define PIN_PA10C_SERCOM0_PAD2         _L_(10) /**< \brief SERCOM0 signal: PAD2 on PA10 mux C */
455 #define MUX_PA10C_SERCOM0_PAD2          _L_(2)
456 #define PINMUX_PA10C_SERCOM0_PAD2  ((PIN_PA10C_SERCOM0_PAD2 << 16) | MUX_PA10C_SERCOM0_PAD2)
457 #define PORT_PA10C_SERCOM0_PAD2  (_UL_(1) << 10)
458 #define PIN_PA07D_SERCOM0_PAD3          _L_(7) /**< \brief SERCOM0 signal: PAD3 on PA07 mux D */
459 #define MUX_PA07D_SERCOM0_PAD3          _L_(3)
460 #define PINMUX_PA07D_SERCOM0_PAD3  ((PIN_PA07D_SERCOM0_PAD3 << 16) | MUX_PA07D_SERCOM0_PAD3)
461 #define PORT_PA07D_SERCOM0_PAD3  (_UL_(1) <<  7)
462 #define PIN_PA11C_SERCOM0_PAD3         _L_(11) /**< \brief SERCOM0 signal: PAD3 on PA11 mux C */
463 #define MUX_PA11C_SERCOM0_PAD3          _L_(2)
464 #define PINMUX_PA11C_SERCOM0_PAD3  ((PIN_PA11C_SERCOM0_PAD3 << 16) | MUX_PA11C_SERCOM0_PAD3)
465 #define PORT_PA11C_SERCOM0_PAD3  (_UL_(1) << 11)
466 /* ========== PORT definition for SERCOM1 peripheral ========== */
467 #define PIN_PA16C_SERCOM1_PAD0         _L_(16) /**< \brief SERCOM1 signal: PAD0 on PA16 mux C */
468 #define MUX_PA16C_SERCOM1_PAD0          _L_(2)
469 #define PINMUX_PA16C_SERCOM1_PAD0  ((PIN_PA16C_SERCOM1_PAD0 << 16) | MUX_PA16C_SERCOM1_PAD0)
470 #define PORT_PA16C_SERCOM1_PAD0  (_UL_(1) << 16)
471 #define PIN_PA00D_SERCOM1_PAD0          _L_(0) /**< \brief SERCOM1 signal: PAD0 on PA00 mux D */
472 #define MUX_PA00D_SERCOM1_PAD0          _L_(3)
473 #define PINMUX_PA00D_SERCOM1_PAD0  ((PIN_PA00D_SERCOM1_PAD0 << 16) | MUX_PA00D_SERCOM1_PAD0)
474 #define PORT_PA00D_SERCOM1_PAD0  (_UL_(1) <<  0)
475 #define PIN_PA17C_SERCOM1_PAD1         _L_(17) /**< \brief SERCOM1 signal: PAD1 on PA17 mux C */
476 #define MUX_PA17C_SERCOM1_PAD1          _L_(2)
477 #define PINMUX_PA17C_SERCOM1_PAD1  ((PIN_PA17C_SERCOM1_PAD1 << 16) | MUX_PA17C_SERCOM1_PAD1)
478 #define PORT_PA17C_SERCOM1_PAD1  (_UL_(1) << 17)
479 #define PIN_PA01D_SERCOM1_PAD1          _L_(1) /**< \brief SERCOM1 signal: PAD1 on PA01 mux D */
480 #define MUX_PA01D_SERCOM1_PAD1          _L_(3)
481 #define PINMUX_PA01D_SERCOM1_PAD1  ((PIN_PA01D_SERCOM1_PAD1 << 16) | MUX_PA01D_SERCOM1_PAD1)
482 #define PORT_PA01D_SERCOM1_PAD1  (_UL_(1) <<  1)
483 #define PIN_PA30D_SERCOM1_PAD2         _L_(30) /**< \brief SERCOM1 signal: PAD2 on PA30 mux D */
484 #define MUX_PA30D_SERCOM1_PAD2          _L_(3)
485 #define PINMUX_PA30D_SERCOM1_PAD2  ((PIN_PA30D_SERCOM1_PAD2 << 16) | MUX_PA30D_SERCOM1_PAD2)
486 #define PORT_PA30D_SERCOM1_PAD2  (_UL_(1) << 30)
487 #define PIN_PA18C_SERCOM1_PAD2         _L_(18) /**< \brief SERCOM1 signal: PAD2 on PA18 mux C */
488 #define MUX_PA18C_SERCOM1_PAD2          _L_(2)
489 #define PINMUX_PA18C_SERCOM1_PAD2  ((PIN_PA18C_SERCOM1_PAD2 << 16) | MUX_PA18C_SERCOM1_PAD2)
490 #define PORT_PA18C_SERCOM1_PAD2  (_UL_(1) << 18)
491 #define PIN_PA31D_SERCOM1_PAD3         _L_(31) /**< \brief SERCOM1 signal: PAD3 on PA31 mux D */
492 #define MUX_PA31D_SERCOM1_PAD3          _L_(3)
493 #define PINMUX_PA31D_SERCOM1_PAD3  ((PIN_PA31D_SERCOM1_PAD3 << 16) | MUX_PA31D_SERCOM1_PAD3)
494 #define PORT_PA31D_SERCOM1_PAD3  (_UL_(1) << 31)
495 #define PIN_PA19C_SERCOM1_PAD3         _L_(19) /**< \brief SERCOM1 signal: PAD3 on PA19 mux C */
496 #define MUX_PA19C_SERCOM1_PAD3          _L_(2)
497 #define PINMUX_PA19C_SERCOM1_PAD3  ((PIN_PA19C_SERCOM1_PAD3 << 16) | MUX_PA19C_SERCOM1_PAD3)
498 #define PORT_PA19C_SERCOM1_PAD3  (_UL_(1) << 19)
499 /* ========== PORT definition for SERCOM2 peripheral ========== */
500 #define PIN_PA08D_SERCOM2_PAD0          _L_(8) /**< \brief SERCOM2 signal: PAD0 on PA08 mux D */
501 #define MUX_PA08D_SERCOM2_PAD0          _L_(3)
502 #define PINMUX_PA08D_SERCOM2_PAD0  ((PIN_PA08D_SERCOM2_PAD0 << 16) | MUX_PA08D_SERCOM2_PAD0)
503 #define PORT_PA08D_SERCOM2_PAD0  (_UL_(1) <<  8)
504 #define PIN_PA12C_SERCOM2_PAD0         _L_(12) /**< \brief SERCOM2 signal: PAD0 on PA12 mux C */
505 #define MUX_PA12C_SERCOM2_PAD0          _L_(2)
506 #define PINMUX_PA12C_SERCOM2_PAD0  ((PIN_PA12C_SERCOM2_PAD0 << 16) | MUX_PA12C_SERCOM2_PAD0)
507 #define PORT_PA12C_SERCOM2_PAD0  (_UL_(1) << 12)
508 #define PIN_PA09D_SERCOM2_PAD1          _L_(9) /**< \brief SERCOM2 signal: PAD1 on PA09 mux D */
509 #define MUX_PA09D_SERCOM2_PAD1          _L_(3)
510 #define PINMUX_PA09D_SERCOM2_PAD1  ((PIN_PA09D_SERCOM2_PAD1 << 16) | MUX_PA09D_SERCOM2_PAD1)
511 #define PORT_PA09D_SERCOM2_PAD1  (_UL_(1) <<  9)
512 #define PIN_PA13C_SERCOM2_PAD1         _L_(13) /**< \brief SERCOM2 signal: PAD1 on PA13 mux C */
513 #define MUX_PA13C_SERCOM2_PAD1          _L_(2)
514 #define PINMUX_PA13C_SERCOM2_PAD1  ((PIN_PA13C_SERCOM2_PAD1 << 16) | MUX_PA13C_SERCOM2_PAD1)
515 #define PORT_PA13C_SERCOM2_PAD1  (_UL_(1) << 13)
516 #define PIN_PA10D_SERCOM2_PAD2         _L_(10) /**< \brief SERCOM2 signal: PAD2 on PA10 mux D */
517 #define MUX_PA10D_SERCOM2_PAD2          _L_(3)
518 #define PINMUX_PA10D_SERCOM2_PAD2  ((PIN_PA10D_SERCOM2_PAD2 << 16) | MUX_PA10D_SERCOM2_PAD2)
519 #define PORT_PA10D_SERCOM2_PAD2  (_UL_(1) << 10)
520 #define PIN_PA14C_SERCOM2_PAD2         _L_(14) /**< \brief SERCOM2 signal: PAD2 on PA14 mux C */
521 #define MUX_PA14C_SERCOM2_PAD2          _L_(2)
522 #define PINMUX_PA14C_SERCOM2_PAD2  ((PIN_PA14C_SERCOM2_PAD2 << 16) | MUX_PA14C_SERCOM2_PAD2)
523 #define PORT_PA14C_SERCOM2_PAD2  (_UL_(1) << 14)
524 #define PIN_PA11D_SERCOM2_PAD3         _L_(11) /**< \brief SERCOM2 signal: PAD3 on PA11 mux D */
525 #define MUX_PA11D_SERCOM2_PAD3          _L_(3)
526 #define PINMUX_PA11D_SERCOM2_PAD3  ((PIN_PA11D_SERCOM2_PAD3 << 16) | MUX_PA11D_SERCOM2_PAD3)
527 #define PORT_PA11D_SERCOM2_PAD3  (_UL_(1) << 11)
528 #define PIN_PA15C_SERCOM2_PAD3         _L_(15) /**< \brief SERCOM2 signal: PAD3 on PA15 mux C */
529 #define MUX_PA15C_SERCOM2_PAD3          _L_(2)
530 #define PINMUX_PA15C_SERCOM2_PAD3  ((PIN_PA15C_SERCOM2_PAD3 << 16) | MUX_PA15C_SERCOM2_PAD3)
531 #define PORT_PA15C_SERCOM2_PAD3  (_UL_(1) << 15)
532 /* ========== PORT definition for SERCOM3 peripheral ========== */
533 #define PIN_PA16D_SERCOM3_PAD0         _L_(16) /**< \brief SERCOM3 signal: PAD0 on PA16 mux D */
534 #define MUX_PA16D_SERCOM3_PAD0          _L_(3)
535 #define PINMUX_PA16D_SERCOM3_PAD0  ((PIN_PA16D_SERCOM3_PAD0 << 16) | MUX_PA16D_SERCOM3_PAD0)
536 #define PORT_PA16D_SERCOM3_PAD0  (_UL_(1) << 16)
537 #define PIN_PA22C_SERCOM3_PAD0         _L_(22) /**< \brief SERCOM3 signal: PAD0 on PA22 mux C */
538 #define MUX_PA22C_SERCOM3_PAD0          _L_(2)
539 #define PINMUX_PA22C_SERCOM3_PAD0  ((PIN_PA22C_SERCOM3_PAD0 << 16) | MUX_PA22C_SERCOM3_PAD0)
540 #define PORT_PA22C_SERCOM3_PAD0  (_UL_(1) << 22)
541 #define PIN_PA17D_SERCOM3_PAD1         _L_(17) /**< \brief SERCOM3 signal: PAD1 on PA17 mux D */
542 #define MUX_PA17D_SERCOM3_PAD1          _L_(3)
543 #define PINMUX_PA17D_SERCOM3_PAD1  ((PIN_PA17D_SERCOM3_PAD1 << 16) | MUX_PA17D_SERCOM3_PAD1)
544 #define PORT_PA17D_SERCOM3_PAD1  (_UL_(1) << 17)
545 #define PIN_PA23C_SERCOM3_PAD1         _L_(23) /**< \brief SERCOM3 signal: PAD1 on PA23 mux C */
546 #define MUX_PA23C_SERCOM3_PAD1          _L_(2)
547 #define PINMUX_PA23C_SERCOM3_PAD1  ((PIN_PA23C_SERCOM3_PAD1 << 16) | MUX_PA23C_SERCOM3_PAD1)
548 #define PORT_PA23C_SERCOM3_PAD1  (_UL_(1) << 23)
549 #define PIN_PA18D_SERCOM3_PAD2         _L_(18) /**< \brief SERCOM3 signal: PAD2 on PA18 mux D */
550 #define MUX_PA18D_SERCOM3_PAD2          _L_(3)
551 #define PINMUX_PA18D_SERCOM3_PAD2  ((PIN_PA18D_SERCOM3_PAD2 << 16) | MUX_PA18D_SERCOM3_PAD2)
552 #define PORT_PA18D_SERCOM3_PAD2  (_UL_(1) << 18)
553 #define PIN_PA20D_SERCOM3_PAD2         _L_(20) /**< \brief SERCOM3 signal: PAD2 on PA20 mux D */
554 #define MUX_PA20D_SERCOM3_PAD2          _L_(3)
555 #define PINMUX_PA20D_SERCOM3_PAD2  ((PIN_PA20D_SERCOM3_PAD2 << 16) | MUX_PA20D_SERCOM3_PAD2)
556 #define PORT_PA20D_SERCOM3_PAD2  (_UL_(1) << 20)
557 #define PIN_PA24C_SERCOM3_PAD2         _L_(24) /**< \brief SERCOM3 signal: PAD2 on PA24 mux C */
558 #define MUX_PA24C_SERCOM3_PAD2          _L_(2)
559 #define PINMUX_PA24C_SERCOM3_PAD2  ((PIN_PA24C_SERCOM3_PAD2 << 16) | MUX_PA24C_SERCOM3_PAD2)
560 #define PORT_PA24C_SERCOM3_PAD2  (_UL_(1) << 24)
561 #define PIN_PA19D_SERCOM3_PAD3         _L_(19) /**< \brief SERCOM3 signal: PAD3 on PA19 mux D */
562 #define MUX_PA19D_SERCOM3_PAD3          _L_(3)
563 #define PINMUX_PA19D_SERCOM3_PAD3  ((PIN_PA19D_SERCOM3_PAD3 << 16) | MUX_PA19D_SERCOM3_PAD3)
564 #define PORT_PA19D_SERCOM3_PAD3  (_UL_(1) << 19)
565 #define PIN_PA21D_SERCOM3_PAD3         _L_(21) /**< \brief SERCOM3 signal: PAD3 on PA21 mux D */
566 #define MUX_PA21D_SERCOM3_PAD3          _L_(3)
567 #define PINMUX_PA21D_SERCOM3_PAD3  ((PIN_PA21D_SERCOM3_PAD3 << 16) | MUX_PA21D_SERCOM3_PAD3)
568 #define PORT_PA21D_SERCOM3_PAD3  (_UL_(1) << 21)
569 #define PIN_PA25C_SERCOM3_PAD3         _L_(25) /**< \brief SERCOM3 signal: PAD3 on PA25 mux C */
570 #define MUX_PA25C_SERCOM3_PAD3          _L_(2)
571 #define PINMUX_PA25C_SERCOM3_PAD3  ((PIN_PA25C_SERCOM3_PAD3 << 16) | MUX_PA25C_SERCOM3_PAD3)
572 #define PORT_PA25C_SERCOM3_PAD3  (_UL_(1) << 25)
573 /* ========== PORT definition for SERCOM4 peripheral ========== */
574 #define PIN_PA12D_SERCOM4_PAD0         _L_(12) /**< \brief SERCOM4 signal: PAD0 on PA12 mux D */
575 #define MUX_PA12D_SERCOM4_PAD0          _L_(3)
576 #define PINMUX_PA12D_SERCOM4_PAD0  ((PIN_PA12D_SERCOM4_PAD0 << 16) | MUX_PA12D_SERCOM4_PAD0)
577 #define PORT_PA12D_SERCOM4_PAD0  (_UL_(1) << 12)
578 #define PIN_PB08D_SERCOM4_PAD0         _L_(40) /**< \brief SERCOM4 signal: PAD0 on PB08 mux D */
579 #define MUX_PB08D_SERCOM4_PAD0          _L_(3)
580 #define PINMUX_PB08D_SERCOM4_PAD0  ((PIN_PB08D_SERCOM4_PAD0 << 16) | MUX_PB08D_SERCOM4_PAD0)
581 #define PORT_PB08D_SERCOM4_PAD0  (_UL_(1) <<  8)
582 #define PIN_PA13D_SERCOM4_PAD1         _L_(13) /**< \brief SERCOM4 signal: PAD1 on PA13 mux D */
583 #define MUX_PA13D_SERCOM4_PAD1          _L_(3)
584 #define PINMUX_PA13D_SERCOM4_PAD1  ((PIN_PA13D_SERCOM4_PAD1 << 16) | MUX_PA13D_SERCOM4_PAD1)
585 #define PORT_PA13D_SERCOM4_PAD1  (_UL_(1) << 13)
586 #define PIN_PB09D_SERCOM4_PAD1         _L_(41) /**< \brief SERCOM4 signal: PAD1 on PB09 mux D */
587 #define MUX_PB09D_SERCOM4_PAD1          _L_(3)
588 #define PINMUX_PB09D_SERCOM4_PAD1  ((PIN_PB09D_SERCOM4_PAD1 << 16) | MUX_PB09D_SERCOM4_PAD1)
589 #define PORT_PB09D_SERCOM4_PAD1  (_UL_(1) <<  9)
590 #define PIN_PA14D_SERCOM4_PAD2         _L_(14) /**< \brief SERCOM4 signal: PAD2 on PA14 mux D */
591 #define MUX_PA14D_SERCOM4_PAD2          _L_(3)
592 #define PINMUX_PA14D_SERCOM4_PAD2  ((PIN_PA14D_SERCOM4_PAD2 << 16) | MUX_PA14D_SERCOM4_PAD2)
593 #define PORT_PA14D_SERCOM4_PAD2  (_UL_(1) << 14)
594 #define PIN_PB10D_SERCOM4_PAD2         _L_(42) /**< \brief SERCOM4 signal: PAD2 on PB10 mux D */
595 #define MUX_PB10D_SERCOM4_PAD2          _L_(3)
596 #define PINMUX_PB10D_SERCOM4_PAD2  ((PIN_PB10D_SERCOM4_PAD2 << 16) | MUX_PB10D_SERCOM4_PAD2)
597 #define PORT_PB10D_SERCOM4_PAD2  (_UL_(1) << 10)
598 #define PIN_PA15D_SERCOM4_PAD3         _L_(15) /**< \brief SERCOM4 signal: PAD3 on PA15 mux D */
599 #define MUX_PA15D_SERCOM4_PAD3          _L_(3)
600 #define PINMUX_PA15D_SERCOM4_PAD3  ((PIN_PA15D_SERCOM4_PAD3 << 16) | MUX_PA15D_SERCOM4_PAD3)
601 #define PORT_PA15D_SERCOM4_PAD3  (_UL_(1) << 15)
602 #define PIN_PB11D_SERCOM4_PAD3         _L_(43) /**< \brief SERCOM4 signal: PAD3 on PB11 mux D */
603 #define MUX_PB11D_SERCOM4_PAD3          _L_(3)
604 #define PINMUX_PB11D_SERCOM4_PAD3  ((PIN_PB11D_SERCOM4_PAD3 << 16) | MUX_PB11D_SERCOM4_PAD3)
605 #define PORT_PB11D_SERCOM4_PAD3  (_UL_(1) << 11)
606 /* ========== PORT definition for SERCOM5 peripheral ========== */
607 #define PIN_PA22D_SERCOM5_PAD0         _L_(22) /**< \brief SERCOM5 signal: PAD0 on PA22 mux D */
608 #define MUX_PA22D_SERCOM5_PAD0          _L_(3)
609 #define PINMUX_PA22D_SERCOM5_PAD0  ((PIN_PA22D_SERCOM5_PAD0 << 16) | MUX_PA22D_SERCOM5_PAD0)
610 #define PORT_PA22D_SERCOM5_PAD0  (_UL_(1) << 22)
611 #define PIN_PB02D_SERCOM5_PAD0         _L_(34) /**< \brief SERCOM5 signal: PAD0 on PB02 mux D */
612 #define MUX_PB02D_SERCOM5_PAD0          _L_(3)
613 #define PINMUX_PB02D_SERCOM5_PAD0  ((PIN_PB02D_SERCOM5_PAD0 << 16) | MUX_PB02D_SERCOM5_PAD0)
614 #define PORT_PB02D_SERCOM5_PAD0  (_UL_(1) <<  2)
615 #define PIN_PA23D_SERCOM5_PAD1         _L_(23) /**< \brief SERCOM5 signal: PAD1 on PA23 mux D */
616 #define MUX_PA23D_SERCOM5_PAD1          _L_(3)
617 #define PINMUX_PA23D_SERCOM5_PAD1  ((PIN_PA23D_SERCOM5_PAD1 << 16) | MUX_PA23D_SERCOM5_PAD1)
618 #define PORT_PA23D_SERCOM5_PAD1  (_UL_(1) << 23)
619 #define PIN_PB03D_SERCOM5_PAD1         _L_(35) /**< \brief SERCOM5 signal: PAD1 on PB03 mux D */
620 #define MUX_PB03D_SERCOM5_PAD1          _L_(3)
621 #define PINMUX_PB03D_SERCOM5_PAD1  ((PIN_PB03D_SERCOM5_PAD1 << 16) | MUX_PB03D_SERCOM5_PAD1)
622 #define PORT_PB03D_SERCOM5_PAD1  (_UL_(1) <<  3)
623 #define PIN_PA24D_SERCOM5_PAD2         _L_(24) /**< \brief SERCOM5 signal: PAD2 on PA24 mux D */
624 #define MUX_PA24D_SERCOM5_PAD2          _L_(3)
625 #define PINMUX_PA24D_SERCOM5_PAD2  ((PIN_PA24D_SERCOM5_PAD2 << 16) | MUX_PA24D_SERCOM5_PAD2)
626 #define PORT_PA24D_SERCOM5_PAD2  (_UL_(1) << 24)
627 #define PIN_PB22D_SERCOM5_PAD2         _L_(54) /**< \brief SERCOM5 signal: PAD2 on PB22 mux D */
628 #define MUX_PB22D_SERCOM5_PAD2          _L_(3)
629 #define PINMUX_PB22D_SERCOM5_PAD2  ((PIN_PB22D_SERCOM5_PAD2 << 16) | MUX_PB22D_SERCOM5_PAD2)
630 #define PORT_PB22D_SERCOM5_PAD2  (_UL_(1) << 22)
631 #define PIN_PA20C_SERCOM5_PAD2         _L_(20) /**< \brief SERCOM5 signal: PAD2 on PA20 mux C */
632 #define MUX_PA20C_SERCOM5_PAD2          _L_(2)
633 #define PINMUX_PA20C_SERCOM5_PAD2  ((PIN_PA20C_SERCOM5_PAD2 << 16) | MUX_PA20C_SERCOM5_PAD2)
634 #define PORT_PA20C_SERCOM5_PAD2  (_UL_(1) << 20)
635 #define PIN_PA25D_SERCOM5_PAD3         _L_(25) /**< \brief SERCOM5 signal: PAD3 on PA25 mux D */
636 #define MUX_PA25D_SERCOM5_PAD3          _L_(3)
637 #define PINMUX_PA25D_SERCOM5_PAD3  ((PIN_PA25D_SERCOM5_PAD3 << 16) | MUX_PA25D_SERCOM5_PAD3)
638 #define PORT_PA25D_SERCOM5_PAD3  (_UL_(1) << 25)
639 #define PIN_PB23D_SERCOM5_PAD3         _L_(55) /**< \brief SERCOM5 signal: PAD3 on PB23 mux D */
640 #define MUX_PB23D_SERCOM5_PAD3          _L_(3)
641 #define PINMUX_PB23D_SERCOM5_PAD3  ((PIN_PB23D_SERCOM5_PAD3 << 16) | MUX_PB23D_SERCOM5_PAD3)
642 #define PORT_PB23D_SERCOM5_PAD3  (_UL_(1) << 23)
643 #define PIN_PA21C_SERCOM5_PAD3         _L_(21) /**< \brief SERCOM5 signal: PAD3 on PA21 mux C */
644 #define MUX_PA21C_SERCOM5_PAD3          _L_(2)
645 #define PINMUX_PA21C_SERCOM5_PAD3  ((PIN_PA21C_SERCOM5_PAD3 << 16) | MUX_PA21C_SERCOM5_PAD3)
646 #define PORT_PA21C_SERCOM5_PAD3  (_UL_(1) << 21)
647 /* ========== PORT definition for CAN0 peripheral ========== */
648 #define PIN_PA25G_CAN0_RX              _L_(25) /**< \brief CAN0 signal: RX on PA25 mux G */
649 #define MUX_PA25G_CAN0_RX               _L_(6)
650 #define PINMUX_PA25G_CAN0_RX       ((PIN_PA25G_CAN0_RX << 16) | MUX_PA25G_CAN0_RX)
651 #define PORT_PA25G_CAN0_RX     (_UL_(1) << 25)
652 #define PIN_PB23G_CAN0_RX              _L_(55) /**< \brief CAN0 signal: RX on PB23 mux G */
653 #define MUX_PB23G_CAN0_RX               _L_(6)
654 #define PINMUX_PB23G_CAN0_RX       ((PIN_PB23G_CAN0_RX << 16) | MUX_PB23G_CAN0_RX)
655 #define PORT_PB23G_CAN0_RX     (_UL_(1) << 23)
656 #define PIN_PA24G_CAN0_TX              _L_(24) /**< \brief CAN0 signal: TX on PA24 mux G */
657 #define MUX_PA24G_CAN0_TX               _L_(6)
658 #define PINMUX_PA24G_CAN0_TX       ((PIN_PA24G_CAN0_TX << 16) | MUX_PA24G_CAN0_TX)
659 #define PORT_PA24G_CAN0_TX     (_UL_(1) << 24)
660 #define PIN_PB22G_CAN0_TX              _L_(54) /**< \brief CAN0 signal: TX on PB22 mux G */
661 #define MUX_PB22G_CAN0_TX               _L_(6)
662 #define PINMUX_PB22G_CAN0_TX       ((PIN_PB22G_CAN0_TX << 16) | MUX_PB22G_CAN0_TX)
663 #define PORT_PB22G_CAN0_TX     (_UL_(1) << 22)
664 /* ========== PORT definition for CAN1 peripheral ========== */
665 #define PIN_PB11G_CAN1_RX              _L_(43) /**< \brief CAN1 signal: RX on PB11 mux G */
666 #define MUX_PB11G_CAN1_RX               _L_(6)
667 #define PINMUX_PB11G_CAN1_RX       ((PIN_PB11G_CAN1_RX << 16) | MUX_PB11G_CAN1_RX)
668 #define PORT_PB11G_CAN1_RX     (_UL_(1) << 11)
669 #define PIN_PB10G_CAN1_TX              _L_(42) /**< \brief CAN1 signal: TX on PB10 mux G */
670 #define MUX_PB10G_CAN1_TX               _L_(6)
671 #define PINMUX_PB10G_CAN1_TX       ((PIN_PB10G_CAN1_TX << 16) | MUX_PB10G_CAN1_TX)
672 #define PORT_PB10G_CAN1_TX     (_UL_(1) << 10)
673 /* ========== PORT definition for TCC0 peripheral ========== */
674 #define PIN_PA04E_TCC0_WO0              _L_(4) /**< \brief TCC0 signal: WO0 on PA04 mux E */
675 #define MUX_PA04E_TCC0_WO0              _L_(4)
676 #define PINMUX_PA04E_TCC0_WO0      ((PIN_PA04E_TCC0_WO0 << 16) | MUX_PA04E_TCC0_WO0)
677 #define PORT_PA04E_TCC0_WO0    (_UL_(1) <<  4)
678 #define PIN_PA08E_TCC0_WO0              _L_(8) /**< \brief TCC0 signal: WO0 on PA08 mux E */
679 #define MUX_PA08E_TCC0_WO0              _L_(4)
680 #define PINMUX_PA08E_TCC0_WO0      ((PIN_PA08E_TCC0_WO0 << 16) | MUX_PA08E_TCC0_WO0)
681 #define PORT_PA08E_TCC0_WO0    (_UL_(1) <<  8)
682 #define PIN_PA05E_TCC0_WO1              _L_(5) /**< \brief TCC0 signal: WO1 on PA05 mux E */
683 #define MUX_PA05E_TCC0_WO1              _L_(4)
684 #define PINMUX_PA05E_TCC0_WO1      ((PIN_PA05E_TCC0_WO1 << 16) | MUX_PA05E_TCC0_WO1)
685 #define PORT_PA05E_TCC0_WO1    (_UL_(1) <<  5)
686 #define PIN_PA09E_TCC0_WO1              _L_(9) /**< \brief TCC0 signal: WO1 on PA09 mux E */
687 #define MUX_PA09E_TCC0_WO1              _L_(4)
688 #define PINMUX_PA09E_TCC0_WO1      ((PIN_PA09E_TCC0_WO1 << 16) | MUX_PA09E_TCC0_WO1)
689 #define PORT_PA09E_TCC0_WO1    (_UL_(1) <<  9)
690 #define PIN_PA10F_TCC0_WO2             _L_(10) /**< \brief TCC0 signal: WO2 on PA10 mux F */
691 #define MUX_PA10F_TCC0_WO2              _L_(5)
692 #define PINMUX_PA10F_TCC0_WO2      ((PIN_PA10F_TCC0_WO2 << 16) | MUX_PA10F_TCC0_WO2)
693 #define PORT_PA10F_TCC0_WO2    (_UL_(1) << 10)
694 #define PIN_PA18F_TCC0_WO2             _L_(18) /**< \brief TCC0 signal: WO2 on PA18 mux F */
695 #define MUX_PA18F_TCC0_WO2              _L_(5)
696 #define PINMUX_PA18F_TCC0_WO2      ((PIN_PA18F_TCC0_WO2 << 16) | MUX_PA18F_TCC0_WO2)
697 #define PORT_PA18F_TCC0_WO2    (_UL_(1) << 18)
698 #define PIN_PA11F_TCC0_WO3             _L_(11) /**< \brief TCC0 signal: WO3 on PA11 mux F */
699 #define MUX_PA11F_TCC0_WO3              _L_(5)
700 #define PINMUX_PA11F_TCC0_WO3      ((PIN_PA11F_TCC0_WO3 << 16) | MUX_PA11F_TCC0_WO3)
701 #define PORT_PA11F_TCC0_WO3    (_UL_(1) << 11)
702 #define PIN_PA19F_TCC0_WO3             _L_(19) /**< \brief TCC0 signal: WO3 on PA19 mux F */
703 #define MUX_PA19F_TCC0_WO3              _L_(5)
704 #define PINMUX_PA19F_TCC0_WO3      ((PIN_PA19F_TCC0_WO3 << 16) | MUX_PA19F_TCC0_WO3)
705 #define PORT_PA19F_TCC0_WO3    (_UL_(1) << 19)
706 #define PIN_PA22F_TCC0_WO4             _L_(22) /**< \brief TCC0 signal: WO4 on PA22 mux F */
707 #define MUX_PA22F_TCC0_WO4              _L_(5)
708 #define PINMUX_PA22F_TCC0_WO4      ((PIN_PA22F_TCC0_WO4 << 16) | MUX_PA22F_TCC0_WO4)
709 #define PORT_PA22F_TCC0_WO4    (_UL_(1) << 22)
710 #define PIN_PB10F_TCC0_WO4             _L_(42) /**< \brief TCC0 signal: WO4 on PB10 mux F */
711 #define MUX_PB10F_TCC0_WO4              _L_(5)
712 #define PINMUX_PB10F_TCC0_WO4      ((PIN_PB10F_TCC0_WO4 << 16) | MUX_PB10F_TCC0_WO4)
713 #define PORT_PB10F_TCC0_WO4    (_UL_(1) << 10)
714 #define PIN_PA14F_TCC0_WO4             _L_(14) /**< \brief TCC0 signal: WO4 on PA14 mux F */
715 #define MUX_PA14F_TCC0_WO4              _L_(5)
716 #define PINMUX_PA14F_TCC0_WO4      ((PIN_PA14F_TCC0_WO4 << 16) | MUX_PA14F_TCC0_WO4)
717 #define PORT_PA14F_TCC0_WO4    (_UL_(1) << 14)
718 #define PIN_PA15F_TCC0_WO5             _L_(15) /**< \brief TCC0 signal: WO5 on PA15 mux F */
719 #define MUX_PA15F_TCC0_WO5              _L_(5)
720 #define PINMUX_PA15F_TCC0_WO5      ((PIN_PA15F_TCC0_WO5 << 16) | MUX_PA15F_TCC0_WO5)
721 #define PORT_PA15F_TCC0_WO5    (_UL_(1) << 15)
722 #define PIN_PA23F_TCC0_WO5             _L_(23) /**< \brief TCC0 signal: WO5 on PA23 mux F */
723 #define MUX_PA23F_TCC0_WO5              _L_(5)
724 #define PINMUX_PA23F_TCC0_WO5      ((PIN_PA23F_TCC0_WO5 << 16) | MUX_PA23F_TCC0_WO5)
725 #define PORT_PA23F_TCC0_WO5    (_UL_(1) << 23)
726 #define PIN_PB11F_TCC0_WO5             _L_(43) /**< \brief TCC0 signal: WO5 on PB11 mux F */
727 #define MUX_PB11F_TCC0_WO5              _L_(5)
728 #define PINMUX_PB11F_TCC0_WO5      ((PIN_PB11F_TCC0_WO5 << 16) | MUX_PB11F_TCC0_WO5)
729 #define PORT_PB11F_TCC0_WO5    (_UL_(1) << 11)
730 #define PIN_PA12F_TCC0_WO6             _L_(12) /**< \brief TCC0 signal: WO6 on PA12 mux F */
731 #define MUX_PA12F_TCC0_WO6              _L_(5)
732 #define PINMUX_PA12F_TCC0_WO6      ((PIN_PA12F_TCC0_WO6 << 16) | MUX_PA12F_TCC0_WO6)
733 #define PORT_PA12F_TCC0_WO6    (_UL_(1) << 12)
734 #define PIN_PA16F_TCC0_WO6             _L_(16) /**< \brief TCC0 signal: WO6 on PA16 mux F */
735 #define MUX_PA16F_TCC0_WO6              _L_(5)
736 #define PINMUX_PA16F_TCC0_WO6      ((PIN_PA16F_TCC0_WO6 << 16) | MUX_PA16F_TCC0_WO6)
737 #define PORT_PA16F_TCC0_WO6    (_UL_(1) << 16)
738 #define PIN_PA20F_TCC0_WO6             _L_(20) /**< \brief TCC0 signal: WO6 on PA20 mux F */
739 #define MUX_PA20F_TCC0_WO6              _L_(5)
740 #define PINMUX_PA20F_TCC0_WO6      ((PIN_PA20F_TCC0_WO6 << 16) | MUX_PA20F_TCC0_WO6)
741 #define PORT_PA20F_TCC0_WO6    (_UL_(1) << 20)
742 #define PIN_PA13F_TCC0_WO7             _L_(13) /**< \brief TCC0 signal: WO7 on PA13 mux F */
743 #define MUX_PA13F_TCC0_WO7              _L_(5)
744 #define PINMUX_PA13F_TCC0_WO7      ((PIN_PA13F_TCC0_WO7 << 16) | MUX_PA13F_TCC0_WO7)
745 #define PORT_PA13F_TCC0_WO7    (_UL_(1) << 13)
746 #define PIN_PA17F_TCC0_WO7             _L_(17) /**< \brief TCC0 signal: WO7 on PA17 mux F */
747 #define MUX_PA17F_TCC0_WO7              _L_(5)
748 #define PINMUX_PA17F_TCC0_WO7      ((PIN_PA17F_TCC0_WO7 << 16) | MUX_PA17F_TCC0_WO7)
749 #define PORT_PA17F_TCC0_WO7    (_UL_(1) << 17)
750 #define PIN_PA21F_TCC0_WO7             _L_(21) /**< \brief TCC0 signal: WO7 on PA21 mux F */
751 #define MUX_PA21F_TCC0_WO7              _L_(5)
752 #define PINMUX_PA21F_TCC0_WO7      ((PIN_PA21F_TCC0_WO7 << 16) | MUX_PA21F_TCC0_WO7)
753 #define PORT_PA21F_TCC0_WO7    (_UL_(1) << 21)
754 /* ========== PORT definition for TCC1 peripheral ========== */
755 #define PIN_PA06E_TCC1_WO0              _L_(6) /**< \brief TCC1 signal: WO0 on PA06 mux E */
756 #define MUX_PA06E_TCC1_WO0              _L_(4)
757 #define PINMUX_PA06E_TCC1_WO0      ((PIN_PA06E_TCC1_WO0 << 16) | MUX_PA06E_TCC1_WO0)
758 #define PORT_PA06E_TCC1_WO0    (_UL_(1) <<  6)
759 #define PIN_PA10E_TCC1_WO0             _L_(10) /**< \brief TCC1 signal: WO0 on PA10 mux E */
760 #define MUX_PA10E_TCC1_WO0              _L_(4)
761 #define PINMUX_PA10E_TCC1_WO0      ((PIN_PA10E_TCC1_WO0 << 16) | MUX_PA10E_TCC1_WO0)
762 #define PORT_PA10E_TCC1_WO0    (_UL_(1) << 10)
763 #define PIN_PA30E_TCC1_WO0             _L_(30) /**< \brief TCC1 signal: WO0 on PA30 mux E */
764 #define MUX_PA30E_TCC1_WO0              _L_(4)
765 #define PINMUX_PA30E_TCC1_WO0      ((PIN_PA30E_TCC1_WO0 << 16) | MUX_PA30E_TCC1_WO0)
766 #define PORT_PA30E_TCC1_WO0    (_UL_(1) << 30)
767 #define PIN_PA07E_TCC1_WO1              _L_(7) /**< \brief TCC1 signal: WO1 on PA07 mux E */
768 #define MUX_PA07E_TCC1_WO1              _L_(4)
769 #define PINMUX_PA07E_TCC1_WO1      ((PIN_PA07E_TCC1_WO1 << 16) | MUX_PA07E_TCC1_WO1)
770 #define PORT_PA07E_TCC1_WO1    (_UL_(1) <<  7)
771 #define PIN_PA11E_TCC1_WO1             _L_(11) /**< \brief TCC1 signal: WO1 on PA11 mux E */
772 #define MUX_PA11E_TCC1_WO1              _L_(4)
773 #define PINMUX_PA11E_TCC1_WO1      ((PIN_PA11E_TCC1_WO1 << 16) | MUX_PA11E_TCC1_WO1)
774 #define PORT_PA11E_TCC1_WO1    (_UL_(1) << 11)
775 #define PIN_PA31E_TCC1_WO1             _L_(31) /**< \brief TCC1 signal: WO1 on PA31 mux E */
776 #define MUX_PA31E_TCC1_WO1              _L_(4)
777 #define PINMUX_PA31E_TCC1_WO1      ((PIN_PA31E_TCC1_WO1 << 16) | MUX_PA31E_TCC1_WO1)
778 #define PORT_PA31E_TCC1_WO1    (_UL_(1) << 31)
779 #define PIN_PA08F_TCC1_WO2              _L_(8) /**< \brief TCC1 signal: WO2 on PA08 mux F */
780 #define MUX_PA08F_TCC1_WO2              _L_(5)
781 #define PINMUX_PA08F_TCC1_WO2      ((PIN_PA08F_TCC1_WO2 << 16) | MUX_PA08F_TCC1_WO2)
782 #define PORT_PA08F_TCC1_WO2    (_UL_(1) <<  8)
783 #define PIN_PA24F_TCC1_WO2             _L_(24) /**< \brief TCC1 signal: WO2 on PA24 mux F */
784 #define MUX_PA24F_TCC1_WO2              _L_(5)
785 #define PINMUX_PA24F_TCC1_WO2      ((PIN_PA24F_TCC1_WO2 << 16) | MUX_PA24F_TCC1_WO2)
786 #define PORT_PA24F_TCC1_WO2    (_UL_(1) << 24)
787 #define PIN_PA09F_TCC1_WO3              _L_(9) /**< \brief TCC1 signal: WO3 on PA09 mux F */
788 #define MUX_PA09F_TCC1_WO3              _L_(5)
789 #define PINMUX_PA09F_TCC1_WO3      ((PIN_PA09F_TCC1_WO3 << 16) | MUX_PA09F_TCC1_WO3)
790 #define PORT_PA09F_TCC1_WO3    (_UL_(1) <<  9)
791 #define PIN_PA25F_TCC1_WO3             _L_(25) /**< \brief TCC1 signal: WO3 on PA25 mux F */
792 #define MUX_PA25F_TCC1_WO3              _L_(5)
793 #define PINMUX_PA25F_TCC1_WO3      ((PIN_PA25F_TCC1_WO3 << 16) | MUX_PA25F_TCC1_WO3)
794 #define PORT_PA25F_TCC1_WO3    (_UL_(1) << 25)
795 /* ========== PORT definition for TCC2 peripheral ========== */
796 #define PIN_PA12E_TCC2_WO0             _L_(12) /**< \brief TCC2 signal: WO0 on PA12 mux E */
797 #define MUX_PA12E_TCC2_WO0              _L_(4)
798 #define PINMUX_PA12E_TCC2_WO0      ((PIN_PA12E_TCC2_WO0 << 16) | MUX_PA12E_TCC2_WO0)
799 #define PORT_PA12E_TCC2_WO0    (_UL_(1) << 12)
800 #define PIN_PA16E_TCC2_WO0             _L_(16) /**< \brief TCC2 signal: WO0 on PA16 mux E */
801 #define MUX_PA16E_TCC2_WO0              _L_(4)
802 #define PINMUX_PA16E_TCC2_WO0      ((PIN_PA16E_TCC2_WO0 << 16) | MUX_PA16E_TCC2_WO0)
803 #define PORT_PA16E_TCC2_WO0    (_UL_(1) << 16)
804 #define PIN_PA00E_TCC2_WO0              _L_(0) /**< \brief TCC2 signal: WO0 on PA00 mux E */
805 #define MUX_PA00E_TCC2_WO0              _L_(4)
806 #define PINMUX_PA00E_TCC2_WO0      ((PIN_PA00E_TCC2_WO0 << 16) | MUX_PA00E_TCC2_WO0)
807 #define PORT_PA00E_TCC2_WO0    (_UL_(1) <<  0)
808 #define PIN_PA13E_TCC2_WO1             _L_(13) /**< \brief TCC2 signal: WO1 on PA13 mux E */
809 #define MUX_PA13E_TCC2_WO1              _L_(4)
810 #define PINMUX_PA13E_TCC2_WO1      ((PIN_PA13E_TCC2_WO1 << 16) | MUX_PA13E_TCC2_WO1)
811 #define PORT_PA13E_TCC2_WO1    (_UL_(1) << 13)
812 #define PIN_PA17E_TCC2_WO1             _L_(17) /**< \brief TCC2 signal: WO1 on PA17 mux E */
813 #define MUX_PA17E_TCC2_WO1              _L_(4)
814 #define PINMUX_PA17E_TCC2_WO1      ((PIN_PA17E_TCC2_WO1 << 16) | MUX_PA17E_TCC2_WO1)
815 #define PORT_PA17E_TCC2_WO1    (_UL_(1) << 17)
816 #define PIN_PA01E_TCC2_WO1              _L_(1) /**< \brief TCC2 signal: WO1 on PA01 mux E */
817 #define MUX_PA01E_TCC2_WO1              _L_(4)
818 #define PINMUX_PA01E_TCC2_WO1      ((PIN_PA01E_TCC2_WO1 << 16) | MUX_PA01E_TCC2_WO1)
819 #define PORT_PA01E_TCC2_WO1    (_UL_(1) <<  1)
820 /* ========== PORT definition for TC0 peripheral ========== */
821 #define PIN_PA22E_TC0_WO0              _L_(22) /**< \brief TC0 signal: WO0 on PA22 mux E */
822 #define MUX_PA22E_TC0_WO0               _L_(4)
823 #define PINMUX_PA22E_TC0_WO0       ((PIN_PA22E_TC0_WO0 << 16) | MUX_PA22E_TC0_WO0)
824 #define PORT_PA22E_TC0_WO0     (_UL_(1) << 22)
825 #define PIN_PB08E_TC0_WO0              _L_(40) /**< \brief TC0 signal: WO0 on PB08 mux E */
826 #define MUX_PB08E_TC0_WO0               _L_(4)
827 #define PINMUX_PB08E_TC0_WO0       ((PIN_PB08E_TC0_WO0 << 16) | MUX_PB08E_TC0_WO0)
828 #define PORT_PB08E_TC0_WO0     (_UL_(1) <<  8)
829 #define PIN_PA23E_TC0_WO1              _L_(23) /**< \brief TC0 signal: WO1 on PA23 mux E */
830 #define MUX_PA23E_TC0_WO1               _L_(4)
831 #define PINMUX_PA23E_TC0_WO1       ((PIN_PA23E_TC0_WO1 << 16) | MUX_PA23E_TC0_WO1)
832 #define PORT_PA23E_TC0_WO1     (_UL_(1) << 23)
833 #define PIN_PB09E_TC0_WO1              _L_(41) /**< \brief TC0 signal: WO1 on PB09 mux E */
834 #define MUX_PB09E_TC0_WO1               _L_(4)
835 #define PINMUX_PB09E_TC0_WO1       ((PIN_PB09E_TC0_WO1 << 16) | MUX_PB09E_TC0_WO1)
836 #define PORT_PB09E_TC0_WO1     (_UL_(1) <<  9)
837 /* ========== PORT definition for TC1 peripheral ========== */
838 #define PIN_PA24E_TC1_WO0              _L_(24) /**< \brief TC1 signal: WO0 on PA24 mux E */
839 #define MUX_PA24E_TC1_WO0               _L_(4)
840 #define PINMUX_PA24E_TC1_WO0       ((PIN_PA24E_TC1_WO0 << 16) | MUX_PA24E_TC1_WO0)
841 #define PORT_PA24E_TC1_WO0     (_UL_(1) << 24)
842 #define PIN_PB10E_TC1_WO0              _L_(42) /**< \brief TC1 signal: WO0 on PB10 mux E */
843 #define MUX_PB10E_TC1_WO0               _L_(4)
844 #define PINMUX_PB10E_TC1_WO0       ((PIN_PB10E_TC1_WO0 << 16) | MUX_PB10E_TC1_WO0)
845 #define PORT_PB10E_TC1_WO0     (_UL_(1) << 10)
846 #define PIN_PA25E_TC1_WO1              _L_(25) /**< \brief TC1 signal: WO1 on PA25 mux E */
847 #define MUX_PA25E_TC1_WO1               _L_(4)
848 #define PINMUX_PA25E_TC1_WO1       ((PIN_PA25E_TC1_WO1 << 16) | MUX_PA25E_TC1_WO1)
849 #define PORT_PA25E_TC1_WO1     (_UL_(1) << 25)
850 #define PIN_PB11E_TC1_WO1              _L_(43) /**< \brief TC1 signal: WO1 on PB11 mux E */
851 #define MUX_PB11E_TC1_WO1               _L_(4)
852 #define PINMUX_PB11E_TC1_WO1       ((PIN_PB11E_TC1_WO1 << 16) | MUX_PB11E_TC1_WO1)
853 #define PORT_PB11E_TC1_WO1     (_UL_(1) << 11)
854 /* ========== PORT definition for TC2 peripheral ========== */
855 #define PIN_PB02E_TC2_WO0              _L_(34) /**< \brief TC2 signal: WO0 on PB02 mux E */
856 #define MUX_PB02E_TC2_WO0               _L_(4)
857 #define PINMUX_PB02E_TC2_WO0       ((PIN_PB02E_TC2_WO0 << 16) | MUX_PB02E_TC2_WO0)
858 #define PORT_PB02E_TC2_WO0     (_UL_(1) <<  2)
859 #define PIN_PB03E_TC2_WO1              _L_(35) /**< \brief TC2 signal: WO1 on PB03 mux E */
860 #define MUX_PB03E_TC2_WO1               _L_(4)
861 #define PINMUX_PB03E_TC2_WO1       ((PIN_PB03E_TC2_WO1 << 16) | MUX_PB03E_TC2_WO1)
862 #define PORT_PB03E_TC2_WO1     (_UL_(1) <<  3)
863 /* ========== PORT definition for TC3 peripheral ========== */
864 #define PIN_PA20E_TC3_WO0              _L_(20) /**< \brief TC3 signal: WO0 on PA20 mux E */
865 #define MUX_PA20E_TC3_WO0               _L_(4)
866 #define PINMUX_PA20E_TC3_WO0       ((PIN_PA20E_TC3_WO0 << 16) | MUX_PA20E_TC3_WO0)
867 #define PORT_PA20E_TC3_WO0     (_UL_(1) << 20)
868 #define PIN_PB22E_TC3_WO0              _L_(54) /**< \brief TC3 signal: WO0 on PB22 mux E */
869 #define MUX_PB22E_TC3_WO0               _L_(4)
870 #define PINMUX_PB22E_TC3_WO0       ((PIN_PB22E_TC3_WO0 << 16) | MUX_PB22E_TC3_WO0)
871 #define PORT_PB22E_TC3_WO0     (_UL_(1) << 22)
872 #define PIN_PA21E_TC3_WO1              _L_(21) /**< \brief TC3 signal: WO1 on PA21 mux E */
873 #define MUX_PA21E_TC3_WO1               _L_(4)
874 #define PINMUX_PA21E_TC3_WO1       ((PIN_PA21E_TC3_WO1 << 16) | MUX_PA21E_TC3_WO1)
875 #define PORT_PA21E_TC3_WO1     (_UL_(1) << 21)
876 #define PIN_PB23E_TC3_WO1              _L_(55) /**< \brief TC3 signal: WO1 on PB23 mux E */
877 #define MUX_PB23E_TC3_WO1               _L_(4)
878 #define PINMUX_PB23E_TC3_WO1       ((PIN_PB23E_TC3_WO1 << 16) | MUX_PB23E_TC3_WO1)
879 #define PORT_PB23E_TC3_WO1     (_UL_(1) << 23)
880 /* ========== PORT definition for TC4 peripheral ========== */
881 #define PIN_PA18E_TC4_WO0              _L_(18) /**< \brief TC4 signal: WO0 on PA18 mux E */
882 #define MUX_PA18E_TC4_WO0               _L_(4)
883 #define PINMUX_PA18E_TC4_WO0       ((PIN_PA18E_TC4_WO0 << 16) | MUX_PA18E_TC4_WO0)
884 #define PORT_PA18E_TC4_WO0     (_UL_(1) << 18)
885 #define PIN_PA14E_TC4_WO0              _L_(14) /**< \brief TC4 signal: WO0 on PA14 mux E */
886 #define MUX_PA14E_TC4_WO0               _L_(4)
887 #define PINMUX_PA14E_TC4_WO0       ((PIN_PA14E_TC4_WO0 << 16) | MUX_PA14E_TC4_WO0)
888 #define PORT_PA14E_TC4_WO0     (_UL_(1) << 14)
889 #define PIN_PA19E_TC4_WO1              _L_(19) /**< \brief TC4 signal: WO1 on PA19 mux E */
890 #define MUX_PA19E_TC4_WO1               _L_(4)
891 #define PINMUX_PA19E_TC4_WO1       ((PIN_PA19E_TC4_WO1 << 16) | MUX_PA19E_TC4_WO1)
892 #define PORT_PA19E_TC4_WO1     (_UL_(1) << 19)
893 #define PIN_PA15E_TC4_WO1              _L_(15) /**< \brief TC4 signal: WO1 on PA15 mux E */
894 #define MUX_PA15E_TC4_WO1               _L_(4)
895 #define PINMUX_PA15E_TC4_WO1       ((PIN_PA15E_TC4_WO1 << 16) | MUX_PA15E_TC4_WO1)
896 #define PORT_PA15E_TC4_WO1     (_UL_(1) << 15)
897 /* ========== PORT definition for ADC0 peripheral ========== */
898 #define PIN_PA02B_ADC0_AIN0             _L_(2) /**< \brief ADC0 signal: AIN0 on PA02 mux B */
899 #define MUX_PA02B_ADC0_AIN0             _L_(1)
900 #define PINMUX_PA02B_ADC0_AIN0     ((PIN_PA02B_ADC0_AIN0 << 16) | MUX_PA02B_ADC0_AIN0)
901 #define PORT_PA02B_ADC0_AIN0   (_UL_(1) <<  2)
902 #define PIN_PA03B_ADC0_AIN1             _L_(3) /**< \brief ADC0 signal: AIN1 on PA03 mux B */
903 #define MUX_PA03B_ADC0_AIN1             _L_(1)
904 #define PINMUX_PA03B_ADC0_AIN1     ((PIN_PA03B_ADC0_AIN1 << 16) | MUX_PA03B_ADC0_AIN1)
905 #define PORT_PA03B_ADC0_AIN1   (_UL_(1) <<  3)
906 #define PIN_PB08B_ADC0_AIN2            _L_(40) /**< \brief ADC0 signal: AIN2 on PB08 mux B */
907 #define MUX_PB08B_ADC0_AIN2             _L_(1)
908 #define PINMUX_PB08B_ADC0_AIN2     ((PIN_PB08B_ADC0_AIN2 << 16) | MUX_PB08B_ADC0_AIN2)
909 #define PORT_PB08B_ADC0_AIN2   (_UL_(1) <<  8)
910 #define PIN_PB09B_ADC0_AIN3            _L_(41) /**< \brief ADC0 signal: AIN3 on PB09 mux B */
911 #define MUX_PB09B_ADC0_AIN3             _L_(1)
912 #define PINMUX_PB09B_ADC0_AIN3     ((PIN_PB09B_ADC0_AIN3 << 16) | MUX_PB09B_ADC0_AIN3)
913 #define PORT_PB09B_ADC0_AIN3   (_UL_(1) <<  9)
914 #define PIN_PA04B_ADC0_AIN4             _L_(4) /**< \brief ADC0 signal: AIN4 on PA04 mux B */
915 #define MUX_PA04B_ADC0_AIN4             _L_(1)
916 #define PINMUX_PA04B_ADC0_AIN4     ((PIN_PA04B_ADC0_AIN4 << 16) | MUX_PA04B_ADC0_AIN4)
917 #define PORT_PA04B_ADC0_AIN4   (_UL_(1) <<  4)
918 #define PIN_PA05B_ADC0_AIN5             _L_(5) /**< \brief ADC0 signal: AIN5 on PA05 mux B */
919 #define MUX_PA05B_ADC0_AIN5             _L_(1)
920 #define PINMUX_PA05B_ADC0_AIN5     ((PIN_PA05B_ADC0_AIN5 << 16) | MUX_PA05B_ADC0_AIN5)
921 #define PORT_PA05B_ADC0_AIN5   (_UL_(1) <<  5)
922 #define PIN_PA06B_ADC0_AIN6             _L_(6) /**< \brief ADC0 signal: AIN6 on PA06 mux B */
923 #define MUX_PA06B_ADC0_AIN6             _L_(1)
924 #define PINMUX_PA06B_ADC0_AIN6     ((PIN_PA06B_ADC0_AIN6 << 16) | MUX_PA06B_ADC0_AIN6)
925 #define PORT_PA06B_ADC0_AIN6   (_UL_(1) <<  6)
926 #define PIN_PA07B_ADC0_AIN7             _L_(7) /**< \brief ADC0 signal: AIN7 on PA07 mux B */
927 #define MUX_PA07B_ADC0_AIN7             _L_(1)
928 #define PINMUX_PA07B_ADC0_AIN7     ((PIN_PA07B_ADC0_AIN7 << 16) | MUX_PA07B_ADC0_AIN7)
929 #define PORT_PA07B_ADC0_AIN7   (_UL_(1) <<  7)
930 #define PIN_PA08B_ADC0_AIN8             _L_(8) /**< \brief ADC0 signal: AIN8 on PA08 mux B */
931 #define MUX_PA08B_ADC0_AIN8             _L_(1)
932 #define PINMUX_PA08B_ADC0_AIN8     ((PIN_PA08B_ADC0_AIN8 << 16) | MUX_PA08B_ADC0_AIN8)
933 #define PORT_PA08B_ADC0_AIN8   (_UL_(1) <<  8)
934 #define PIN_PA09B_ADC0_AIN9             _L_(9) /**< \brief ADC0 signal: AIN9 on PA09 mux B */
935 #define MUX_PA09B_ADC0_AIN9             _L_(1)
936 #define PINMUX_PA09B_ADC0_AIN9     ((PIN_PA09B_ADC0_AIN9 << 16) | MUX_PA09B_ADC0_AIN9)
937 #define PORT_PA09B_ADC0_AIN9   (_UL_(1) <<  9)
938 #define PIN_PA10B_ADC0_AIN10           _L_(10) /**< \brief ADC0 signal: AIN10 on PA10 mux B */
939 #define MUX_PA10B_ADC0_AIN10            _L_(1)
940 #define PINMUX_PA10B_ADC0_AIN10    ((PIN_PA10B_ADC0_AIN10 << 16) | MUX_PA10B_ADC0_AIN10)
941 #define PORT_PA10B_ADC0_AIN10  (_UL_(1) << 10)
942 #define PIN_PA11B_ADC0_AIN11           _L_(11) /**< \brief ADC0 signal: AIN11 on PA11 mux B */
943 #define MUX_PA11B_ADC0_AIN11            _L_(1)
944 #define PINMUX_PA11B_ADC0_AIN11    ((PIN_PA11B_ADC0_AIN11 << 16) | MUX_PA11B_ADC0_AIN11)
945 #define PORT_PA11B_ADC0_AIN11  (_UL_(1) << 11)
946 #define PIN_PA03B_ADC0_VREFP            _L_(3) /**< \brief ADC0 signal: VREFP on PA03 mux B */
947 #define MUX_PA03B_ADC0_VREFP            _L_(1)
948 #define PINMUX_PA03B_ADC0_VREFP    ((PIN_PA03B_ADC0_VREFP << 16) | MUX_PA03B_ADC0_VREFP)
949 #define PORT_PA03B_ADC0_VREFP  (_UL_(1) <<  3)
950 /* ========== PORT definition for ADC1 peripheral ========== */
951 #define PIN_PB02B_ADC1_AIN2            _L_(34) /**< \brief ADC1 signal: AIN2 on PB02 mux B */
952 #define MUX_PB02B_ADC1_AIN2             _L_(1)
953 #define PINMUX_PB02B_ADC1_AIN2     ((PIN_PB02B_ADC1_AIN2 << 16) | MUX_PB02B_ADC1_AIN2)
954 #define PORT_PB02B_ADC1_AIN2   (_UL_(1) <<  2)
955 #define PIN_PB03B_ADC1_AIN3            _L_(35) /**< \brief ADC1 signal: AIN3 on PB03 mux B */
956 #define MUX_PB03B_ADC1_AIN3             _L_(1)
957 #define PINMUX_PB03B_ADC1_AIN3     ((PIN_PB03B_ADC1_AIN3 << 16) | MUX_PB03B_ADC1_AIN3)
958 #define PORT_PB03B_ADC1_AIN3   (_UL_(1) <<  3)
959 #define PIN_PB08B_ADC1_AIN4            _L_(40) /**< \brief ADC1 signal: AIN4 on PB08 mux B */
960 #define MUX_PB08B_ADC1_AIN4             _L_(1)
961 #define PINMUX_PB08B_ADC1_AIN4     ((PIN_PB08B_ADC1_AIN4 << 16) | MUX_PB08B_ADC1_AIN4)
962 #define PORT_PB08B_ADC1_AIN4   (_UL_(1) <<  8)
963 #define PIN_PB09B_ADC1_AIN5            _L_(41) /**< \brief ADC1 signal: AIN5 on PB09 mux B */
964 #define MUX_PB09B_ADC1_AIN5             _L_(1)
965 #define PINMUX_PB09B_ADC1_AIN5     ((PIN_PB09B_ADC1_AIN5 << 16) | MUX_PB09B_ADC1_AIN5)
966 #define PORT_PB09B_ADC1_AIN5   (_UL_(1) <<  9)
967 #define PIN_PA08B_ADC1_AIN10            _L_(8) /**< \brief ADC1 signal: AIN10 on PA08 mux B */
968 #define MUX_PA08B_ADC1_AIN10            _L_(1)
969 #define PINMUX_PA08B_ADC1_AIN10    ((PIN_PA08B_ADC1_AIN10 << 16) | MUX_PA08B_ADC1_AIN10)
970 #define PORT_PA08B_ADC1_AIN10  (_UL_(1) <<  8)
971 #define PIN_PA09B_ADC1_AIN11            _L_(9) /**< \brief ADC1 signal: AIN11 on PA09 mux B */
972 #define MUX_PA09B_ADC1_AIN11            _L_(1)
973 #define PINMUX_PA09B_ADC1_AIN11    ((PIN_PA09B_ADC1_AIN11 << 16) | MUX_PA09B_ADC1_AIN11)
974 #define PORT_PA09B_ADC1_AIN11  (_UL_(1) <<  9)
975 /* ========== PORT definition for SDADC peripheral ========== */
976 #define PIN_PA06B_SDADC_INN0            _L_(6) /**< \brief SDADC signal: INN0 on PA06 mux B */
977 #define MUX_PA06B_SDADC_INN0            _L_(1)
978 #define PINMUX_PA06B_SDADC_INN0    ((PIN_PA06B_SDADC_INN0 << 16) | MUX_PA06B_SDADC_INN0)
979 #define PORT_PA06B_SDADC_INN0  (_UL_(1) <<  6)
980 #define PIN_PB08B_SDADC_INN1           _L_(40) /**< \brief SDADC signal: INN1 on PB08 mux B */
981 #define MUX_PB08B_SDADC_INN1            _L_(1)
982 #define PINMUX_PB08B_SDADC_INN1    ((PIN_PB08B_SDADC_INN1 << 16) | MUX_PB08B_SDADC_INN1)
983 #define PORT_PB08B_SDADC_INN1  (_UL_(1) <<  8)
984 #define PIN_PA07B_SDADC_INP0            _L_(7) /**< \brief SDADC signal: INP0 on PA07 mux B */
985 #define MUX_PA07B_SDADC_INP0            _L_(1)
986 #define PINMUX_PA07B_SDADC_INP0    ((PIN_PA07B_SDADC_INP0 << 16) | MUX_PA07B_SDADC_INP0)
987 #define PORT_PA07B_SDADC_INP0  (_UL_(1) <<  7)
988 #define PIN_PB09B_SDADC_INP1           _L_(41) /**< \brief SDADC signal: INP1 on PB09 mux B */
989 #define MUX_PB09B_SDADC_INP1            _L_(1)
990 #define PINMUX_PB09B_SDADC_INP1    ((PIN_PB09B_SDADC_INP1 << 16) | MUX_PB09B_SDADC_INP1)
991 #define PORT_PB09B_SDADC_INP1  (_UL_(1) <<  9)
992 #define PIN_PA04B_SDADC_VREFP           _L_(4) /**< \brief SDADC signal: VREFP on PA04 mux B */
993 #define MUX_PA04B_SDADC_VREFP           _L_(1)
994 #define PINMUX_PA04B_SDADC_VREFP   ((PIN_PA04B_SDADC_VREFP << 16) | MUX_PA04B_SDADC_VREFP)
995 #define PORT_PA04B_SDADC_VREFP  (_UL_(1) <<  4)
996 /* ========== PORT definition for AC peripheral ========== */
997 #define PIN_PA04B_AC_AIN0               _L_(4) /**< \brief AC signal: AIN0 on PA04 mux B */
998 #define MUX_PA04B_AC_AIN0               _L_(1)
999 #define PINMUX_PA04B_AC_AIN0       ((PIN_PA04B_AC_AIN0 << 16) | MUX_PA04B_AC_AIN0)
1000 #define PORT_PA04B_AC_AIN0     (_UL_(1) <<  4)
1001 #define PIN_PA05B_AC_AIN1               _L_(5) /**< \brief AC signal: AIN1 on PA05 mux B */
1002 #define MUX_PA05B_AC_AIN1               _L_(1)
1003 #define PINMUX_PA05B_AC_AIN1       ((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1)
1004 #define PORT_PA05B_AC_AIN1     (_UL_(1) <<  5)
1005 #define PIN_PA06B_AC_AIN2               _L_(6) /**< \brief AC signal: AIN2 on PA06 mux B */
1006 #define MUX_PA06B_AC_AIN2               _L_(1)
1007 #define PINMUX_PA06B_AC_AIN2       ((PIN_PA06B_AC_AIN2 << 16) | MUX_PA06B_AC_AIN2)
1008 #define PORT_PA06B_AC_AIN2     (_UL_(1) <<  6)
1009 #define PIN_PA07B_AC_AIN3               _L_(7) /**< \brief AC signal: AIN3 on PA07 mux B */
1010 #define MUX_PA07B_AC_AIN3               _L_(1)
1011 #define PINMUX_PA07B_AC_AIN3       ((PIN_PA07B_AC_AIN3 << 16) | MUX_PA07B_AC_AIN3)
1012 #define PORT_PA07B_AC_AIN3     (_UL_(1) <<  7)
1013 #define PIN_PA02B_AC_AIN4               _L_(2) /**< \brief AC signal: AIN4 on PA02 mux B */
1014 #define MUX_PA02B_AC_AIN4               _L_(1)
1015 #define PINMUX_PA02B_AC_AIN4       ((PIN_PA02B_AC_AIN4 << 16) | MUX_PA02B_AC_AIN4)
1016 #define PORT_PA02B_AC_AIN4     (_UL_(1) <<  2)
1017 #define PIN_PA03B_AC_AIN5               _L_(3) /**< \brief AC signal: AIN5 on PA03 mux B */
1018 #define MUX_PA03B_AC_AIN5               _L_(1)
1019 #define PINMUX_PA03B_AC_AIN5       ((PIN_PA03B_AC_AIN5 << 16) | MUX_PA03B_AC_AIN5)
1020 #define PORT_PA03B_AC_AIN5     (_UL_(1) <<  3)
1021 #define PIN_PA12H_AC_CMP0              _L_(12) /**< \brief AC signal: CMP0 on PA12 mux H */
1022 #define MUX_PA12H_AC_CMP0               _L_(7)
1023 #define PINMUX_PA12H_AC_CMP0       ((PIN_PA12H_AC_CMP0 << 16) | MUX_PA12H_AC_CMP0)
1024 #define PORT_PA12H_AC_CMP0     (_UL_(1) << 12)
1025 #define PIN_PA18H_AC_CMP0              _L_(18) /**< \brief AC signal: CMP0 on PA18 mux H */
1026 #define MUX_PA18H_AC_CMP0               _L_(7)
1027 #define PINMUX_PA18H_AC_CMP0       ((PIN_PA18H_AC_CMP0 << 16) | MUX_PA18H_AC_CMP0)
1028 #define PORT_PA18H_AC_CMP0     (_UL_(1) << 18)
1029 #define PIN_PA13H_AC_CMP1              _L_(13) /**< \brief AC signal: CMP1 on PA13 mux H */
1030 #define MUX_PA13H_AC_CMP1               _L_(7)
1031 #define PINMUX_PA13H_AC_CMP1       ((PIN_PA13H_AC_CMP1 << 16) | MUX_PA13H_AC_CMP1)
1032 #define PORT_PA13H_AC_CMP1     (_UL_(1) << 13)
1033 #define PIN_PA19H_AC_CMP1              _L_(19) /**< \brief AC signal: CMP1 on PA19 mux H */
1034 #define MUX_PA19H_AC_CMP1               _L_(7)
1035 #define PINMUX_PA19H_AC_CMP1       ((PIN_PA19H_AC_CMP1 << 16) | MUX_PA19H_AC_CMP1)
1036 #define PORT_PA19H_AC_CMP1     (_UL_(1) << 19)
1037 #define PIN_PA00H_AC_CMP2               _L_(0) /**< \brief AC signal: CMP2 on PA00 mux H */
1038 #define MUX_PA00H_AC_CMP2               _L_(7)
1039 #define PINMUX_PA00H_AC_CMP2       ((PIN_PA00H_AC_CMP2 << 16) | MUX_PA00H_AC_CMP2)
1040 #define PORT_PA00H_AC_CMP2     (_UL_(1) <<  0)
1041 #define PIN_PA24H_AC_CMP2              _L_(24) /**< \brief AC signal: CMP2 on PA24 mux H */
1042 #define MUX_PA24H_AC_CMP2               _L_(7)
1043 #define PINMUX_PA24H_AC_CMP2       ((PIN_PA24H_AC_CMP2 << 16) | MUX_PA24H_AC_CMP2)
1044 #define PORT_PA24H_AC_CMP2     (_UL_(1) << 24)
1045 #define PIN_PA01H_AC_CMP3               _L_(1) /**< \brief AC signal: CMP3 on PA01 mux H */
1046 #define MUX_PA01H_AC_CMP3               _L_(7)
1047 #define PINMUX_PA01H_AC_CMP3       ((PIN_PA01H_AC_CMP3 << 16) | MUX_PA01H_AC_CMP3)
1048 #define PORT_PA01H_AC_CMP3     (_UL_(1) <<  1)
1049 #define PIN_PA25H_AC_CMP3              _L_(25) /**< \brief AC signal: CMP3 on PA25 mux H */
1050 #define MUX_PA25H_AC_CMP3               _L_(7)
1051 #define PINMUX_PA25H_AC_CMP3       ((PIN_PA25H_AC_CMP3 << 16) | MUX_PA25H_AC_CMP3)
1052 #define PORT_PA25H_AC_CMP3     (_UL_(1) << 25)
1053 /* ========== PORT definition for DAC peripheral ========== */
1054 #define PIN_PA02B_DAC_VOUT              _L_(2) /**< \brief DAC signal: VOUT on PA02 mux B */
1055 #define MUX_PA02B_DAC_VOUT              _L_(1)
1056 #define PINMUX_PA02B_DAC_VOUT      ((PIN_PA02B_DAC_VOUT << 16) | MUX_PA02B_DAC_VOUT)
1057 #define PORT_PA02B_DAC_VOUT    (_UL_(1) <<  2)
1058 #define PIN_PA03B_DAC_VREFP             _L_(3) /**< \brief DAC signal: VREFP on PA03 mux B */
1059 #define MUX_PA03B_DAC_VREFP             _L_(1)
1060 #define PINMUX_PA03B_DAC_VREFP     ((PIN_PA03B_DAC_VREFP << 16) | MUX_PA03B_DAC_VREFP)
1061 #define PORT_PA03B_DAC_VREFP   (_UL_(1) <<  3)
1062 /* ========== PORT definition for CCL peripheral ========== */
1063 #define PIN_PA04I_CCL_IN0               _L_(4) /**< \brief CCL signal: IN0 on PA04 mux I */
1064 #define MUX_PA04I_CCL_IN0               _L_(8)
1065 #define PINMUX_PA04I_CCL_IN0       ((PIN_PA04I_CCL_IN0 << 16) | MUX_PA04I_CCL_IN0)
1066 #define PORT_PA04I_CCL_IN0     (_UL_(1) <<  4)
1067 #define PIN_PA16I_CCL_IN0              _L_(16) /**< \brief CCL signal: IN0 on PA16 mux I */
1068 #define MUX_PA16I_CCL_IN0               _L_(8)
1069 #define PINMUX_PA16I_CCL_IN0       ((PIN_PA16I_CCL_IN0 << 16) | MUX_PA16I_CCL_IN0)
1070 #define PORT_PA16I_CCL_IN0     (_UL_(1) << 16)
1071 #define PIN_PB22I_CCL_IN0              _L_(54) /**< \brief CCL signal: IN0 on PB22 mux I */
1072 #define MUX_PB22I_CCL_IN0               _L_(8)
1073 #define PINMUX_PB22I_CCL_IN0       ((PIN_PB22I_CCL_IN0 << 16) | MUX_PB22I_CCL_IN0)
1074 #define PORT_PB22I_CCL_IN0     (_UL_(1) << 22)
1075 #define PIN_PA05I_CCL_IN1               _L_(5) /**< \brief CCL signal: IN1 on PA05 mux I */
1076 #define MUX_PA05I_CCL_IN1               _L_(8)
1077 #define PINMUX_PA05I_CCL_IN1       ((PIN_PA05I_CCL_IN1 << 16) | MUX_PA05I_CCL_IN1)
1078 #define PORT_PA05I_CCL_IN1     (_UL_(1) <<  5)
1079 #define PIN_PA17I_CCL_IN1              _L_(17) /**< \brief CCL signal: IN1 on PA17 mux I */
1080 #define MUX_PA17I_CCL_IN1               _L_(8)
1081 #define PINMUX_PA17I_CCL_IN1       ((PIN_PA17I_CCL_IN1 << 16) | MUX_PA17I_CCL_IN1)
1082 #define PORT_PA17I_CCL_IN1     (_UL_(1) << 17)
1083 #define PIN_PA06I_CCL_IN2               _L_(6) /**< \brief CCL signal: IN2 on PA06 mux I */
1084 #define MUX_PA06I_CCL_IN2               _L_(8)
1085 #define PINMUX_PA06I_CCL_IN2       ((PIN_PA06I_CCL_IN2 << 16) | MUX_PA06I_CCL_IN2)
1086 #define PORT_PA06I_CCL_IN2     (_UL_(1) <<  6)
1087 #define PIN_PA18I_CCL_IN2              _L_(18) /**< \brief CCL signal: IN2 on PA18 mux I */
1088 #define MUX_PA18I_CCL_IN2               _L_(8)
1089 #define PINMUX_PA18I_CCL_IN2       ((PIN_PA18I_CCL_IN2 << 16) | MUX_PA18I_CCL_IN2)
1090 #define PORT_PA18I_CCL_IN2     (_UL_(1) << 18)
1091 #define PIN_PA08I_CCL_IN3               _L_(8) /**< \brief CCL signal: IN3 on PA08 mux I */
1092 #define MUX_PA08I_CCL_IN3               _L_(8)
1093 #define PINMUX_PA08I_CCL_IN3       ((PIN_PA08I_CCL_IN3 << 16) | MUX_PA08I_CCL_IN3)
1094 #define PORT_PA08I_CCL_IN3     (_UL_(1) <<  8)
1095 #define PIN_PA30I_CCL_IN3              _L_(30) /**< \brief CCL signal: IN3 on PA30 mux I */
1096 #define MUX_PA30I_CCL_IN3               _L_(8)
1097 #define PINMUX_PA30I_CCL_IN3       ((PIN_PA30I_CCL_IN3 << 16) | MUX_PA30I_CCL_IN3)
1098 #define PORT_PA30I_CCL_IN3     (_UL_(1) << 30)
1099 #define PIN_PA09I_CCL_IN4               _L_(9) /**< \brief CCL signal: IN4 on PA09 mux I */
1100 #define MUX_PA09I_CCL_IN4               _L_(8)
1101 #define PINMUX_PA09I_CCL_IN4       ((PIN_PA09I_CCL_IN4 << 16) | MUX_PA09I_CCL_IN4)
1102 #define PORT_PA09I_CCL_IN4     (_UL_(1) <<  9)
1103 #define PIN_PA10I_CCL_IN5              _L_(10) /**< \brief CCL signal: IN5 on PA10 mux I */
1104 #define MUX_PA10I_CCL_IN5               _L_(8)
1105 #define PINMUX_PA10I_CCL_IN5       ((PIN_PA10I_CCL_IN5 << 16) | MUX_PA10I_CCL_IN5)
1106 #define PORT_PA10I_CCL_IN5     (_UL_(1) << 10)
1107 #define PIN_PB10I_CCL_IN5              _L_(42) /**< \brief CCL signal: IN5 on PB10 mux I */
1108 #define MUX_PB10I_CCL_IN5               _L_(8)
1109 #define PINMUX_PB10I_CCL_IN5       ((PIN_PB10I_CCL_IN5 << 16) | MUX_PB10I_CCL_IN5)
1110 #define PORT_PB10I_CCL_IN5     (_UL_(1) << 10)
1111 #define PIN_PA22I_CCL_IN6              _L_(22) /**< \brief CCL signal: IN6 on PA22 mux I */
1112 #define MUX_PA22I_CCL_IN6               _L_(8)
1113 #define PINMUX_PA22I_CCL_IN6       ((PIN_PA22I_CCL_IN6 << 16) | MUX_PA22I_CCL_IN6)
1114 #define PORT_PA22I_CCL_IN6     (_UL_(1) << 22)
1115 #define PIN_PA23I_CCL_IN7              _L_(23) /**< \brief CCL signal: IN7 on PA23 mux I */
1116 #define MUX_PA23I_CCL_IN7               _L_(8)
1117 #define PINMUX_PA23I_CCL_IN7       ((PIN_PA23I_CCL_IN7 << 16) | MUX_PA23I_CCL_IN7)
1118 #define PORT_PA23I_CCL_IN7     (_UL_(1) << 23)
1119 #define PIN_PA24I_CCL_IN8              _L_(24) /**< \brief CCL signal: IN8 on PA24 mux I */
1120 #define MUX_PA24I_CCL_IN8               _L_(8)
1121 #define PINMUX_PA24I_CCL_IN8       ((PIN_PA24I_CCL_IN8 << 16) | MUX_PA24I_CCL_IN8)
1122 #define PORT_PA24I_CCL_IN8     (_UL_(1) << 24)
1123 #define PIN_PB08I_CCL_IN8              _L_(40) /**< \brief CCL signal: IN8 on PB08 mux I */
1124 #define MUX_PB08I_CCL_IN8               _L_(8)
1125 #define PINMUX_PB08I_CCL_IN8       ((PIN_PB08I_CCL_IN8 << 16) | MUX_PB08I_CCL_IN8)
1126 #define PORT_PB08I_CCL_IN8     (_UL_(1) <<  8)
1127 #define PIN_PA07I_CCL_OUT0              _L_(7) /**< \brief CCL signal: OUT0 on PA07 mux I */
1128 #define MUX_PA07I_CCL_OUT0              _L_(8)
1129 #define PINMUX_PA07I_CCL_OUT0      ((PIN_PA07I_CCL_OUT0 << 16) | MUX_PA07I_CCL_OUT0)
1130 #define PORT_PA07I_CCL_OUT0    (_UL_(1) <<  7)
1131 #define PIN_PA19I_CCL_OUT0             _L_(19) /**< \brief CCL signal: OUT0 on PA19 mux I */
1132 #define MUX_PA19I_CCL_OUT0              _L_(8)
1133 #define PINMUX_PA19I_CCL_OUT0      ((PIN_PA19I_CCL_OUT0 << 16) | MUX_PA19I_CCL_OUT0)
1134 #define PORT_PA19I_CCL_OUT0    (_UL_(1) << 19)
1135 #define PIN_PB02I_CCL_OUT0             _L_(34) /**< \brief CCL signal: OUT0 on PB02 mux I */
1136 #define MUX_PB02I_CCL_OUT0              _L_(8)
1137 #define PINMUX_PB02I_CCL_OUT0      ((PIN_PB02I_CCL_OUT0 << 16) | MUX_PB02I_CCL_OUT0)
1138 #define PORT_PB02I_CCL_OUT0    (_UL_(1) <<  2)
1139 #define PIN_PB23I_CCL_OUT0             _L_(55) /**< \brief CCL signal: OUT0 on PB23 mux I */
1140 #define MUX_PB23I_CCL_OUT0              _L_(8)
1141 #define PINMUX_PB23I_CCL_OUT0      ((PIN_PB23I_CCL_OUT0 << 16) | MUX_PB23I_CCL_OUT0)
1142 #define PORT_PB23I_CCL_OUT0    (_UL_(1) << 23)
1143 #define PIN_PA11I_CCL_OUT1             _L_(11) /**< \brief CCL signal: OUT1 on PA11 mux I */
1144 #define MUX_PA11I_CCL_OUT1              _L_(8)
1145 #define PINMUX_PA11I_CCL_OUT1      ((PIN_PA11I_CCL_OUT1 << 16) | MUX_PA11I_CCL_OUT1)
1146 #define PORT_PA11I_CCL_OUT1    (_UL_(1) << 11)
1147 #define PIN_PA31I_CCL_OUT1             _L_(31) /**< \brief CCL signal: OUT1 on PA31 mux I */
1148 #define MUX_PA31I_CCL_OUT1              _L_(8)
1149 #define PINMUX_PA31I_CCL_OUT1      ((PIN_PA31I_CCL_OUT1 << 16) | MUX_PA31I_CCL_OUT1)
1150 #define PORT_PA31I_CCL_OUT1    (_UL_(1) << 31)
1151 #define PIN_PB11I_CCL_OUT1             _L_(43) /**< \brief CCL signal: OUT1 on PB11 mux I */
1152 #define MUX_PB11I_CCL_OUT1              _L_(8)
1153 #define PINMUX_PB11I_CCL_OUT1      ((PIN_PB11I_CCL_OUT1 << 16) | MUX_PB11I_CCL_OUT1)
1154 #define PORT_PB11I_CCL_OUT1    (_UL_(1) << 11)
1155 #define PIN_PA25I_CCL_OUT2             _L_(25) /**< \brief CCL signal: OUT2 on PA25 mux I */
1156 #define MUX_PA25I_CCL_OUT2              _L_(8)
1157 #define PINMUX_PA25I_CCL_OUT2      ((PIN_PA25I_CCL_OUT2 << 16) | MUX_PA25I_CCL_OUT2)
1158 #define PORT_PA25I_CCL_OUT2    (_UL_(1) << 25)
1159 #define PIN_PB09I_CCL_OUT2             _L_(41) /**< \brief CCL signal: OUT2 on PB09 mux I */
1160 #define MUX_PB09I_CCL_OUT2              _L_(8)
1161 #define PINMUX_PB09I_CCL_OUT2      ((PIN_PB09I_CCL_OUT2 << 16) | MUX_PB09I_CCL_OUT2)
1162 #define PORT_PB09I_CCL_OUT2    (_UL_(1) <<  9)
1163 
1164 #endif /* _SAMC21G17A_PIO_ */
1165