RTEMS 6.1-rc1
pio_same70j21.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 _SAME70J21_PIO_
31#define _SAME70J21_PIO_
32
33#define PIO_PA3 (1u << 3)
34#define PIO_PA4 (1u << 4)
35#define PIO_PA5 (1u << 5)
36#define PIO_PA7 (1u << 7)
37#define PIO_PA8 (1u << 8)
38#define PIO_PA9 (1u << 9)
39#define PIO_PA10 (1u << 10)
40#define PIO_PA11 (1u << 11)
41#define PIO_PA12 (1u << 12)
42#define PIO_PA13 (1u << 13)
43#define PIO_PA14 (1u << 14)
44#define PIO_PA21 (1u << 21)
45#define PIO_PA22 (1u << 22)
46#define PIO_PA24 (1u << 24)
47#define PIO_PA27 (1u << 27)
48#define PIO_PB0 (1u << 0)
49#define PIO_PB1 (1u << 1)
50#define PIO_PB2 (1u << 2)
51#define PIO_PB3 (1u << 3)
52#define PIO_PB4 (1u << 4)
53#define PIO_PB5 (1u << 5)
54#define PIO_PB6 (1u << 6)
55#define PIO_PB7 (1u << 7)
56#define PIO_PB8 (1u << 8)
57#define PIO_PB9 (1u << 9)
58#define PIO_PB12 (1u << 12)
59#define PIO_PD0 (1u << 0)
60#define PIO_PD1 (1u << 1)
61#define PIO_PD2 (1u << 2)
62#define PIO_PD3 (1u << 3)
63#define PIO_PD4 (1u << 4)
64#define PIO_PD5 (1u << 5)
65#define PIO_PD6 (1u << 6)
66#define PIO_PD7 (1u << 7)
67#define PIO_PD8 (1u << 8)
68#define PIO_PD9 (1u << 9)
69#define PIO_PD10 (1u << 10)
70#define PIO_PD11 (1u << 11)
71#define PIO_PD12 (1u << 12)
72#define PIO_PD21 (1u << 21)
73#define PIO_PD22 (1u << 22)
74#define PIO_PD24 (1u << 24)
75#define PIO_PD25 (1u << 25)
76#define PIO_PD26 (1u << 26)
77#define PIO_PD31 (1u << 31)
78/* ========== Pio definition for AFEC0 peripheral ========== */
79#define PIO_PD30X1_AFE0_AD0 (1u << 30)
80#define PIO_PA21X1_AFE0_AD1 (1u << 21)
81#define PIO_PA21X1_PIODCEN2 (1u << 21)
82#define PIO_PB0X1_AFE0_AD10 (1u << 0)
83#define PIO_PB0X1_RTCOUT0 (1u << 0)
84#define PIO_PB3X1_AFE0_AD2 (1u << 3)
85#define PIO_PB3X1_WKUP12 (1u << 3)
86#define PIO_PE5X1_AFE0_AD3 (1u << 5)
87#define PIO_PE4X1_AFE0_AD4 (1u << 4)
88#define PIO_PB2X1_AFE0_AD5 (1u << 2)
89#define PIO_PA17X1_AFE0_AD6 (1u << 17)
90#define PIO_PA18X1_AFE0_AD7 (1u << 18)
91#define PIO_PA19X1_AFE0_AD8 (1u << 19)
92#define PIO_PA19X1_WKUP9 (1u << 19)
93#define PIO_PA20X1_AFE0_AD9 (1u << 20)
94#define PIO_PA20X1_WKUP10 (1u << 20)
95#define PIO_PA8B_AFE0_ADTRG (1u << 8)
96/* ========== Pio definition for AFEC1 peripheral ========== */
97#define PIO_PB1X1_AFE1_AD0 (1u << 1)
98#define PIO_PB1X1_RTCOUT1 (1u << 1)
99#define PIO_PC13X1_AFE1_AD1 (1u << 13)
100#define PIO_PE3X1_AFE1_AD10 (1u << 3)
101#define PIO_PE0X1_AFE1_AD11 (1u << 0)
102#define PIO_PC15X1_AFE1_AD2 (1u << 15)
103#define PIO_PC12X1_AFE1_AD3 (1u << 12)
104#define PIO_PC29X1_AFE1_AD4 (1u << 29)
105#define PIO_PC30X1_AFE1_AD5 (1u << 30)
106#define PIO_PC31X1_AFE1_AD6 (1u << 31)
107#define PIO_PC26X1_AFE1_AD7 (1u << 26)
108#define PIO_PC27X1_AFE1_AD8 (1u << 27)
109#define PIO_PC0X1_AFE1_AD9 (1u << 0)
110#define PIO_PD9C_AFE1_ADTRG (1u << 9)
111/* ========== Pio definition for ARM peripheral ========== */
112#define PIO_PB7X1_SWCLK (1u << 7)
113#define PIO_PB7X1_TCK (1u << 7)
114#define PIO_PB6X1_SWDIO (1u << 6)
115#define PIO_PB6X1_TMS (1u << 6)
116#define PIO_PB4X1_TDI (1u << 4)
117#define PIO_PB5X1_TDO (1u << 5)
118#define PIO_PB5X1_TRACESWO (1u << 5)
119#define PIO_PB5X1_WKUP13 (1u << 5)
120#define PIO_PB13X1_DAC0 (1u << 13)
121#define PIO_PD0X1_DAC1 (1u << 0)
122#define PIO_PA2C_DATRG (1u << 2)
123/* ========== Pio definition for GMAC peripheral ========== */
124#define PIO_PD13A_GCOL (1u << 13)
125#define PIO_PD10A_GCRS (1u << 10)
126#define PIO_PD8A_GMDC (1u << 8)
127#define PIO_PD9A_GMDIO (1u << 9)
128#define PIO_PD5A_GRX0 (1u << 5)
129#define PIO_PD6A_GRX1 (1u << 6)
130#define PIO_PD11A_GRX2 (1u << 11)
131#define PIO_PD12A_GRX3 (1u << 12)
132#define PIO_PD14A_GRXCK (1u << 14)
133#define PIO_PD4A_GRXDV (1u << 4)
134#define PIO_PD7A_GRXER (1u << 7)
135#define PIO_PB1B_GTSUCOMP (1u << 1)
136#define PIO_PB12B_GTSUCOMP (1u << 12)
137#define PIO_PD11C_GTSUCOMP (1u << 11)
138#define PIO_PD20C_GTSUCOMP (1u << 20)
139#define PIO_PD2A_GTX0 (1u << 2)
140#define PIO_PD3A_GTX1 (1u << 3)
141#define PIO_PD15A_GTX2 (1u << 15)
142#define PIO_PD16A_GTX3 (1u << 16)
143#define PIO_PD0A_GTXCK (1u << 0)
144#define PIO_PD1A_GTXEN (1u << 1)
145#define PIO_PD17A_GTXER (1u << 17)
146/* ========== Pio definition for HSMCI peripheral ========== */
147#define PIO_PA28C_MCCDA (1u << 28)
148#define PIO_PA25D_MCCK (1u << 25)
149#define PIO_PA30C_MCDA0 (1u << 30)
150#define PIO_PA31C_MCDA1 (1u << 31)
151#define PIO_PA26C_MCDA2 (1u << 26)
152#define PIO_PA27C_MCDA3 (1u << 27)
153/* ========== Pio definition for ISI peripheral ========== */
154#define PIO_PD22D_ISI_D0 (1u << 22)
155#define PIO_PD21D_ISI_D1 (1u << 21)
156#define PIO_PD30D_ISI_D10 (1u << 30)
157#define PIO_PD31D_ISI_D11 (1u << 31)
158#define PIO_PB3D_ISI_D2 (1u << 3)
159#define PIO_PA9B_ISI_D3 (1u << 9)
160#define PIO_PA5B_ISI_D4 (1u << 5)
161#define PIO_PD11D_ISI_D5 (1u << 11)
162#define PIO_PD12D_ISI_D6 (1u << 12)
163#define PIO_PA27D_ISI_D7 (1u << 27)
164#define PIO_PD27D_ISI_D8 (1u << 27)
165#define PIO_PD28D_ISI_D9 (1u << 28)
166#define PIO_PD24D_ISI_HSYNC (1u << 24)
167#define PIO_PA24D_ISI_PCK (1u << 24)
168#define PIO_PD25D_ISI_VSYNC (1u << 25)
169/* ========== Pio definition for MCAN0 peripheral ========== */
170#define PIO_PB3A_CANRX0 (1u << 3)
171#define PIO_PB2A_CANTX0 (1u << 2)
172/* ========== Pio definition for MCAN1 peripheral ========== */
173#define PIO_PC12C_CANRX1 (1u << 12)
174#define PIO_PD28B_CANRX1 (1u << 28)
175#define PIO_PC14C_CANTX1 (1u << 14)
176#define PIO_PD12B_CANTX1 (1u << 12)
177/* ========== Pio definition for PIOA peripheral ========== */
178#define PIO_PA21X1_AFE0_AD1 (1u << 21)
179#define PIO_PA21X1_PIODCEN2 (1u << 21)
180#define PIO_PA3X1_PIODC0 (1u << 3)
181#define PIO_PA10X1_PIODC4 (1u << 10)
182#define PIO_PA12X1_PIODC6 (1u << 12)
183#define PIO_PA13X1_PIODC7 (1u << 13)
184#define PIO_PA22X1_PIODCCLK (1u << 22)
185#define PIO_PA4X1_WKUP3 (1u << 4)
186#define PIO_PA4X1_PIODC1 (1u << 4)
187#define PIO_PA5X1_WKUP4 (1u << 5)
188#define PIO_PA5X1_PIODC2 (1u << 5)
189#define PIO_PA9X1_WKUP6 (1u << 9)
190#define PIO_PA9X1_PIODC3 (1u << 9)
191#define PIO_PA11X1_WKUP7 (1u << 11)
192#define PIO_PA11X1_PIODC5 (1u << 11)
193#define PIO_PA14X1_WKUP8 (1u << 14)
194#define PIO_PA14X1_PIODCEN1 (1u << 14)
195/* ========== Pio definition for PMC peripheral ========== */
196#define PIO_PA6B_PCK0 (1u << 6)
197#define PIO_PB12D_PCK0 (1u << 12)
198#define PIO_PB13B_PCK0 (1u << 13)
199#define PIO_PA17B_PCK1 (1u << 17)
200#define PIO_PA21B_PCK1 (1u << 21)
201#define PIO_PA3C_PCK2 (1u << 3)
202#define PIO_PA18B_PCK2 (1u << 18)
203#define PIO_PA31B_PCK2 (1u << 31)
204#define PIO_PB3B_PCK2 (1u << 3)
205#define PIO_PD31C_PCK2 (1u << 31)
206/* ========== Pio definition for PWM0 peripheral ========== */
207#define PIO_PA10B_PWMC0_PWMEXTRG0 (1u << 10)
208#define PIO_PA22B_PWMC0_PWMEXTRG1 (1u << 22)
209#define PIO_PA9C_PWMC0_PWMFI0 (1u << 9)
210#define PIO_PD8B_PWMC0_PWMFI1 (1u << 8)
211#define PIO_PD9B_PWMC0_PWMFI2 (1u << 9)
212#define PIO_PA0A_PWMC0_PWMH0 (1u << 0)
213#define PIO_PA11B_PWMC0_PWMH0 (1u << 11)
214#define PIO_PA23B_PWMC0_PWMH0 (1u << 23)
215#define PIO_PB0A_PWMC0_PWMH0 (1u << 0)
216#define PIO_PD11B_PWMC0_PWMH0 (1u << 11)
217#define PIO_PD20A_PWMC0_PWMH0 (1u << 20)
218#define PIO_PA2A_PWMC0_PWMH1 (1u << 2)
219#define PIO_PA12B_PWMC0_PWMH1 (1u << 12)
220#define PIO_PA24B_PWMC0_PWMH1 (1u << 24)
221#define PIO_PB1A_PWMC0_PWMH1 (1u << 1)
222#define PIO_PD21A_PWMC0_PWMH1 (1u << 21)
223#define PIO_PA13B_PWMC0_PWMH2 (1u << 13)
224#define PIO_PA25B_PWMC0_PWMH2 (1u << 25)
225#define PIO_PB4B_PWMC0_PWMH2 (1u << 4)
226#define PIO_PC19B_PWMC0_PWMH2 (1u << 19)
227#define PIO_PD22A_PWMC0_PWMH2 (1u << 22)
228#define PIO_PA7B_PWMC0_PWMH3 (1u << 7)
229#define PIO_PA14B_PWMC0_PWMH3 (1u << 14)
230#define PIO_PA17C_PWMC0_PWMH3 (1u << 17)
231#define PIO_PC13B_PWMC0_PWMH3 (1u << 13)
232#define PIO_PC21B_PWMC0_PWMH3 (1u << 21)
233#define PIO_PD23A_PWMC0_PWMH3 (1u << 23)
234#define PIO_PA1A_PWMC0_PWML0 (1u << 1)
235#define PIO_PA19B_PWMC0_PWML0 (1u << 19)
236#define PIO_PB5B_PWMC0_PWML0 (1u << 5)
237#define PIO_PC0B_PWMC0_PWML0 (1u << 0)
238#define PIO_PD10B_PWMC0_PWML0 (1u << 10)
239#define PIO_PD24A_PWMC0_PWML0 (1u << 24)
240#define PIO_PA20B_PWMC0_PWML1 (1u << 20)
241#define PIO_PB12A_PWMC0_PWML1 (1u << 12)
242#define PIO_PC1B_PWMC0_PWML1 (1u << 1)
243#define PIO_PC18B_PWMC0_PWML1 (1u << 18)
244#define PIO_PD25A_PWMC0_PWML1 (1u << 25)
245#define PIO_PA16C_PWMC0_PWML2 (1u << 16)
246#define PIO_PA30A_PWMC0_PWML2 (1u << 30)
247#define PIO_PB13A_PWMC0_PWML2 (1u << 13)
248#define PIO_PC2B_PWMC0_PWML2 (1u << 2)
249#define PIO_PC20B_PWMC0_PWML2 (1u << 20)
250#define PIO_PD26A_PWMC0_PWML2 (1u << 26)
251#define PIO_PA15C_PWMC0_PWML3 (1u << 15)
252#define PIO_PC3B_PWMC0_PWML3 (1u << 3)
253#define PIO_PC15B_PWMC0_PWML3 (1u << 15)
254#define PIO_PC22B_PWMC0_PWML3 (1u << 22)
255#define PIO_PD27A_PWMC0_PWML3 (1u << 27)
256/* ========== Pio definition for PWM1 peripheral ========== */
257#define PIO_PA30B_PWMC1_PWMEXTRG0 (1u << 30)
258#define PIO_PA18A_PWMC1_PWMEXTRG1 (1u << 18)
259#define PIO_PA21C_PWMC1_PWMFI0 (1u << 21)
260#define PIO_PA26D_PWMC1_PWMFI1 (1u << 26)
261#define PIO_PA28D_PWMC1_PWMFI2 (1u << 28)
262#define PIO_PA12C_PWMC1_PWMH0 (1u << 12)
263#define PIO_PD1B_PWMC1_PWMH0 (1u << 1)
264#define PIO_PA14C_PWMC1_PWMH1 (1u << 14)
265#define PIO_PD3B_PWMC1_PWMH1 (1u << 3)
266#define PIO_PA31D_PWMC1_PWMH2 (1u << 31)
267#define PIO_PD5B_PWMC1_PWMH2 (1u << 5)
268#define PIO_PA8A_PWMC1_PWMH3 (1u << 8)
269#define PIO_PD7B_PWMC1_PWMH3 (1u << 7)
270#define PIO_PA11C_PWMC1_PWML0 (1u << 11)
271#define PIO_PD0B_PWMC1_PWML0 (1u << 0)
272#define PIO_PA13C_PWMC1_PWML1 (1u << 13)
273#define PIO_PD2B_PWMC1_PWML1 (1u << 2)
274#define PIO_PA23D_PWMC1_PWML2 (1u << 23)
275#define PIO_PD4B_PWMC1_PWML2 (1u << 4)
276#define PIO_PA5A_PWMC1_PWML3 (1u << 5)
277#define PIO_PD6B_PWMC1_PWML3 (1u << 6)
278/* ========== Pio definition for QSPI peripheral ========== */
279#define PIO_PA11A_QCS (1u << 11)
280#define PIO_PA13A_QIO0 (1u << 13)
281#define PIO_PA12A_QIO1 (1u << 12)
282#define PIO_PA17A_QIO2 (1u << 17)
283#define PIO_PD31A_QIO3 (1u << 31)
284#define PIO_PA14A_QSCK (1u << 14)
285/* ========== Pio definition for SPI0 peripheral ========== */
286#define PIO_PD20B_SPI0_MISO (1u << 20)
287#define PIO_PD21B_SPI0_MOSI (1u << 21)
288#define PIO_PB2D_SPI0_NPCS0 (1u << 2)
289#define PIO_PA31A_SPI0_NPCS1 (1u << 31)
290#define PIO_PD25B_SPI0_NPCS1 (1u << 25)
291#define PIO_PD12C_SPI0_NPCS2 (1u << 12)
292#define PIO_PD27B_SPI0_NPCS3 (1u << 27)
293#define PIO_PD22B_SPI0_SPCK (1u << 22)
294/* ========== Pio definition for SPI1 peripheral ========== */
295#define PIO_PC26C_SPI1_MISO (1u << 26)
296#define PIO_PC27C_SPI1_MOSI (1u << 27)
297#define PIO_PC25C_SPI1_NPCS0 (1u << 25)
298#define PIO_PC28C_SPI1_NPCS1 (1u << 28)
299#define PIO_PD0C_SPI1_NPCS1 (1u << 0)
300#define PIO_PC29C_SPI1_NPCS2 (1u << 29)
301#define PIO_PD1C_SPI1_NPCS2 (1u << 1)
302#define PIO_PC30C_SPI1_NPCS3 (1u << 30)
303#define PIO_PD2C_SPI1_NPCS3 (1u << 2)
304#define PIO_PC24C_SPI1_SPCK (1u << 24)
305/* ========== Pio definition for SSC peripheral ========== */
306#define PIO_PA10C_RD (1u << 10)
307#define PIO_PD24B_RF (1u << 24)
308#define PIO_PA22A_RK (1u << 22)
309#define PIO_PB5D_TD (1u << 5)
310#define PIO_PD10C_TD (1u << 10)
311#define PIO_PD26B_TD (1u << 26)
312#define PIO_PB0D_TF (1u << 0)
313#define PIO_PB1D_TK (1u << 1)
314/* ========== Pio definition for TC0 peripheral ========== */
315#define PIO_PA4B_TCLK0 (1u << 4)
316#define PIO_PA28B_TCLK1 (1u << 28)
317#define PIO_PA29B_TCLK2 (1u << 29)
318#define PIO_PA0B_TIOA0 (1u << 0)
319#define PIO_PA15B_TIOA1 (1u << 15)
320#define PIO_PA26B_TIOA2 (1u << 26)
321#define PIO_PA1B_TIOB0 (1u << 1)
322#define PIO_PA16B_TIOB1 (1u << 16)
323#define PIO_PA27B_TIOB2 (1u << 27)
324/* ========== Pio definition for TC3 peripheral ========== */
325#define PIO_PE5B_TCLK10 (1u << 5)
326#define PIO_PD24C_TCLK11 (1u << 24)
327#define PIO_PE2B_TCLK9 (1u << 2)
328#define PIO_PE3B_TIOA10 (1u << 3)
329#define PIO_PD21C_TIOA11 (1u << 21)
330#define PIO_PE0B_TIOA9 (1u << 0)
331#define PIO_PE4B_TIOB10 (1u << 4)
332#define PIO_PD22C_TIOB11 (1u << 22)
333#define PIO_PE1B_TIOB9 (1u << 1)
334/* ========== Pio definition for TWIHS0 peripheral ========== */
335#define PIO_PA4A_TWCK0 (1u << 4)
336#define PIO_PA3A_TWD0 (1u << 3)
337/* ========== Pio definition for TWIHS1 peripheral ========== */
338#define PIO_PB5A_TWCK1 (1u << 5)
339#define PIO_PB4A_TWD1 (1u << 4)
340/* ========== Pio definition for UART0 peripheral ========== */
341#define PIO_PA9A_URXD0 (1u << 9)
342#define PIO_PA10A_UTXD0 (1u << 10)
343/* ========== Pio definition for UART1 peripheral ========== */
344#define PIO_PA5C_URXD1 (1u << 5)
345#define PIO_PA4C_UTXD1 (1u << 4)
346#define PIO_PA6C_UTXD1 (1u << 6)
347#define PIO_PD26D_UTXD1 (1u << 26)
348/* ========== Pio definition for UART2 peripheral ========== */
349#define PIO_PD25C_URXD2 (1u << 25)
350#define PIO_PD26C_UTXD2 (1u << 26)
351/* ========== Pio definition for UART3 peripheral ========== */
352#define PIO_PD28A_URXD3 (1u << 28)
353#define PIO_PD30A_UTXD3 (1u << 30)
354#define PIO_PD31B_UTXD3 (1u << 31)
355/* ========== Pio definition for UART4 peripheral ========== */
356#define PIO_PD18C_URXD4 (1u << 18)
357#define PIO_PD3C_UTXD4 (1u << 3)
358#define PIO_PD19C_UTXD4 (1u << 19)
359/* ========== Pio definition for USART0 peripheral ========== */
360#define PIO_PB2C_CTS0 (1u << 2)
361#define PIO_PD0D_DCD0 (1u << 0)
362#define PIO_PD2D_DSR0 (1u << 2)
363#define PIO_PD1D_DTR0 (1u << 1)
364#define PIO_PD3D_RI0 (1u << 3)
365#define PIO_PB3C_RTS0 (1u << 3)
366#define PIO_PB0C_RXD0 (1u << 0)
367#define PIO_PB13C_SCK0 (1u << 13)
368#define PIO_PB1C_TXD0 (1u << 1)
369/* ========== Pio definition for USART1 peripheral ========== */
370#define PIO_PA25A_CTS1 (1u << 25)
371#define PIO_PA26A_DCD1 (1u << 26)
372#define PIO_PA28A_DSR1 (1u << 28)
373#define PIO_PA27A_DTR1 (1u << 27)
374#define PIO_PA3B_LONCOL1 (1u << 3)
375#define PIO_PA29A_RI1 (1u << 29)
376#define PIO_PA24A_RTS1 (1u << 24)
377#define PIO_PA21A_RXD1 (1u << 21)
378#define PIO_PA23A_SCK1 (1u << 23)
379#define PIO_PB4D_TXD1 (1u << 4)
380/* ========== Pio definition for USART2 peripheral ========== */
381#define PIO_PD19B_CTS2 (1u << 19)
382#define PIO_PD4D_DCD2 (1u << 4)
383#define PIO_PD6D_DSR2 (1u << 6)
384#define PIO_PD5D_DTR2 (1u << 5)
385#define PIO_PD7D_RI2 (1u << 7)
386#define PIO_PD18B_RTS2 (1u << 18)
387#define PIO_PD15B_RXD2 (1u << 15)
388#define PIO_PD17B_SCK2 (1u << 17)
389#define PIO_PD16B_TXD2 (1u << 16)
390/* ========== Pio indexes ========== */
391#define PIO_PA3_IDX 3
392#define PIO_PA4_IDX 4
393#define PIO_PA5_IDX 5
394#define PIO_PA7_IDX 7
395#define PIO_PA8_IDX 8
396#define PIO_PA9_IDX 9
397#define PIO_PA10_IDX 10
398#define PIO_PA11_IDX 11
399#define PIO_PA12_IDX 12
400#define PIO_PA13_IDX 13
401#define PIO_PA14_IDX 14
402#define PIO_PA21_IDX 21
403#define PIO_PA22_IDX 22
404#define PIO_PA24_IDX 24
405#define PIO_PA27_IDX 27
406#define PIO_PB0_IDX 32
407#define PIO_PB1_IDX 33
408#define PIO_PB2_IDX 34
409#define PIO_PB3_IDX 35
410#define PIO_PB4_IDX 36
411#define PIO_PB5_IDX 37
412#define PIO_PB6_IDX 38
413#define PIO_PB7_IDX 39
414#define PIO_PB8_IDX 40
415#define PIO_PB9_IDX 41
416#define PIO_PB12_IDX 44
417#define PIO_PD0_IDX 96
418#define PIO_PD1_IDX 97
419#define PIO_PD2_IDX 98
420#define PIO_PD3_IDX 99
421#define PIO_PD4_IDX 100
422#define PIO_PD5_IDX 101
423#define PIO_PD6_IDX 102
424#define PIO_PD7_IDX 103
425#define PIO_PD8_IDX 104
426#define PIO_PD9_IDX 105
427#define PIO_PD10_IDX 106
428#define PIO_PD11_IDX 107
429#define PIO_PD12_IDX 108
430#define PIO_PD21_IDX 117
431#define PIO_PD22_IDX 118
432#define PIO_PD24_IDX 120
433#define PIO_PD25_IDX 121
434#define PIO_PD26_IDX 122
435#define PIO_PD31_IDX 127
436
437#endif /* _SAME70J21_PIO_ */