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