aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h1184
1 files changed, 1184 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h
new file mode 100644
index 000000000..4385101e6
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018m/project_template/pin_mux.h
@@ -0,0 +1,1184 @@
1/*
2 * Copyright 2017-2020 NXP
3 * All rights reserved.
4 *
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 *
8 */
9/***********************************************************************************************************************
10 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
11 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
12 **********************************************************************************************************************/
13
14#ifndef _PIN_MUX_H_
15#define _PIN_MUX_H_
16
17/*!
18 * @addtogroup pin_mux
19 * @{
20 */
21
22/***********************************************************************************************************************
23 * API
24 **********************************************************************************************************************/
25
26#if defined(__cplusplus)
27extern "C" {
28#endif
29
30/* Define the PIO[ANAMODE] bit macro (SDK 2.6.x and older miss this bit macro definition) */
31#ifndef IOCON_PIO_ANAMODE_MASK
32#define IOCON_PIO_ANAMODE_MASK (0x40U)
33#define IOCON_PIO_ANAMODE_SHIFT (6U)
34#define IOCON_PIO_ANAMODE(x) (((uint32_t)(((uint32_t)(x)) << IOCON_PIO_ANAMODE_SHIFT)) & IOCON_PIO_ANAMODE_MASK)
35#endif
36
37/*!
38 * @brief Calls initialization functions.
39 *
40 */
41void BOARD_InitBootPins(void);
42
43/*!
44 * @brief Configures pin routing and optionally pin electrical features.
45 *
46 */
47void BOARD_InitPins(void); /* Function assigned for the Cortex-M4F */
48
49#define PIO04_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
50#define PIO04_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
51#define PIO05_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
52#define PIO05_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
53#define PIO06_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
54#define PIO06_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
55#define PIO11_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
56#define PIO11_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
57
58/*! @name PIO0_6 (coord A5), U28[C8]/RP5[4]/SW2/P0_6-ISP2/P0_6-EMC_D4
59 @{ */
60
61/* Symbols to be used with GPIO driver */
62#define BOARD_SW2_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
63#define BOARD_SW2_GPIO_PIN_MASK (1U << 6U) /*!<@brief GPIO pin mask */
64#define BOARD_SW2_PORT 0U /*!<@brief PORT peripheral base pointer */
65#define BOARD_SW2_PIN 6U /*!<@brief PORT pin number */
66#define BOARD_SW2_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
67 /* @} */
68
69/*! @name PIO0_5 (coord E7), U28[C9]/RP3[1]/JS32[1]/SW3/P0_5-ISP1/P0_5-EMC_D3
70 @{ */
71
72/* Symbols to be used with GPIO driver */
73#define BOARD_SW3_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
74#define BOARD_SW3_GPIO_PIN_MASK (1U << 5U) /*!<@brief GPIO pin mask */
75#define BOARD_SW3_PORT 0U /*!<@brief PORT peripheral base pointer */
76#define BOARD_SW3_PIN 5U /*!<@brief PORT pin number */
77#define BOARD_SW3_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
78 /* @} */
79
80/*! @name PIO0_4 (coord C8), U28[B8]/RP3[2]/JS32[3]/SW4/P0_4-ISP0/P0_4-EMC_D2
81 @{ */
82
83/* Symbols to be used with GPIO driver */
84#define BOARD_SW4_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
85#define BOARD_SW4_GPIO_PIN_MASK (1U << 4U) /*!<@brief GPIO pin mask */
86#define BOARD_SW4_PORT 0U /*!<@brief PORT peripheral base pointer */
87#define BOARD_SW4_PIN 4U /*!<@brief PORT pin number */
88#define BOARD_SW4_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
89 /* @} */
90
91/*! @name PIO1_1 (coord K12), J12[12]/U29[4]/SW5/P1_1-USER_PB-USB1_OVRCURn
92 @{ */
93
94/* Symbols to be used with GPIO driver */
95#define BOARD_SW5_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
96#define BOARD_SW5_GPIO_PIN_MASK (1U << 1U) /*!<@brief GPIO pin mask */
97#define BOARD_SW5_PORT 1U /*!<@brief PORT peripheral base pointer */
98#define BOARD_SW5_PIN 1U /*!<@brief PORT pin number */
99#define BOARD_SW5_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
100 /* @} */
101
102/*!
103 * @brief Configures pin routing and optionally pin electrical features.
104 *
105 */
106void BOARD_InitBUTTONs(void); /* Function assigned for the Cortex-M4F */
107
108#define PIO22_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
109#define PIO22_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
110#define PIO314_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
111#define PIO314_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
112#define PIO33_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
113#define PIO33_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
114
115/*! @name PIO3_3 (coord A13), U12[12]/P4_16-ENET_MDIO
116 @{ */
117
118/* Symbols to be used with GPIO driver */
119#define BOARD_ENET_MDIO_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
120#define BOARD_ENET_MDIO_GPIO_PIN_MASK (1U << 3U) /*!<@brief GPIO pin mask */
121#define BOARD_ENET_MDIO_PORT 3U /*!<@brief PORT peripheral base pointer */
122#define BOARD_ENET_MDIO_PIN 3U /*!<@brief PORT pin number */
123#define BOARD_ENET_MDIO_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
124 /* @} */
125
126/*! @name PIO2_2 (coord C3), J9[6]/LED3/P2_2-CT1MAT1-USR_LED3
127 @{ */
128
129/* Symbols to be used with GPIO driver */
130#define BOARD_LED3_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
131#define BOARD_LED3_GPIO_PIN_MASK (1U << 2U) /*!<@brief GPIO pin mask */
132#define BOARD_LED3_PORT 2U /*!<@brief PORT peripheral base pointer */
133#define BOARD_LED3_PIN 2U /*!<@brief PORT pin number */
134#define BOARD_LED3_PIN_MASK (1U << 2U) /*!<@brief PORT pin mask */
135 /* @} */
136
137/*! @name PIO3_14 (coord E3), J13[5]/LED1/P3_14-CT3MAT1-USR_LED1
138 @{ */
139
140/* Symbols to be used with GPIO driver */
141#define BOARD_LED1_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
142#define BOARD_LED1_GPIO_PIN_MASK (1U << 14U) /*!<@brief GPIO pin mask */
143#define BOARD_LED1_PORT 3U /*!<@brief PORT peripheral base pointer */
144#define BOARD_LED1_PIN 14U /*!<@brief PORT pin number */
145#define BOARD_LED1_PIN_MASK (1U << 14U) /*!<@brief PORT pin mask */
146 /* @} */
147
148/*!
149 * @brief Configures pin routing and optionally pin electrical features.
150 *
151 */
152void BOARD_InitLEDs(void); /* Function assigned for the Cortex-M4F */
153
154#define PIO00_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
155#define PIO00_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
156#define PIO013_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
157#define PIO013_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
158#define PIO014_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
159#define PIO014_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
160#define PIO01_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
161#define PIO01_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
162#define PIO02_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
163#define PIO02_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
164#define PIO03_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
165#define PIO03_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
166#define PIO313_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
167#define PIO313_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
168
169/*! @name PIO0_1 (coord A1), J13[4]/U27[2]/P0_25-SPIFI_IO1
170 @{ */
171#define BOARD_SPIFI_IO1_PORT 0U /*!<@brief PORT peripheral base pointer */
172#define BOARD_SPIFI_IO1_PIN 1U /*!<@brief PORT pin number */
173#define BOARD_SPIFI_IO1_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
174 /* @} */
175
176/*! @name PIO0_3 (coord A10), U28[B9]/RP3[3]/JS34[1]/U26[11]/J14[2]/P0_3-ISP_FC3_MOSI/P0_3-EMC_D1
177 @{ */
178#define BOARD_ISP_FC3_MOSI_PORT 0U /*!<@brief PORT peripheral base pointer */
179#define BOARD_ISP_FC3_MOSI_PIN 3U /*!<@brief PORT pin number */
180#define BOARD_ISP_FC3_MOSI_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
181 /* @} */
182
183/*! @name PIO0_2 (coord E9), U28[A8]/RP3[4]/JS35[1]/U24[11]/J14[3]/P0_2-ISP_FC3_MISO/P0_2-EMC_D0
184 @{ */
185#define BOARD_ISP_FC3_MISO_PORT 0U /*!<@brief PORT peripheral base pointer */
186#define BOARD_ISP_FC3_MISO_PIN 2U /*!<@brief PORT pin number */
187#define BOARD_ISP_FC3_MISO_PIN_MASK (1U << 2U) /*!<@brief PORT pin mask */
188 /* @} */
189
190/*! @name PIO0_0 (coord D6), U26[13]/J14[4]/P0_0-ISP_FC3_SCK
191 @{ */
192#define BOARD_ISP_FC3_SCK_PORT 0U /*!<@brief PORT peripheral base pointer */
193#define BOARD_ISP_FC3_SCK_PIN 0U /*!<@brief PORT pin number */
194#define BOARD_ISP_FC3_SCK_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
195 /* @} */
196
197/*! @name PIO3_13 (coord H4), J14[8]/P3_13-BRIDGE_GPIO
198 @{ */
199
200/* Symbols to be used with GPIO driver */
201#define BOARD_BRIDGE_GPIO_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
202#define BOARD_BRIDGE_GPIO_GPIO_PIN_MASK (1U << 13U) /*!<@brief GPIO pin mask */
203#define BOARD_BRIDGE_GPIO_PORT 3U /*!<@brief PORT peripheral base pointer */
204#define BOARD_BRIDGE_GPIO_PIN 13U /*!<@brief PORT pin number */
205#define BOARD_BRIDGE_GPIO_PIN_MASK (1U << 13U) /*!<@brief PORT pin mask */
206 /* @} */
207
208/*! @name PIO0_13 (coord F11), JS16[2]/J14[9]/P0_13-ISP_FC1_SDAX
209 @{ */
210#define BOARD_ISP_FC1_SDAX_PORT 0U /*!<@brief PORT peripheral base pointer */
211#define BOARD_ISP_FC1_SDAX_PIN 13U /*!<@brief PORT pin number */
212#define BOARD_ISP_FC1_SDAX_PIN_MASK (1U << 13U) /*!<@brief PORT pin mask */
213 /* @} */
214
215/*! @name PIO0_14 (coord E13), JS15[2]/J14[10]/P0_14-ISP_FC1_SCLX
216 @{ */
217#define BOARD_ISP_FC1_SCLX_PORT 0U /*!<@brief PORT peripheral base pointer */
218#define BOARD_ISP_FC1_SCLX_PIN 14U /*!<@brief PORT pin number */
219#define BOARD_ISP_FC1_SCLX_PIN_MASK (1U << 14U) /*!<@brief PORT pin mask */
220 /* @} */
221
222/*!
223 * @brief Configures pin routing and optionally pin electrical features.
224 *
225 */
226void BOARD_InitPMod_SPI_I2C_BRIDGE(void); /* Function assigned for the Cortex-M4F */
227
228#define PIO323_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
229#define PIO323_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
230#define PIO324_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
231#define PIO324_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
232#define PIO34_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
233#define PIO34_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
234
235/*! @name PIO3_23 (coord C2), J11[10]/J9[3]/U10[3]/J17[5]/U19[10]/P3_23-FC2_SDAX
236 @{ */
237#define BOARD_FC2_SDAX_PORT 3U /*!<@brief PORT peripheral base pointer */
238#define BOARD_FC2_SDAX_PIN 23U /*!<@brief PORT pin number */
239#define BOARD_FC2_SDAX_PIN_MASK (1U << 23U) /*!<@brief PORT pin mask */
240 /* @} */
241
242/*! @name PIO3_24 (coord E2), J11[9]/J9[1]/U10[2]/J17[4]/U19[2]/P3_24-FC2_SCLX
243 @{ */
244#define BOARD_FC2_SCLX_PORT 3U /*!<@brief PORT peripheral base pointer */
245#define BOARD_FC2_SCLX_PIN 24U /*!<@brief PORT pin number */
246#define BOARD_FC2_SCLX_PIN_MASK (1U << 24U) /*!<@brief PORT pin mask */
247 /* @} */
248
249/*! @name PIO3_4 (coord B11), J12[10]/U19[3]/P3_4-ACCL_INTR
250 @{ */
251
252/* Symbols to be used with GPIO driver */
253#define BOARD_ACCL_INTR_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
254#define BOARD_ACCL_INTR_GPIO_PIN_MASK (1U << 4U) /*!<@brief GPIO pin mask */
255#define BOARD_ACCL_INTR_PORT 3U /*!<@brief PORT peripheral base pointer */
256#define BOARD_ACCL_INTR_PIN 4U /*!<@brief PORT pin number */
257#define BOARD_ACCL_INTR_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
258 /* @} */
259
260/*!
261 * @brief Configures pin routing and optionally pin electrical features.
262 *
263 */
264void BOARD_InitACCEL(void); /* Function assigned for the Cortex-M4F */
265
266#define PIO212_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
267#define PIO212_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
268
269/*! @name PIO2_12 (coord M2), U26A1[3]/P2_12-SPIFI_RSTn
270 @{ */
271
272/* Symbols to be used with GPIO driver */
273#define BOARD_SPIFI_RSTn_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
274#define BOARD_SPIFI_RSTn_GPIO_PIN_MASK (1U << 12U) /*!<@brief GPIO pin mask */
275#define BOARD_SPIFI_RSTn_PORT 2U /*!<@brief PORT peripheral base pointer */
276#define BOARD_SPIFI_RSTn_PIN 12U /*!<@brief PORT pin number */
277#define BOARD_SPIFI_RSTn_PIN_MASK (1U << 12U) /*!<@brief PORT pin mask */
278 /* @} */
279
280/*!
281 * @brief Configures pin routing and optionally pin electrical features.
282 *
283 */
284void BOARD_InitQSPI_FLASH(void); /* Function assigned for the Cortex-M4F */
285
286#define PIO210_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
287#define PIO210_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
288#define PIO23_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
289#define PIO23_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
290#define PIO24_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
291#define PIO24_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
292#define PIO25_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
293#define PIO25_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
294#define PIO26_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
295#define PIO26_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
296#define PIO27_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
297#define PIO27_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
298#define PIO28_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
299#define PIO28_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
300#define PIO29_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
301#define PIO29_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
302#define PIO315_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
303#define PIO315_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
304
305/*! @name PIO3_15 (coord D2), RP1[1]/U9[8]/P3_15-SD_WPn
306 @{ */
307#define BOARD_SD_WPn_PORT 3U /*!<@brief PORT peripheral base pointer */
308#define BOARD_SD_WPn_PIN 15U /*!<@brief PORT pin number */
309#define BOARD_SD_WPn_PIN_MASK (1U << 15U) /*!<@brief PORT pin mask */
310 /* @} */
311
312/*! @name PIO2_10 (coord P1), RP1[2]/U9[7]/P2_10-SD_CDn
313 @{ */
314#define BOARD_SD_CDn_PORT 2U /*!<@brief PORT peripheral base pointer */
315#define BOARD_SD_CDn_PIN 10U /*!<@brief PORT pin number */
316#define BOARD_SD_CDn_PIN_MASK (1U << 10U) /*!<@brief PORT pin mask */
317 /* @} */
318
319/*! @name PIO2_8 (coord F4), RP1[3]/U9[6]/P2_8-SD_D2
320 @{ */
321#define BOARD_SD_D2_PORT 2U /*!<@brief PORT peripheral base pointer */
322#define BOARD_SD_D2_PIN 8U /*!<@brief PORT pin number */
323#define BOARD_SD_D2_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
324 /* @} */
325
326/*! @name PIO2_7 (coord J2), RP1[4]/U9[5]/P2_7-SD_D1
327 @{ */
328#define BOARD_SD_D1_PORT 2U /*!<@brief PORT peripheral base pointer */
329#define BOARD_SD_D1_PIN 7U /*!<@brief PORT pin number */
330#define BOARD_SD_D1_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
331 /* @} */
332
333/*! @name PIO2_6 (coord F3), RP1[5]/U9[4]/P2_6-SD_D0
334 @{ */
335#define BOARD_SD_D0_PORT 2U /*!<@brief PORT peripheral base pointer */
336#define BOARD_SD_D0_PIN 6U /*!<@brief PORT pin number */
337#define BOARD_SD_D0_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
338 /* @} */
339
340/*! @name PIO2_3 (coord B1), U9[3]/P2_3-SD_CLK
341 @{ */
342#define BOARD_SD_CLK_PORT 2U /*!<@brief PORT peripheral base pointer */
343#define BOARD_SD_CLK_PIN 3U /*!<@brief PORT pin number */
344#define BOARD_SD_CLK_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
345 /* @} */
346
347/*! @name PIO2_4 (coord D3), RP1[6]/U9[2]/P2_4-SD_CMD
348 @{ */
349#define BOARD_SD_CMD_PORT 2U /*!<@brief PORT peripheral base pointer */
350#define BOARD_SD_CMD_PIN 4U /*!<@brief PORT pin number */
351#define BOARD_SD_CMD_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
352 /* @} */
353
354/*! @name PIO2_9 (coord K2), RP1[7]/U9[1]/P2_9-SD_D3
355 @{ */
356#define BOARD_SD_D3_PORT 2U /*!<@brief PORT peripheral base pointer */
357#define BOARD_SD_D3_PIN 9U /*!<@brief PORT pin number */
358#define BOARD_SD_D3_PIN_MASK (1U << 9U) /*!<@brief PORT pin mask */
359 /* @} */
360
361/*! @name PIO2_5 (coord C1), Q3[1]/P2_5-SD_POW_EN
362 @{ */
363#define BOARD_SD_POW_EN_PORT 2U /*!<@brief PORT peripheral base pointer */
364#define BOARD_SD_POW_EN_PIN 5U /*!<@brief PORT pin number */
365#define BOARD_SD_POW_EN_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
366 /* @} */
367
368/*!
369 * @brief Configures pin routing and optionally pin electrical features.
370 *
371 */
372void BOARD_InitSDHC(void); /* Function assigned for the Cortex-M4F */
373
374#define PIO015_ANAMODE_DISABLED 0x01u /*!<@brief Enables or disables analog mode.: Disable analog Mode. */
375#define PIO015_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
376#define PIO015_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
377#define PIO018_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
378#define PIO018_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
379#define PIO019_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
380#define PIO019_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
381#define PIO020_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
382#define PIO020_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
383#define PIO021_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
384#define PIO021_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
385#define PIO02_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
386#define PIO02_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
387#define PIO03_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
388#define PIO03_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
389#define PIO04_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
390#define PIO04_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
391#define PIO05_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
392#define PIO05_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
393#define PIO06_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
394#define PIO06_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
395#define PIO07_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
396#define PIO07_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
397#define PIO08_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
398#define PIO08_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
399#define PIO09_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
400#define PIO09_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
401#define PIO110_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
402#define PIO110_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
403#define PIO111_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
404#define PIO111_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
405#define PIO112_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
406#define PIO112_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
407#define PIO113_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
408#define PIO113_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
409#define PIO114_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
410#define PIO114_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
411#define PIO115_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
412#define PIO115_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
413#define PIO116_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
414#define PIO116_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
415#define PIO119_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
416#define PIO119_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
417#define PIO120_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
418#define PIO120_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
419#define PIO121_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
420#define PIO121_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
421#define PIO123_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
422#define PIO123_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
423#define PIO124_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
424#define PIO124_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
425#define PIO125_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
426#define PIO125_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
427#define PIO126_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
428#define PIO126_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
429#define PIO127_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
430#define PIO127_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
431#define PIO128_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
432#define PIO128_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
433#define PIO129_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
434#define PIO129_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
435#define PIO130_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
436#define PIO130_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
437#define PIO131_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
438#define PIO131_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
439#define PIO14_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
440#define PIO14_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
441#define PIO15_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
442#define PIO15_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
443#define PIO16_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
444#define PIO16_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
445#define PIO17_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
446#define PIO17_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
447#define PIO18_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
448#define PIO18_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
449#define PIO19_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
450#define PIO19_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
451#define PIO325_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
452#define PIO325_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
453
454/*! @name PIO3_25 (coord P9), U28[G8]/P3_25-EMC_A14
455 @{ */
456#define BOARD_EMC_A14_PORT 3U /*!<@brief PORT peripheral base pointer */
457#define BOARD_EMC_A14_PIN 25U /*!<@brief PORT pin number */
458#define BOARD_EMC_A14_PIN_MASK (1U << 25U) /*!<@brief PORT pin mask */
459 /* @} */
460
461/*! @name PIO1_25 (coord M12), U28[G7]/P1_25-EMC_A13
462 @{ */
463#define BOARD_EMC_A13_PORT 1U /*!<@brief PORT peripheral base pointer */
464#define BOARD_EMC_A13_PIN 25U /*!<@brief PORT pin number */
465#define BOARD_EMC_A13_PIN_MASK (1U << 25U) /*!<@brief PORT pin mask */
466 /* @} */
467
468/*! @name PIO1_24 (coord N14), U28[G1]/P1_24-EMC_A12
469 @{ */
470#define BOARD_EMC_A12_PORT 1U /*!<@brief PORT peripheral base pointer */
471#define BOARD_EMC_A12_PIN 24U /*!<@brief PORT pin number */
472#define BOARD_EMC_A12_PIN_MASK (1U << 24U) /*!<@brief PORT pin mask */
473 /* @} */
474
475/*! @name PIO1_23 (coord M10), U28[G2]/P1_23-EMC_A11
476 @{ */
477#define BOARD_EMC_A11_PORT 1U /*!<@brief PORT peripheral base pointer */
478#define BOARD_EMC_A11_PIN 23U /*!<@brief PORT pin number */
479#define BOARD_EMC_A11_PIN_MASK (1U << 23U) /*!<@brief PORT pin mask */
480 /* @} */
481
482/*! @name PIO1_16 (coord B7), U28[H9]/P1_16-EMC_A10
483 @{ */
484#define BOARD_EMC_A10_PORT 1U /*!<@brief PORT peripheral base pointer */
485#define BOARD_EMC_A10_PIN 16U /*!<@brief PORT pin number */
486#define BOARD_EMC_A10_PIN_MASK (1U << 16U) /*!<@brief PORT pin mask */
487 /* @} */
488
489/*! @name PIO1_27 (coord F10), U28[G3]/P1_27-EMC_A9
490 @{ */
491#define BOARD_EMC_A9_PORT 1U /*!<@brief PORT peripheral base pointer */
492#define BOARD_EMC_A9_PIN 27U /*!<@brief PORT pin number */
493#define BOARD_EMC_A9_PIN_MASK (1U << 27U) /*!<@brief PORT pin mask */
494 /* @} */
495
496/*! @name PIO1_26 (coord J10), U28[H1]/P1_26-EMC_A8
497 @{ */
498#define BOARD_EMC_A8_PORT 1U /*!<@brief PORT peripheral base pointer */
499#define BOARD_EMC_A8_PIN 26U /*!<@brief PORT pin number */
500#define BOARD_EMC_A8_PIN_MASK (1U << 26U) /*!<@brief PORT pin mask */
501 /* @} */
502
503/*! @name PIO1_8 (coord P8), U28[H2]/P1_8-EMC_A7
504 @{ */
505#define BOARD_EMC_A7_PORT 1U /*!<@brief PORT peripheral base pointer */
506#define BOARD_EMC_A7_PIN 8U /*!<@brief PORT pin number */
507#define BOARD_EMC_A7_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
508 /* @} */
509
510/*! @name PIO1_7 (coord N1), U28[H3]/P1_7-EMC_A6
511 @{ */
512#define BOARD_EMC_A6_PORT 1U /*!<@brief PORT peripheral base pointer */
513#define BOARD_EMC_A6_PIN 7U /*!<@brief PORT pin number */
514#define BOARD_EMC_A6_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
515 /* @} */
516
517/*! @name PIO1_6 (coord G4), U28[J2]/P1_6-EMC_A5
518 @{ */
519#define BOARD_EMC_A5_PORT 1U /*!<@brief PORT peripheral base pointer */
520#define BOARD_EMC_A5_PIN 6U /*!<@brief PORT pin number */
521#define BOARD_EMC_A5_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
522 /* @} */
523
524/*! @name PIO1_5 (coord E4), U28[J3]/P1_5-EMC_A4
525 @{ */
526#define BOARD_EMC_A4_PORT 1U /*!<@brief PORT peripheral base pointer */
527#define BOARD_EMC_A4_PIN 5U /*!<@brief PORT pin number */
528#define BOARD_EMC_A4_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
529 /* @} */
530
531/*! @name PIO0_21 (coord C13), U28[J7]/P0_21-EMC_A3
532 @{ */
533#define BOARD_EMC_A3_PORT 0U /*!<@brief PORT peripheral base pointer */
534#define BOARD_EMC_A3_PIN 21U /*!<@brief PORT pin number */
535#define BOARD_EMC_A3_PIN_MASK (1U << 21U) /*!<@brief PORT pin mask */
536 /* @} */
537
538/*! @name PIO0_20 (coord D13), U28[J8]/P0_20-EMC_A2
539 @{ */
540#define BOARD_EMC_A2_PORT 0U /*!<@brief PORT peripheral base pointer */
541#define BOARD_EMC_A2_PIN 20U /*!<@brief PORT pin number */
542#define BOARD_EMC_A2_PIN_MASK (1U << 20U) /*!<@brief PORT pin mask */
543 /* @} */
544
545/*! @name PIO0_19 (coord C6), U28[H8]/P0_19-EMC_A1
546 @{ */
547#define BOARD_EMC_A1_PORT 0U /*!<@brief PORT peripheral base pointer */
548#define BOARD_EMC_A1_PIN 19U /*!<@brief PORT pin number */
549#define BOARD_EMC_A1_PIN_MASK (1U << 19U) /*!<@brief PORT pin mask */
550 /* @} */
551
552/*! @name PIO0_18 (coord C14), U28[H7]/P0_18-EMC_A0
553 @{ */
554#define BOARD_EMC_A0_PORT 0U /*!<@brief PORT peripheral base pointer */
555#define BOARD_EMC_A0_PIN 18U /*!<@brief PORT pin number */
556#define BOARD_EMC_A0_PIN_MASK (1U << 18U) /*!<@brief PORT pin mask */
557 /* @} */
558
559/*! @name PIO0_15 (coord L4), U28[F9]/P0_15-EMC_WEn
560 @{ */
561#define BOARD_EMC_WEn_PORT 0U /*!<@brief PORT peripheral base pointer */
562#define BOARD_EMC_WEn_PIN 15U /*!<@brief PORT pin number */
563#define BOARD_EMC_WEn_PIN_MASK (1U << 15U) /*!<@brief PORT pin mask */
564 /* @} */
565
566/*! @name PIO1_9 (coord K6), U28[F7]/P1_9-EMC_CASn
567 @{ */
568#define BOARD_EMC_CASn_PORT 1U /*!<@brief PORT peripheral base pointer */
569#define BOARD_EMC_CASn_PIN 9U /*!<@brief PORT pin number */
570#define BOARD_EMC_CASn_PIN_MASK (1U << 9U) /*!<@brief PORT pin mask */
571 /* @} */
572
573/*! @name PIO1_10 (coord N9), U28[F8]/P1_10-EMC_RASn
574 @{ */
575#define BOARD_EMC_RASn_PORT 1U /*!<@brief PORT peripheral base pointer */
576#define BOARD_EMC_RASn_PIN 10U /*!<@brief PORT pin number */
577#define BOARD_EMC_RASn_PIN_MASK (1U << 10U) /*!<@brief PORT pin mask */
578 /* @} */
579
580/*! @name PIO1_12 (coord K9), U28[G9]/P1_12-EMC_DYCSn0
581 @{ */
582#define BOARD_EMC_DYCSn0_PORT 1U /*!<@brief PORT peripheral base pointer */
583#define BOARD_EMC_DYCSn0_PIN 12U /*!<@brief PORT pin number */
584#define BOARD_EMC_DYCSn0_PIN_MASK (1U << 12U) /*!<@brief PORT pin mask */
585 /* @} */
586
587/*! @name PIO1_31 (coord C5), U28[A2]/RP2[1]/P1_31-EMC_D15
588 @{ */
589#define BOARD_EMC_D15_PORT 1U /*!<@brief PORT peripheral base pointer */
590#define BOARD_EMC_D15_PIN 31U /*!<@brief PORT pin number */
591#define BOARD_EMC_D15_PIN_MASK (1U << 31U) /*!<@brief PORT pin mask */
592 /* @} */
593
594/*! @name PIO1_30 (coord A8), U28[B1]/RP2[2]/P1_30-EMC_D14
595 @{ */
596#define BOARD_EMC_D14_PORT 1U /*!<@brief PORT peripheral base pointer */
597#define BOARD_EMC_D14_PIN 30U /*!<@brief PORT pin number */
598#define BOARD_EMC_D14_PIN_MASK (1U << 30U) /*!<@brief PORT pin mask */
599 /* @} */
600
601/*! @name PIO1_29 (coord C11), U28[B2]/RP2[3]/P1_29-EMC_D13
602 @{ */
603#define BOARD_EMC_D13_PORT 1U /*!<@brief PORT peripheral base pointer */
604#define BOARD_EMC_D13_PIN 29U /*!<@brief PORT pin number */
605#define BOARD_EMC_D13_PIN_MASK (1U << 29U) /*!<@brief PORT pin mask */
606 /* @} */
607
608/*! @name PIO1_28 (coord E12), U28[C1]/RP2[4]/P1_28-EMC_D12
609 @{ */
610#define BOARD_EMC_D12_PORT 1U /*!<@brief PORT peripheral base pointer */
611#define BOARD_EMC_D12_PIN 28U /*!<@brief PORT pin number */
612#define BOARD_EMC_D12_PIN_MASK (1U << 28U) /*!<@brief PORT pin mask */
613 /* @} */
614
615/*! @name PIO1_4 (coord D4), U28[C2]/RP4[1]/P1_4-EMC_D11
616 @{ */
617#define BOARD_EMC_D11_PORT 1U /*!<@brief PORT peripheral base pointer */
618#define BOARD_EMC_D11_PIN 4U /*!<@brief PORT pin number */
619#define BOARD_EMC_D11_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
620 /* @} */
621
622/*! @name PIO1_21 (coord N8), U28[D1]/RP4[2]/P1_21-EMC_D10
623 @{ */
624#define BOARD_EMC_D10_PORT 1U /*!<@brief PORT peripheral base pointer */
625#define BOARD_EMC_D10_PIN 21U /*!<@brief PORT pin number */
626#define BOARD_EMC_D10_PIN_MASK (1U << 21U) /*!<@brief PORT pin mask */
627 /* @} */
628
629/*! @name PIO1_20 (coord M1), U28[D2]/RP4[3]/P1_20-EMC_D9
630 @{ */
631#define BOARD_EMC_D9_PORT 1U /*!<@brief PORT peripheral base pointer */
632#define BOARD_EMC_D9_PIN 20U /*!<@brief PORT pin number */
633#define BOARD_EMC_D9_PIN_MASK (1U << 20U) /*!<@brief PORT pin mask */
634 /* @} */
635
636/*! @name PIO1_19 (coord L1), U28[E1]/RP4[4]/P1_19-EMC_D8
637 @{ */
638#define BOARD_EMC_D8_PORT 1U /*!<@brief PORT peripheral base pointer */
639#define BOARD_EMC_D8_PIN 19U /*!<@brief PORT pin number */
640#define BOARD_EMC_D8_PIN_MASK (1U << 19U) /*!<@brief PORT pin mask */
641 /* @} */
642
643/*! @name PIO0_9 (coord G12), U28[E9]/RP5[1]/P0_9-EMC_D7
644 @{ */
645#define BOARD_EMC_D7_PORT 0U /*!<@brief PORT peripheral base pointer */
646#define BOARD_EMC_D7_PIN 9U /*!<@brief PORT pin number */
647#define BOARD_EMC_D7_PIN_MASK (1U << 9U) /*!<@brief PORT pin mask */
648 /* @} */
649
650/*! @name PIO0_8 (coord H10), U28[D8]/RP5[2]/P0_8-EMC_D6
651 @{ */
652#define BOARD_EMC_D6_PORT 0U /*!<@brief PORT peripheral base pointer */
653#define BOARD_EMC_D6_PIN 8U /*!<@brief PORT pin number */
654#define BOARD_EMC_D6_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
655 /* @} */
656
657/*! @name PIO0_7 (coord H12), U28[D9]/RP5[3]/P0_7-EMC_D5
658 @{ */
659#define BOARD_EMC_D5_PORT 0U /*!<@brief PORT peripheral base pointer */
660#define BOARD_EMC_D5_PIN 7U /*!<@brief PORT pin number */
661#define BOARD_EMC_D5_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
662 /* @} */
663
664/*! @name PIO0_6 (coord A5), U28[C8]/RP5[4]/SW2/P0_6-ISP2/P0_6-EMC_D4
665 @{ */
666#define BOARD_EMC_D4_PORT 0U /*!<@brief PORT peripheral base pointer */
667#define BOARD_EMC_D4_PIN 6U /*!<@brief PORT pin number */
668#define BOARD_EMC_D4_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
669 /* @} */
670
671/*! @name PIO0_5 (coord E7), U28[C9]/RP3[1]/JS32[1]/SW3/P0_5-ISP1/P0_5-EMC_D3
672 @{ */
673#define BOARD_EMC_D3_PORT 0U /*!<@brief PORT peripheral base pointer */
674#define BOARD_EMC_D3_PIN 5U /*!<@brief PORT pin number */
675#define BOARD_EMC_D3_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
676 /* @} */
677
678/*! @name PIO0_4 (coord C8), U28[B8]/RP3[2]/JS32[3]/SW4/P0_4-ISP0/P0_4-EMC_D2
679 @{ */
680#define BOARD_EMC_D2_PORT 0U /*!<@brief PORT peripheral base pointer */
681#define BOARD_EMC_D2_PIN 4U /*!<@brief PORT pin number */
682#define BOARD_EMC_D2_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
683 /* @} */
684
685/*! @name PIO0_3 (coord A10), U28[B9]/RP3[3]/JS34[1]/U26[11]/J14[2]/P0_3-ISP_FC3_MOSI/P0_3-EMC_D1
686 @{ */
687#define BOARD_EMC_D1_PORT 0U /*!<@brief PORT peripheral base pointer */
688#define BOARD_EMC_D1_PIN 3U /*!<@brief PORT pin number */
689#define BOARD_EMC_D1_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
690 /* @} */
691
692/*! @name PIO0_2 (coord E9), U28[A8]/RP3[4]/JS35[1]/U24[11]/J14[3]/P0_2-ISP_FC3_MISO/P0_2-EMC_D0
693 @{ */
694#define BOARD_EMC_D0_PORT 0U /*!<@brief PORT peripheral base pointer */
695#define BOARD_EMC_D0_PIN 2U /*!<@brief PORT pin number */
696#define BOARD_EMC_D0_PIN_MASK (1U << 2U) /*!<@brief PORT pin mask */
697 /* @} */
698
699/*! @name PIO1_14 (coord C12), U28[F1]/P1_14-EMC_DQM1
700 @{ */
701#define BOARD_EMC_DQM1_PORT 1U /*!<@brief PORT peripheral base pointer */
702#define BOARD_EMC_DQM1_PIN 14U /*!<@brief PORT pin number */
703#define BOARD_EMC_DQM1_PIN_MASK (1U << 14U) /*!<@brief PORT pin mask */
704 /* @} */
705
706/*! @name PIO1_13 (coord G10), U28[E8]/P1_13-EMC_DQM0
707 @{ */
708#define BOARD_EMC_DQM0_PORT 1U /*!<@brief PORT peripheral base pointer */
709#define BOARD_EMC_DQM0_PIN 13U /*!<@brief PORT pin number */
710#define BOARD_EMC_DQM0_PIN_MASK (1U << 13U) /*!<@brief PORT pin mask */
711 /* @} */
712
713/*! @name PIO1_11 (coord B4), U28[F2]/P1_11-EMC_CLK0
714 @{ */
715#define BOARD_EMC_CLK0_PORT 1U /*!<@brief PORT peripheral base pointer */
716#define BOARD_EMC_CLK0_PIN 11U /*!<@brief PORT pin number */
717#define BOARD_EMC_CLK0_PIN_MASK (1U << 11U) /*!<@brief PORT pin mask */
718 /* @} */
719
720/*! @name PIO1_15 (coord A11), U28[F3]/P1_15-EMC_CKE0
721 @{ */
722#define BOARD_EMC_CKE0_PORT 1U /*!<@brief PORT peripheral base pointer */
723#define BOARD_EMC_CKE0_PIN 15U /*!<@brief PORT pin number */
724#define BOARD_EMC_CKE0_PIN_MASK (1U << 15U) /*!<@brief PORT pin mask */
725 /* @} */
726
727/*!
728 * @brief Configures pin routing and optionally pin electrical features.
729 *
730 */
731void BOARD_InitSDRAMPins(void); /* Function assigned for the Cortex-M4F */
732
733#define PIO029_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
734#define PIO029_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
735#define PIO030_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
736#define PIO030_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
737
738/*! @name PIO0_29 (coord B13), U24[13]/P0_29-ISP_FC0_RXD
739 @{ */
740#define BOARD_ISP_FC0_RXD_PORT 0U /*!<@brief PORT peripheral base pointer */
741#define BOARD_ISP_FC0_RXD_PIN 29U /*!<@brief PORT pin number */
742#define BOARD_ISP_FC0_RXD_PIN_MASK (1U << 29U) /*!<@brief PORT pin mask */
743 /* @} */
744
745/*! @name PIO0_30 (coord A2), U24[12]/P0_30-ISP_FC0_TXD
746 @{ */
747#define BOARD_ISP_FC0_TXD_PORT 0U /*!<@brief PORT peripheral base pointer */
748#define BOARD_ISP_FC0_TXD_PIN 30U /*!<@brief PORT pin number */
749#define BOARD_ISP_FC0_TXD_PIN_MASK (1U << 30U) /*!<@brief PORT pin mask */
750 /* @} */
751
752/*!
753 * @brief Configures pin routing and optionally pin electrical features.
754 *
755 */
756void BOARD_InitDEBUG_UART(void); /* Function assigned for the Cortex-M4F */
757
758#define PIO010_ANAMODE_DISABLED 0x01u /*!<@brief Enables or disables analog mode.: Disable analog Mode. */
759#define PIO010_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
760#define PIO010_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
761#define PIO011_ANAMODE_DISABLED 0x01u /*!<@brief Enables or disables analog mode.: Disable analog Mode. */
762#define PIO011_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
763#define PIO011_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
764#define PIO012_ANAMODE_DISABLED 0x01u /*!<@brief Enables or disables analog mode.: Disable analog Mode. */
765#define PIO012_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
766#define PIO012_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */
767
768/*! @name PIO0_12 (coord M3), P1[2]/U22[4]/D5[5]/IF_SWDIO
769 @{ */
770#define BOARD_IF_SWDIO_PORT 0U /*!<@brief PORT peripheral base pointer */
771#define BOARD_IF_SWDIO_PIN 12U /*!<@brief PORT pin number */
772#define BOARD_IF_SWDIO_PIN_MASK (1U << 12U) /*!<@brief PORT pin mask */
773 /* @} */
774
775/*! @name PIO0_11 (coord L3), U16[4]/SWDCLK_TRGT
776 @{ */
777#define BOARD_SWDCLK_TRGT_PORT 0U /*!<@brief PORT peripheral base pointer */
778#define BOARD_SWDCLK_TRGT_PIN 11U /*!<@brief PORT pin number */
779#define BOARD_SWDCLK_TRGT_PIN_MASK (1U << 11U) /*!<@brief PORT pin mask */
780 /* @} */
781
782/*! @name PIO0_10 (coord P2), U16[12]/SWO_TRGT
783 @{ */
784#define BOARD_SWO_TRGT_PORT 0U /*!<@brief PORT peripheral base pointer */
785#define BOARD_SWO_TRGT_PIN 10U /*!<@brief PORT pin number */
786#define BOARD_SWO_TRGT_PIN_MASK (1U << 10U) /*!<@brief PORT pin mask */
787 /* @} */
788
789/*!
790 * @brief Configures pin routing and optionally pin electrical features.
791 *
792 */
793void BOARD_InitSWD_DEBUG(void); /* Function assigned for the Cortex-M4F */
794
795#define PIO211_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
796#define PIO211_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
797#define PIO213_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
798#define PIO213_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
799#define PIO214_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
800#define PIO214_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
801#define PIO215_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
802#define PIO215_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
803#define PIO216_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
804#define PIO216_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
805#define PIO221_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
806#define PIO221_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
807#define PIO222_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
808#define PIO222_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
809#define PIO223_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
810#define PIO223_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
811#define PIO224_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
812#define PIO224_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
813#define PIO225_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
814#define PIO225_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
815#define PIO228_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
816#define PIO228_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
817#define PIO229_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
818#define PIO229_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
819#define PIO230_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
820#define PIO230_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
821#define PIO231_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
822#define PIO231_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
823#define PIO30_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
824#define PIO30_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
825#define PIO31_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
826#define PIO31_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
827#define PIO35_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
828#define PIO35_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
829#define PIO36_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
830#define PIO36_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
831#define PIO37_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
832#define PIO37_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
833#define PIO38_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
834#define PIO38_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
835#define PIO39_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
836#define PIO39_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
837
838/*! @name PIO2_11 (coord K3), J16[31]/P2_11-LCD_PWR
839 @{ */
840#define BOARD_LCD_PWR_PORT 2U /*!<@brief PORT peripheral base pointer */
841#define BOARD_LCD_PWR_PIN 11U /*!<@brief PORT pin number */
842#define BOARD_LCD_PWR_PIN_MASK (1U << 11U) /*!<@brief PORT pin mask */
843 /* @} */
844
845/*! @name PIO2_14 (coord L7), J16[33]/P2_14-LCD_FP
846 @{ */
847#define BOARD_LCD_FP_PORT 2U /*!<@brief PORT peripheral base pointer */
848#define BOARD_LCD_FP_PIN 14U /*!<@brief PORT pin number */
849#define BOARD_LCD_FP_PIN_MASK (1U << 14U) /*!<@brief PORT pin mask */
850 /* @} */
851
852/*! @name PIO2_13 (coord P7), J16[30]/P2_13-LCD_DCLK
853 @{ */
854#define BOARD_LCD_DCLK_PORT 2U /*!<@brief PORT peripheral base pointer */
855#define BOARD_LCD_DCLK_PIN 13U /*!<@brief PORT pin number */
856#define BOARD_LCD_DCLK_PIN_MASK (1U << 13U) /*!<@brief PORT pin mask */
857 /* @} */
858
859/*! @name PIO2_16 (coord L8), J16[32]/P2_16-LCD_LP
860 @{ */
861#define BOARD_LCD_LP_PORT 2U /*!<@brief PORT peripheral base pointer */
862#define BOARD_LCD_LP_PIN 16U /*!<@brief PORT pin number */
863#define BOARD_LCD_LP_PIN_MASK (1U << 16U) /*!<@brief PORT pin mask */
864 /* @} */
865
866/*! @name PIO2_15 (coord M8), J16[34]/P2_15-LCD_AC_ENAB_M
867 @{ */
868#define BOARD_LCD_AC_ENAB_M_PORT 2U /*!<@brief PORT peripheral base pointer */
869#define BOARD_LCD_AC_ENAB_M_PIN 15U /*!<@brief PORT pin number */
870#define BOARD_LCD_AC_ENAB_M_PIN_MASK (1U << 15U) /*!<@brief PORT pin mask */
871 /* @} */
872
873/*! @name PIO2_22 (coord K10), J16[9]/P2_22-LCD_VD4
874 @{ */
875#define BOARD_LCD_VD4_PORT 2U /*!<@brief PORT peripheral base pointer */
876#define BOARD_LCD_VD4_PIN 22U /*!<@brief PORT pin number */
877#define BOARD_LCD_VD4_PIN_MASK (1U << 22U) /*!<@brief PORT pin mask */
878 /* @} */
879
880/*! @name PIO2_21 (coord L10), J16[8]/P2_21-LCD_VD3
881 @{ */
882#define BOARD_LCD_VD3_PORT 2U /*!<@brief PORT peripheral base pointer */
883#define BOARD_LCD_VD3_PIN 21U /*!<@brief PORT pin number */
884#define BOARD_LCD_VD3_PIN_MASK (1U << 21U) /*!<@brief PORT pin mask */
885 /* @} */
886
887/*! @name PIO2_29 (coord G11), J16[16]/P2_29-LCD_VD11
888 @{ */
889#define BOARD_LCD_VD11_PORT 2U /*!<@brief PORT peripheral base pointer */
890#define BOARD_LCD_VD11_PIN 29U /*!<@brief PORT pin number */
891#define BOARD_LCD_VD11_PIN_MASK (1U << 29U) /*!<@brief PORT pin mask */
892 /* @} */
893
894/*! @name PIO2_25 (coord J11), J16[12]/P2_25-LCD_VD7
895 @{ */
896#define BOARD_LCD_VD7_PORT 2U /*!<@brief PORT peripheral base pointer */
897#define BOARD_LCD_VD7_PIN 25U /*!<@brief PORT pin number */
898#define BOARD_LCD_VD7_PIN_MASK (1U << 25U) /*!<@brief PORT pin mask */
899 /* @} */
900
901/*! @name PIO2_30 (coord F12), J16[17]/P2_30-LCD_VD12
902 @{ */
903#define BOARD_LCD_VD12_PORT 2U /*!<@brief PORT peripheral base pointer */
904#define BOARD_LCD_VD12_PIN 30U /*!<@brief PORT pin number */
905#define BOARD_LCD_VD12_PIN_MASK (1U << 30U) /*!<@brief PORT pin mask */
906 /* @} */
907
908/*! @name PIO2_28 (coord G13), J16[15]/P2_28-LCD_VD10
909 @{ */
910#define BOARD_LCD_VD10_PORT 2U /*!<@brief PORT peripheral base pointer */
911#define BOARD_LCD_VD10_PIN 28U /*!<@brief PORT pin number */
912#define BOARD_LCD_VD10_PIN_MASK (1U << 28U) /*!<@brief PORT pin mask */
913 /* @} */
914
915/*! @name PIO2_31 (coord D14), J16[18]/P2_31-LCD_VD13
916 @{ */
917#define BOARD_LCD_VD13_PORT 2U /*!<@brief PORT peripheral base pointer */
918#define BOARD_LCD_VD13_PIN 31U /*!<@brief PORT pin number */
919#define BOARD_LCD_VD13_PIN_MASK (1U << 31U) /*!<@brief PORT pin mask */
920 /* @} */
921
922/*! @name PIO2_24 (coord K14), J16[11]/P2_24-LCD_VD6
923 @{ */
924#define BOARD_LCD_VD6_PORT 2U /*!<@brief PORT peripheral base pointer */
925#define BOARD_LCD_VD6_PIN 24U /*!<@brief PORT pin number */
926#define BOARD_LCD_VD6_PIN_MASK (1U << 24U) /*!<@brief PORT pin mask */
927 /* @} */
928
929/*! @name PIO2_23 (coord M14), J16[10]/P2_23-LCD_VD5
930 @{ */
931#define BOARD_LCD_VD5_PORT 2U /*!<@brief PORT peripheral base pointer */
932#define BOARD_LCD_VD5_PIN 23U /*!<@brief PORT pin number */
933#define BOARD_LCD_VD5_PIN_MASK (1U << 23U) /*!<@brief PORT pin mask */
934 /* @} */
935
936/*! @name PIO3_0 (coord D12), J16[19]/JS36[1]/P3_0-LCD_VD14
937 @{ */
938#define BOARD_LCD_VD14_PORT 3U /*!<@brief PORT peripheral base pointer */
939#define BOARD_LCD_VD14_PIN 0U /*!<@brief PORT pin number */
940#define BOARD_LCD_VD14_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
941 /* @} */
942
943/*! @name PIO3_1 (coord D11), J16[20]/JS33[1]/P3_1-LCD_VD15
944 @{ */
945#define BOARD_LCD_VD15_PORT 3U /*!<@brief PORT peripheral base pointer */
946#define BOARD_LCD_VD15_PIN 1U /*!<@brief PORT pin number */
947#define BOARD_LCD_VD15_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
948 /* @} */
949
950/*! @name PIO3_5 (coord B10), J16[24]/P3_5-LCD_VD19
951 @{ */
952#define BOARD_LCD_VD19_PORT 3U /*!<@brief PORT peripheral base pointer */
953#define BOARD_LCD_VD19_PIN 5U /*!<@brief PORT pin number */
954#define BOARD_LCD_VD19_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
955 /* @} */
956
957/*! @name PIO3_6 (coord C9), J16[25]/P3_6-LCD_VD20
958 @{ */
959#define BOARD_LCD_VD20_PORT 3U /*!<@brief PORT peripheral base pointer */
960#define BOARD_LCD_VD20_PIN 6U /*!<@brief PORT pin number */
961#define BOARD_LCD_VD20_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
962 /* @} */
963
964/*! @name PIO3_7 (coord B8), J16[26]/P3_7-LCD_VD21
965 @{ */
966#define BOARD_LCD_VD21_PORT 3U /*!<@brief PORT peripheral base pointer */
967#define BOARD_LCD_VD21_PIN 7U /*!<@brief PORT pin number */
968#define BOARD_LCD_VD21_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
969 /* @} */
970
971/*! @name PIO3_8 (coord A7), J16[27]/P3_8-LCD_VD22
972 @{ */
973#define BOARD_LCD_VD22_PORT 3U /*!<@brief PORT peripheral base pointer */
974#define BOARD_LCD_VD22_PIN 8U /*!<@brief PORT pin number */
975#define BOARD_LCD_VD22_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
976 /* @} */
977
978/*! @name PIO3_9 (coord C7), J16[28]/P3_9-LCD_VD23
979 @{ */
980#define BOARD_LCD_VD23_PORT 3U /*!<@brief PORT peripheral base pointer */
981#define BOARD_LCD_VD23_PIN 9U /*!<@brief PORT pin number */
982#define BOARD_LCD_VD23_PIN_MASK (1U << 9U) /*!<@brief PORT pin mask */
983 /* @} */
984
985/*!
986 * @brief Configures pin routing and optionally pin electrical features.
987 *
988 */
989void BOARD_InitLCD(void); /* Function assigned for the Cortex-M4F */
990
991#define PIO017_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
992#define PIO017_FUNC_ALT7 0x07u /*!<@brief Selects pin function.: Alternative connection 7. */
993#define PIO226_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
994#define PIO226_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
995#define PIO410_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
996#define PIO410_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
997#define PIO411_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
998#define PIO411_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
999#define PIO412_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1000#define PIO412_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1001#define PIO413_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1002#define PIO413_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1003#define PIO414_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1004#define PIO414_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1005#define PIO48_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1006#define PIO48_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1007
1008/*! @name PIO4_8 (coord B14), U12[17]/JP11[1]/P4_8-ENET_TXD0
1009 @{ */
1010#define BOARD_INITENET_ENET_TXD0_PORT 4U /*!<@brief PORT peripheral base pointer */
1011#define BOARD_INITENET_ENET_TXD0_PIN 8U /*!<@brief PORT pin number */
1012#define BOARD_INITENET_ENET_TXD0_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
1013 /* @} */
1014
1015/*! @name PIO0_17 (coord E14), U12[18]/P0_17-ENET_TXD1
1016 @{ */
1017#define BOARD_INITENET_ENET_TXD1_PORT 0U /*!<@brief PORT peripheral base pointer */
1018#define BOARD_INITENET_ENET_TXD1_PIN 17U /*!<@brief PORT pin number */
1019#define BOARD_INITENET_ENET_TXD1_PIN_MASK (1U << 17U) /*!<@brief PORT pin mask */
1020 /* @} */
1021
1022/*! @name PIO4_13 (coord B6), U12[16]/P4_13-ENET_TX_EN
1023 @{ */
1024#define BOARD_INITENET_ENET_TX_EN_PORT 4U /*!<@brief PORT peripheral base pointer */
1025#define BOARD_INITENET_ENET_TX_EN_PIN 13U /*!<@brief PORT pin number */
1026#define BOARD_INITENET_ENET_TX_EN_PIN_MASK (1U << 13U) /*!<@brief PORT pin mask */
1027 /* @} */
1028
1029/*! @name PIO4_11 (coord A9), U12[8]/JP12[1]/J3[4]/JP12[3]/P4_11-USB0_ID/P4_11-ENET_RXD0
1030 @{ */
1031#define BOARD_INITENET_ENET_RXD0_PORT 4U /*!<@brief PORT peripheral base pointer */
1032#define BOARD_INITENET_ENET_RXD0_PIN 11U /*!<@brief PORT pin number */
1033#define BOARD_INITENET_ENET_RXD0_PIN_MASK (1U << 11U) /*!<@brief PORT pin mask */
1034 /* @} */
1035
1036/*! @name PIO4_12 (coord A6), U12[7]/P4_12-ENET_RXD1
1037 @{ */
1038#define BOARD_INITENET_ENET_RXD1_PORT 4U /*!<@brief PORT peripheral base pointer */
1039#define BOARD_INITENET_ENET_RXD1_PIN 12U /*!<@brief PORT pin number */
1040#define BOARD_INITENET_ENET_RXD1_PIN_MASK (1U << 12U) /*!<@brief PORT pin mask */
1041 /* @} */
1042
1043/*! @name PIO4_10 (coord B9), U12[11]/P4_10-ENET_CRS_DV
1044 @{ */
1045#define BOARD_INITENET_ENET_CRS_DV_PORT 4U /*!<@brief PORT peripheral base pointer */
1046#define BOARD_INITENET_ENET_CRS_DV_PIN 10U /*!<@brief PORT pin number */
1047#define BOARD_INITENET_ENET_CRS_DV_PIN_MASK (1U << 10U) /*!<@brief PORT pin mask */
1048 /* @} */
1049
1050/*! @name PIO2_26 (coord H11), U12[15]/P2_26-ENET_PHY_RSTn
1051 @{ */
1052
1053/* Symbols to be used with GPIO driver */
1054#define BOARD_INITENET_ENET_PHY_RSTn_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
1055#define BOARD_INITENET_ENET_PHY_RSTn_GPIO_PIN_MASK (1U << 26U) /*!<@brief GPIO pin mask */
1056#define BOARD_INITENET_ENET_PHY_RSTn_PORT 2U /*!<@brief PORT peripheral base pointer */
1057#define BOARD_INITENET_ENET_PHY_RSTn_PIN 26U /*!<@brief PORT pin number */
1058#define BOARD_INITENET_ENET_PHY_RSTn_PIN_MASK (1U << 26U) /*!<@brief PORT pin mask */
1059 /* @} */
1060
1061/*! @name PIO4_14 (coord B5), JS18[2]/P4_14-ENET_RX_CLK
1062 @{ */
1063#define BOARD_INITENET_ENET_RX_CLK_PORT 4U /*!<@brief PORT peripheral base pointer */
1064#define BOARD_INITENET_ENET_RX_CLK_PIN 14U /*!<@brief PORT pin number */
1065#define BOARD_INITENET_ENET_RX_CLK_PIN_MASK (1U << 14U) /*!<@brief PORT pin mask */
1066 /* @} */
1067
1068/*!
1069 * @brief Configures pin routing and optionally pin electrical features.
1070 *
1071 */
1072void BOARD_InitENET(void); /* Function assigned for the Cortex-M4F */
1073
1074#define PIO12_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1075#define PIO12_FUNC_ALT5 0x05u /*!<@brief Selects pin function.: Alternative connection 5. */
1076#define PIO13_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1077#define PIO13_FUNC_ALT5 0x05u /*!<@brief Selects pin function.: Alternative connection 5. */
1078
1079/*! @name PIO1_2 (coord L14), J13[18]/JS25[3]/DMIC1[4]/P1_2-PDM1_CLK
1080 @{ */
1081#define BOARD_PDM1_CLK_PORT 1U /*!<@brief PORT peripheral base pointer */
1082#define BOARD_PDM1_CLK_PIN 2U /*!<@brief PORT pin number */
1083#define BOARD_PDM1_CLK_PIN_MASK (1U << 2U) /*!<@brief PORT pin mask */
1084 /* @} */
1085
1086/*! @name PIO1_3 (coord J13), JS26[3]/DMIC1[1]/P1_3-PDM1_DATA
1087 @{ */
1088#define BOARD_PDM1_DATA_PORT 1U /*!<@brief PORT peripheral base pointer */
1089#define BOARD_PDM1_DATA_PIN 3U /*!<@brief PORT pin number */
1090#define BOARD_PDM1_DATA_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
1091 /* @} */
1092
1093/*!
1094 * @brief Configures pin routing and optionally pin electrical features.
1095 *
1096 */
1097void BOARD_InitDMIC(void); /* Function assigned for the Cortex-M4F */
1098
1099#define PIO218_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1100#define PIO218_FUNC_ALT3 0x03u /*!<@brief Selects pin function.: Alternative connection 3. */
1101#define PIO219_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1102#define PIO219_FUNC_ALT3 0x03u /*!<@brief Selects pin function.: Alternative connection 3. */
1103#define PIO220_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1104#define PIO220_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
1105#define PIO311_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1106#define PIO311_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1107#define PIO323_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1108#define PIO323_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1109#define PIO324_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1110#define PIO324_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
1111#define PIO41_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1112#define PIO41_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
1113#define PIO42_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1114#define PIO42_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
1115#define PIO43_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
1116#define PIO43_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */
1117
1118/*! @name PIO4_1 (coord G14), U10[29]/J9[14]/P4_1-FC6_I2S_TX_SCK
1119 @{ */
1120#define BOARD_FC6_I2S_TX_SCK_PORT 4U /*!<@brief PORT peripheral base pointer */
1121#define BOARD_FC6_I2S_TX_SCK_PIN 1U /*!<@brief PORT pin number */
1122#define BOARD_FC6_I2S_TX_SCK_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
1123 /* @} */
1124
1125/*! @name PIO4_3 (coord F13), U10[30]/J9[12]/P4_3-FC6_I2S_TX_WS
1126 @{ */
1127#define BOARD_FC6_I2S_TX_WS_PORT 4U /*!<@brief PORT peripheral base pointer */
1128#define BOARD_FC6_I2S_TX_WS_PIN 3U /*!<@brief PORT pin number */
1129#define BOARD_FC6_I2S_TX_WS_PIN_MASK (1U << 3U) /*!<@brief PORT pin mask */
1130 /* @} */
1131
1132/*! @name PIO4_2 (coord F14), U10[32]/J9[10]/P4_2-FC6_I2S_TX_DATA
1133 @{ */
1134#define BOARD_FC6_I2S_TX_DATA_PORT 4U /*!<@brief PORT peripheral base pointer */
1135#define BOARD_FC6_I2S_TX_DATA_PIN 2U /*!<@brief PORT pin number */
1136#define BOARD_FC6_I2S_TX_DATA_PIN_MASK (1U << 2U) /*!<@brief PORT pin mask */
1137 /* @} */
1138
1139/*! @name PIO2_19 (coord P12), U10[31]/J9[20]/P2_19-FC7_I2S_RX_DAT
1140 @{ */
1141#define BOARD_FC7_I2S_RX_DAT_PORT 2U /*!<@brief PORT peripheral base pointer */
1142#define BOARD_FC7_I2S_RX_DAT_PIN 19U /*!<@brief PORT pin number */
1143#define BOARD_FC7_I2S_RX_DAT_PIN_MASK (1U << 19U) /*!<@brief PORT pin mask */
1144 /* @} */
1145
1146/*! @name PIO2_18 (coord N10), U10[29]/J9[16]/P2_18-FC7_I2S_RX_SCK
1147 @{ */
1148#define BOARD_FC7_I2S_RX_SCK_PORT 2U /*!<@brief PORT peripheral base pointer */
1149#define BOARD_FC7_I2S_RX_SCK_PIN 18U /*!<@brief PORT pin number */
1150#define BOARD_FC7_I2S_RX_SCK_PIN_MASK (1U << 18U) /*!<@brief PORT pin mask */
1151 /* @} */
1152
1153/*! @name PIO2_20 (coord P13), U10[30]/J9[18]/P2_20-FC7_I2S_RX_WS
1154 @{ */
1155#define BOARD_FC7_I2S_RX_WS_PORT 2U /*!<@brief PORT peripheral base pointer */
1156#define BOARD_FC7_I2S_RX_WS_PIN 20U /*!<@brief PORT pin number */
1157#define BOARD_FC7_I2S_RX_WS_PIN_MASK (1U << 20U) /*!<@brief PORT pin mask */
1158 /* @} */
1159
1160/*! @name PIO3_11 (coord B2), J11[8]/J12[7]/P3_11-MCLK-PMOD2_GPIO
1161 @{ */
1162#define BOARD_MCLK_PORT 3U /*!<@brief PORT peripheral base pointer */
1163#define BOARD_MCLK_PIN 11U /*!<@brief PORT pin number */
1164#define BOARD_MCLK_PIN_MASK (1U << 11U) /*!<@brief PORT pin mask */
1165 /* @} */
1166
1167/*!
1168 * @brief Configures pin routing and optionally pin electrical features.
1169 *
1170 */
1171void BOARD_InitI2S(void); /* Function assigned for the Cortex-M4F */
1172
1173#if defined(__cplusplus)
1174}
1175#endif
1176
1177/*!
1178 * @}
1179 */
1180#endif /* _PIN_MUX_H_ */
1181
1182/***********************************************************************************************************************
1183 * EOF
1184 **********************************************************************************************************************/