RTEMS: bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n19.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
pio_samv71n19.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 _SAMV71N19_PIO_
31#define _SAMV71N19_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/* ========== Pio definition for DACC peripheral ========== */
148#define PIO_PB13X1_DAC0 (1u << 13)
149#define PIO_PD0X1_DAC1 (1u << 0)
150#define PIO_PA2C_DATRG (1u << 2)
151/* ========== Pio definition for GMAC peripheral ========== */
152#define PIO_PD13A_GCOL (1u << 13)
153#define PIO_PD10A_GCRS (1u << 10)
154#define PIO_PD8A_GMDC (1u << 8)
155#define PIO_PD9A_GMDIO (1u << 9)
156#define PIO_PD5A_GRX0 (1u << 5)
157#define PIO_PD6A_GRX1 (1u << 6)
158#define PIO_PD11A_GRX2 (1u << 11)
159#define PIO_PD12A_GRX3 (1u << 12)
160#define PIO_PD14A_GRXCK (1u << 14)
161#define PIO_PD4A_GRXDV (1u << 4)
162#define PIO_PD7A_GRXER (1u << 7)
163#define PIO_PB1B_GTSUCOMP (1u << 1)
164#define PIO_PB12B_GTSUCOMP (1u << 12)
165#define PIO_PD11C_GTSUCOMP (1u << 11)
166#define PIO_PD20C_GTSUCOMP (1u << 20)
167#define PIO_PD2A_GTX0 (1u << 2)
168#define PIO_PD3A_GTX1 (1u << 3)
169#define PIO_PD15A_GTX2 (1u << 15)
170#define PIO_PD16A_GTX3 (1u << 16)
171#define PIO_PD0A_GTXCK (1u << 0)
172#define PIO_PD1A_GTXEN (1u << 1)
173#define PIO_PD17A_GTXER (1u << 17)
174/* ========== Pio definition for HSMCI peripheral ========== */
175#define PIO_PA28C_MCCDA (1u << 28)
176#define PIO_PA25D_MCCK (1u << 25)
177#define PIO_PA30C_MCDA0 (1u << 30)
178#define PIO_PA31C_MCDA1 (1u << 31)
179#define PIO_PA26C_MCDA2 (1u << 26)
180#define PIO_PA27C_MCDA3 (1u << 27)
181/* ========== Pio definition for ISI peripheral ========== */
182#define PIO_PD22D_ISI_D0 (1u << 22)
183#define PIO_PD21D_ISI_D1 (1u << 21)
184#define PIO_PD30D_ISI_D10 (1u << 30)
185#define PIO_PD31D_ISI_D11 (1u << 31)
186#define PIO_PB3D_ISI_D2 (1u << 3)
187#define PIO_PA9B_ISI_D3 (1u << 9)
188#define PIO_PA5B_ISI_D4 (1u << 5)
189#define PIO_PD11D_ISI_D5 (1u << 11)
190#define PIO_PD12D_ISI_D6 (1u << 12)
191#define PIO_PA27D_ISI_D7 (1u << 27)
192#define PIO_PD27D_ISI_D8 (1u << 27)
193#define PIO_PD28D_ISI_D9 (1u << 28)
194#define PIO_PD24D_ISI_HSYNC (1u << 24)
195#define PIO_PA24D_ISI_PCK (1u << 24)
196#define PIO_PD25D_ISI_VSYNC (1u << 25)
197/* ========== Pio definition for MCAN0 peripheral ========== */
198#define PIO_PB3A_CANRX0 (1u << 3)
199#define PIO_PB2A_CANTX0 (1u << 2)
200/* ========== Pio definition for MCAN1 peripheral ========== */
201#define PIO_PC12C_CANRX1 (1u << 12)
202#define PIO_PD28B_CANRX1 (1u << 28)
203#define PIO_PC14C_CANTX1 (1u << 14)
204#define PIO_PD12B_CANTX1 (1u << 12)
205/* ========== Pio definition for MLB peripheral ========== */
206#define PIO_PB4C_MLBCLK (1u << 4)
207#define PIO_PB5C_MLBDAT (1u << 5)
208#define PIO_PD10D_MLBSIG (1u << 10)
209/* ========== Pio definition for PIOA peripheral ========== */
210#define PIO_PA21X1_AFE0_AD1 (1u << 21)
211#define PIO_PA21X1_PIODCEN2 (1u << 21)
212#define PIO_PA3X1_PIODC0 (1u << 3)
213#define PIO_PA10X1_PIODC4 (1u << 10)
214#define PIO_PA12X1_PIODC6 (1u << 12)
215#define PIO_PA13X1_PIODC7 (1u << 13)
216#define PIO_PA22X1_PIODCCLK (1u << 22)
217#define PIO_PA4X1_WKUP3 (1u << 4)
218#define PIO_PA4X1_PIODC1 (1u << 4)
219#define PIO_PA5X1_WKUP4 (1u << 5)
220#define PIO_PA5X1_PIODC2 (1u << 5)
221#define PIO_PA9X1_WKUP6 (1u << 9)
222#define PIO_PA9X1_PIODC3 (1u << 9)
223#define PIO_PA11X1_WKUP7 (1u << 11)
224#define PIO_PA11X1_PIODC5 (1u << 11)
225#define PIO_PA14X1_WKUP8 (1u << 14)
226#define PIO_PA14X1_PIODCEN1 (1u << 14)
227/* ========== Pio definition for PMC peripheral ========== */
228#define PIO_PA6B_PCK0 (1u << 6)
229#define PIO_PB12D_PCK0 (1u << 12)
230#define PIO_PB13B_PCK0 (1u << 13)
231#define PIO_PA17B_PCK1 (1u << 17)
232#define PIO_PA21B_PCK1 (1u << 21)
233#define PIO_PA3C_PCK2 (1u << 3)
234#define PIO_PA18B_PCK2 (1u << 18)
235#define PIO_PA31B_PCK2 (1u << 31)
236#define PIO_PB3B_PCK2 (1u << 3)
237#define PIO_PD31C_PCK2 (1u << 31)
238/* ========== Pio definition for PWM0 peripheral ========== */
239#define PIO_PA10B_PWMC0_PWMEXTRG0 (1u << 10)
240#define PIO_PA22B_PWMC0_PWMEXTRG1 (1u << 22)
241#define PIO_PA9C_PWMC0_PWMFI0 (1u << 9)
242#define PIO_PD8B_PWMC0_PWMFI1 (1u << 8)
243#define PIO_PD9B_PWMC0_PWMFI2 (1u << 9)
244#define PIO_PA0A_PWMC0_PWMH0 (1u << 0)
245#define PIO_PA11B_PWMC0_PWMH0 (1u << 11)
246#define PIO_PA23B_PWMC0_PWMH0 (1u << 23)
247#define PIO_PB0A_PWMC0_PWMH0 (1u << 0)
248#define PIO_PD11B_PWMC0_PWMH0 (1u << 11)
249#define PIO_PD20A_PWMC0_PWMH0 (1u << 20)
250#define PIO_PA2A_PWMC0_PWMH1 (1u << 2)
251#define PIO_PA12B_PWMC0_PWMH1 (1u << 12)
252#define PIO_PA24B_PWMC0_PWMH1 (1u << 24)
253#define PIO_PB1A_PWMC0_PWMH1 (1u << 1)
254#define PIO_PD21A_PWMC0_PWMH1 (1u << 21)
255#define PIO_PA13B_PWMC0_PWMH2 (1u << 13)
256#define PIO_PA25B_PWMC0_PWMH2 (1u << 25)
257#define PIO_PB4B_PWMC0_PWMH2 (1u << 4)
258#define PIO_PC19B_PWMC0_PWMH2 (1u << 19)
259#define PIO_PD22A_PWMC0_PWMH2 (1u << 22)
260#define PIO_PA7B_PWMC0_PWMH3 (1u << 7)
261#define PIO_PA14B_PWMC0_PWMH3 (1u << 14)
262#define PIO_PA17C_PWMC0_PWMH3 (1u << 17)
263#define PIO_PC13B_PWMC0_PWMH3 (1u << 13)
264#define PIO_PC21B_PWMC0_PWMH3 (1u << 21)
265#define PIO_PD23A_PWMC0_PWMH3 (1u << 23)
266#define PIO_PA1A_PWMC0_PWML0 (1u << 1)
267#define PIO_PA19B_PWMC0_PWML0 (1u << 19)
268#define PIO_PB5B_PWMC0_PWML0 (1u << 5)
269#define PIO_PC0B_PWMC0_PWML0 (1u << 0)
270#define PIO_PD10B_PWMC0_PWML0 (1u << 10)
271#define PIO_PD24A_PWMC0_PWML0 (1u << 24)
272#define PIO_PA20B_PWMC0_PWML1 (1u << 20)
273#define PIO_PB12A_PWMC0_PWML1 (1u << 12)
274#define PIO_PC1B_PWMC0_PWML1 (1u << 1)
275#define PIO_PC18B_PWMC0_PWML1 (1u << 18)
276#define PIO_PD25A_PWMC0_PWML1 (1u << 25)
277#define PIO_PA16C_PWMC0_PWML2 (1u << 16)
278#define PIO_PA30A_PWMC0_PWML2 (1u << 30)
279#define PIO_PB13A_PWMC0_PWML2 (1u << 13)
280#define PIO_PC2B_PWMC0_PWML2 (1u << 2)
281#define PIO_PC20B_PWMC0_PWML2 (1u << 20)
282#define PIO_PD26A_PWMC0_PWML2 (1u << 26)
283#define PIO_PA15C_PWMC0_PWML3 (1u << 15)
284#define PIO_PC3B_PWMC0_PWML3 (1u << 3)
285#define PIO_PC15B_PWMC0_PWML3 (1u << 15)
286#define PIO_PC22B_PWMC0_PWML3 (1u << 22)
287#define PIO_PD27A_PWMC0_PWML3 (1u << 27)
288/* ========== Pio definition for PWM1 peripheral ========== */
289#define PIO_PA30B_PWMC1_PWMEXTRG0 (1u << 30)
290#define PIO_PA18A_PWMC1_PWMEXTRG1 (1u << 18)
291#define PIO_PA21C_PWMC1_PWMFI0 (1u << 21)
292#define PIO_PA26D_PWMC1_PWMFI1 (1u << 26)
293#define PIO_PA28D_PWMC1_PWMFI2 (1u << 28)
294#define PIO_PA12C_PWMC1_PWMH0 (1u << 12)
295#define PIO_PD1B_PWMC1_PWMH0 (1u << 1)
296#define PIO_PA14C_PWMC1_PWMH1 (1u << 14)
297#define PIO_PD3B_PWMC1_PWMH1 (1u << 3)
298#define PIO_PA31D_PWMC1_PWMH2 (1u << 31)
299#define PIO_PD5B_PWMC1_PWMH2 (1u << 5)
300#define PIO_PA8A_PWMC1_PWMH3 (1u << 8)
301#define PIO_PD7B_PWMC1_PWMH3 (1u << 7)
302#define PIO_PA11C_PWMC1_PWML0 (1u << 11)
303#define PIO_PD0B_PWMC1_PWML0 (1u << 0)
304#define PIO_PA13C_PWMC1_PWML1 (1u << 13)
305#define PIO_PD2B_PWMC1_PWML1 (1u << 2)
306#define PIO_PA23D_PWMC1_PWML2 (1u << 23)
307#define PIO_PD4B_PWMC1_PWML2 (1u << 4)
308#define PIO_PA5A_PWMC1_PWML3 (1u << 5)
309#define PIO_PD6B_PWMC1_PWML3 (1u << 6)
310/* ========== Pio definition for QSPI peripheral ========== */
311#define PIO_PA11A_QCS (1u << 11)
312#define PIO_PA13A_QIO0 (1u << 13)
313#define PIO_PA12A_QIO1 (1u << 12)
314#define PIO_PA17A_QIO2 (1u << 17)
315#define PIO_PD31A_QIO3 (1u << 31)
316#define PIO_PA14A_QSCK (1u << 14)
317/* ========== Pio definition for SPI0 peripheral ========== */
318#define PIO_PD20B_SPI0_MISO (1u << 20)
319#define PIO_PD21B_SPI0_MOSI (1u << 21)
320#define PIO_PB2D_SPI0_NPCS0 (1u << 2)
321#define PIO_PA31A_SPI0_NPCS1 (1u << 31)
322#define PIO_PD25B_SPI0_NPCS1 (1u << 25)
323#define PIO_PD12C_SPI0_NPCS2 (1u << 12)
324#define PIO_PD27B_SPI0_NPCS3 (1u << 27)
325#define PIO_PD22B_SPI0_SPCK (1u << 22)
326/* ========== Pio definition for SPI1 peripheral ========== */
327#define PIO_PC26C_SPI1_MISO (1u << 26)
328#define PIO_PC27C_SPI1_MOSI (1u << 27)
329#define PIO_PC25C_SPI1_NPCS0 (1u << 25)
330#define PIO_PC28C_SPI1_NPCS1 (1u << 28)
331#define PIO_PD0C_SPI1_NPCS1 (1u << 0)
332#define PIO_PC29C_SPI1_NPCS2 (1u << 29)
333#define PIO_PD1C_SPI1_NPCS2 (1u << 1)
334#define PIO_PC30C_SPI1_NPCS3 (1u << 30)
335#define PIO_PD2C_SPI1_NPCS3 (1u << 2)
336#define PIO_PC24C_SPI1_SPCK (1u << 24)
337/* ========== Pio definition for SSC peripheral ========== */
338#define PIO_PA10C_RD (1u << 10)
339#define PIO_PD24B_RF (1u << 24)
340#define PIO_PA22A_RK (1u << 22)
341#define PIO_PB5D_TD (1u << 5)
342#define PIO_PD10C_TD (1u << 10)
343#define PIO_PD26B_TD (1u << 26)
344#define PIO_PB0D_TF (1u << 0)
345#define PIO_PB1D_TK (1u << 1)
346/* ========== Pio definition for TC0 peripheral ========== */
347#define PIO_PA4B_TCLK0 (1u << 4)
348#define PIO_PA28B_TCLK1 (1u << 28)
349#define PIO_PA29B_TCLK2 (1u << 29)
350#define PIO_PA0B_TIOA0 (1u << 0)
351#define PIO_PA15B_TIOA1 (1u << 15)
352#define PIO_PA26B_TIOA2 (1u << 26)
353#define PIO_PA1B_TIOB0 (1u << 1)
354#define PIO_PA16B_TIOB1 (1u << 16)
355#define PIO_PA27B_TIOB2 (1u << 27)
356/* ========== Pio definition for TC3 peripheral ========== */
357#define PIO_PE5B_TCLK10 (1u << 5)
358#define PIO_PD24C_TCLK11 (1u << 24)
359#define PIO_PE2B_TCLK9 (1u << 2)
360#define PIO_PE3B_TIOA10 (1u << 3)
361#define PIO_PD21C_TIOA11 (1u << 21)
362#define PIO_PE0B_TIOA9 (1u << 0)
363#define PIO_PE4B_TIOB10 (1u << 4)
364#define PIO_PD22C_TIOB11 (1u << 22)
365#define PIO_PE1B_TIOB9 (1u << 1)
366/* ========== Pio definition for TWIHS0 peripheral ========== */
367#define PIO_PA4A_TWCK0 (1u << 4)
368#define PIO_PA3A_TWD0 (1u << 3)
369/* ========== Pio definition for TWIHS1 peripheral ========== */
370#define PIO_PB5A_TWCK1 (1u << 5)
371#define PIO_PB4A_TWD1 (1u << 4)
372/* ========== Pio definition for TWIHS2 peripheral ========== */
373#define PIO_PD28C_TWCK2 (1u << 28)
374#define PIO_PD27C_TWD2 (1u << 27)
375/* ========== Pio definition for UART0 peripheral ========== */
376#define PIO_PA9A_URXD0 (1u << 9)
377#define PIO_PA10A_UTXD0 (1u << 10)
378/* ========== Pio definition for UART1 peripheral ========== */
379#define PIO_PA5C_URXD1 (1u << 5)
380#define PIO_PA4C_UTXD1 (1u << 4)
381#define PIO_PA6C_UTXD1 (1u << 6)
382#define PIO_PD26D_UTXD1 (1u << 26)
383/* ========== Pio definition for UART2 peripheral ========== */
384#define PIO_PD25C_URXD2 (1u << 25)
385#define PIO_PD26C_UTXD2 (1u << 26)
386/* ========== Pio definition for UART3 peripheral ========== */
387#define PIO_PD28A_URXD3 (1u << 28)
388#define PIO_PD30A_UTXD3 (1u << 30)
389#define PIO_PD31B_UTXD3 (1u << 31)
390/* ========== Pio definition for UART4 peripheral ========== */
391#define PIO_PD18C_URXD4 (1u << 18)
392#define PIO_PD3C_UTXD4 (1u << 3)
393#define PIO_PD19C_UTXD4 (1u << 19)
394/* ========== Pio definition for USART0 peripheral ========== */
395#define PIO_PB2C_CTS0 (1u << 2)
396#define PIO_PD0D_DCD0 (1u << 0)
397#define PIO_PD2D_DSR0 (1u << 2)
398#define PIO_PD1D_DTR0 (1u << 1)
399#define PIO_PD3D_RI0 (1u << 3)
400#define PIO_PB3C_RTS0 (1u << 3)
401#define PIO_PB0C_RXD0 (1u << 0)
402#define PIO_PB13C_SCK0 (1u << 13)
403#define PIO_PB1C_TXD0 (1u << 1)
404/* ========== Pio definition for USART1 peripheral ========== */
405#define PIO_PA25A_CTS1 (1u << 25)
406#define PIO_PA26A_DCD1 (1u << 26)
407#define PIO_PA28A_DSR1 (1u << 28)
408#define PIO_PA27A_DTR1 (1u << 27)
409#define PIO_PA3B_LONCOL1 (1u << 3)
410#define PIO_PA29A_RI1 (1u << 29)
411#define PIO_PA24A_RTS1 (1u << 24)
412#define PIO_PA21A_RXD1 (1u << 21)
413#define PIO_PA23A_SCK1 (1u << 23)
414#define PIO_PB4D_TXD1 (1u << 4)
415/* ========== Pio definition for USART2 peripheral ========== */
416#define PIO_PD19B_CTS2 (1u << 19)
417#define PIO_PD4D_DCD2 (1u << 4)
418#define PIO_PD6D_DSR2 (1u << 6)
419#define PIO_PD5D_DTR2 (1u << 5)
420#define PIO_PD7D_RI2 (1u << 7)
421#define PIO_PD18B_RTS2 (1u << 18)
422#define PIO_PD15B_RXD2 (1u << 15)
423#define PIO_PD17B_SCK2 (1u << 17)
424#define PIO_PD16B_TXD2 (1u << 16)
425/* ========== Pio indexes ========== */
426#define PIO_PA0_IDX 0
427#define PIO_PA1_IDX 1
428#define PIO_PA2_IDX 2
429#define PIO_PA3_IDX 3
430#define PIO_PA4_IDX 4
431#define PIO_PA5_IDX 5
432#define PIO_PA7_IDX 7
433#define PIO_PA8_IDX 8
434#define PIO_PA9_IDX 9
435#define PIO_PA10_IDX 10
436#define PIO_PA11_IDX 11
437#define PIO_PA12_IDX 12
438#define PIO_PA13_IDX 13
439#define PIO_PA14_IDX 14
440#define PIO_PA15_IDX 15
441#define PIO_PA16_IDX 16
442#define PIO_PA17_IDX 17
443#define PIO_PA18_IDX 18
444#define PIO_PA19_IDX 19
445#define PIO_PA20_IDX 20
446#define PIO_PA21_IDX 21
447#define PIO_PA22_IDX 22
448#define PIO_PA23_IDX 23
449#define PIO_PA24_IDX 24
450#define PIO_PA25_IDX 25
451#define PIO_PA26_IDX 26
452#define PIO_PA27_IDX 27
453#define PIO_PA28_IDX 28
454#define PIO_PA30_IDX 30
455#define PIO_PA31_IDX 31
456#define PIO_PB0_IDX 32
457#define PIO_PB1_IDX 33
458#define PIO_PB2_IDX 34
459#define PIO_PB3_IDX 35
460#define PIO_PB4_IDX 36
461#define PIO_PB5_IDX 37
462#define PIO_PB6_IDX 38
463#define PIO_PB7_IDX 39
464#define PIO_PB8_IDX 40
465#define PIO_PB9_IDX 41
466#define PIO_PB12_IDX 44
467#define PIO_PB13_IDX 45
468#define PIO_PD0_IDX 96
469#define PIO_PD1_IDX 97
470#define PIO_PD2_IDX 98
471#define PIO_PD3_IDX 99
472#define PIO_PD4_IDX 100
473#define PIO_PD5_IDX 101
474#define PIO_PD6_IDX 102
475#define PIO_PD7_IDX 103
476#define PIO_PD8_IDX 104
477#define PIO_PD9_IDX 105
478#define PIO_PD10_IDX 106
479#define PIO_PD11_IDX 107
480#define PIO_PD12_IDX 108
481#define PIO_PD13_IDX 109
482#define PIO_PD14_IDX 110
483#define PIO_PD15_IDX 111
484#define PIO_PD16_IDX 112
485#define PIO_PD17_IDX 113
486#define PIO_PD18_IDX 114
487#define PIO_PD19_IDX 115
488#define PIO_PD20_IDX 116
489#define PIO_PD21_IDX 117
490#define PIO_PD22_IDX 118
491#define PIO_PD24_IDX 120
492#define PIO_PD25_IDX 121
493#define PIO_PD26_IDX 122
494#define PIO_PD27_IDX 123
495#define PIO_PD28_IDX 124
496#define PIO_PD30_IDX 126
497#define PIO_PD31_IDX 127
498
499#endif /* _SAMV71N19_PIO_ */