1 /**
2  * \file
3  *
4  * \brief Peripheral I/O description for SAMR34J17B
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 _SAMR34J17B_PIO_
31 #define _SAMR34J17B_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_PA04                            4  /**< \brief Pin Number for PA04 */
38 #define PORT_PA04              (_UL_(1) <<  4) /**< \brief PORT Mask  for PA04 */
39 #define PIN_PA05                            5  /**< \brief Pin Number for PA05 */
40 #define PORT_PA05              (_UL_(1) <<  5) /**< \brief PORT Mask  for PA05 */
41 #define PIN_PA06                            6  /**< \brief Pin Number for PA06 */
42 #define PORT_PA06              (_UL_(1) <<  6) /**< \brief PORT Mask  for PA06 */
43 #define PIN_PA07                            7  /**< \brief Pin Number for PA07 */
44 #define PORT_PA07              (_UL_(1) <<  7) /**< \brief PORT Mask  for PA07 */
45 #define PIN_PA08                            8  /**< \brief Pin Number for PA08 */
46 #define PORT_PA08              (_UL_(1) <<  8) /**< \brief PORT Mask  for PA08 */
47 #define PIN_PA09                            9  /**< \brief Pin Number for PA09 */
48 #define PORT_PA09              (_UL_(1) <<  9) /**< \brief PORT Mask  for PA09 */
49 #define PIN_PA10                           10  /**< \brief Pin Number for PA10 */
50 #define PORT_PA10              (_UL_(1) << 10) /**< \brief PORT Mask  for PA10 */
51 #define PIN_PA11                           11  /**< \brief Pin Number for PA11 */
52 #define PORT_PA11              (_UL_(1) << 11) /**< \brief PORT Mask  for PA11 */
53 #define PIN_PA12                           12  /**< \brief Pin Number for PA12 */
54 #define PORT_PA12              (_UL_(1) << 12) /**< \brief PORT Mask  for PA12 */
55 #define PIN_PA13                           13  /**< \brief Pin Number for PA13 */
56 #define PORT_PA13              (_UL_(1) << 13) /**< \brief PORT Mask  for PA13 */
57 #define PIN_PA14                           14  /**< \brief Pin Number for PA14 */
58 #define PORT_PA14              (_UL_(1) << 14) /**< \brief PORT Mask  for PA14 */
59 #define PIN_PA15                           15  /**< \brief Pin Number for PA15 */
60 #define PORT_PA15              (_UL_(1) << 15) /**< \brief PORT Mask  for PA15 */
61 #define PIN_PA16                           16  /**< \brief Pin Number for PA16 */
62 #define PORT_PA16              (_UL_(1) << 16) /**< \brief PORT Mask  for PA16 */
63 #define PIN_PA17                           17  /**< \brief Pin Number for PA17 */
64 #define PORT_PA17              (_UL_(1) << 17) /**< \brief PORT Mask  for PA17 */
65 #define PIN_PA18                           18  /**< \brief Pin Number for PA18 */
66 #define PORT_PA18              (_UL_(1) << 18) /**< \brief PORT Mask  for PA18 */
67 #define PIN_PA19                           19  /**< \brief Pin Number for PA19 */
68 #define PORT_PA19              (_UL_(1) << 19) /**< \brief PORT Mask  for PA19 */
69 #define PIN_PA22                           22  /**< \brief Pin Number for PA22 */
70 #define PORT_PA22              (_UL_(1) << 22) /**< \brief PORT Mask  for PA22 */
71 #define PIN_PA23                           23  /**< \brief Pin Number for PA23 */
72 #define PORT_PA23              (_UL_(1) << 23) /**< \brief PORT Mask  for PA23 */
73 #define PIN_PA24                           24  /**< \brief Pin Number for PA24 */
74 #define PORT_PA24              (_UL_(1) << 24) /**< \brief PORT Mask  for PA24 */
75 #define PIN_PA25                           25  /**< \brief Pin Number for PA25 */
76 #define PORT_PA25              (_UL_(1) << 25) /**< \brief PORT Mask  for PA25 */
77 #define PIN_PA27                           27  /**< \brief Pin Number for PA27 */
78 #define PORT_PA27              (_UL_(1) << 27) /**< \brief PORT Mask  for PA27 */
79 #define PIN_PA28                           28  /**< \brief Pin Number for PA28 */
80 #define PORT_PA28              (_UL_(1) << 28) /**< \brief PORT Mask  for PA28 */
81 #define PIN_PA30                           30  /**< \brief Pin Number for PA30 */
82 #define PORT_PA30              (_UL_(1) << 30) /**< \brief PORT Mask  for PA30 */
83 #define PIN_PA31                           31  /**< \brief Pin Number for PA31 */
84 #define PORT_PA31              (_UL_(1) << 31) /**< \brief PORT Mask  for PA31 */
85 #define PIN_PB00                           32  /**< \brief Pin Number for PB00 */
86 #define PORT_PB00              (_UL_(1) <<  0) /**< \brief PORT Mask  for PB00 */
87 #define PIN_PB02                           34  /**< \brief Pin Number for PB02 */
88 #define PORT_PB02              (_UL_(1) <<  2) /**< \brief PORT Mask  for PB02 */
89 #define PIN_PB03                           35  /**< \brief Pin Number for PB03 */
90 #define PORT_PB03              (_UL_(1) <<  3) /**< \brief PORT Mask  for PB03 */
91 #define PIN_PB15                           47  /**< \brief Pin Number for PB15 */
92 #define PORT_PB15              (_UL_(1) << 15) /**< \brief PORT Mask  for PB15 */
93 #define PIN_PB16                           48  /**< \brief Pin Number for PB16 */
94 #define PORT_PB16              (_UL_(1) << 16) /**< \brief PORT Mask  for PB16 */
95 #define PIN_PB17                           49  /**< \brief Pin Number for PB17 */
96 #define PORT_PB17              (_UL_(1) << 17) /**< \brief PORT Mask  for PB17 */
97 #define PIN_PB22                           54  /**< \brief Pin Number for PB22 */
98 #define PORT_PB22              (_UL_(1) << 22) /**< \brief PORT Mask  for PB22 */
99 #define PIN_PB23                           55  /**< \brief Pin Number for PB23 */
100 #define PORT_PB23              (_UL_(1) << 23) /**< \brief PORT Mask  for PB23 */
101 #define PIN_PB30                           62  /**< \brief Pin Number for PB30 */
102 #define PORT_PB30              (_UL_(1) << 30) /**< \brief PORT Mask  for PB30 */
103 #define PIN_PB31                           63  /**< \brief Pin Number for PB31 */
104 #define PORT_PB31              (_UL_(1) << 31) /**< \brief PORT Mask  for PB31 */
105 #define PIN_PC18                           82  /**< \brief Pin Number for PC18 */
106 #define PORT_PC18              (_UL_(1) << 18) /**< \brief PORT Mask  for PC18 */
107 #define PIN_PC19                           83  /**< \brief Pin Number for PC19 */
108 #define PORT_PC19              (_UL_(1) << 19) /**< \brief PORT Mask  for PC19 */
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_PA04A_RSTC_EXTWAKE4         _L_(4) /**< \brief RSTC signal: EXTWAKE4 on PA04 mux A */
119 #define MUX_PA04A_RSTC_EXTWAKE4         _L_(0)
120 #define PINMUX_PA04A_RSTC_EXTWAKE4  ((PIN_PA04A_RSTC_EXTWAKE4 << 16) | MUX_PA04A_RSTC_EXTWAKE4)
121 #define PORT_PA04A_RSTC_EXTWAKE4  (_UL_(1) <<  4)
122 #define PIN_PA05A_RSTC_EXTWAKE5         _L_(5) /**< \brief RSTC signal: EXTWAKE5 on PA05 mux A */
123 #define MUX_PA05A_RSTC_EXTWAKE5         _L_(0)
124 #define PINMUX_PA05A_RSTC_EXTWAKE5  ((PIN_PA05A_RSTC_EXTWAKE5 << 16) | MUX_PA05A_RSTC_EXTWAKE5)
125 #define PORT_PA05A_RSTC_EXTWAKE5  (_UL_(1) <<  5)
126 #define PIN_PA06A_RSTC_EXTWAKE6         _L_(6) /**< \brief RSTC signal: EXTWAKE6 on PA06 mux A */
127 #define MUX_PA06A_RSTC_EXTWAKE6         _L_(0)
128 #define PINMUX_PA06A_RSTC_EXTWAKE6  ((PIN_PA06A_RSTC_EXTWAKE6 << 16) | MUX_PA06A_RSTC_EXTWAKE6)
129 #define PORT_PA06A_RSTC_EXTWAKE6  (_UL_(1) <<  6)
130 #define PIN_PA07A_RSTC_EXTWAKE7         _L_(7) /**< \brief RSTC signal: EXTWAKE7 on PA07 mux A */
131 #define MUX_PA07A_RSTC_EXTWAKE7         _L_(0)
132 #define PINMUX_PA07A_RSTC_EXTWAKE7  ((PIN_PA07A_RSTC_EXTWAKE7 << 16) | MUX_PA07A_RSTC_EXTWAKE7)
133 #define PORT_PA07A_RSTC_EXTWAKE7  (_UL_(1) <<  7)
134 /* ========== PORT definition for SUPC peripheral ========== */
135 #define PIN_PB02H_SUPC_OUT1            _L_(34) /**< \brief SUPC signal: OUT1 on PB02 mux H */
136 #define MUX_PB02H_SUPC_OUT1             _L_(7)
137 #define PINMUX_PB02H_SUPC_OUT1     ((PIN_PB02H_SUPC_OUT1 << 16) | MUX_PB02H_SUPC_OUT1)
138 #define PORT_PB02H_SUPC_OUT1   (_UL_(1) <<  2)
139 #define PIN_PB00H_SUPC_PSOK            _L_(32) /**< \brief SUPC signal: PSOK on PB00 mux H */
140 #define MUX_PB00H_SUPC_PSOK             _L_(7)
141 #define PINMUX_PB00H_SUPC_PSOK     ((PIN_PB00H_SUPC_PSOK << 16) | MUX_PB00H_SUPC_PSOK)
142 #define PORT_PB00H_SUPC_PSOK   (_UL_(1) <<  0)
143 #define PIN_PB03H_SUPC_VBAT            _L_(35) /**< \brief SUPC signal: VBAT on PB03 mux H */
144 #define MUX_PB03H_SUPC_VBAT             _L_(7)
145 #define PINMUX_PB03H_SUPC_VBAT     ((PIN_PB03H_SUPC_VBAT << 16) | MUX_PB03H_SUPC_VBAT)
146 #define PORT_PB03H_SUPC_VBAT   (_UL_(1) <<  3)
147 /* ========== PORT definition for GCLK peripheral ========== */
148 #define PIN_PB22H_GCLK_IO0             _L_(54) /**< \brief GCLK signal: IO0 on PB22 mux H */
149 #define MUX_PB22H_GCLK_IO0              _L_(7)
150 #define PINMUX_PB22H_GCLK_IO0      ((PIN_PB22H_GCLK_IO0 << 16) | MUX_PB22H_GCLK_IO0)
151 #define PORT_PB22H_GCLK_IO0    (_UL_(1) << 22)
152 #define PIN_PA14H_GCLK_IO0             _L_(14) /**< \brief GCLK signal: IO0 on PA14 mux H */
153 #define MUX_PA14H_GCLK_IO0              _L_(7)
154 #define PINMUX_PA14H_GCLK_IO0      ((PIN_PA14H_GCLK_IO0 << 16) | MUX_PA14H_GCLK_IO0)
155 #define PORT_PA14H_GCLK_IO0    (_UL_(1) << 14)
156 #define PIN_PA27H_GCLK_IO0             _L_(27) /**< \brief GCLK signal: IO0 on PA27 mux H */
157 #define MUX_PA27H_GCLK_IO0              _L_(7)
158 #define PINMUX_PA27H_GCLK_IO0      ((PIN_PA27H_GCLK_IO0 << 16) | MUX_PA27H_GCLK_IO0)
159 #define PORT_PA27H_GCLK_IO0    (_UL_(1) << 27)
160 #define PIN_PA30H_GCLK_IO0             _L_(30) /**< \brief GCLK signal: IO0 on PA30 mux H */
161 #define MUX_PA30H_GCLK_IO0              _L_(7)
162 #define PINMUX_PA30H_GCLK_IO0      ((PIN_PA30H_GCLK_IO0 << 16) | MUX_PA30H_GCLK_IO0)
163 #define PORT_PA30H_GCLK_IO0    (_UL_(1) << 30)
164 #define PIN_PA28H_GCLK_IO0             _L_(28) /**< \brief GCLK signal: IO0 on PA28 mux H */
165 #define MUX_PA28H_GCLK_IO0              _L_(7)
166 #define PINMUX_PA28H_GCLK_IO0      ((PIN_PA28H_GCLK_IO0 << 16) | MUX_PA28H_GCLK_IO0)
167 #define PORT_PA28H_GCLK_IO0    (_UL_(1) << 28)
168 #define PIN_PB15H_GCLK_IO1             _L_(47) /**< \brief GCLK signal: IO1 on PB15 mux H */
169 #define MUX_PB15H_GCLK_IO1              _L_(7)
170 #define PINMUX_PB15H_GCLK_IO1      ((PIN_PB15H_GCLK_IO1 << 16) | MUX_PB15H_GCLK_IO1)
171 #define PORT_PB15H_GCLK_IO1    (_UL_(1) << 15)
172 #define PIN_PB23H_GCLK_IO1             _L_(55) /**< \brief GCLK signal: IO1 on PB23 mux H */
173 #define MUX_PB23H_GCLK_IO1              _L_(7)
174 #define PINMUX_PB23H_GCLK_IO1      ((PIN_PB23H_GCLK_IO1 << 16) | MUX_PB23H_GCLK_IO1)
175 #define PORT_PB23H_GCLK_IO1    (_UL_(1) << 23)
176 #define PIN_PA15H_GCLK_IO1             _L_(15) /**< \brief GCLK signal: IO1 on PA15 mux H */
177 #define MUX_PA15H_GCLK_IO1              _L_(7)
178 #define PINMUX_PA15H_GCLK_IO1      ((PIN_PA15H_GCLK_IO1 << 16) | MUX_PA15H_GCLK_IO1)
179 #define PORT_PA15H_GCLK_IO1    (_UL_(1) << 15)
180 #define PIN_PB16H_GCLK_IO2             _L_(48) /**< \brief GCLK signal: IO2 on PB16 mux H */
181 #define MUX_PB16H_GCLK_IO2              _L_(7)
182 #define PINMUX_PB16H_GCLK_IO2      ((PIN_PB16H_GCLK_IO2 << 16) | MUX_PB16H_GCLK_IO2)
183 #define PORT_PB16H_GCLK_IO2    (_UL_(1) << 16)
184 #define PIN_PA16H_GCLK_IO2             _L_(16) /**< \brief GCLK signal: IO2 on PA16 mux H */
185 #define MUX_PA16H_GCLK_IO2              _L_(7)
186 #define PINMUX_PA16H_GCLK_IO2      ((PIN_PA16H_GCLK_IO2 << 16) | MUX_PA16H_GCLK_IO2)
187 #define PORT_PA16H_GCLK_IO2    (_UL_(1) << 16)
188 #define PIN_PA17H_GCLK_IO3             _L_(17) /**< \brief GCLK signal: IO3 on PA17 mux H */
189 #define MUX_PA17H_GCLK_IO3              _L_(7)
190 #define PINMUX_PA17H_GCLK_IO3      ((PIN_PA17H_GCLK_IO3 << 16) | MUX_PA17H_GCLK_IO3)
191 #define PORT_PA17H_GCLK_IO3    (_UL_(1) << 17)
192 #define PIN_PB17H_GCLK_IO3             _L_(49) /**< \brief GCLK signal: IO3 on PB17 mux H */
193 #define MUX_PB17H_GCLK_IO3              _L_(7)
194 #define PINMUX_PB17H_GCLK_IO3      ((PIN_PB17H_GCLK_IO3 << 16) | MUX_PB17H_GCLK_IO3)
195 #define PORT_PB17H_GCLK_IO3    (_UL_(1) << 17)
196 #define PIN_PA10H_GCLK_IO4             _L_(10) /**< \brief GCLK signal: IO4 on PA10 mux H */
197 #define MUX_PA10H_GCLK_IO4              _L_(7)
198 #define PINMUX_PA10H_GCLK_IO4      ((PIN_PA10H_GCLK_IO4 << 16) | MUX_PA10H_GCLK_IO4)
199 #define PORT_PA10H_GCLK_IO4    (_UL_(1) << 10)
200 #define PIN_PA11H_GCLK_IO5             _L_(11) /**< \brief GCLK signal: IO5 on PA11 mux H */
201 #define MUX_PA11H_GCLK_IO5              _L_(7)
202 #define PINMUX_PA11H_GCLK_IO5      ((PIN_PA11H_GCLK_IO5 << 16) | MUX_PA11H_GCLK_IO5)
203 #define PORT_PA11H_GCLK_IO5    (_UL_(1) << 11)
204 #define PIN_PA22H_GCLK_IO6             _L_(22) /**< \brief GCLK signal: IO6 on PA22 mux H */
205 #define MUX_PA22H_GCLK_IO6              _L_(7)
206 #define PINMUX_PA22H_GCLK_IO6      ((PIN_PA22H_GCLK_IO6 << 16) | MUX_PA22H_GCLK_IO6)
207 #define PORT_PA22H_GCLK_IO6    (_UL_(1) << 22)
208 #define PIN_PA23H_GCLK_IO7             _L_(23) /**< \brief GCLK signal: IO7 on PA23 mux H */
209 #define MUX_PA23H_GCLK_IO7              _L_(7)
210 #define PINMUX_PA23H_GCLK_IO7      ((PIN_PA23H_GCLK_IO7 << 16) | MUX_PA23H_GCLK_IO7)
211 #define PORT_PA23H_GCLK_IO7    (_UL_(1) << 23)
212 /* ========== PORT definition for EIC peripheral ========== */
213 #define PIN_PA16A_EIC_EXTINT0          _L_(16) /**< \brief EIC signal: EXTINT0 on PA16 mux A */
214 #define MUX_PA16A_EIC_EXTINT0           _L_(0)
215 #define PINMUX_PA16A_EIC_EXTINT0   ((PIN_PA16A_EIC_EXTINT0 << 16) | MUX_PA16A_EIC_EXTINT0)
216 #define PORT_PA16A_EIC_EXTINT0  (_UL_(1) << 16)
217 #define PIN_PA16A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PA16 External Interrupt Line */
218 #define PIN_PB00A_EIC_EXTINT0          _L_(32) /**< \brief EIC signal: EXTINT0 on PB00 mux A */
219 #define MUX_PB00A_EIC_EXTINT0           _L_(0)
220 #define PINMUX_PB00A_EIC_EXTINT0   ((PIN_PB00A_EIC_EXTINT0 << 16) | MUX_PB00A_EIC_EXTINT0)
221 #define PORT_PB00A_EIC_EXTINT0  (_UL_(1) <<  0)
222 #define PIN_PB00A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PB00 External Interrupt Line */
223 #define PIN_PB16A_EIC_EXTINT0          _L_(48) /**< \brief EIC signal: EXTINT0 on PB16 mux A */
224 #define MUX_PB16A_EIC_EXTINT0           _L_(0)
225 #define PINMUX_PB16A_EIC_EXTINT0   ((PIN_PB16A_EIC_EXTINT0 << 16) | MUX_PB16A_EIC_EXTINT0)
226 #define PORT_PB16A_EIC_EXTINT0  (_UL_(1) << 16)
227 #define PIN_PB16A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PB16 External Interrupt Line */
228 #define PIN_PA00A_EIC_EXTINT0           _L_(0) /**< \brief EIC signal: EXTINT0 on PA00 mux A */
229 #define MUX_PA00A_EIC_EXTINT0           _L_(0)
230 #define PINMUX_PA00A_EIC_EXTINT0   ((PIN_PA00A_EIC_EXTINT0 << 16) | MUX_PA00A_EIC_EXTINT0)
231 #define PORT_PA00A_EIC_EXTINT0  (_UL_(1) <<  0)
232 #define PIN_PA00A_EIC_EXTINT_NUM        _L_(0) /**< \brief EIC signal: PIN_PA00 External Interrupt Line */
233 #define PIN_PA17A_EIC_EXTINT1          _L_(17) /**< \brief EIC signal: EXTINT1 on PA17 mux A */
234 #define MUX_PA17A_EIC_EXTINT1           _L_(0)
235 #define PINMUX_PA17A_EIC_EXTINT1   ((PIN_PA17A_EIC_EXTINT1 << 16) | MUX_PA17A_EIC_EXTINT1)
236 #define PORT_PA17A_EIC_EXTINT1  (_UL_(1) << 17)
237 #define PIN_PA17A_EIC_EXTINT_NUM        _L_(1) /**< \brief EIC signal: PIN_PA17 External Interrupt Line */
238 #define PIN_PB17A_EIC_EXTINT1          _L_(49) /**< \brief EIC signal: EXTINT1 on PB17 mux A */
239 #define MUX_PB17A_EIC_EXTINT1           _L_(0)
240 #define PINMUX_PB17A_EIC_EXTINT1   ((PIN_PB17A_EIC_EXTINT1 << 16) | MUX_PB17A_EIC_EXTINT1)
241 #define PORT_PB17A_EIC_EXTINT1  (_UL_(1) << 17)
242 #define PIN_PB17A_EIC_EXTINT_NUM        _L_(1) /**< \brief EIC signal: PIN_PB17 External Interrupt Line */
243 #define PIN_PA01A_EIC_EXTINT1           _L_(1) /**< \brief EIC signal: EXTINT1 on PA01 mux A */
244 #define MUX_PA01A_EIC_EXTINT1           _L_(0)
245 #define PINMUX_PA01A_EIC_EXTINT1   ((PIN_PA01A_EIC_EXTINT1 << 16) | MUX_PA01A_EIC_EXTINT1)
246 #define PORT_PA01A_EIC_EXTINT1  (_UL_(1) <<  1)
247 #define PIN_PA01A_EIC_EXTINT_NUM        _L_(1) /**< \brief EIC signal: PIN_PA01 External Interrupt Line */
248 #define PIN_PA18A_EIC_EXTINT2          _L_(18) /**< \brief EIC signal: EXTINT2 on PA18 mux A */
249 #define MUX_PA18A_EIC_EXTINT2           _L_(0)
250 #define PINMUX_PA18A_EIC_EXTINT2   ((PIN_PA18A_EIC_EXTINT2 << 16) | MUX_PA18A_EIC_EXTINT2)
251 #define PORT_PA18A_EIC_EXTINT2  (_UL_(1) << 18)
252 #define PIN_PA18A_EIC_EXTINT_NUM        _L_(2) /**< \brief EIC signal: PIN_PA18 External Interrupt Line */
253 #define PIN_PB02A_EIC_EXTINT2          _L_(34) /**< \brief EIC signal: EXTINT2 on PB02 mux A */
254 #define MUX_PB02A_EIC_EXTINT2           _L_(0)
255 #define PINMUX_PB02A_EIC_EXTINT2   ((PIN_PB02A_EIC_EXTINT2 << 16) | MUX_PB02A_EIC_EXTINT2)
256 #define PORT_PB02A_EIC_EXTINT2  (_UL_(1) <<  2)
257 #define PIN_PB02A_EIC_EXTINT_NUM        _L_(2) /**< \brief EIC signal: PIN_PB02 External Interrupt Line */
258 #define PIN_PA19A_EIC_EXTINT3          _L_(19) /**< \brief EIC signal: EXTINT3 on PA19 mux A */
259 #define MUX_PA19A_EIC_EXTINT3           _L_(0)
260 #define PINMUX_PA19A_EIC_EXTINT3   ((PIN_PA19A_EIC_EXTINT3 << 16) | MUX_PA19A_EIC_EXTINT3)
261 #define PORT_PA19A_EIC_EXTINT3  (_UL_(1) << 19)
262 #define PIN_PA19A_EIC_EXTINT_NUM        _L_(3) /**< \brief EIC signal: PIN_PA19 External Interrupt Line */
263 #define PIN_PB03A_EIC_EXTINT3          _L_(35) /**< \brief EIC signal: EXTINT3 on PB03 mux A */
264 #define MUX_PB03A_EIC_EXTINT3           _L_(0)
265 #define PINMUX_PB03A_EIC_EXTINT3   ((PIN_PB03A_EIC_EXTINT3 << 16) | MUX_PB03A_EIC_EXTINT3)
266 #define PORT_PB03A_EIC_EXTINT3  (_UL_(1) <<  3)
267 #define PIN_PB03A_EIC_EXTINT_NUM        _L_(3) /**< \brief EIC signal: PIN_PB03 External Interrupt Line */
268 #define PIN_PA04A_EIC_EXTINT4           _L_(4) /**< \brief EIC signal: EXTINT4 on PA04 mux A */
269 #define MUX_PA04A_EIC_EXTINT4           _L_(0)
270 #define PINMUX_PA04A_EIC_EXTINT4   ((PIN_PA04A_EIC_EXTINT4 << 16) | MUX_PA04A_EIC_EXTINT4)
271 #define PORT_PA04A_EIC_EXTINT4  (_UL_(1) <<  4)
272 #define PIN_PA04A_EIC_EXTINT_NUM        _L_(4) /**< \brief EIC signal: PIN_PA04 External Interrupt Line */
273 #define PIN_PA05A_EIC_EXTINT5           _L_(5) /**< \brief EIC signal: EXTINT5 on PA05 mux A */
274 #define MUX_PA05A_EIC_EXTINT5           _L_(0)
275 #define PINMUX_PA05A_EIC_EXTINT5   ((PIN_PA05A_EIC_EXTINT5 << 16) | MUX_PA05A_EIC_EXTINT5)
276 #define PORT_PA05A_EIC_EXTINT5  (_UL_(1) <<  5)
277 #define PIN_PA05A_EIC_EXTINT_NUM        _L_(5) /**< \brief EIC signal: PIN_PA05 External Interrupt Line */
278 #define PIN_PA06A_EIC_EXTINT6           _L_(6) /**< \brief EIC signal: EXTINT6 on PA06 mux A */
279 #define MUX_PA06A_EIC_EXTINT6           _L_(0)
280 #define PINMUX_PA06A_EIC_EXTINT6   ((PIN_PA06A_EIC_EXTINT6 << 16) | MUX_PA06A_EIC_EXTINT6)
281 #define PORT_PA06A_EIC_EXTINT6  (_UL_(1) <<  6)
282 #define PIN_PA06A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PA06 External Interrupt Line */
283 #define PIN_PA22A_EIC_EXTINT6          _L_(22) /**< \brief EIC signal: EXTINT6 on PA22 mux A */
284 #define MUX_PA22A_EIC_EXTINT6           _L_(0)
285 #define PINMUX_PA22A_EIC_EXTINT6   ((PIN_PA22A_EIC_EXTINT6 << 16) | MUX_PA22A_EIC_EXTINT6)
286 #define PORT_PA22A_EIC_EXTINT6  (_UL_(1) << 22)
287 #define PIN_PA22A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PA22 External Interrupt Line */
288 #define PIN_PB22A_EIC_EXTINT6          _L_(54) /**< \brief EIC signal: EXTINT6 on PB22 mux A */
289 #define MUX_PB22A_EIC_EXTINT6           _L_(0)
290 #define PINMUX_PB22A_EIC_EXTINT6   ((PIN_PB22A_EIC_EXTINT6 << 16) | MUX_PB22A_EIC_EXTINT6)
291 #define PORT_PB22A_EIC_EXTINT6  (_UL_(1) << 22)
292 #define PIN_PB22A_EIC_EXTINT_NUM        _L_(6) /**< \brief EIC signal: PIN_PB22 External Interrupt Line */
293 #define PIN_PA07A_EIC_EXTINT7           _L_(7) /**< \brief EIC signal: EXTINT7 on PA07 mux A */
294 #define MUX_PA07A_EIC_EXTINT7           _L_(0)
295 #define PINMUX_PA07A_EIC_EXTINT7   ((PIN_PA07A_EIC_EXTINT7 << 16) | MUX_PA07A_EIC_EXTINT7)
296 #define PORT_PA07A_EIC_EXTINT7  (_UL_(1) <<  7)
297 #define PIN_PA07A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PA07 External Interrupt Line */
298 #define PIN_PA23A_EIC_EXTINT7          _L_(23) /**< \brief EIC signal: EXTINT7 on PA23 mux A */
299 #define MUX_PA23A_EIC_EXTINT7           _L_(0)
300 #define PINMUX_PA23A_EIC_EXTINT7   ((PIN_PA23A_EIC_EXTINT7 << 16) | MUX_PA23A_EIC_EXTINT7)
301 #define PORT_PA23A_EIC_EXTINT7  (_UL_(1) << 23)
302 #define PIN_PA23A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PA23 External Interrupt Line */
303 #define PIN_PB23A_EIC_EXTINT7          _L_(55) /**< \brief EIC signal: EXTINT7 on PB23 mux A */
304 #define MUX_PB23A_EIC_EXTINT7           _L_(0)
305 #define PINMUX_PB23A_EIC_EXTINT7   ((PIN_PB23A_EIC_EXTINT7 << 16) | MUX_PB23A_EIC_EXTINT7)
306 #define PORT_PB23A_EIC_EXTINT7  (_UL_(1) << 23)
307 #define PIN_PB23A_EIC_EXTINT_NUM        _L_(7) /**< \brief EIC signal: PIN_PB23 External Interrupt Line */
308 #define PIN_PA28A_EIC_EXTINT8          _L_(28) /**< \brief EIC signal: EXTINT8 on PA28 mux A */
309 #define MUX_PA28A_EIC_EXTINT8           _L_(0)
310 #define PINMUX_PA28A_EIC_EXTINT8   ((PIN_PA28A_EIC_EXTINT8 << 16) | MUX_PA28A_EIC_EXTINT8)
311 #define PORT_PA28A_EIC_EXTINT8  (_UL_(1) << 28)
312 #define PIN_PA28A_EIC_EXTINT_NUM        _L_(8) /**< \brief EIC signal: PIN_PA28 External Interrupt Line */
313 #define PIN_PA09A_EIC_EXTINT9           _L_(9) /**< \brief EIC signal: EXTINT9 on PA09 mux A */
314 #define MUX_PA09A_EIC_EXTINT9           _L_(0)
315 #define PINMUX_PA09A_EIC_EXTINT9   ((PIN_PA09A_EIC_EXTINT9 << 16) | MUX_PA09A_EIC_EXTINT9)
316 #define PORT_PA09A_EIC_EXTINT9  (_UL_(1) <<  9)
317 #define PIN_PA09A_EIC_EXTINT_NUM        _L_(9) /**< \brief EIC signal: PIN_PA09 External Interrupt Line */
318 #define PIN_PA10A_EIC_EXTINT10         _L_(10) /**< \brief EIC signal: EXTINT10 on PA10 mux A */
319 #define MUX_PA10A_EIC_EXTINT10          _L_(0)
320 #define PINMUX_PA10A_EIC_EXTINT10  ((PIN_PA10A_EIC_EXTINT10 << 16) | MUX_PA10A_EIC_EXTINT10)
321 #define PORT_PA10A_EIC_EXTINT10  (_UL_(1) << 10)
322 #define PIN_PA10A_EIC_EXTINT_NUM       _L_(10) /**< \brief EIC signal: PIN_PA10 External Interrupt Line */
323 #define PIN_PA30A_EIC_EXTINT10         _L_(30) /**< \brief EIC signal: EXTINT10 on PA30 mux A */
324 #define MUX_PA30A_EIC_EXTINT10          _L_(0)
325 #define PINMUX_PA30A_EIC_EXTINT10  ((PIN_PA30A_EIC_EXTINT10 << 16) | MUX_PA30A_EIC_EXTINT10)
326 #define PORT_PA30A_EIC_EXTINT10  (_UL_(1) << 30)
327 #define PIN_PA30A_EIC_EXTINT_NUM       _L_(10) /**< \brief EIC signal: PIN_PA30 External Interrupt Line */
328 #define PIN_PA11A_EIC_EXTINT11         _L_(11) /**< \brief EIC signal: EXTINT11 on PA11 mux A */
329 #define MUX_PA11A_EIC_EXTINT11          _L_(0)
330 #define PINMUX_PA11A_EIC_EXTINT11  ((PIN_PA11A_EIC_EXTINT11 << 16) | MUX_PA11A_EIC_EXTINT11)
331 #define PORT_PA11A_EIC_EXTINT11  (_UL_(1) << 11)
332 #define PIN_PA11A_EIC_EXTINT_NUM       _L_(11) /**< \brief EIC signal: PIN_PA11 External Interrupt Line */
333 #define PIN_PA31A_EIC_EXTINT11         _L_(31) /**< \brief EIC signal: EXTINT11 on PA31 mux A */
334 #define MUX_PA31A_EIC_EXTINT11          _L_(0)
335 #define PINMUX_PA31A_EIC_EXTINT11  ((PIN_PA31A_EIC_EXTINT11 << 16) | MUX_PA31A_EIC_EXTINT11)
336 #define PORT_PA31A_EIC_EXTINT11  (_UL_(1) << 31)
337 #define PIN_PA31A_EIC_EXTINT_NUM       _L_(11) /**< \brief EIC signal: PIN_PA31 External Interrupt Line */
338 #define PIN_PA12A_EIC_EXTINT12         _L_(12) /**< \brief EIC signal: EXTINT12 on PA12 mux A */
339 #define MUX_PA12A_EIC_EXTINT12          _L_(0)
340 #define PINMUX_PA12A_EIC_EXTINT12  ((PIN_PA12A_EIC_EXTINT12 << 16) | MUX_PA12A_EIC_EXTINT12)
341 #define PORT_PA12A_EIC_EXTINT12  (_UL_(1) << 12)
342 #define PIN_PA12A_EIC_EXTINT_NUM       _L_(12) /**< \brief EIC signal: PIN_PA12 External Interrupt Line */
343 #define PIN_PA24A_EIC_EXTINT12         _L_(24) /**< \brief EIC signal: EXTINT12 on PA24 mux A */
344 #define MUX_PA24A_EIC_EXTINT12          _L_(0)
345 #define PINMUX_PA24A_EIC_EXTINT12  ((PIN_PA24A_EIC_EXTINT12 << 16) | MUX_PA24A_EIC_EXTINT12)
346 #define PORT_PA24A_EIC_EXTINT12  (_UL_(1) << 24)
347 #define PIN_PA24A_EIC_EXTINT_NUM       _L_(12) /**< \brief EIC signal: PIN_PA24 External Interrupt Line */
348 #define PIN_PA13A_EIC_EXTINT13         _L_(13) /**< \brief EIC signal: EXTINT13 on PA13 mux A */
349 #define MUX_PA13A_EIC_EXTINT13          _L_(0)
350 #define PINMUX_PA13A_EIC_EXTINT13  ((PIN_PA13A_EIC_EXTINT13 << 16) | MUX_PA13A_EIC_EXTINT13)
351 #define PORT_PA13A_EIC_EXTINT13  (_UL_(1) << 13)
352 #define PIN_PA13A_EIC_EXTINT_NUM       _L_(13) /**< \brief EIC signal: PIN_PA13 External Interrupt Line */
353 #define PIN_PA25A_EIC_EXTINT13         _L_(25) /**< \brief EIC signal: EXTINT13 on PA25 mux A */
354 #define MUX_PA25A_EIC_EXTINT13          _L_(0)
355 #define PINMUX_PA25A_EIC_EXTINT13  ((PIN_PA25A_EIC_EXTINT13 << 16) | MUX_PA25A_EIC_EXTINT13)
356 #define PORT_PA25A_EIC_EXTINT13  (_UL_(1) << 25)
357 #define PIN_PA25A_EIC_EXTINT_NUM       _L_(13) /**< \brief EIC signal: PIN_PA25 External Interrupt Line */
358 #define PIN_PB30A_EIC_EXTINT14         _L_(62) /**< \brief EIC signal: EXTINT14 on PB30 mux A */
359 #define MUX_PB30A_EIC_EXTINT14          _L_(0)
360 #define PINMUX_PB30A_EIC_EXTINT14  ((PIN_PB30A_EIC_EXTINT14 << 16) | MUX_PB30A_EIC_EXTINT14)
361 #define PORT_PB30A_EIC_EXTINT14  (_UL_(1) << 30)
362 #define PIN_PB30A_EIC_EXTINT_NUM       _L_(14) /**< \brief EIC signal: PIN_PB30 External Interrupt Line */
363 #define PIN_PA14A_EIC_EXTINT14         _L_(14) /**< \brief EIC signal: EXTINT14 on PA14 mux A */
364 #define MUX_PA14A_EIC_EXTINT14          _L_(0)
365 #define PINMUX_PA14A_EIC_EXTINT14  ((PIN_PA14A_EIC_EXTINT14 << 16) | MUX_PA14A_EIC_EXTINT14)
366 #define PORT_PA14A_EIC_EXTINT14  (_UL_(1) << 14)
367 #define PIN_PA14A_EIC_EXTINT_NUM       _L_(14) /**< \brief EIC signal: PIN_PA14 External Interrupt Line */
368 #define PIN_PA27A_EIC_EXTINT15         _L_(27) /**< \brief EIC signal: EXTINT15 on PA27 mux A */
369 #define MUX_PA27A_EIC_EXTINT15          _L_(0)
370 #define PINMUX_PA27A_EIC_EXTINT15  ((PIN_PA27A_EIC_EXTINT15 << 16) | MUX_PA27A_EIC_EXTINT15)
371 #define PORT_PA27A_EIC_EXTINT15  (_UL_(1) << 27)
372 #define PIN_PA27A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PA27 External Interrupt Line */
373 #define PIN_PB15A_EIC_EXTINT15         _L_(47) /**< \brief EIC signal: EXTINT15 on PB15 mux A */
374 #define MUX_PB15A_EIC_EXTINT15          _L_(0)
375 #define PINMUX_PB15A_EIC_EXTINT15  ((PIN_PB15A_EIC_EXTINT15 << 16) | MUX_PB15A_EIC_EXTINT15)
376 #define PORT_PB15A_EIC_EXTINT15  (_UL_(1) << 15)
377 #define PIN_PB15A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PB15 External Interrupt Line */
378 #define PIN_PB31A_EIC_EXTINT15         _L_(63) /**< \brief EIC signal: EXTINT15 on PB31 mux A */
379 #define MUX_PB31A_EIC_EXTINT15          _L_(0)
380 #define PINMUX_PB31A_EIC_EXTINT15  ((PIN_PB31A_EIC_EXTINT15 << 16) | MUX_PB31A_EIC_EXTINT15)
381 #define PORT_PB31A_EIC_EXTINT15  (_UL_(1) << 31)
382 #define PIN_PB31A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PB31 External Interrupt Line */
383 #define PIN_PA15A_EIC_EXTINT15         _L_(15) /**< \brief EIC signal: EXTINT15 on PA15 mux A */
384 #define MUX_PA15A_EIC_EXTINT15          _L_(0)
385 #define PINMUX_PA15A_EIC_EXTINT15  ((PIN_PA15A_EIC_EXTINT15 << 16) | MUX_PA15A_EIC_EXTINT15)
386 #define PORT_PA15A_EIC_EXTINT15  (_UL_(1) << 15)
387 #define PIN_PA15A_EIC_EXTINT_NUM       _L_(15) /**< \brief EIC signal: PIN_PA15 External Interrupt Line */
388 #define PIN_PA08A_EIC_NMI               _L_(8) /**< \brief EIC signal: NMI on PA08 mux A */
389 #define MUX_PA08A_EIC_NMI               _L_(0)
390 #define PINMUX_PA08A_EIC_NMI       ((PIN_PA08A_EIC_NMI << 16) | MUX_PA08A_EIC_NMI)
391 #define PORT_PA08A_EIC_NMI     (_UL_(1) <<  8)
392 /* ========== PORT definition for USB peripheral ========== */
393 #define PIN_PA24G_USB_DM               _L_(24) /**< \brief USB signal: DM on PA24 mux G */
394 #define MUX_PA24G_USB_DM                _L_(6)
395 #define PINMUX_PA24G_USB_DM        ((PIN_PA24G_USB_DM << 16) | MUX_PA24G_USB_DM)
396 #define PORT_PA24G_USB_DM      (_UL_(1) << 24)
397 #define PIN_PA25G_USB_DP               _L_(25) /**< \brief USB signal: DP on PA25 mux G */
398 #define MUX_PA25G_USB_DP                _L_(6)
399 #define PINMUX_PA25G_USB_DP        ((PIN_PA25G_USB_DP << 16) | MUX_PA25G_USB_DP)
400 #define PORT_PA25G_USB_DP      (_UL_(1) << 25)
401 #define PIN_PA23G_USB_SOF_1KHZ         _L_(23) /**< \brief USB signal: SOF_1KHZ on PA23 mux G */
402 #define MUX_PA23G_USB_SOF_1KHZ          _L_(6)
403 #define PINMUX_PA23G_USB_SOF_1KHZ  ((PIN_PA23G_USB_SOF_1KHZ << 16) | MUX_PA23G_USB_SOF_1KHZ)
404 #define PORT_PA23G_USB_SOF_1KHZ  (_UL_(1) << 23)
405 /* ========== PORT definition for SERCOM0 peripheral ========== */
406 #define PIN_PA04D_SERCOM0_PAD0          _L_(4) /**< \brief SERCOM0 signal: PAD0 on PA04 mux D */
407 #define MUX_PA04D_SERCOM0_PAD0          _L_(3)
408 #define PINMUX_PA04D_SERCOM0_PAD0  ((PIN_PA04D_SERCOM0_PAD0 << 16) | MUX_PA04D_SERCOM0_PAD0)
409 #define PORT_PA04D_SERCOM0_PAD0  (_UL_(1) <<  4)
410 #define PIN_PA08C_SERCOM0_PAD0          _L_(8) /**< \brief SERCOM0 signal: PAD0 on PA08 mux C */
411 #define MUX_PA08C_SERCOM0_PAD0          _L_(2)
412 #define PINMUX_PA08C_SERCOM0_PAD0  ((PIN_PA08C_SERCOM0_PAD0 << 16) | MUX_PA08C_SERCOM0_PAD0)
413 #define PORT_PA08C_SERCOM0_PAD0  (_UL_(1) <<  8)
414 #define PIN_PA05D_SERCOM0_PAD1          _L_(5) /**< \brief SERCOM0 signal: PAD1 on PA05 mux D */
415 #define MUX_PA05D_SERCOM0_PAD1          _L_(3)
416 #define PINMUX_PA05D_SERCOM0_PAD1  ((PIN_PA05D_SERCOM0_PAD1 << 16) | MUX_PA05D_SERCOM0_PAD1)
417 #define PORT_PA05D_SERCOM0_PAD1  (_UL_(1) <<  5)
418 #define PIN_PA09C_SERCOM0_PAD1          _L_(9) /**< \brief SERCOM0 signal: PAD1 on PA09 mux C */
419 #define MUX_PA09C_SERCOM0_PAD1          _L_(2)
420 #define PINMUX_PA09C_SERCOM0_PAD1  ((PIN_PA09C_SERCOM0_PAD1 << 16) | MUX_PA09C_SERCOM0_PAD1)
421 #define PORT_PA09C_SERCOM0_PAD1  (_UL_(1) <<  9)
422 #define PIN_PA06D_SERCOM0_PAD2          _L_(6) /**< \brief SERCOM0 signal: PAD2 on PA06 mux D */
423 #define MUX_PA06D_SERCOM0_PAD2          _L_(3)
424 #define PINMUX_PA06D_SERCOM0_PAD2  ((PIN_PA06D_SERCOM0_PAD2 << 16) | MUX_PA06D_SERCOM0_PAD2)
425 #define PORT_PA06D_SERCOM0_PAD2  (_UL_(1) <<  6)
426 #define PIN_PA10C_SERCOM0_PAD2         _L_(10) /**< \brief SERCOM0 signal: PAD2 on PA10 mux C */
427 #define MUX_PA10C_SERCOM0_PAD2          _L_(2)
428 #define PINMUX_PA10C_SERCOM0_PAD2  ((PIN_PA10C_SERCOM0_PAD2 << 16) | MUX_PA10C_SERCOM0_PAD2)
429 #define PORT_PA10C_SERCOM0_PAD2  (_UL_(1) << 10)
430 #define PIN_PA07D_SERCOM0_PAD3          _L_(7) /**< \brief SERCOM0 signal: PAD3 on PA07 mux D */
431 #define MUX_PA07D_SERCOM0_PAD3          _L_(3)
432 #define PINMUX_PA07D_SERCOM0_PAD3  ((PIN_PA07D_SERCOM0_PAD3 << 16) | MUX_PA07D_SERCOM0_PAD3)
433 #define PORT_PA07D_SERCOM0_PAD3  (_UL_(1) <<  7)
434 #define PIN_PA11C_SERCOM0_PAD3         _L_(11) /**< \brief SERCOM0 signal: PAD3 on PA11 mux C */
435 #define MUX_PA11C_SERCOM0_PAD3          _L_(2)
436 #define PINMUX_PA11C_SERCOM0_PAD3  ((PIN_PA11C_SERCOM0_PAD3 << 16) | MUX_PA11C_SERCOM0_PAD3)
437 #define PORT_PA11C_SERCOM0_PAD3  (_UL_(1) << 11)
438 /* ========== PORT definition for SERCOM1 peripheral ========== */
439 #define PIN_PA16C_SERCOM1_PAD0         _L_(16) /**< \brief SERCOM1 signal: PAD0 on PA16 mux C */
440 #define MUX_PA16C_SERCOM1_PAD0          _L_(2)
441 #define PINMUX_PA16C_SERCOM1_PAD0  ((PIN_PA16C_SERCOM1_PAD0 << 16) | MUX_PA16C_SERCOM1_PAD0)
442 #define PORT_PA16C_SERCOM1_PAD0  (_UL_(1) << 16)
443 #define PIN_PA00D_SERCOM1_PAD0          _L_(0) /**< \brief SERCOM1 signal: PAD0 on PA00 mux D */
444 #define MUX_PA00D_SERCOM1_PAD0          _L_(3)
445 #define PINMUX_PA00D_SERCOM1_PAD0  ((PIN_PA00D_SERCOM1_PAD0 << 16) | MUX_PA00D_SERCOM1_PAD0)
446 #define PORT_PA00D_SERCOM1_PAD0  (_UL_(1) <<  0)
447 #define PIN_PA17C_SERCOM1_PAD1         _L_(17) /**< \brief SERCOM1 signal: PAD1 on PA17 mux C */
448 #define MUX_PA17C_SERCOM1_PAD1          _L_(2)
449 #define PINMUX_PA17C_SERCOM1_PAD1  ((PIN_PA17C_SERCOM1_PAD1 << 16) | MUX_PA17C_SERCOM1_PAD1)
450 #define PORT_PA17C_SERCOM1_PAD1  (_UL_(1) << 17)
451 #define PIN_PA01D_SERCOM1_PAD1          _L_(1) /**< \brief SERCOM1 signal: PAD1 on PA01 mux D */
452 #define MUX_PA01D_SERCOM1_PAD1          _L_(3)
453 #define PINMUX_PA01D_SERCOM1_PAD1  ((PIN_PA01D_SERCOM1_PAD1 << 16) | MUX_PA01D_SERCOM1_PAD1)
454 #define PORT_PA01D_SERCOM1_PAD1  (_UL_(1) <<  1)
455 #define PIN_PA30D_SERCOM1_PAD2         _L_(30) /**< \brief SERCOM1 signal: PAD2 on PA30 mux D */
456 #define MUX_PA30D_SERCOM1_PAD2          _L_(3)
457 #define PINMUX_PA30D_SERCOM1_PAD2  ((PIN_PA30D_SERCOM1_PAD2 << 16) | MUX_PA30D_SERCOM1_PAD2)
458 #define PORT_PA30D_SERCOM1_PAD2  (_UL_(1) << 30)
459 #define PIN_PA18C_SERCOM1_PAD2         _L_(18) /**< \brief SERCOM1 signal: PAD2 on PA18 mux C */
460 #define MUX_PA18C_SERCOM1_PAD2          _L_(2)
461 #define PINMUX_PA18C_SERCOM1_PAD2  ((PIN_PA18C_SERCOM1_PAD2 << 16) | MUX_PA18C_SERCOM1_PAD2)
462 #define PORT_PA18C_SERCOM1_PAD2  (_UL_(1) << 18)
463 #define PIN_PA31D_SERCOM1_PAD3         _L_(31) /**< \brief SERCOM1 signal: PAD3 on PA31 mux D */
464 #define MUX_PA31D_SERCOM1_PAD3          _L_(3)
465 #define PINMUX_PA31D_SERCOM1_PAD3  ((PIN_PA31D_SERCOM1_PAD3 << 16) | MUX_PA31D_SERCOM1_PAD3)
466 #define PORT_PA31D_SERCOM1_PAD3  (_UL_(1) << 31)
467 #define PIN_PA19C_SERCOM1_PAD3         _L_(19) /**< \brief SERCOM1 signal: PAD3 on PA19 mux C */
468 #define MUX_PA19C_SERCOM1_PAD3          _L_(2)
469 #define PINMUX_PA19C_SERCOM1_PAD3  ((PIN_PA19C_SERCOM1_PAD3 << 16) | MUX_PA19C_SERCOM1_PAD3)
470 #define PORT_PA19C_SERCOM1_PAD3  (_UL_(1) << 19)
471 /* ========== PORT definition for SERCOM2 peripheral ========== */
472 #define PIN_PA08D_SERCOM2_PAD0          _L_(8) /**< \brief SERCOM2 signal: PAD0 on PA08 mux D */
473 #define MUX_PA08D_SERCOM2_PAD0          _L_(3)
474 #define PINMUX_PA08D_SERCOM2_PAD0  ((PIN_PA08D_SERCOM2_PAD0 << 16) | MUX_PA08D_SERCOM2_PAD0)
475 #define PORT_PA08D_SERCOM2_PAD0  (_UL_(1) <<  8)
476 #define PIN_PA12C_SERCOM2_PAD0         _L_(12) /**< \brief SERCOM2 signal: PAD0 on PA12 mux C */
477 #define MUX_PA12C_SERCOM2_PAD0          _L_(2)
478 #define PINMUX_PA12C_SERCOM2_PAD0  ((PIN_PA12C_SERCOM2_PAD0 << 16) | MUX_PA12C_SERCOM2_PAD0)
479 #define PORT_PA12C_SERCOM2_PAD0  (_UL_(1) << 12)
480 #define PIN_PA09D_SERCOM2_PAD1          _L_(9) /**< \brief SERCOM2 signal: PAD1 on PA09 mux D */
481 #define MUX_PA09D_SERCOM2_PAD1          _L_(3)
482 #define PINMUX_PA09D_SERCOM2_PAD1  ((PIN_PA09D_SERCOM2_PAD1 << 16) | MUX_PA09D_SERCOM2_PAD1)
483 #define PORT_PA09D_SERCOM2_PAD1  (_UL_(1) <<  9)
484 #define PIN_PA13C_SERCOM2_PAD1         _L_(13) /**< \brief SERCOM2 signal: PAD1 on PA13 mux C */
485 #define MUX_PA13C_SERCOM2_PAD1          _L_(2)
486 #define PINMUX_PA13C_SERCOM2_PAD1  ((PIN_PA13C_SERCOM2_PAD1 << 16) | MUX_PA13C_SERCOM2_PAD1)
487 #define PORT_PA13C_SERCOM2_PAD1  (_UL_(1) << 13)
488 #define PIN_PA10D_SERCOM2_PAD2         _L_(10) /**< \brief SERCOM2 signal: PAD2 on PA10 mux D */
489 #define MUX_PA10D_SERCOM2_PAD2          _L_(3)
490 #define PINMUX_PA10D_SERCOM2_PAD2  ((PIN_PA10D_SERCOM2_PAD2 << 16) | MUX_PA10D_SERCOM2_PAD2)
491 #define PORT_PA10D_SERCOM2_PAD2  (_UL_(1) << 10)
492 #define PIN_PA14C_SERCOM2_PAD2         _L_(14) /**< \brief SERCOM2 signal: PAD2 on PA14 mux C */
493 #define MUX_PA14C_SERCOM2_PAD2          _L_(2)
494 #define PINMUX_PA14C_SERCOM2_PAD2  ((PIN_PA14C_SERCOM2_PAD2 << 16) | MUX_PA14C_SERCOM2_PAD2)
495 #define PORT_PA14C_SERCOM2_PAD2  (_UL_(1) << 14)
496 #define PIN_PA11D_SERCOM2_PAD3         _L_(11) /**< \brief SERCOM2 signal: PAD3 on PA11 mux D */
497 #define MUX_PA11D_SERCOM2_PAD3          _L_(3)
498 #define PINMUX_PA11D_SERCOM2_PAD3  ((PIN_PA11D_SERCOM2_PAD3 << 16) | MUX_PA11D_SERCOM2_PAD3)
499 #define PORT_PA11D_SERCOM2_PAD3  (_UL_(1) << 11)
500 #define PIN_PA15C_SERCOM2_PAD3         _L_(15) /**< \brief SERCOM2 signal: PAD3 on PA15 mux C */
501 #define MUX_PA15C_SERCOM2_PAD3          _L_(2)
502 #define PINMUX_PA15C_SERCOM2_PAD3  ((PIN_PA15C_SERCOM2_PAD3 << 16) | MUX_PA15C_SERCOM2_PAD3)
503 #define PORT_PA15C_SERCOM2_PAD3  (_UL_(1) << 15)
504 /* ========== PORT definition for SERCOM3 peripheral ========== */
505 #define PIN_PA16D_SERCOM3_PAD0         _L_(16) /**< \brief SERCOM3 signal: PAD0 on PA16 mux D */
506 #define MUX_PA16D_SERCOM3_PAD0          _L_(3)
507 #define PINMUX_PA16D_SERCOM3_PAD0  ((PIN_PA16D_SERCOM3_PAD0 << 16) | MUX_PA16D_SERCOM3_PAD0)
508 #define PORT_PA16D_SERCOM3_PAD0  (_UL_(1) << 16)
509 #define PIN_PA22C_SERCOM3_PAD0         _L_(22) /**< \brief SERCOM3 signal: PAD0 on PA22 mux C */
510 #define MUX_PA22C_SERCOM3_PAD0          _L_(2)
511 #define PINMUX_PA22C_SERCOM3_PAD0  ((PIN_PA22C_SERCOM3_PAD0 << 16) | MUX_PA22C_SERCOM3_PAD0)
512 #define PORT_PA22C_SERCOM3_PAD0  (_UL_(1) << 22)
513 #define PIN_PA17D_SERCOM3_PAD1         _L_(17) /**< \brief SERCOM3 signal: PAD1 on PA17 mux D */
514 #define MUX_PA17D_SERCOM3_PAD1          _L_(3)
515 #define PINMUX_PA17D_SERCOM3_PAD1  ((PIN_PA17D_SERCOM3_PAD1 << 16) | MUX_PA17D_SERCOM3_PAD1)
516 #define PORT_PA17D_SERCOM3_PAD1  (_UL_(1) << 17)
517 #define PIN_PA23C_SERCOM3_PAD1         _L_(23) /**< \brief SERCOM3 signal: PAD1 on PA23 mux C */
518 #define MUX_PA23C_SERCOM3_PAD1          _L_(2)
519 #define PINMUX_PA23C_SERCOM3_PAD1  ((PIN_PA23C_SERCOM3_PAD1 << 16) | MUX_PA23C_SERCOM3_PAD1)
520 #define PORT_PA23C_SERCOM3_PAD1  (_UL_(1) << 23)
521 #define PIN_PA18D_SERCOM3_PAD2         _L_(18) /**< \brief SERCOM3 signal: PAD2 on PA18 mux D */
522 #define MUX_PA18D_SERCOM3_PAD2          _L_(3)
523 #define PINMUX_PA18D_SERCOM3_PAD2  ((PIN_PA18D_SERCOM3_PAD2 << 16) | MUX_PA18D_SERCOM3_PAD2)
524 #define PORT_PA18D_SERCOM3_PAD2  (_UL_(1) << 18)
525 #define PIN_PA24C_SERCOM3_PAD2         _L_(24) /**< \brief SERCOM3 signal: PAD2 on PA24 mux C */
526 #define MUX_PA24C_SERCOM3_PAD2          _L_(2)
527 #define PINMUX_PA24C_SERCOM3_PAD2  ((PIN_PA24C_SERCOM3_PAD2 << 16) | MUX_PA24C_SERCOM3_PAD2)
528 #define PORT_PA24C_SERCOM3_PAD2  (_UL_(1) << 24)
529 #define PIN_PA19D_SERCOM3_PAD3         _L_(19) /**< \brief SERCOM3 signal: PAD3 on PA19 mux D */
530 #define MUX_PA19D_SERCOM3_PAD3          _L_(3)
531 #define PINMUX_PA19D_SERCOM3_PAD3  ((PIN_PA19D_SERCOM3_PAD3 << 16) | MUX_PA19D_SERCOM3_PAD3)
532 #define PORT_PA19D_SERCOM3_PAD3  (_UL_(1) << 19)
533 #define PIN_PA25C_SERCOM3_PAD3         _L_(25) /**< \brief SERCOM3 signal: PAD3 on PA25 mux C */
534 #define MUX_PA25C_SERCOM3_PAD3          _L_(2)
535 #define PINMUX_PA25C_SERCOM3_PAD3  ((PIN_PA25C_SERCOM3_PAD3 << 16) | MUX_PA25C_SERCOM3_PAD3)
536 #define PORT_PA25C_SERCOM3_PAD3  (_UL_(1) << 25)
537 /* ========== PORT definition for SERCOM4 peripheral ========== */
538 #define PIN_PA12D_SERCOM4_PAD0         _L_(12) /**< \brief SERCOM4 signal: PAD0 on PA12 mux D */
539 #define MUX_PA12D_SERCOM4_PAD0          _L_(3)
540 #define PINMUX_PA12D_SERCOM4_PAD0  ((PIN_PA12D_SERCOM4_PAD0 << 16) | MUX_PA12D_SERCOM4_PAD0)
541 #define PORT_PA12D_SERCOM4_PAD0  (_UL_(1) << 12)
542 #define PIN_PA13D_SERCOM4_PAD1         _L_(13) /**< \brief SERCOM4 signal: PAD1 on PA13 mux D */
543 #define MUX_PA13D_SERCOM4_PAD1          _L_(3)
544 #define PINMUX_PA13D_SERCOM4_PAD1  ((PIN_PA13D_SERCOM4_PAD1 << 16) | MUX_PA13D_SERCOM4_PAD1)
545 #define PORT_PA13D_SERCOM4_PAD1  (_UL_(1) << 13)
546 #define PIN_PA14D_SERCOM4_PAD2         _L_(14) /**< \brief SERCOM4 signal: PAD2 on PA14 mux D */
547 #define MUX_PA14D_SERCOM4_PAD2          _L_(3)
548 #define PINMUX_PA14D_SERCOM4_PAD2  ((PIN_PA14D_SERCOM4_PAD2 << 16) | MUX_PA14D_SERCOM4_PAD2)
549 #define PORT_PA14D_SERCOM4_PAD2  (_UL_(1) << 14)
550 #define PIN_PA15D_SERCOM4_PAD3         _L_(15) /**< \brief SERCOM4 signal: PAD3 on PA15 mux D */
551 #define MUX_PA15D_SERCOM4_PAD3          _L_(3)
552 #define PINMUX_PA15D_SERCOM4_PAD3  ((PIN_PA15D_SERCOM4_PAD3 << 16) | MUX_PA15D_SERCOM4_PAD3)
553 #define PORT_PA15D_SERCOM4_PAD3  (_UL_(1) << 15)
554 #define PIN_PB15C_SERCOM4_PAD3         _L_(47) /**< \brief SERCOM4 signal: PAD3 on PB15 mux C */
555 #define MUX_PB15C_SERCOM4_PAD3          _L_(2)
556 #define PINMUX_PB15C_SERCOM4_PAD3  ((PIN_PB15C_SERCOM4_PAD3 << 16) | MUX_PB15C_SERCOM4_PAD3)
557 #define PORT_PB15C_SERCOM4_PAD3  (_UL_(1) << 15)
558 /* ========== PORT definition for TCC0 peripheral ========== */
559 #define PIN_PA04E_TCC0_WO0              _L_(4) /**< \brief TCC0 signal: WO0 on PA04 mux E */
560 #define MUX_PA04E_TCC0_WO0              _L_(4)
561 #define PINMUX_PA04E_TCC0_WO0      ((PIN_PA04E_TCC0_WO0 << 16) | MUX_PA04E_TCC0_WO0)
562 #define PORT_PA04E_TCC0_WO0    (_UL_(1) <<  4)
563 #define PIN_PA08E_TCC0_WO0              _L_(8) /**< \brief TCC0 signal: WO0 on PA08 mux E */
564 #define MUX_PA08E_TCC0_WO0              _L_(4)
565 #define PINMUX_PA08E_TCC0_WO0      ((PIN_PA08E_TCC0_WO0 << 16) | MUX_PA08E_TCC0_WO0)
566 #define PORT_PA08E_TCC0_WO0    (_UL_(1) <<  8)
567 #define PIN_PB30E_TCC0_WO0             _L_(62) /**< \brief TCC0 signal: WO0 on PB30 mux E */
568 #define MUX_PB30E_TCC0_WO0              _L_(4)
569 #define PINMUX_PB30E_TCC0_WO0      ((PIN_PB30E_TCC0_WO0 << 16) | MUX_PB30E_TCC0_WO0)
570 #define PORT_PB30E_TCC0_WO0    (_UL_(1) << 30)
571 #define PIN_PA05E_TCC0_WO1              _L_(5) /**< \brief TCC0 signal: WO1 on PA05 mux E */
572 #define MUX_PA05E_TCC0_WO1              _L_(4)
573 #define PINMUX_PA05E_TCC0_WO1      ((PIN_PA05E_TCC0_WO1 << 16) | MUX_PA05E_TCC0_WO1)
574 #define PORT_PA05E_TCC0_WO1    (_UL_(1) <<  5)
575 #define PIN_PA09E_TCC0_WO1              _L_(9) /**< \brief TCC0 signal: WO1 on PA09 mux E */
576 #define MUX_PA09E_TCC0_WO1              _L_(4)
577 #define PINMUX_PA09E_TCC0_WO1      ((PIN_PA09E_TCC0_WO1 << 16) | MUX_PA09E_TCC0_WO1)
578 #define PORT_PA09E_TCC0_WO1    (_UL_(1) <<  9)
579 #define PIN_PB31E_TCC0_WO1             _L_(63) /**< \brief TCC0 signal: WO1 on PB31 mux E */
580 #define MUX_PB31E_TCC0_WO1              _L_(4)
581 #define PINMUX_PB31E_TCC0_WO1      ((PIN_PB31E_TCC0_WO1 << 16) | MUX_PB31E_TCC0_WO1)
582 #define PORT_PB31E_TCC0_WO1    (_UL_(1) << 31)
583 #define PIN_PA10F_TCC0_WO2             _L_(10) /**< \brief TCC0 signal: WO2 on PA10 mux F */
584 #define MUX_PA10F_TCC0_WO2              _L_(5)
585 #define PINMUX_PA10F_TCC0_WO2      ((PIN_PA10F_TCC0_WO2 << 16) | MUX_PA10F_TCC0_WO2)
586 #define PORT_PA10F_TCC0_WO2    (_UL_(1) << 10)
587 #define PIN_PA18F_TCC0_WO2             _L_(18) /**< \brief TCC0 signal: WO2 on PA18 mux F */
588 #define MUX_PA18F_TCC0_WO2              _L_(5)
589 #define PINMUX_PA18F_TCC0_WO2      ((PIN_PA18F_TCC0_WO2 << 16) | MUX_PA18F_TCC0_WO2)
590 #define PORT_PA18F_TCC0_WO2    (_UL_(1) << 18)
591 #define PIN_PA11F_TCC0_WO3             _L_(11) /**< \brief TCC0 signal: WO3 on PA11 mux F */
592 #define MUX_PA11F_TCC0_WO3              _L_(5)
593 #define PINMUX_PA11F_TCC0_WO3      ((PIN_PA11F_TCC0_WO3 << 16) | MUX_PA11F_TCC0_WO3)
594 #define PORT_PA11F_TCC0_WO3    (_UL_(1) << 11)
595 #define PIN_PA19F_TCC0_WO3             _L_(19) /**< \brief TCC0 signal: WO3 on PA19 mux F */
596 #define MUX_PA19F_TCC0_WO3              _L_(5)
597 #define PINMUX_PA19F_TCC0_WO3      ((PIN_PA19F_TCC0_WO3 << 16) | MUX_PA19F_TCC0_WO3)
598 #define PORT_PA19F_TCC0_WO3    (_UL_(1) << 19)
599 #define PIN_PA22F_TCC0_WO4             _L_(22) /**< \brief TCC0 signal: WO4 on PA22 mux F */
600 #define MUX_PA22F_TCC0_WO4              _L_(5)
601 #define PINMUX_PA22F_TCC0_WO4      ((PIN_PA22F_TCC0_WO4 << 16) | MUX_PA22F_TCC0_WO4)
602 #define PORT_PA22F_TCC0_WO4    (_UL_(1) << 22)
603 #define PIN_PB16F_TCC0_WO4             _L_(48) /**< \brief TCC0 signal: WO4 on PB16 mux F */
604 #define MUX_PB16F_TCC0_WO4              _L_(5)
605 #define PINMUX_PB16F_TCC0_WO4      ((PIN_PB16F_TCC0_WO4 << 16) | MUX_PB16F_TCC0_WO4)
606 #define PORT_PB16F_TCC0_WO4    (_UL_(1) << 16)
607 #define PIN_PA14F_TCC0_WO4             _L_(14) /**< \brief TCC0 signal: WO4 on PA14 mux F */
608 #define MUX_PA14F_TCC0_WO4              _L_(5)
609 #define PINMUX_PA14F_TCC0_WO4      ((PIN_PA14F_TCC0_WO4 << 16) | MUX_PA14F_TCC0_WO4)
610 #define PORT_PA14F_TCC0_WO4    (_UL_(1) << 14)
611 #define PIN_PA15F_TCC0_WO5             _L_(15) /**< \brief TCC0 signal: WO5 on PA15 mux F */
612 #define MUX_PA15F_TCC0_WO5              _L_(5)
613 #define PINMUX_PA15F_TCC0_WO5      ((PIN_PA15F_TCC0_WO5 << 16) | MUX_PA15F_TCC0_WO5)
614 #define PORT_PA15F_TCC0_WO5    (_UL_(1) << 15)
615 #define PIN_PA23F_TCC0_WO5             _L_(23) /**< \brief TCC0 signal: WO5 on PA23 mux F */
616 #define MUX_PA23F_TCC0_WO5              _L_(5)
617 #define PINMUX_PA23F_TCC0_WO5      ((PIN_PA23F_TCC0_WO5 << 16) | MUX_PA23F_TCC0_WO5)
618 #define PORT_PA23F_TCC0_WO5    (_UL_(1) << 23)
619 #define PIN_PB17F_TCC0_WO5             _L_(49) /**< \brief TCC0 signal: WO5 on PB17 mux F */
620 #define MUX_PB17F_TCC0_WO5              _L_(5)
621 #define PINMUX_PB17F_TCC0_WO5      ((PIN_PB17F_TCC0_WO5 << 16) | MUX_PB17F_TCC0_WO5)
622 #define PORT_PB17F_TCC0_WO5    (_UL_(1) << 17)
623 #define PIN_PA12F_TCC0_WO6             _L_(12) /**< \brief TCC0 signal: WO6 on PA12 mux F */
624 #define MUX_PA12F_TCC0_WO6              _L_(5)
625 #define PINMUX_PA12F_TCC0_WO6      ((PIN_PA12F_TCC0_WO6 << 16) | MUX_PA12F_TCC0_WO6)
626 #define PORT_PA12F_TCC0_WO6    (_UL_(1) << 12)
627 #define PIN_PA16F_TCC0_WO6             _L_(16) /**< \brief TCC0 signal: WO6 on PA16 mux F */
628 #define MUX_PA16F_TCC0_WO6              _L_(5)
629 #define PINMUX_PA16F_TCC0_WO6      ((PIN_PA16F_TCC0_WO6 << 16) | MUX_PA16F_TCC0_WO6)
630 #define PORT_PA16F_TCC0_WO6    (_UL_(1) << 16)
631 #define PIN_PA13F_TCC0_WO7             _L_(13) /**< \brief TCC0 signal: WO7 on PA13 mux F */
632 #define MUX_PA13F_TCC0_WO7              _L_(5)
633 #define PINMUX_PA13F_TCC0_WO7      ((PIN_PA13F_TCC0_WO7 << 16) | MUX_PA13F_TCC0_WO7)
634 #define PORT_PA13F_TCC0_WO7    (_UL_(1) << 13)
635 #define PIN_PA17F_TCC0_WO7             _L_(17) /**< \brief TCC0 signal: WO7 on PA17 mux F */
636 #define MUX_PA17F_TCC0_WO7              _L_(5)
637 #define PINMUX_PA17F_TCC0_WO7      ((PIN_PA17F_TCC0_WO7 << 16) | MUX_PA17F_TCC0_WO7)
638 #define PORT_PA17F_TCC0_WO7    (_UL_(1) << 17)
639 /* ========== PORT definition for TCC1 peripheral ========== */
640 #define PIN_PA06E_TCC1_WO0              _L_(6) /**< \brief TCC1 signal: WO0 on PA06 mux E */
641 #define MUX_PA06E_TCC1_WO0              _L_(4)
642 #define PINMUX_PA06E_TCC1_WO0      ((PIN_PA06E_TCC1_WO0 << 16) | MUX_PA06E_TCC1_WO0)
643 #define PORT_PA06E_TCC1_WO0    (_UL_(1) <<  6)
644 #define PIN_PA10E_TCC1_WO0             _L_(10) /**< \brief TCC1 signal: WO0 on PA10 mux E */
645 #define MUX_PA10E_TCC1_WO0              _L_(4)
646 #define PINMUX_PA10E_TCC1_WO0      ((PIN_PA10E_TCC1_WO0 << 16) | MUX_PA10E_TCC1_WO0)
647 #define PORT_PA10E_TCC1_WO0    (_UL_(1) << 10)
648 #define PIN_PA30E_TCC1_WO0             _L_(30) /**< \brief TCC1 signal: WO0 on PA30 mux E */
649 #define MUX_PA30E_TCC1_WO0              _L_(4)
650 #define PINMUX_PA30E_TCC1_WO0      ((PIN_PA30E_TCC1_WO0 << 16) | MUX_PA30E_TCC1_WO0)
651 #define PORT_PA30E_TCC1_WO0    (_UL_(1) << 30)
652 #define PIN_PA07E_TCC1_WO1              _L_(7) /**< \brief TCC1 signal: WO1 on PA07 mux E */
653 #define MUX_PA07E_TCC1_WO1              _L_(4)
654 #define PINMUX_PA07E_TCC1_WO1      ((PIN_PA07E_TCC1_WO1 << 16) | MUX_PA07E_TCC1_WO1)
655 #define PORT_PA07E_TCC1_WO1    (_UL_(1) <<  7)
656 #define PIN_PA11E_TCC1_WO1             _L_(11) /**< \brief TCC1 signal: WO1 on PA11 mux E */
657 #define MUX_PA11E_TCC1_WO1              _L_(4)
658 #define PINMUX_PA11E_TCC1_WO1      ((PIN_PA11E_TCC1_WO1 << 16) | MUX_PA11E_TCC1_WO1)
659 #define PORT_PA11E_TCC1_WO1    (_UL_(1) << 11)
660 #define PIN_PA31E_TCC1_WO1             _L_(31) /**< \brief TCC1 signal: WO1 on PA31 mux E */
661 #define MUX_PA31E_TCC1_WO1              _L_(4)
662 #define PINMUX_PA31E_TCC1_WO1      ((PIN_PA31E_TCC1_WO1 << 16) | MUX_PA31E_TCC1_WO1)
663 #define PORT_PA31E_TCC1_WO1    (_UL_(1) << 31)
664 #define PIN_PA08F_TCC1_WO2              _L_(8) /**< \brief TCC1 signal: WO2 on PA08 mux F */
665 #define MUX_PA08F_TCC1_WO2              _L_(5)
666 #define PINMUX_PA08F_TCC1_WO2      ((PIN_PA08F_TCC1_WO2 << 16) | MUX_PA08F_TCC1_WO2)
667 #define PORT_PA08F_TCC1_WO2    (_UL_(1) <<  8)
668 #define PIN_PA24F_TCC1_WO2             _L_(24) /**< \brief TCC1 signal: WO2 on PA24 mux F */
669 #define MUX_PA24F_TCC1_WO2              _L_(5)
670 #define PINMUX_PA24F_TCC1_WO2      ((PIN_PA24F_TCC1_WO2 << 16) | MUX_PA24F_TCC1_WO2)
671 #define PORT_PA24F_TCC1_WO2    (_UL_(1) << 24)
672 #define PIN_PB30F_TCC1_WO2             _L_(62) /**< \brief TCC1 signal: WO2 on PB30 mux F */
673 #define MUX_PB30F_TCC1_WO2              _L_(5)
674 #define PINMUX_PB30F_TCC1_WO2      ((PIN_PB30F_TCC1_WO2 << 16) | MUX_PB30F_TCC1_WO2)
675 #define PORT_PB30F_TCC1_WO2    (_UL_(1) << 30)
676 #define PIN_PA09F_TCC1_WO3              _L_(9) /**< \brief TCC1 signal: WO3 on PA09 mux F */
677 #define MUX_PA09F_TCC1_WO3              _L_(5)
678 #define PINMUX_PA09F_TCC1_WO3      ((PIN_PA09F_TCC1_WO3 << 16) | MUX_PA09F_TCC1_WO3)
679 #define PORT_PA09F_TCC1_WO3    (_UL_(1) <<  9)
680 #define PIN_PA25F_TCC1_WO3             _L_(25) /**< \brief TCC1 signal: WO3 on PA25 mux F */
681 #define MUX_PA25F_TCC1_WO3              _L_(5)
682 #define PINMUX_PA25F_TCC1_WO3      ((PIN_PA25F_TCC1_WO3 << 16) | MUX_PA25F_TCC1_WO3)
683 #define PORT_PA25F_TCC1_WO3    (_UL_(1) << 25)
684 #define PIN_PB31F_TCC1_WO3             _L_(63) /**< \brief TCC1 signal: WO3 on PB31 mux F */
685 #define MUX_PB31F_TCC1_WO3              _L_(5)
686 #define PINMUX_PB31F_TCC1_WO3      ((PIN_PB31F_TCC1_WO3 << 16) | MUX_PB31F_TCC1_WO3)
687 #define PORT_PB31F_TCC1_WO3    (_UL_(1) << 31)
688 /* ========== PORT definition for TCC2 peripheral ========== */
689 #define PIN_PA12E_TCC2_WO0             _L_(12) /**< \brief TCC2 signal: WO0 on PA12 mux E */
690 #define MUX_PA12E_TCC2_WO0              _L_(4)
691 #define PINMUX_PA12E_TCC2_WO0      ((PIN_PA12E_TCC2_WO0 << 16) | MUX_PA12E_TCC2_WO0)
692 #define PORT_PA12E_TCC2_WO0    (_UL_(1) << 12)
693 #define PIN_PA16E_TCC2_WO0             _L_(16) /**< \brief TCC2 signal: WO0 on PA16 mux E */
694 #define MUX_PA16E_TCC2_WO0              _L_(4)
695 #define PINMUX_PA16E_TCC2_WO0      ((PIN_PA16E_TCC2_WO0 << 16) | MUX_PA16E_TCC2_WO0)
696 #define PORT_PA16E_TCC2_WO0    (_UL_(1) << 16)
697 #define PIN_PA00E_TCC2_WO0              _L_(0) /**< \brief TCC2 signal: WO0 on PA00 mux E */
698 #define MUX_PA00E_TCC2_WO0              _L_(4)
699 #define PINMUX_PA00E_TCC2_WO0      ((PIN_PA00E_TCC2_WO0 << 16) | MUX_PA00E_TCC2_WO0)
700 #define PORT_PA00E_TCC2_WO0    (_UL_(1) <<  0)
701 #define PIN_PA13E_TCC2_WO1             _L_(13) /**< \brief TCC2 signal: WO1 on PA13 mux E */
702 #define MUX_PA13E_TCC2_WO1              _L_(4)
703 #define PINMUX_PA13E_TCC2_WO1      ((PIN_PA13E_TCC2_WO1 << 16) | MUX_PA13E_TCC2_WO1)
704 #define PORT_PA13E_TCC2_WO1    (_UL_(1) << 13)
705 #define PIN_PA17E_TCC2_WO1             _L_(17) /**< \brief TCC2 signal: WO1 on PA17 mux E */
706 #define MUX_PA17E_TCC2_WO1              _L_(4)
707 #define PINMUX_PA17E_TCC2_WO1      ((PIN_PA17E_TCC2_WO1 << 16) | MUX_PA17E_TCC2_WO1)
708 #define PORT_PA17E_TCC2_WO1    (_UL_(1) << 17)
709 #define PIN_PA01E_TCC2_WO1              _L_(1) /**< \brief TCC2 signal: WO1 on PA01 mux E */
710 #define MUX_PA01E_TCC2_WO1              _L_(4)
711 #define PINMUX_PA01E_TCC2_WO1      ((PIN_PA01E_TCC2_WO1 << 16) | MUX_PA01E_TCC2_WO1)
712 #define PORT_PA01E_TCC2_WO1    (_UL_(1) <<  1)
713 /* ========== PORT definition for TC0 peripheral ========== */
714 #define PIN_PA22E_TC0_WO0              _L_(22) /**< \brief TC0 signal: WO0 on PA22 mux E */
715 #define MUX_PA22E_TC0_WO0               _L_(4)
716 #define PINMUX_PA22E_TC0_WO0       ((PIN_PA22E_TC0_WO0 << 16) | MUX_PA22E_TC0_WO0)
717 #define PORT_PA22E_TC0_WO0     (_UL_(1) << 22)
718 #define PIN_PA23E_TC0_WO1              _L_(23) /**< \brief TC0 signal: WO1 on PA23 mux E */
719 #define MUX_PA23E_TC0_WO1               _L_(4)
720 #define PINMUX_PA23E_TC0_WO1       ((PIN_PA23E_TC0_WO1 << 16) | MUX_PA23E_TC0_WO1)
721 #define PORT_PA23E_TC0_WO1     (_UL_(1) << 23)
722 /* ========== PORT definition for TC1 peripheral ========== */
723 #define PIN_PA24E_TC1_WO0              _L_(24) /**< \brief TC1 signal: WO0 on PA24 mux E */
724 #define MUX_PA24E_TC1_WO0               _L_(4)
725 #define PINMUX_PA24E_TC1_WO0       ((PIN_PA24E_TC1_WO0 << 16) | MUX_PA24E_TC1_WO0)
726 #define PORT_PA24E_TC1_WO0     (_UL_(1) << 24)
727 #define PIN_PA25E_TC1_WO1              _L_(25) /**< \brief TC1 signal: WO1 on PA25 mux E */
728 #define MUX_PA25E_TC1_WO1               _L_(4)
729 #define PINMUX_PA25E_TC1_WO1       ((PIN_PA25E_TC1_WO1 << 16) | MUX_PA25E_TC1_WO1)
730 #define PORT_PA25E_TC1_WO1     (_UL_(1) << 25)
731 #define PIN_PB15E_TC1_WO1              _L_(47) /**< \brief TC1 signal: WO1 on PB15 mux E */
732 #define MUX_PB15E_TC1_WO1               _L_(4)
733 #define PINMUX_PB15E_TC1_WO1       ((PIN_PB15E_TC1_WO1 << 16) | MUX_PB15E_TC1_WO1)
734 #define PORT_PB15E_TC1_WO1     (_UL_(1) << 15)
735 /* ========== PORT definition for TC2 peripheral ========== */
736 #define PIN_PB02E_TC2_WO0              _L_(34) /**< \brief TC2 signal: WO0 on PB02 mux E */
737 #define MUX_PB02E_TC2_WO0               _L_(4)
738 #define PINMUX_PB02E_TC2_WO0       ((PIN_PB02E_TC2_WO0 << 16) | MUX_PB02E_TC2_WO0)
739 #define PORT_PB02E_TC2_WO0     (_UL_(1) <<  2)
740 #define PIN_PB16E_TC2_WO0              _L_(48) /**< \brief TC2 signal: WO0 on PB16 mux E */
741 #define MUX_PB16E_TC2_WO0               _L_(4)
742 #define PINMUX_PB16E_TC2_WO0       ((PIN_PB16E_TC2_WO0 << 16) | MUX_PB16E_TC2_WO0)
743 #define PORT_PB16E_TC2_WO0     (_UL_(1) << 16)
744 #define PIN_PB03E_TC2_WO1              _L_(35) /**< \brief TC2 signal: WO1 on PB03 mux E */
745 #define MUX_PB03E_TC2_WO1               _L_(4)
746 #define PINMUX_PB03E_TC2_WO1       ((PIN_PB03E_TC2_WO1 << 16) | MUX_PB03E_TC2_WO1)
747 #define PORT_PB03E_TC2_WO1     (_UL_(1) <<  3)
748 #define PIN_PB17E_TC2_WO1              _L_(49) /**< \brief TC2 signal: WO1 on PB17 mux E */
749 #define MUX_PB17E_TC2_WO1               _L_(4)
750 #define PINMUX_PB17E_TC2_WO1       ((PIN_PB17E_TC2_WO1 << 16) | MUX_PB17E_TC2_WO1)
751 #define PORT_PB17E_TC2_WO1     (_UL_(1) << 17)
752 /* ========== PORT definition for TC3 peripheral ========== */
753 #define PIN_PB00E_TC3_WO0              _L_(32) /**< \brief TC3 signal: WO0 on PB00 mux E */
754 #define MUX_PB00E_TC3_WO0               _L_(4)
755 #define PINMUX_PB00E_TC3_WO0       ((PIN_PB00E_TC3_WO0 << 16) | MUX_PB00E_TC3_WO0)
756 #define PORT_PB00E_TC3_WO0     (_UL_(1) <<  0)
757 #define PIN_PB22E_TC3_WO0              _L_(54) /**< \brief TC3 signal: WO0 on PB22 mux E */
758 #define MUX_PB22E_TC3_WO0               _L_(4)
759 #define PINMUX_PB22E_TC3_WO0       ((PIN_PB22E_TC3_WO0 << 16) | MUX_PB22E_TC3_WO0)
760 #define PORT_PB22E_TC3_WO0     (_UL_(1) << 22)
761 #define PIN_PB23E_TC3_WO1              _L_(55) /**< \brief TC3 signal: WO1 on PB23 mux E */
762 #define MUX_PB23E_TC3_WO1               _L_(4)
763 #define PINMUX_PB23E_TC3_WO1       ((PIN_PB23E_TC3_WO1 << 16) | MUX_PB23E_TC3_WO1)
764 #define PORT_PB23E_TC3_WO1     (_UL_(1) << 23)
765 /* ========== PORT definition for DAC peripheral ========== */
766 #define PIN_PA05B_DAC_VOUT1             _L_(5) /**< \brief DAC signal: VOUT1 on PA05 mux B */
767 #define MUX_PA05B_DAC_VOUT1             _L_(1)
768 #define PINMUX_PA05B_DAC_VOUT1     ((PIN_PA05B_DAC_VOUT1 << 16) | MUX_PA05B_DAC_VOUT1)
769 #define PORT_PA05B_DAC_VOUT1   (_UL_(1) <<  5)
770 /* ========== PORT definition for SERCOM5 peripheral ========== */
771 #define PIN_PA22D_SERCOM5_PAD0         _L_(22) /**< \brief SERCOM5 signal: PAD0 on PA22 mux D */
772 #define MUX_PA22D_SERCOM5_PAD0          _L_(3)
773 #define PINMUX_PA22D_SERCOM5_PAD0  ((PIN_PA22D_SERCOM5_PAD0 << 16) | MUX_PA22D_SERCOM5_PAD0)
774 #define PORT_PA22D_SERCOM5_PAD0  (_UL_(1) << 22)
775 #define PIN_PB02D_SERCOM5_PAD0         _L_(34) /**< \brief SERCOM5 signal: PAD0 on PB02 mux D */
776 #define MUX_PB02D_SERCOM5_PAD0          _L_(3)
777 #define PINMUX_PB02D_SERCOM5_PAD0  ((PIN_PB02D_SERCOM5_PAD0 << 16) | MUX_PB02D_SERCOM5_PAD0)
778 #define PORT_PB02D_SERCOM5_PAD0  (_UL_(1) <<  2)
779 #define PIN_PB30D_SERCOM5_PAD0         _L_(62) /**< \brief SERCOM5 signal: PAD0 on PB30 mux D */
780 #define MUX_PB30D_SERCOM5_PAD0          _L_(3)
781 #define PINMUX_PB30D_SERCOM5_PAD0  ((PIN_PB30D_SERCOM5_PAD0 << 16) | MUX_PB30D_SERCOM5_PAD0)
782 #define PORT_PB30D_SERCOM5_PAD0  (_UL_(1) << 30)
783 #define PIN_PB16C_SERCOM5_PAD0         _L_(48) /**< \brief SERCOM5 signal: PAD0 on PB16 mux C */
784 #define MUX_PB16C_SERCOM5_PAD0          _L_(2)
785 #define PINMUX_PB16C_SERCOM5_PAD0  ((PIN_PB16C_SERCOM5_PAD0 << 16) | MUX_PB16C_SERCOM5_PAD0)
786 #define PORT_PB16C_SERCOM5_PAD0  (_UL_(1) << 16)
787 #define PIN_PA23D_SERCOM5_PAD1         _L_(23) /**< \brief SERCOM5 signal: PAD1 on PA23 mux D */
788 #define MUX_PA23D_SERCOM5_PAD1          _L_(3)
789 #define PINMUX_PA23D_SERCOM5_PAD1  ((PIN_PA23D_SERCOM5_PAD1 << 16) | MUX_PA23D_SERCOM5_PAD1)
790 #define PORT_PA23D_SERCOM5_PAD1  (_UL_(1) << 23)
791 #define PIN_PB03D_SERCOM5_PAD1         _L_(35) /**< \brief SERCOM5 signal: PAD1 on PB03 mux D */
792 #define MUX_PB03D_SERCOM5_PAD1          _L_(3)
793 #define PINMUX_PB03D_SERCOM5_PAD1  ((PIN_PB03D_SERCOM5_PAD1 << 16) | MUX_PB03D_SERCOM5_PAD1)
794 #define PORT_PB03D_SERCOM5_PAD1  (_UL_(1) <<  3)
795 #define PIN_PB31D_SERCOM5_PAD1         _L_(63) /**< \brief SERCOM5 signal: PAD1 on PB31 mux D */
796 #define MUX_PB31D_SERCOM5_PAD1          _L_(3)
797 #define PINMUX_PB31D_SERCOM5_PAD1  ((PIN_PB31D_SERCOM5_PAD1 << 16) | MUX_PB31D_SERCOM5_PAD1)
798 #define PORT_PB31D_SERCOM5_PAD1  (_UL_(1) << 31)
799 #define PIN_PB17C_SERCOM5_PAD1         _L_(49) /**< \brief SERCOM5 signal: PAD1 on PB17 mux C */
800 #define MUX_PB17C_SERCOM5_PAD1          _L_(2)
801 #define PINMUX_PB17C_SERCOM5_PAD1  ((PIN_PB17C_SERCOM5_PAD1 << 16) | MUX_PB17C_SERCOM5_PAD1)
802 #define PORT_PB17C_SERCOM5_PAD1  (_UL_(1) << 17)
803 #define PIN_PA24D_SERCOM5_PAD2         _L_(24) /**< \brief SERCOM5 signal: PAD2 on PA24 mux D */
804 #define MUX_PA24D_SERCOM5_PAD2          _L_(3)
805 #define PINMUX_PA24D_SERCOM5_PAD2  ((PIN_PA24D_SERCOM5_PAD2 << 16) | MUX_PA24D_SERCOM5_PAD2)
806 #define PORT_PA24D_SERCOM5_PAD2  (_UL_(1) << 24)
807 #define PIN_PB00D_SERCOM5_PAD2         _L_(32) /**< \brief SERCOM5 signal: PAD2 on PB00 mux D */
808 #define MUX_PB00D_SERCOM5_PAD2          _L_(3)
809 #define PINMUX_PB00D_SERCOM5_PAD2  ((PIN_PB00D_SERCOM5_PAD2 << 16) | MUX_PB00D_SERCOM5_PAD2)
810 #define PORT_PB00D_SERCOM5_PAD2  (_UL_(1) <<  0)
811 #define PIN_PB22D_SERCOM5_PAD2         _L_(54) /**< \brief SERCOM5 signal: PAD2 on PB22 mux D */
812 #define MUX_PB22D_SERCOM5_PAD2          _L_(3)
813 #define PINMUX_PB22D_SERCOM5_PAD2  ((PIN_PB22D_SERCOM5_PAD2 << 16) | MUX_PB22D_SERCOM5_PAD2)
814 #define PORT_PB22D_SERCOM5_PAD2  (_UL_(1) << 22)
815 #define PIN_PA25D_SERCOM5_PAD3         _L_(25) /**< \brief SERCOM5 signal: PAD3 on PA25 mux D */
816 #define MUX_PA25D_SERCOM5_PAD3          _L_(3)
817 #define PINMUX_PA25D_SERCOM5_PAD3  ((PIN_PA25D_SERCOM5_PAD3 << 16) | MUX_PA25D_SERCOM5_PAD3)
818 #define PORT_PA25D_SERCOM5_PAD3  (_UL_(1) << 25)
819 #define PIN_PB23D_SERCOM5_PAD3         _L_(55) /**< \brief SERCOM5 signal: PAD3 on PB23 mux D */
820 #define MUX_PB23D_SERCOM5_PAD3          _L_(3)
821 #define PINMUX_PB23D_SERCOM5_PAD3  ((PIN_PB23D_SERCOM5_PAD3 << 16) | MUX_PB23D_SERCOM5_PAD3)
822 #define PORT_PB23D_SERCOM5_PAD3  (_UL_(1) << 23)
823 /* ========== PORT definition for TC4 peripheral ========== */
824 #define PIN_PA18E_TC4_WO0              _L_(18) /**< \brief TC4 signal: WO0 on PA18 mux E */
825 #define MUX_PA18E_TC4_WO0               _L_(4)
826 #define PINMUX_PA18E_TC4_WO0       ((PIN_PA18E_TC4_WO0 << 16) | MUX_PA18E_TC4_WO0)
827 #define PORT_PA18E_TC4_WO0     (_UL_(1) << 18)
828 #define PIN_PA14E_TC4_WO0              _L_(14) /**< \brief TC4 signal: WO0 on PA14 mux E */
829 #define MUX_PA14E_TC4_WO0               _L_(4)
830 #define PINMUX_PA14E_TC4_WO0       ((PIN_PA14E_TC4_WO0 << 16) | MUX_PA14E_TC4_WO0)
831 #define PORT_PA14E_TC4_WO0     (_UL_(1) << 14)
832 #define PIN_PA19E_TC4_WO1              _L_(19) /**< \brief TC4 signal: WO1 on PA19 mux E */
833 #define MUX_PA19E_TC4_WO1               _L_(4)
834 #define PINMUX_PA19E_TC4_WO1       ((PIN_PA19E_TC4_WO1 << 16) | MUX_PA19E_TC4_WO1)
835 #define PORT_PA19E_TC4_WO1     (_UL_(1) << 19)
836 #define PIN_PA15E_TC4_WO1              _L_(15) /**< \brief TC4 signal: WO1 on PA15 mux E */
837 #define MUX_PA15E_TC4_WO1               _L_(4)
838 #define PINMUX_PA15E_TC4_WO1       ((PIN_PA15E_TC4_WO1 << 16) | MUX_PA15E_TC4_WO1)
839 #define PORT_PA15E_TC4_WO1     (_UL_(1) << 15)
840 /* ========== PORT definition for ADC peripheral ========== */
841 #define PIN_PA04B_ADC_AIN4              _L_(4) /**< \brief ADC signal: AIN4 on PA04 mux B */
842 #define MUX_PA04B_ADC_AIN4              _L_(1)
843 #define PINMUX_PA04B_ADC_AIN4      ((PIN_PA04B_ADC_AIN4 << 16) | MUX_PA04B_ADC_AIN4)
844 #define PORT_PA04B_ADC_AIN4    (_UL_(1) <<  4)
845 #define PIN_PA05B_ADC_AIN5              _L_(5) /**< \brief ADC signal: AIN5 on PA05 mux B */
846 #define MUX_PA05B_ADC_AIN5              _L_(1)
847 #define PINMUX_PA05B_ADC_AIN5      ((PIN_PA05B_ADC_AIN5 << 16) | MUX_PA05B_ADC_AIN5)
848 #define PORT_PA05B_ADC_AIN5    (_UL_(1) <<  5)
849 #define PIN_PA06B_ADC_AIN6              _L_(6) /**< \brief ADC signal: AIN6 on PA06 mux B */
850 #define MUX_PA06B_ADC_AIN6              _L_(1)
851 #define PINMUX_PA06B_ADC_AIN6      ((PIN_PA06B_ADC_AIN6 << 16) | MUX_PA06B_ADC_AIN6)
852 #define PORT_PA06B_ADC_AIN6    (_UL_(1) <<  6)
853 #define PIN_PA07B_ADC_AIN7              _L_(7) /**< \brief ADC signal: AIN7 on PA07 mux B */
854 #define MUX_PA07B_ADC_AIN7              _L_(1)
855 #define PINMUX_PA07B_ADC_AIN7      ((PIN_PA07B_ADC_AIN7 << 16) | MUX_PA07B_ADC_AIN7)
856 #define PORT_PA07B_ADC_AIN7    (_UL_(1) <<  7)
857 #define PIN_PB00B_ADC_AIN8             _L_(32) /**< \brief ADC signal: AIN8 on PB00 mux B */
858 #define MUX_PB00B_ADC_AIN8              _L_(1)
859 #define PINMUX_PB00B_ADC_AIN8      ((PIN_PB00B_ADC_AIN8 << 16) | MUX_PB00B_ADC_AIN8)
860 #define PORT_PB00B_ADC_AIN8    (_UL_(1) <<  0)
861 #define PIN_PB02B_ADC_AIN10            _L_(34) /**< \brief ADC signal: AIN10 on PB02 mux B */
862 #define MUX_PB02B_ADC_AIN10             _L_(1)
863 #define PINMUX_PB02B_ADC_AIN10     ((PIN_PB02B_ADC_AIN10 << 16) | MUX_PB02B_ADC_AIN10)
864 #define PORT_PB02B_ADC_AIN10   (_UL_(1) <<  2)
865 #define PIN_PB03B_ADC_AIN11            _L_(35) /**< \brief ADC signal: AIN11 on PB03 mux B */
866 #define MUX_PB03B_ADC_AIN11             _L_(1)
867 #define PINMUX_PB03B_ADC_AIN11     ((PIN_PB03B_ADC_AIN11 << 16) | MUX_PB03B_ADC_AIN11)
868 #define PORT_PB03B_ADC_AIN11   (_UL_(1) <<  3)
869 #define PIN_PA08B_ADC_AIN16             _L_(8) /**< \brief ADC signal: AIN16 on PA08 mux B */
870 #define MUX_PA08B_ADC_AIN16             _L_(1)
871 #define PINMUX_PA08B_ADC_AIN16     ((PIN_PA08B_ADC_AIN16 << 16) | MUX_PA08B_ADC_AIN16)
872 #define PORT_PA08B_ADC_AIN16   (_UL_(1) <<  8)
873 #define PIN_PA09B_ADC_AIN17             _L_(9) /**< \brief ADC signal: AIN17 on PA09 mux B */
874 #define MUX_PA09B_ADC_AIN17             _L_(1)
875 #define PINMUX_PA09B_ADC_AIN17     ((PIN_PA09B_ADC_AIN17 << 16) | MUX_PA09B_ADC_AIN17)
876 #define PORT_PA09B_ADC_AIN17   (_UL_(1) <<  9)
877 #define PIN_PA10B_ADC_AIN18            _L_(10) /**< \brief ADC signal: AIN18 on PA10 mux B */
878 #define MUX_PA10B_ADC_AIN18             _L_(1)
879 #define PINMUX_PA10B_ADC_AIN18     ((PIN_PA10B_ADC_AIN18 << 16) | MUX_PA10B_ADC_AIN18)
880 #define PORT_PA10B_ADC_AIN18   (_UL_(1) << 10)
881 #define PIN_PA11B_ADC_AIN19            _L_(11) /**< \brief ADC signal: AIN19 on PA11 mux B */
882 #define MUX_PA11B_ADC_AIN19             _L_(1)
883 #define PINMUX_PA11B_ADC_AIN19     ((PIN_PA11B_ADC_AIN19 << 16) | MUX_PA11B_ADC_AIN19)
884 #define PORT_PA11B_ADC_AIN19   (_UL_(1) << 11)
885 #define PIN_PA04B_ADC_VREFP             _L_(4) /**< \brief ADC signal: VREFP on PA04 mux B */
886 #define MUX_PA04B_ADC_VREFP             _L_(1)
887 #define PINMUX_PA04B_ADC_VREFP     ((PIN_PA04B_ADC_VREFP << 16) | MUX_PA04B_ADC_VREFP)
888 #define PORT_PA04B_ADC_VREFP   (_UL_(1) <<  4)
889 /* ========== PORT definition for AC peripheral ========== */
890 #define PIN_PA04B_AC_AIN0               _L_(4) /**< \brief AC signal: AIN0 on PA04 mux B */
891 #define MUX_PA04B_AC_AIN0               _L_(1)
892 #define PINMUX_PA04B_AC_AIN0       ((PIN_PA04B_AC_AIN0 << 16) | MUX_PA04B_AC_AIN0)
893 #define PORT_PA04B_AC_AIN0     (_UL_(1) <<  4)
894 #define PIN_PA05B_AC_AIN1               _L_(5) /**< \brief AC signal: AIN1 on PA05 mux B */
895 #define MUX_PA05B_AC_AIN1               _L_(1)
896 #define PINMUX_PA05B_AC_AIN1       ((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1)
897 #define PORT_PA05B_AC_AIN1     (_UL_(1) <<  5)
898 #define PIN_PA06B_AC_AIN2               _L_(6) /**< \brief AC signal: AIN2 on PA06 mux B */
899 #define MUX_PA06B_AC_AIN2               _L_(1)
900 #define PINMUX_PA06B_AC_AIN2       ((PIN_PA06B_AC_AIN2 << 16) | MUX_PA06B_AC_AIN2)
901 #define PORT_PA06B_AC_AIN2     (_UL_(1) <<  6)
902 #define PIN_PA07B_AC_AIN3               _L_(7) /**< \brief AC signal: AIN3 on PA07 mux B */
903 #define MUX_PA07B_AC_AIN3               _L_(1)
904 #define PINMUX_PA07B_AC_AIN3       ((PIN_PA07B_AC_AIN3 << 16) | MUX_PA07B_AC_AIN3)
905 #define PORT_PA07B_AC_AIN3     (_UL_(1) <<  7)
906 #define PIN_PA12H_AC_CMP0              _L_(12) /**< \brief AC signal: CMP0 on PA12 mux H */
907 #define MUX_PA12H_AC_CMP0               _L_(7)
908 #define PINMUX_PA12H_AC_CMP0       ((PIN_PA12H_AC_CMP0 << 16) | MUX_PA12H_AC_CMP0)
909 #define PORT_PA12H_AC_CMP0     (_UL_(1) << 12)
910 #define PIN_PA18H_AC_CMP0              _L_(18) /**< \brief AC signal: CMP0 on PA18 mux H */
911 #define MUX_PA18H_AC_CMP0               _L_(7)
912 #define PINMUX_PA18H_AC_CMP0       ((PIN_PA18H_AC_CMP0 << 16) | MUX_PA18H_AC_CMP0)
913 #define PORT_PA18H_AC_CMP0     (_UL_(1) << 18)
914 #define PIN_PA13H_AC_CMP1              _L_(13) /**< \brief AC signal: CMP1 on PA13 mux H */
915 #define MUX_PA13H_AC_CMP1               _L_(7)
916 #define PINMUX_PA13H_AC_CMP1       ((PIN_PA13H_AC_CMP1 << 16) | MUX_PA13H_AC_CMP1)
917 #define PORT_PA13H_AC_CMP1     (_UL_(1) << 13)
918 #define PIN_PA19H_AC_CMP1              _L_(19) /**< \brief AC signal: CMP1 on PA19 mux H */
919 #define MUX_PA19H_AC_CMP1               _L_(7)
920 #define PINMUX_PA19H_AC_CMP1       ((PIN_PA19H_AC_CMP1 << 16) | MUX_PA19H_AC_CMP1)
921 #define PORT_PA19H_AC_CMP1     (_UL_(1) << 19)
922 /* ========== PORT definition for CCL peripheral ========== */
923 #define PIN_PA04I_CCL_IN0               _L_(4) /**< \brief CCL signal: IN0 on PA04 mux I */
924 #define MUX_PA04I_CCL_IN0               _L_(8)
925 #define PINMUX_PA04I_CCL_IN0       ((PIN_PA04I_CCL_IN0 << 16) | MUX_PA04I_CCL_IN0)
926 #define PORT_PA04I_CCL_IN0     (_UL_(1) <<  4)
927 #define PIN_PA16I_CCL_IN0              _L_(16) /**< \brief CCL signal: IN0 on PA16 mux I */
928 #define MUX_PA16I_CCL_IN0               _L_(8)
929 #define PINMUX_PA16I_CCL_IN0       ((PIN_PA16I_CCL_IN0 << 16) | MUX_PA16I_CCL_IN0)
930 #define PORT_PA16I_CCL_IN0     (_UL_(1) << 16)
931 #define PIN_PB22I_CCL_IN0              _L_(54) /**< \brief CCL signal: IN0 on PB22 mux I */
932 #define MUX_PB22I_CCL_IN0               _L_(8)
933 #define PINMUX_PB22I_CCL_IN0       ((PIN_PB22I_CCL_IN0 << 16) | MUX_PB22I_CCL_IN0)
934 #define PORT_PB22I_CCL_IN0     (_UL_(1) << 22)
935 #define PIN_PA05I_CCL_IN1               _L_(5) /**< \brief CCL signal: IN1 on PA05 mux I */
936 #define MUX_PA05I_CCL_IN1               _L_(8)
937 #define PINMUX_PA05I_CCL_IN1       ((PIN_PA05I_CCL_IN1 << 16) | MUX_PA05I_CCL_IN1)
938 #define PORT_PA05I_CCL_IN1     (_UL_(1) <<  5)
939 #define PIN_PA17I_CCL_IN1              _L_(17) /**< \brief CCL signal: IN1 on PA17 mux I */
940 #define MUX_PA17I_CCL_IN1               _L_(8)
941 #define PINMUX_PA17I_CCL_IN1       ((PIN_PA17I_CCL_IN1 << 16) | MUX_PA17I_CCL_IN1)
942 #define PORT_PA17I_CCL_IN1     (_UL_(1) << 17)
943 #define PIN_PB00I_CCL_IN1              _L_(32) /**< \brief CCL signal: IN1 on PB00 mux I */
944 #define MUX_PB00I_CCL_IN1               _L_(8)
945 #define PINMUX_PB00I_CCL_IN1       ((PIN_PB00I_CCL_IN1 << 16) | MUX_PB00I_CCL_IN1)
946 #define PORT_PB00I_CCL_IN1     (_UL_(1) <<  0)
947 #define PIN_PA06I_CCL_IN2               _L_(6) /**< \brief CCL signal: IN2 on PA06 mux I */
948 #define MUX_PA06I_CCL_IN2               _L_(8)
949 #define PINMUX_PA06I_CCL_IN2       ((PIN_PA06I_CCL_IN2 << 16) | MUX_PA06I_CCL_IN2)
950 #define PORT_PA06I_CCL_IN2     (_UL_(1) <<  6)
951 #define PIN_PA18I_CCL_IN2              _L_(18) /**< \brief CCL signal: IN2 on PA18 mux I */
952 #define MUX_PA18I_CCL_IN2               _L_(8)
953 #define PINMUX_PA18I_CCL_IN2       ((PIN_PA18I_CCL_IN2 << 16) | MUX_PA18I_CCL_IN2)
954 #define PORT_PA18I_CCL_IN2     (_UL_(1) << 18)
955 #define PIN_PA08I_CCL_IN3               _L_(8) /**< \brief CCL signal: IN3 on PA08 mux I */
956 #define MUX_PA08I_CCL_IN3               _L_(8)
957 #define PINMUX_PA08I_CCL_IN3       ((PIN_PA08I_CCL_IN3 << 16) | MUX_PA08I_CCL_IN3)
958 #define PORT_PA08I_CCL_IN3     (_UL_(1) <<  8)
959 #define PIN_PA30I_CCL_IN3              _L_(30) /**< \brief CCL signal: IN3 on PA30 mux I */
960 #define MUX_PA30I_CCL_IN3               _L_(8)
961 #define PINMUX_PA30I_CCL_IN3       ((PIN_PA30I_CCL_IN3 << 16) | MUX_PA30I_CCL_IN3)
962 #define PORT_PA30I_CCL_IN3     (_UL_(1) << 30)
963 #define PIN_PA09I_CCL_IN4               _L_(9) /**< \brief CCL signal: IN4 on PA09 mux I */
964 #define MUX_PA09I_CCL_IN4               _L_(8)
965 #define PINMUX_PA09I_CCL_IN4       ((PIN_PA09I_CCL_IN4 << 16) | MUX_PA09I_CCL_IN4)
966 #define PORT_PA09I_CCL_IN4     (_UL_(1) <<  9)
967 #define PIN_PA10I_CCL_IN5              _L_(10) /**< \brief CCL signal: IN5 on PA10 mux I */
968 #define MUX_PA10I_CCL_IN5               _L_(8)
969 #define PINMUX_PA10I_CCL_IN5       ((PIN_PA10I_CCL_IN5 << 16) | MUX_PA10I_CCL_IN5)
970 #define PORT_PA10I_CCL_IN5     (_UL_(1) << 10)
971 #define PIN_PA22I_CCL_IN6              _L_(22) /**< \brief CCL signal: IN6 on PA22 mux I */
972 #define MUX_PA22I_CCL_IN6               _L_(8)
973 #define PINMUX_PA22I_CCL_IN6       ((PIN_PA22I_CCL_IN6 << 16) | MUX_PA22I_CCL_IN6)
974 #define PORT_PA22I_CCL_IN6     (_UL_(1) << 22)
975 #define PIN_PA23I_CCL_IN7              _L_(23) /**< \brief CCL signal: IN7 on PA23 mux I */
976 #define MUX_PA23I_CCL_IN7               _L_(8)
977 #define PINMUX_PA23I_CCL_IN7       ((PIN_PA23I_CCL_IN7 << 16) | MUX_PA23I_CCL_IN7)
978 #define PORT_PA23I_CCL_IN7     (_UL_(1) << 23)
979 #define PIN_PA24I_CCL_IN8              _L_(24) /**< \brief CCL signal: IN8 on PA24 mux I */
980 #define MUX_PA24I_CCL_IN8               _L_(8)
981 #define PINMUX_PA24I_CCL_IN8       ((PIN_PA24I_CCL_IN8 << 16) | MUX_PA24I_CCL_IN8)
982 #define PORT_PA24I_CCL_IN8     (_UL_(1) << 24)
983 #define PIN_PB15I_CCL_IN10             _L_(47) /**< \brief CCL signal: IN10 on PB15 mux I */
984 #define MUX_PB15I_CCL_IN10              _L_(8)
985 #define PINMUX_PB15I_CCL_IN10      ((PIN_PB15I_CCL_IN10 << 16) | MUX_PB15I_CCL_IN10)
986 #define PORT_PB15I_CCL_IN10    (_UL_(1) << 15)
987 #define PIN_PB16I_CCL_IN11             _L_(48) /**< \brief CCL signal: IN11 on PB16 mux I */
988 #define MUX_PB16I_CCL_IN11              _L_(8)
989 #define PINMUX_PB16I_CCL_IN11      ((PIN_PB16I_CCL_IN11 << 16) | MUX_PB16I_CCL_IN11)
990 #define PORT_PB16I_CCL_IN11    (_UL_(1) << 16)
991 #define PIN_PA07I_CCL_OUT0              _L_(7) /**< \brief CCL signal: OUT0 on PA07 mux I */
992 #define MUX_PA07I_CCL_OUT0              _L_(8)
993 #define PINMUX_PA07I_CCL_OUT0      ((PIN_PA07I_CCL_OUT0 << 16) | MUX_PA07I_CCL_OUT0)
994 #define PORT_PA07I_CCL_OUT0    (_UL_(1) <<  7)
995 #define PIN_PA19I_CCL_OUT0             _L_(19) /**< \brief CCL signal: OUT0 on PA19 mux I */
996 #define MUX_PA19I_CCL_OUT0              _L_(8)
997 #define PINMUX_PA19I_CCL_OUT0      ((PIN_PA19I_CCL_OUT0 << 16) | MUX_PA19I_CCL_OUT0)
998 #define PORT_PA19I_CCL_OUT0    (_UL_(1) << 19)
999 #define PIN_PB02I_CCL_OUT0             _L_(34) /**< \brief CCL signal: OUT0 on PB02 mux I */
1000 #define MUX_PB02I_CCL_OUT0              _L_(8)
1001 #define PINMUX_PB02I_CCL_OUT0      ((PIN_PB02I_CCL_OUT0 << 16) | MUX_PB02I_CCL_OUT0)
1002 #define PORT_PB02I_CCL_OUT0    (_UL_(1) <<  2)
1003 #define PIN_PB23I_CCL_OUT0             _L_(55) /**< \brief CCL signal: OUT0 on PB23 mux I */
1004 #define MUX_PB23I_CCL_OUT0              _L_(8)
1005 #define PINMUX_PB23I_CCL_OUT0      ((PIN_PB23I_CCL_OUT0 << 16) | MUX_PB23I_CCL_OUT0)
1006 #define PORT_PB23I_CCL_OUT0    (_UL_(1) << 23)
1007 #define PIN_PA11I_CCL_OUT1             _L_(11) /**< \brief CCL signal: OUT1 on PA11 mux I */
1008 #define MUX_PA11I_CCL_OUT1              _L_(8)
1009 #define PINMUX_PA11I_CCL_OUT1      ((PIN_PA11I_CCL_OUT1 << 16) | MUX_PA11I_CCL_OUT1)
1010 #define PORT_PA11I_CCL_OUT1    (_UL_(1) << 11)
1011 #define PIN_PA31I_CCL_OUT1             _L_(31) /**< \brief CCL signal: OUT1 on PA31 mux I */
1012 #define MUX_PA31I_CCL_OUT1              _L_(8)
1013 #define PINMUX_PA31I_CCL_OUT1      ((PIN_PA31I_CCL_OUT1 << 16) | MUX_PA31I_CCL_OUT1)
1014 #define PORT_PA31I_CCL_OUT1    (_UL_(1) << 31)
1015 #define PIN_PA25I_CCL_OUT2             _L_(25) /**< \brief CCL signal: OUT2 on PA25 mux I */
1016 #define MUX_PA25I_CCL_OUT2              _L_(8)
1017 #define PINMUX_PA25I_CCL_OUT2      ((PIN_PA25I_CCL_OUT2 << 16) | MUX_PA25I_CCL_OUT2)
1018 #define PORT_PA25I_CCL_OUT2    (_UL_(1) << 25)
1019 #define PIN_PB17I_CCL_OUT3             _L_(49) /**< \brief CCL signal: OUT3 on PB17 mux I */
1020 #define MUX_PB17I_CCL_OUT3              _L_(8)
1021 #define PINMUX_PB17I_CCL_OUT3      ((PIN_PB17I_CCL_OUT3 << 16) | MUX_PB17I_CCL_OUT3)
1022 #define PORT_PB17I_CCL_OUT3    (_UL_(1) << 17)
1023 
1024 #endif /* _SAMR34J17B_PIO_ */
1025