RTEMS 6.1-rc4
Loading...
Searching...
No Matches
pio_samv71n20.h
1/* ---------------------------------------------------------------------------- */
2/* Atmel Microcontroller Software Support */
3/* SAM Software Package License */
4/* ---------------------------------------------------------------------------- */
5/* Copyright (c) 2015, Atmel Corporation */
6/* */
7/* All rights reserved. */
8/* */
9/* Redistribution and use in source and binary forms, with or without */
10/* modification, are permitted provided that the following condition is met: */
11/* */
12/* - Redistributions of source code must retain the above copyright notice, */
13/* this list of conditions and the disclaimer below. */
14/* */
15/* Atmel's name may not be used to endorse or promote products derived from */
16/* this software without specific prior written permission. */
17/* */
18/* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR */
19/* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
20/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE */
21/* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, */
22/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
23/* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
24/* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
25/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
26/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */
27/* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
28/* ---------------------------------------------------------------------------- */
29
30#ifndef _SAMV71N20_PIO_
31#define _SAMV71N20_PIO_
32
33#define PIO_PA0 (1u << 0)
34#define PIO_PA1 (1u << 1)
35#define PIO_PA2 (1u << 2)
36#define PIO_PA3 (1u << 3)
37#define PIO_PA4 (1u << 4)
38#define PIO_PA5 (1u << 5)
39#define PIO_PA7 (1u << 7)
40#define PIO_PA8 (1u << 8)
41#define PIO_PA9 (1u << 9)
42#define PIO_PA10 (1u << 10)
43#define PIO_PA11 (1u << 11)
44#define PIO_PA12 (1u << 12)
45#define PIO_PA13 (1u << 13)
46#define PIO_PA14 (1u << 14)
47#define PIO_PA15 (1u << 15)
48#define PIO_PA16 (1u << 16)
49#define PIO_PA17 (1u << 17)
50#define PIO_PA18 (1u << 18)
51#define PIO_PA19 (1u << 19)
52#define PIO_PA20 (1u << 20)
53#define PIO_PA21 (1u << 21)
54#define PIO_PA22 (1u << 22)
55#define PIO_PA23 (1u << 23)
56#define PIO_PA24 (1u << 24)
57#define PIO_PA25 (1u << 25)
58#define PIO_PA26 (1u << 26)
59#define PIO_PA27 (1u << 27)
60#define PIO_PA28 (1u << 28)
61#define PIO_PA30 (1u << 30)
62#define PIO_PA31 (1u << 31)
63#define PIO_PB0 (1u << 0)
64#define PIO_PB1 (1u << 1)
65#define PIO_PB2 (1u << 2)
66#define PIO_PB3 (1u << 3)
67#define PIO_PB4 (1u << 4)
68#define PIO_PB5 (1u << 5)
69#define PIO_PB6 (1u << 6)
70#define PIO_PB7 (1u << 7)
71#define PIO_PB8 (1u << 8)
72#define PIO_PB9 (1u << 9)
73#define PIO_PB12 (1u << 12)
74#define PIO_PB13 (1u << 13)
75#define PIO_PD0 (1u << 0)
76#define PIO_PD1 (1u << 1)
77#define PIO_PD2 (1u << 2)
78#define PIO_PD3 (1u << 3)
79#define PIO_PD4 (1u << 4)
80#define PIO_PD5 (1u << 5)
81#define PIO_PD6 (1u << 6)
82#define PIO_PD7 (1u << 7)
83#define PIO_PD8 (1u << 8)
84#define PIO_PD9 (1u << 9)
85#define PIO_PD10 (1u << 10)
86#define PIO_PD11 (1u << 11)
87#define PIO_PD12 (1u << 12)
88#define PIO_PD13 (1u << 13)
89#define PIO_PD14 (1u << 14)
90#define PIO_PD15 (1u << 15)
91#define PIO_PD16 (1u << 16)
92#define PIO_PD17 (1u << 17)
93#define PIO_PD18 (1u << 18)
94#define PIO_PD19 (1u << 19)
95#define PIO_PD20 (1u << 20)
96#define PIO_PD21 (1u << 21)
97#define PIO_PD22 (1u << 22)
98#define PIO_PD24 (1u << 24)
99#define PIO_PD25 (1u << 25)
100#define PIO_PD26 (1u << 26)
101#define PIO_PD27 (1u << 27)
102#define PIO_PD28 (1u << 28)
103#define PIO_PD30 (1u << 30)
104#define PIO_PD31 (1u << 31)
105/* ========== Pio definition for AFEC0 peripheral ========== */
106#define PIO_PD30X1_AFE0_AD0 (1u << 30)
107#define PIO_PA21X1_AFE0_AD1 (1u << 21)
108#define PIO_PA21X1_PIODCEN2 (1u << 21)
109#define PIO_PB0X1_AFE0_AD10 (1u << 0)
110#define PIO_PB0X1_RTCOUT0 (1u << 0)
111#define PIO_PB3X1_AFE0_AD2 (1u << 3)
112#define PIO_PB3X1_WKUP12 (1u << 3)
113#define PIO_PE5X1_AFE0_AD3 (1u << 5)
114#define PIO_PE4X1_AFE0_AD4 (1u << 4)
115#define PIO_PB2X1_AFE0_AD5 (1u << 2)
116#define PIO_PA17X1_AFE0_AD6 (1u << 17)
117#define PIO_PA18X1_AFE0_AD7 (1u << 18)
118#define PIO_PA19X1_AFE0_AD8 (1u << 19)
119#define PIO_PA19X1_WKUP9 (1u << 19)
120#define PIO_PA20X1_AFE0_AD9 (1u << 20)
121#define PIO_PA20X1_WKUP10 (1u << 20)
122#define PIO_PA8B_AFE0_ADTRG (1u << 8)
123/* ========== Pio definition for AFEC1 peripheral ========== */
124#define PIO_PB1X1_AFE1_AD0 (1u << 1)
125#define PIO_PB1X1_RTCOUT1 (1u << 1)
126#define PIO_PC13X1_AFE1_AD1 (1u << 13)
127#define PIO_PE3X1_AFE1_AD10 (1u << 3)
128#define PIO_PE0X1_AFE1_AD11 (1u << 0)
129#define PIO_PC15X1_AFE1_AD2 (1u << 15)
130#define PIO_PC12X1_AFE1_AD3 (1u << 12)
131#define PIO_PC29X1_AFE1_AD4 (1u << 29)
132#define PIO_PC30X1_AFE1_AD5 (1u << 30)
133#define PIO_PC31X1_AFE1_AD6 (1u << 31)
134#define PIO_PC26X1_AFE1_AD7 (1u << 26)
135#define PIO_PC27X1_AFE1_AD8 (1u << 27)
136#define PIO_PC0X1_AFE1_AD9 (1u << 0)
137#define PIO_PD9C_AFE1_ADTRG (1u << 9)
138/* ========== Pio definition for ARM peripheral ========== */
139#define PIO_PB7X1_SWCLK (1u << 7)
140#define PIO_PB7X1_TCK (1u << 7)
141#define PIO_PB6X1_SWDIO (1u << 6)
142#define PIO_PB6X1_TMS (1u << 6)
143#define PIO_PB4X1_TDI (1u << 4)
144#define PIO_PB5X1_TDO (1u << 5)
145#define PIO_PB5X1_TRACESWO (1u << 5)
146#define PIO_PB5X1_WKUP13 (1u << 5)
147#define PIO_PB13X1_DAC0 (1u << 13)
148#define PIO_PD0X1_DAC1 (1u << 0)
149#define PIO_PA2C_DATRG (1u << 2)
150/* ========== Pio definition for GMAC peripheral ========== */
151#define PIO_PD13A_GCOL (1u << 13)
152#define PIO_PD10A_GCRS (1u << 10)
153#define PIO_PD8A_GMDC (1u << 8)
154#define PIO_PD9A_GMDIO (1u << 9)
155#define PIO_PD5A_GRX0 (1u << 5)
156#define PIO_PD6A_GRX1 (1u << 6)
157#define PIO_PD11A_GRX2 (1u << 11)
158#define PIO_PD12A_GRX3 (1u << 12)
159#define PIO_PD14A_GRXCK (1u << 14)
160#define PIO_PD4A_GRXDV (1u << 4)
161#define PIO_PD7A_GRXER (1u << 7)
162#define PIO_PB1B_GTSUCOMP (1u << 1)
163#define PIO_PB12B_GTSUCOMP (1u << 12)
164#define PIO_PD11C_GTSUCOMP (1u << 11)
165#define PIO_PD20C_GTSUCOMP (1u << 20)
166#define PIO_PD2A_GTX0 (1u << 2)
167#define PIO_PD3A_GTX1 (1u << 3)
168#define PIO_PD15A_GTX2 (1u << 15)
169#define PIO_PD16A_GTX3 (1u << 16)
170#define PIO_PD0A_GTXCK (1u << 0)
171#define PIO_PD1A_GTXEN (1u << 1)
172#define PIO_PD17A_GTXER (1u << 17)
173/* ========== Pio definition for HSMCI peripheral ========== */
174#define PIO_PA28C_MCCDA (1u << 28)
175#define PIO_PA25D_MCCK (1u << 25)
176#define PIO_PA30C_MCDA0 (1u << 30)
177#define PIO_PA31C_MCDA1 (1u << 31)
178#define PIO_PA26C_MCDA2 (1u << 26)
179#define PIO_PA27C_MCDA3 (1u << 27)
180/* ========== Pio definition for ISI peripheral ========== */
181#define PIO_PD22D_ISI_D0 (1u << 22)
182#define PIO_PD21D_ISI_D1 (1u << 21)
183#define PIO_PD30D_ISI_D10 (1u << 30)
184#define PIO_PD31D_ISI_D11 (1u << 31)
185#define PIO_PB3D_ISI_D2 (1u << 3)
186#define PIO_PA9B_ISI_D3 (1u << 9)
187#define PIO_PA5B_ISI_D4 (1u << 5)
188#define PIO_PD11D_ISI_D5 (1u << 11)
189#define PIO_PD12D_ISI_D6 (1u << 12)
190#define PIO_PA27D_ISI_D7 (1u << 27)
191#define PIO_PD27D_ISI_D8 (1u << 27)
192#define PIO_PD28D_ISI_D9 (1u << 28)
193#define PIO_PD24D_ISI_HSYNC (1u << 24)
194#define PIO_PA24D_ISI_PCK (1u << 24)
195#define PIO_PD25D_ISI_VSYNC (1u << 25)
196/* ========== Pio definition for MCAN0 peripheral ========== */
197#define PIO_PB3A_CANRX0 (1u << 3)
198#define PIO_PB2A_CANTX0 (1u << 2)
199/* ========== Pio definition for MCAN1 peripheral ========== */
200#define PIO_PC12C_CANRX1 (1u << 12)
201#define PIO_PD28B_CANRX1 (1u << 28)
202#define PIO_PC14C_CANTX1 (1u << 14)
203#define PIO_PD12B_CANTX1 (1u << 12)
204/* ========== Pio definition for MLB peripheral ========== */
205#define PIO_PB4C_MLBCLK (1u << 4)
206#define PIO_PB5C_MLBDAT (1u << 5)
207#define PIO_PD10D_MLBSIG (1u << 10)
208/* ========== Pio definition for PIOA peripheral ========== */
209#define PIO_PA21X1_AFE0_AD1 (1u << 21)
210#define PIO_PA21X1_PIODCEN2 (1u << 21)
211#define PIO_PA3X1_PIODC0 (1u << 3)
212#define PIO_PA10X1_PIODC4 (1u << 10)
213#define PIO_PA12X1_PIODC6 (1u << 12)
214#define PIO_PA13X1_PIODC7 (1u << 13)
215#define PIO_PA22X1_PIODCCLK (1u << 22)
216#define PIO_PA4X1_WKUP3 (1u << 4)
217#define PIO_PA4X1_PIODC1 (1u << 4)
218#define PIO_PA5X1_WKUP4 (1u << 5)
219#define PIO_PA5X1_PIODC2 (1u << 5)
220#define PIO_PA9X1_WKUP6 (1u << 9)
221#define PIO_PA9X1_PIODC3 (1u << 9)
222#define PIO_PA11X1_WKUP7 (1u << 11)
223#define PIO_PA11X1_PIODC5 (1u << 11)
224#define PIO_PA14X1_WKUP8 (1u << 14)
225#define PIO_PA14X1_PIODCEN1 (1u << 14)
226/* ========== Pio definition for PMC peripheral ========== */
227#define PIO_PA6B_PCK0 (1u << 6)
228#define PIO_PB12D_PCK0 (1u << 12)
229#define PIO_PB13B_PCK0 (1u << 13)
230#define PIO_PA17B_PCK1 (1u << 17)
231#define PIO_PA21B_PCK1 (1u << 21)
232#define PIO_PA3C_PCK2 (1u << 3)
233#define PIO_PA18B_PCK2 (1u << 18)
234#define PIO_PA31B_PCK2 (1u << 31)
235#define PIO_PB3B_PCK2 (1u << 3)
236#define PIO_PD31C_PCK2 (1u << 31)
237/* ========== Pio definition for PWM0 peripheral ========== */
238#define PIO_PA10B_PWMC0_PWMEXTRG0 (1u << 10)
239#define PIO_PA22B_PWMC0_PWMEXTRG1 (1u << 22)
240#define PIO_PA9C_PWMC0_PWMFI0 (1u << 9)
241#define PIO_PD8B_PWMC0_PWMFI1 (1u << 8)
242#define PIO_PD9B_PWMC0_PWMFI2 (1u << 9)
243#define PIO_PA0A_PWMC0_PWMH0 (1u << 0)
244#define PIO_PA11B_PWMC0_PWMH0 (1u << 11)
245#define PIO_PA23B_PWMC0_PWMH0 (1u << 23)
246#define PIO_PB0A_PWMC0_PWMH0 (1u << 0)
247#define PIO_PD11B_PWMC0_PWMH0 (1u << 11)
248#define PIO_PD20A_PWMC0_PWMH0 (1u << 20)
249#define PIO_PA2A_PWMC0_PWMH1 (1u << 2)
250#define PIO_PA12B_PWMC0_PWMH1 (1u << 12)
251#define PIO_PA24B_PWMC0_PWMH1 (1u << 24)
252#define PIO_PB1A_PWMC0_PWMH1 (1u << 1)
253#define PIO_PD21A_PWMC0_PWMH1 (1u << 21)
254#define PIO_PA13B_PWMC0_PWMH2 (1u << 13)
255#define PIO_PA25B_PWMC0_PWMH2 (1u << 25)
256#define PIO_PB4B_PWMC0_PWMH2 (1u << 4)
257#define PIO_PC19B_PWMC0_PWMH2 (1u << 19)
258#define PIO_PD22A_PWMC0_PWMH2 (1u << 22)
259#define PIO_PA7B_PWMC0_PWMH3 (1u << 7)
260#define PIO_PA14B_PWMC0_PWMH3 (1u << 14)
261#define PIO_PA17C_PWMC0_PWMH3 (1u << 17)
262#define PIO_PC13B_PWMC0_PWMH3 (1u << 13)
263#define PIO_PC21B_PWMC0_PWMH3 (1u << 21)
264#define PIO_PD23A_PWMC0_PWMH3 (1u << 23)
265#define PIO_PA1A_PWMC0_PWML0 (1u << 1)
266#define PIO_PA19B_PWMC0_PWML0 (1u << 19)
267#define PIO_PB5B_PWMC0_PWML0 (1u << 5)
268#define PIO_PC0B_PWMC0_PWML0 (1u << 0)
269#define PIO_PD10B_PWMC0_PWML0 (1u << 10)
270#define PIO_PD24A_PWMC0_PWML0 (1u << 24)
271#define PIO_PA20B_PWMC0_PWML1 (1u << 20)
272#define PIO_PB12A_PWMC0_PWML1 (1u << 12)
273#define PIO_PC1B_PWMC0_PWML1 (1u << 1)
274#define PIO_PC18B_PWMC0_PWML1 (1u << 18)
275#define PIO_PD25A_PWMC0_PWML1 (1u << 25)
276#define PIO_PA16C_PWMC0_PWML2 (1u << 16)
277#define PIO_PA30A_PWMC0_PWML2 (1u << 30)
278#define PIO_PB13A_PWMC0_PWML2 (1u << 13)
279#define PIO_PC2B_PWMC0_PWML2 (1u << 2)
280#define PIO_PC20B_PWMC0_PWML2 (1u << 20)
281#define PIO_PD26A_PWMC0_PWML2 (1u << 26)
282#define PIO_PA15C_PWMC0_PWML3 (1u << 15)
283#define PIO_PC3B_PWMC0_PWML3 (1u << 3)
284#define PIO_PC15B_PWMC0_PWML3 (1u << 15)
285#define PIO_PC22B_PWMC0_PWML3 (1u << 22)
286#define PIO_PD27A_PWMC0_PWML3 (1u << 27)
287/* ========== Pio definition for PWM1 peripheral ========== */
288#define PIO_PA30B_PWMC1_PWMEXTRG0 (1u << 30)
289#define PIO_PA18A_PWMC1_PWMEXTRG1 (1u << 18)
290#define PIO_PA21C_PWMC1_PWMFI0 (1u << 21)
291#define PIO_PA26D_PWMC1_PWMFI1 (1u << 26)
292#define PIO_PA28D_PWMC1_PWMFI2 (1u << 28)
293#define PIO_PA12C_PWMC1_PWMH0 (1u << 12)
294#define PIO_PD1B_PWMC1_PWMH0 (1u << 1)
295#define PIO_PA14C_PWMC1_PWMH1 (1u << 14)
296#define PIO_PD3B_PWMC1_PWMH1 (1u << 3)
297#define PIO_PA31D_PWMC1_PWMH2 (1u << 31)
298#define PIO_PD5B_PWMC1_PWMH2 (1u << 5)
299#define PIO_PA8A_PWMC1_PWMH3 (1u << 8)
300#define PIO_PD7B_PWMC1_PWMH3 (1u << 7)
301#define PIO_PA11C_PWMC1_PWML0 (1u << 11)
302#define PIO_PD0B_PWMC1_PWML0 (1u << 0)
303#define PIO_PA13C_PWMC1_PWML1 (1u << 13)
304#define PIO_PD2B_PWMC1_PWML1 (1u << 2)
305#define PIO_PA23D_PWMC1_PWML2 (1u << 23)
306#define PIO_PD4B_PWMC1_PWML2 (1u << 4)
307#define PIO_PA5A_PWMC1_PWML3 (1u << 5)
308#define PIO_PD6B_PWMC1_PWML3 (1u << 6)
309/* ========== Pio definition for QSPI peripheral ========== */
310#define PIO_PA11A_QCS (1u << 11)
311#define PIO_PA13A_QIO0 (1u << 13)
312#define PIO_PA12A_QIO1 (1u << 12)
313#define PIO_PA17A_QIO2 (1u << 17)
314#define PIO_PD31A_QIO3 (1u << 31)
315#define PIO_PA14A_QSCK (1u << 14)
316/* ========== Pio definition for SPI0 peripheral ========== */
317#define PIO_PD20B_SPI0_MISO (1u << 20)
318#define PIO_PD21B_SPI0_MOSI (1u << 21)
319#define PIO_PB2D_SPI0_NPCS0 (1u << 2)
320#define PIO_PA31A_SPI0_NPCS1 (1u << 31)
321#define PIO_PD25B_SPI0_NPCS1 (1u << 25)
322#define PIO_PD12C_SPI0_NPCS2 (1u << 12)
323#define PIO_PD27B_SPI0_NPCS3 (1u << 27)
324#define PIO_PD22B_SPI0_SPCK (1u << 22)
325/* ========== Pio definition for SPI1 peripheral ========== */
326#define PIO_PC26C_SPI1_MISO (1u << 26)
327#define PIO_PC27C_SPI1_MOSI (1u << 27)
328#define PIO_PC25C_SPI1_NPCS0 (1u << 25)
329#define PIO_PC28C_SPI1_NPCS1 (1u << 28)
330#define PIO_PD0C_SPI1_NPCS1 (1u << 0)
331#define PIO_PC29C_SPI1_NPCS2 (1u << 29)
332#define PIO_PD1C_SPI1_NPCS2 (1u << 1)
333#define PIO_PC30C_SPI1_NPCS3 (1u << 30)
334#define PIO_PD2C_SPI1_NPCS3 (1u << 2)
335#define PIO_PC24C_SPI1_SPCK (1u << 24)
336/* ========== Pio definition for SSC peripheral ========== */
337#define PIO_PA10C_RD (1u << 10)
338#define PIO_PD24B_RF (1u << 24)
339#define PIO_PA22A_RK (1u << 22)
340#define PIO_PB5D_TD (1u << 5)
341#define PIO_PD10C_TD (1u << 10)
342#define PIO_PD26B_TD (1u << 26)
343#define PIO_PB0D_TF (1u << 0)
344#define PIO_PB1D_TK (1u << 1)
345/* ========== Pio definition for TC0 peripheral ========== */
346#define PIO_PA4B_TCLK0 (1u << 4)
347#define PIO_PA28B_TCLK1 (1u << 28)
348#define PIO_PA29B_TCLK2 (1u << 29)
349#define PIO_PA0B_TIOA0 (1u << 0)
350#define PIO_PA15B_TIOA1 (1u << 15)
351#define PIO_PA26B_TIOA2 (1u << 26)
352#define PIO_PA1B_TIOB0 (1u << 1)
353#define PIO_PA16B_TIOB1 (1u << 16)
354#define PIO_PA27B_TIOB2 (1u << 27)
355/* ========== Pio definition for TC3 peripheral ========== */
356#define PIO_PE5B_TCLK10 (1u << 5)
357#define PIO_PD24C_TCLK11 (1u << 24)
358#define PIO_PE2B_TCLK9 (1u << 2)
359#define PIO_PE3B_TIOA10 (1u << 3)
360#define PIO_PD21C_TIOA11 (1u << 21)
361#define PIO_PE0B_TIOA9 (1u << 0)
362#define PIO_PE4B_TIOB10 (1u << 4)
363#define PIO_PD22C_TIOB11 (1u << 22)
364#define PIO_PE1B_TIOB9 (1u << 1)
365/* ========== Pio definition for TWIHS0 peripheral ========== */
366#define PIO_PA4A_TWCK0 (1u << 4)
367#define PIO_PA3A_TWD0 (1u << 3)
368/* ========== Pio definition for TWIHS1 peripheral ========== */
369#define PIO_PB5A_TWCK1 (1u << 5)
370#define PIO_PB4A_TWD1 (1u << 4)
371/* ========== Pio definition for TWIHS2 peripheral ========== */
372#define PIO_PD28C_TWCK2 (1u << 28)
373#define PIO_PD27C_TWD2 (1u << 27)
374/* ========== Pio definition for UART0 peripheral ========== */
375#define PIO_PA9A_URXD0 (1u << 9)
376#define PIO_PA10A_UTXD0 (1u << 10)
377/* ========== Pio definition for UART1 peripheral ========== */
378#define PIO_PA5C_URXD1 (1u << 5)
379#define PIO_PA4C_UTXD1 (1u << 4)
380#define PIO_PA6C_UTXD1 (1u << 6)
381#define PIO_PD26D_UTXD1 (1u << 26)
382/* ========== Pio definition for UART2 peripheral ========== */
383#define PIO_PD25C_URXD2 (1u << 25)
384#define PIO_PD26C_UTXD2 (1u << 26)
385/* ========== Pio definition for UART3 peripheral ========== */
386#define PIO_PD28A_URXD3 (1u << 28)
387#define PIO_PD30A_UTXD3 (1u << 30)
388#define PIO_PD31B_UTXD3 (1u << 31)
389/* ========== Pio definition for UART4 peripheral ========== */
390#define PIO_PD18C_URXD4 (1u << 18)
391#define PIO_PD3C_UTXD4 (1u << 3)
392#define PIO_PD19C_UTXD4 (1u << 19)
393/* ========== Pio definition for USART0 peripheral ========== */
394#define PIO_PB2C_CTS0 (1u << 2)
395#define PIO_PD0D_DCD0 (1u << 0)
396#define PIO_PD2D_DSR0 (1u << 2)
397#define PIO_PD1D_DTR0 (1u << 1)
398#define PIO_PD3D_RI0 (1u << 3)
399#define PIO_PB3C_RTS0 (1u << 3)
400#define PIO_PB0C_RXD0 (1u << 0)
401#define PIO_PB13C_SCK0 (1u << 13)
402#define PIO_PB1C_TXD0 (1u << 1)
403/* ========== Pio definition for USART1 peripheral ========== */
404#define PIO_PA25A_CTS1 (1u << 25)
405#define PIO_PA26A_DCD1 (1u << 26)
406#define PIO_PA28A_DSR1 (1u << 28)
407#define PIO_PA27A_DTR1 (1u << 27)
408#define PIO_PA3B_LONCOL1 (1u << 3)
409#define PIO_PA29A_RI1 (1u << 29)
410#define PIO_PA24A_RTS1 (1u << 24)
411#define PIO_PA21A_RXD1 (1u << 21)
412#define PIO_PA23A_SCK1 (1u << 23)
413#define PIO_PB4D_TXD1 (1u << 4)
414/* ========== Pio definition for USART2 peripheral ========== */
415#define PIO_PD19B_CTS2 (1u << 19)
416#define PIO_PD4D_DCD2 (1u << 4)
417#define PIO_PD6D_DSR2 (1u << 6)
418#define PIO_PD5D_DTR2 (1u << 5)
419#define PIO_PD7D_RI2 (1u << 7)
420#define PIO_PD18B_RTS2 (1u << 18)
421#define PIO_PD15B_RXD2 (1u << 15)
422#define PIO_PD17B_SCK2 (1u << 17)
423#define PIO_PD16B_TXD2 (1u << 16)
424/* ========== Pio indexes ========== */
425#define PIO_PA0_IDX 0
426#define PIO_PA1_IDX 1
427#define PIO_PA2_IDX 2
428#define PIO_PA3_IDX 3
429#define PIO_PA4_IDX 4
430#define PIO_PA5_IDX 5
431#define PIO_PA7_IDX 7
432#define PIO_PA8_IDX 8
433#define PIO_PA9_IDX 9
434#define PIO_PA10_IDX 10
435#define PIO_PA11_IDX 11
436#define PIO_PA12_IDX 12
437#define PIO_PA13_IDX 13
438#define PIO_PA14_IDX 14
439#define PIO_PA15_IDX 15
440#define PIO_PA16_IDX 16
441#define PIO_PA17_IDX 17
442#define PIO_PA18_IDX 18
443#define PIO_PA19_IDX 19
444#define PIO_PA20_IDX 20
445#define PIO_PA21_IDX 21
446#define PIO_PA22_IDX 22
447#define PIO_PA23_IDX 23
448#define PIO_PA24_IDX 24
449#define PIO_PA25_IDX 25
450#define PIO_PA26_IDX 26
451#define PIO_PA27_IDX 27
452#define PIO_PA28_IDX 28
453#define PIO_PA30_IDX 30
454#define PIO_PA31_IDX 31
455#define PIO_PB0_IDX 32
456#define PIO_PB1_IDX 33
457#define PIO_PB2_IDX 34
458#define PIO_PB3_IDX 35
459#define PIO_PB4_IDX 36
460#define PIO_PB5_IDX 37
461#define PIO_PB6_IDX 38
462#define PIO_PB7_IDX 39
463#define PIO_PB8_IDX 40
464#define PIO_PB9_IDX 41
465#define PIO_PB12_IDX 44
466#define PIO_PB13_IDX 45
467#define PIO_PD0_IDX 96
468#define PIO_PD1_IDX 97
469#define PIO_PD2_IDX 98
470#define PIO_PD3_IDX 99
471#define PIO_PD4_IDX 100
472#define PIO_PD5_IDX 101
473#define PIO_PD6_IDX 102
474#define PIO_PD7_IDX 103
475#define PIO_PD8_IDX 104
476#define PIO_PD9_IDX 105
477#define PIO_PD10_IDX 106
478#define PIO_PD11_IDX 107
479#define PIO_PD12_IDX 108
480#define PIO_PD13_IDX 109
481#define PIO_PD14_IDX 110
482#define PIO_PD15_IDX 111
483#define PIO_PD16_IDX 112
484#define PIO_PD17_IDX 113
485#define PIO_PD18_IDX 114
486#define PIO_PD19_IDX 115
487#define PIO_PD20_IDX 116
488#define PIO_PD21_IDX 117
489#define PIO_PD22_IDX 118
490#define PIO_PD24_IDX 120
491#define PIO_PD25_IDX 121
492#define PIO_PD26_IDX 122
493#define PIO_PD27_IDX 123
494#define PIO_PD28_IDX 124
495#define PIO_PD30_IDX 126
496#define PIO_PD31_IDX 127
497
498#endif /* _SAMV71N20_PIO_ */