diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018/project_template/pin_mux.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018/project_template/pin_mux.h | 891 |
1 files changed, 891 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018/project_template/pin_mux.h new file mode 100644 index 000000000..2ff68e6df --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54s018/project_template/pin_mux.h | |||
@@ -0,0 +1,891 @@ | |||
1 | /* | ||
2 | * Copyright 2017-2019 NXP | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * SPDX-License-Identifier: BSD-3-Clause | ||
6 | */ | ||
7 | |||
8 | #ifndef _PIN_MUX_H_ | ||
9 | #define _PIN_MUX_H_ | ||
10 | |||
11 | /*! | ||
12 | * @addtogroup pin_mux | ||
13 | * @{ | ||
14 | */ | ||
15 | |||
16 | /*********************************************************************************************************************** | ||
17 | * API | ||
18 | **********************************************************************************************************************/ | ||
19 | |||
20 | #if defined(__cplusplus) | ||
21 | extern "C" { | ||
22 | #endif | ||
23 | |||
24 | /*! | ||
25 | * @brief Calls initialization functions. | ||
26 | * | ||
27 | */ | ||
28 | void BOARD_InitBootPins(void); | ||
29 | |||
30 | /*! | ||
31 | * @brief Select Analog/Digital mode.: Digital mode. */ | ||
32 | #define PIO010_DIGIMODE_DIGITAL 0x01u | ||
33 | /*! | ||
34 | * @brief Selects pin function.: Alternative connection 6. */ | ||
35 | #define PIO010_FUNC_ALT6 0x06u | ||
36 | /*! | ||
37 | * @brief | ||
38 | * Selects function mode (on-chip pull-up/pull-down resistor control). | ||
39 | * : Inactive. | ||
40 | * Inactive (no pull-down/pull-up resistor enabled). | ||
41 | */ | ||
42 | #define PIO010_MODE_INACTIVE 0x00u | ||
43 | |||
44 | /*! | ||
45 | * @brief Configures pin routing and optionally pin electrical features. | ||
46 | * | ||
47 | */ | ||
48 | void BOARD_InitPins(void); /* Function assigned for the Cortex-M4F */ | ||
49 | |||
50 | #define PIO04_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
51 | #define PIO04_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
52 | #define PIO05_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
53 | #define PIO05_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
54 | #define PIO06_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
55 | #define PIO06_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
56 | #define PIO11_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
57 | #define PIO11_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
58 | |||
59 | /*! @name PIO0_6 (coord A5), U28[C8]/RP5[4]/SW2/P0_6-ISP2/P0_6-EMC_D4 | ||
60 | @{ */ | ||
61 | #define BOARD_SW2_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
62 | #define BOARD_SW2_PORT 0U /*!<@brief PORT device name: 0U */ | ||
63 | #define BOARD_SW2_PIN 6U /*!<@brief 0U pin index: 6 */ | ||
64 | /* @} */ | ||
65 | |||
66 | /*! @name PIO0_5 (coord E7), U28[C9]/RP3[1]/JS32[1]/SW3/P0_5-ISP1/P0_5-EMC_D3 | ||
67 | @{ */ | ||
68 | #define BOARD_SW3_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
69 | #define BOARD_SW3_PORT 0U /*!<@brief PORT device name: 0U */ | ||
70 | #define BOARD_SW3_PIN 5U /*!<@brief 0U pin index: 5 */ | ||
71 | /* @} */ | ||
72 | |||
73 | /*! @name PIO0_4 (coord C8), U28[B8]/RP3[2]/JS32[3]/SW4/P0_4-ISP0/P0_4-EMC_D2 | ||
74 | @{ */ | ||
75 | #define BOARD_SW4_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
76 | #define BOARD_SW4_PORT 0U /*!<@brief PORT device name: 0U */ | ||
77 | #define BOARD_SW4_PIN 4U /*!<@brief 0U pin index: 4 */ | ||
78 | /* @} */ | ||
79 | |||
80 | /*! @name PIO1_1 (coord K12), J12[12]/U29[4]/SW5/P1_1-USER_PB-USB1_OVRCURn | ||
81 | @{ */ | ||
82 | #define BOARD_SW5_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
83 | #define BOARD_SW5_PORT 1U /*!<@brief PORT device name: 1U */ | ||
84 | #define BOARD_SW5_PIN 1U /*!<@brief 1U pin index: 1 */ | ||
85 | /* @} */ | ||
86 | |||
87 | /*! | ||
88 | * @brief Configures pin routing and optionally pin electrical features. | ||
89 | * | ||
90 | */ | ||
91 | void BOARD_InitBUTTONs(void); /* Function assigned for the Cortex-M4F */ | ||
92 | |||
93 | #define PIO22_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
94 | #define PIO22_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
95 | #define PIO314_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
96 | #define PIO314_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
97 | #define PIO33_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
98 | #define PIO33_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
99 | |||
100 | /*! @name PIO3_3 (coord A13), J9[8]/LED2/P3_3-USR_LED2 | ||
101 | @{ */ | ||
102 | #define BOARD_LED2_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
103 | #define BOARD_LED2_PORT 3U /*!<@brief PORT device name: 3U */ | ||
104 | #define BOARD_LED2_PIN 3U /*!<@brief 3U pin index: 3 */ | ||
105 | /* @} */ | ||
106 | |||
107 | /*! @name PIO2_2 (coord C3), J9[6]/LED3/P2_2-CT1MAT1-USR_LED3 | ||
108 | @{ */ | ||
109 | #define BOARD_LED3_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
110 | #define BOARD_LED3_PORT 2U /*!<@brief PORT device name: 2U */ | ||
111 | #define BOARD_LED3_PIN 2U /*!<@brief 2U pin index: 2 */ | ||
112 | /* @} */ | ||
113 | |||
114 | /*! @name PIO3_14 (coord E3), J13[5]/LED1/P3_14-CT3MAT1-USR_LED1 | ||
115 | @{ */ | ||
116 | #define BOARD_LED1_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
117 | #define BOARD_LED1_PORT 3U /*!<@brief PORT device name: 3U */ | ||
118 | #define BOARD_LED1_PIN 14U /*!<@brief 3U pin index: 14 */ | ||
119 | /* @} */ | ||
120 | |||
121 | /*! | ||
122 | * @brief Configures pin routing and optionally pin electrical features. | ||
123 | * | ||
124 | */ | ||
125 | void BOARD_InitLEDs(void); /* Function assigned for the Cortex-M4F */ | ||
126 | |||
127 | #define PIO00_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
128 | #define PIO00_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
129 | #define PIO013_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
130 | #define PIO013_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
131 | #define PIO014_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
132 | #define PIO014_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
133 | #define PIO01_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
134 | #define PIO01_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
135 | #define PIO02_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
136 | #define PIO02_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
137 | #define PIO03_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
138 | #define PIO03_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
139 | #define PIO313_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
140 | #define PIO313_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
141 | |||
142 | /*! @name FC3_CTS_SDA_SSEL0 (coord A1), U26[14]/J14[1]/P0_1-ISP_FC3_SSEL0 | ||
143 | @{ */ | ||
144 | /* @} */ | ||
145 | |||
146 | /*! @name FC3_RXD_SDA_MOSI (coord A10), U28[B9]/RP3[3]/JS34[1]/U26[11]/J14[2]/P0_3-ISP_FC3_MOSI/P0_3-EMC_D1 | ||
147 | @{ */ | ||
148 | /* @} */ | ||
149 | |||
150 | /*! @name FC3_TXD_SCL_MISO (coord E9), U28[A8]/RP3[4]/JS35[1]/U24[11]/J14[3]/P0_2-ISP_FC3_MISO/P0_2-EMC_D0 | ||
151 | @{ */ | ||
152 | /* @} */ | ||
153 | |||
154 | /*! @name FC3_SCK (coord D6), U26[13]/J14[4]/P0_0-ISP_FC3_SCK | ||
155 | @{ */ | ||
156 | /* @} */ | ||
157 | |||
158 | /*! @name PIO3_13 (coord H4), J14[8]/P3_13-BRIDGE_GPIO | ||
159 | @{ */ | ||
160 | #define BOARD_BRIDGE_GPIO_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
161 | #define BOARD_BRIDGE_GPIO_PORT 3U /*!<@brief PORT device name: 3U */ | ||
162 | #define BOARD_BRIDGE_GPIO_PIN 13U /*!<@brief 3U pin index: 13 */ | ||
163 | /* @} */ | ||
164 | |||
165 | /*! @name FC1_CTS_SDA_SSEL0 (coord F11), JS16[2]/J14[9]/P0_13-ISP_FC1_SDAX | ||
166 | @{ */ | ||
167 | /* @} */ | ||
168 | |||
169 | /*! @name FC1_RTS_SCL_SSEL1 (coord E13), JS15[2]/J14[10]/P0_14-ISP_FC1_SCLX | ||
170 | @{ */ | ||
171 | /* @} */ | ||
172 | |||
173 | /*! | ||
174 | * @brief Configures pin routing and optionally pin electrical features. | ||
175 | * | ||
176 | */ | ||
177 | void BOARD_InitPMod_SPI_I2C_BRIDGE(void); /* Function assigned for the Cortex-M4F */ | ||
178 | |||
179 | #define PIO323_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
180 | #define PIO323_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
181 | #define PIO324_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
182 | #define PIO324_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
183 | #define PIO34_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
184 | #define PIO34_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
185 | |||
186 | /*! @name FC2_CTS_SDA_SSEL0 (coord C2), J11[10]/J9[3]/U10[3]/J17[5]/U19[10]/P3_23-FC2_SDAX | ||
187 | @{ */ | ||
188 | /* @} */ | ||
189 | |||
190 | /*! @name FC2_RTS_SCL_SSEL1 (coord E2), J11[9]/J9[1]/U10[2]/J17[4]/U19[2]/P3_24-FC2_SCLX | ||
191 | @{ */ | ||
192 | /* @} */ | ||
193 | |||
194 | /*! @name PIO3_4 (coord B11), J12[10]/U19[3]/P3_4-ACCL_INTR | ||
195 | @{ */ | ||
196 | #define BOARD_ACCL_INTR_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
197 | #define BOARD_ACCL_INTR_PORT 3U /*!<@brief PORT device name: 3U */ | ||
198 | #define BOARD_ACCL_INTR_PIN 4U /*!<@brief 3U pin index: 4 */ | ||
199 | /* @} */ | ||
200 | |||
201 | /*! | ||
202 | * @brief Configures pin routing and optionally pin electrical features. | ||
203 | * | ||
204 | */ | ||
205 | void BOARD_InitACCEL(void); /* Function assigned for the Cortex-M4F */ | ||
206 | |||
207 | #define PIO023_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
208 | #define PIO023_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
209 | #define PIO024_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
210 | #define PIO024_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
211 | #define PIO025_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
212 | #define PIO025_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
213 | #define PIO026_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
214 | #define PIO026_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
215 | #define PIO027_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
216 | #define PIO027_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
217 | #define PIO028_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
218 | #define PIO028_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
219 | #define PIO212_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
220 | #define PIO212_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
221 | |||
222 | /*! @name SPIFI_CLK (coord M13), J13[2]/U27[6]/P0_26-SPIFI_CLK | ||
223 | @{ */ | ||
224 | /* @} */ | ||
225 | |||
226 | /*! @name SPIFI_IO(0) (coord M7), J13[6]/U27[5]/P0_24-SPIFI_IO0 | ||
227 | @{ */ | ||
228 | /* @} */ | ||
229 | |||
230 | /*! @name SPIFI_IO(1) (coord K8), J13[4]/U27[2]/P0_25-SPIFI_IO1 | ||
231 | @{ */ | ||
232 | /* @} */ | ||
233 | |||
234 | /*! @name SPIFI_IO(3) (coord L9), J13[12]/U27[7]/P0_27-SPIFI_IO3 | ||
235 | @{ */ | ||
236 | /* @} */ | ||
237 | |||
238 | /*! @name SPIFI_IO(2) (coord M9), J13[10]/U27[3]/P0_28-SPIFI_IO2-USB0_OCURRn | ||
239 | @{ */ | ||
240 | /* @} */ | ||
241 | |||
242 | /*! @name SPIFI_CSN (coord N7), J13[8]/U27[1]/P0_23-SPIFI_CSn-MCLK | ||
243 | @{ */ | ||
244 | /* @} */ | ||
245 | |||
246 | /*! @name PIO2_12 (coord M2), U26A1[3]/P2_12-SPIFI_RSTn | ||
247 | @{ */ | ||
248 | #define BOARD_SPIFI_RSTn_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
249 | #define BOARD_SPIFI_RSTn_PORT 2U /*!<@brief PORT device name: 2U */ | ||
250 | #define BOARD_SPIFI_RSTn_PIN 12U /*!<@brief 2U pin index: 12 */ | ||
251 | /* @} */ | ||
252 | |||
253 | /*! | ||
254 | * @brief Configures pin routing and optionally pin electrical features. | ||
255 | * | ||
256 | */ | ||
257 | void BOARD_InitQSPI_FLASH(void); /* Function assigned for the Cortex-M4F */ | ||
258 | |||
259 | #define PIO210_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
260 | #define PIO210_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
261 | #define PIO23_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
262 | #define PIO23_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
263 | #define PIO24_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
264 | #define PIO24_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
265 | #define PIO25_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
266 | #define PIO25_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
267 | #define PIO26_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
268 | #define PIO26_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
269 | #define PIO27_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
270 | #define PIO27_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
271 | #define PIO28_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
272 | #define PIO28_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
273 | #define PIO29_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
274 | #define PIO29_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
275 | #define PIO315_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
276 | #define PIO315_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
277 | |||
278 | /*! @name SD_WR_PRT (coord D2), RP1[1]/U9[8]/P3_15-SD_WPn | ||
279 | @{ */ | ||
280 | /* @} */ | ||
281 | |||
282 | /*! @name SD_CARD_DET_N (coord P1), RP1[2]/U9[7]/P2_10-SD_CDn | ||
283 | @{ */ | ||
284 | /* @} */ | ||
285 | |||
286 | /*! @name SD_D(2) (coord F4), RP1[3]/U9[6]/P2_8-SD_D2 | ||
287 | @{ */ | ||
288 | /* @} */ | ||
289 | |||
290 | /*! @name SD_D(1) (coord J2), RP1[4]/U9[5]/P2_7-SD_D1 | ||
291 | @{ */ | ||
292 | /* @} */ | ||
293 | |||
294 | /*! @name SD_D(0) (coord F3), RP1[5]/U9[4]/P2_6-SD_D0 | ||
295 | @{ */ | ||
296 | /* @} */ | ||
297 | |||
298 | /*! @name SD_CLK (coord B1), U9[3]/P2_3-SD_CLK | ||
299 | @{ */ | ||
300 | /* @} */ | ||
301 | |||
302 | /*! @name SD_CMD (coord D3), RP1[6]/U9[2]/P2_4-SD_CMD | ||
303 | @{ */ | ||
304 | /* @} */ | ||
305 | |||
306 | /*! @name SD_D(3) (coord K2), RP1[7]/U9[1]/P2_9-SD_D3 | ||
307 | @{ */ | ||
308 | /* @} */ | ||
309 | |||
310 | /*! @name SD_POW_EN (coord C1), Q3[1]/P2_5-SD_POW_EN | ||
311 | @{ */ | ||
312 | /* @} */ | ||
313 | |||
314 | /*! | ||
315 | * @brief Configures pin routing and optionally pin electrical features. | ||
316 | * | ||
317 | */ | ||
318 | void BOARD_InitSDHC(void); /* Function assigned for the Cortex-M4F */ | ||
319 | |||
320 | #define PIO015_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
321 | #define PIO015_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
322 | #define PIO018_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
323 | #define PIO018_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
324 | #define PIO019_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
325 | #define PIO019_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
326 | #define PIO020_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
327 | #define PIO020_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
328 | #define PIO021_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
329 | #define PIO021_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
330 | #define PIO02_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
331 | #define PIO02_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
332 | #define PIO03_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
333 | #define PIO03_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
334 | #define PIO04_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
335 | #define PIO04_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
336 | #define PIO05_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
337 | #define PIO05_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
338 | #define PIO06_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
339 | #define PIO06_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
340 | #define PIO07_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
341 | #define PIO07_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
342 | #define PIO08_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
343 | #define PIO08_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
344 | #define PIO09_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
345 | #define PIO09_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
346 | #define PIO110_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
347 | #define PIO110_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
348 | #define PIO111_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
349 | #define PIO111_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
350 | #define PIO112_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
351 | #define PIO112_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
352 | #define PIO113_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
353 | #define PIO113_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
354 | #define PIO114_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
355 | #define PIO114_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
356 | #define PIO115_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
357 | #define PIO115_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
358 | #define PIO116_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
359 | #define PIO116_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
360 | #define PIO119_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
361 | #define PIO119_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
362 | #define PIO120_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
363 | #define PIO120_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
364 | #define PIO121_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
365 | #define PIO121_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
366 | #define PIO123_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
367 | #define PIO123_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
368 | #define PIO124_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
369 | #define PIO124_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
370 | #define PIO125_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
371 | #define PIO125_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
372 | #define PIO126_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
373 | #define PIO126_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
374 | #define PIO127_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
375 | #define PIO127_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
376 | #define PIO128_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
377 | #define PIO128_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
378 | #define PIO129_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
379 | #define PIO129_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
380 | #define PIO130_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
381 | #define PIO130_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
382 | #define PIO131_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
383 | #define PIO131_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
384 | #define PIO14_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
385 | #define PIO14_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
386 | #define PIO15_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
387 | #define PIO15_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
388 | #define PIO16_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
389 | #define PIO16_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
390 | #define PIO17_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
391 | #define PIO17_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
392 | #define PIO18_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
393 | #define PIO18_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
394 | #define PIO19_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
395 | #define PIO19_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
396 | #define PIO325_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
397 | #define PIO325_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
398 | |||
399 | /*! @name EMC_A(14) (coord P9), U28[G8]/P3_25-EMC_A14 | ||
400 | @{ */ | ||
401 | /* @} */ | ||
402 | |||
403 | /*! @name EMC_A(13) (coord M12), U28[G7]/P1_25-EMC_A13 | ||
404 | @{ */ | ||
405 | /* @} */ | ||
406 | |||
407 | /*! @name EMC_A(12) (coord N14), U28[G1]/P1_24-EMC_A12 | ||
408 | @{ */ | ||
409 | /* @} */ | ||
410 | |||
411 | /*! @name EMC_A(11) (coord M10), U28[G2]/P1_23-EMC_A11 | ||
412 | @{ */ | ||
413 | /* @} */ | ||
414 | |||
415 | /*! @name EMC_A(10) (coord B7), U28[H9]/P1_16-EMC_A10 | ||
416 | @{ */ | ||
417 | /* @} */ | ||
418 | |||
419 | /*! @name EMC_A(9) (coord F10), U28[G3]/P1_27-EMC_A9 | ||
420 | @{ */ | ||
421 | /* @} */ | ||
422 | |||
423 | /*! @name EMC_A(8) (coord J10), U28[H1]/P1_26-EMC_A8 | ||
424 | @{ */ | ||
425 | /* @} */ | ||
426 | |||
427 | /*! @name EMC_A(7) (coord P8), U28[H2]/P1_8-EMC_A7 | ||
428 | @{ */ | ||
429 | /* @} */ | ||
430 | |||
431 | /*! @name EMC_A(6) (coord N1), U28[H3]/P1_7-EMC_A6 | ||
432 | @{ */ | ||
433 | /* @} */ | ||
434 | |||
435 | /*! @name EMC_A(5) (coord G4), U28[J2]/P1_6-EMC_A5 | ||
436 | @{ */ | ||
437 | /* @} */ | ||
438 | |||
439 | /*! @name EMC_A(4) (coord E4), U28[J3]/P1_5-EMC_A4 | ||
440 | @{ */ | ||
441 | /* @} */ | ||
442 | |||
443 | /*! @name EMC_A(3) (coord C13), U28[J7]/P0_21-EMC_A3 | ||
444 | @{ */ | ||
445 | /* @} */ | ||
446 | |||
447 | /*! @name EMC_A(2) (coord D13), U28[J8]/P0_20-EMC_A2 | ||
448 | @{ */ | ||
449 | /* @} */ | ||
450 | |||
451 | /*! @name EMC_A(1) (coord C6), U28[H8]/P0_19-EMC_A1 | ||
452 | @{ */ | ||
453 | /* @} */ | ||
454 | |||
455 | /*! @name EMC_A(0) (coord C14), U28[H7]/P0_18-EMC_A0 | ||
456 | @{ */ | ||
457 | /* @} */ | ||
458 | |||
459 | /*! @name EMC_WEN (coord L4), U28[F9]/P0_15-EMC_WEn | ||
460 | @{ */ | ||
461 | /* @} */ | ||
462 | |||
463 | /*! @name EMC_CASN (coord K6), U28[F7]/P1_9-EMC_CASn | ||
464 | @{ */ | ||
465 | /* @} */ | ||
466 | |||
467 | /*! @name EMC_RASN (coord N9), U28[F8]/P1_10-EMC_RASn | ||
468 | @{ */ | ||
469 | /* @} */ | ||
470 | |||
471 | /*! @name EMC_DYCSN(0) (coord K9), U28[G9]/P1_12-EMC_DYCSn0 | ||
472 | @{ */ | ||
473 | /* @} */ | ||
474 | |||
475 | /*! @name EMC_D(15) (coord C5), U28[A2]/RP2[1]/P1_31-EMC_D15 | ||
476 | @{ */ | ||
477 | /* @} */ | ||
478 | |||
479 | /*! @name EMC_D(14) (coord A8), U28[B1]/RP2[2]/P1_30-EMC_D14 | ||
480 | @{ */ | ||
481 | /* @} */ | ||
482 | |||
483 | /*! @name EMC_D(13) (coord C11), U28[B2]/RP2[3]/P1_29-EMC_D13 | ||
484 | @{ */ | ||
485 | /* @} */ | ||
486 | |||
487 | /*! @name EMC_D(12) (coord E12), U28[C1]/RP2[4]/P1_28-EMC_D12 | ||
488 | @{ */ | ||
489 | /* @} */ | ||
490 | |||
491 | /*! @name EMC_D(11) (coord D4), U28[C2]/RP4[1]/P1_4-EMC_D11 | ||
492 | @{ */ | ||
493 | /* @} */ | ||
494 | |||
495 | /*! @name EMC_D(10) (coord N8), U28[D1]/RP4[2]/P1_21-EMC_D10 | ||
496 | @{ */ | ||
497 | /* @} */ | ||
498 | |||
499 | /*! @name EMC_D(9) (coord M1), U28[D2]/RP4[3]/P1_20-EMC_D9 | ||
500 | @{ */ | ||
501 | /* @} */ | ||
502 | |||
503 | /*! @name EMC_D(8) (coord L1), U28[E1]/RP4[4]/P1_19-EMC_D8 | ||
504 | @{ */ | ||
505 | /* @} */ | ||
506 | |||
507 | /*! @name EMC_D(7) (coord G12), U28[E9]/RP5[1]/P0_9-EMC_D7 | ||
508 | @{ */ | ||
509 | /* @} */ | ||
510 | |||
511 | /*! @name EMC_D(6) (coord H10), U28[D8]/RP5[2]/P0_8-EMC_D6 | ||
512 | @{ */ | ||
513 | /* @} */ | ||
514 | |||
515 | /*! @name EMC_D(5) (coord H12), U28[D9]/RP5[3]/P0_7-EMC_D5 | ||
516 | @{ */ | ||
517 | /* @} */ | ||
518 | |||
519 | /*! @name EMC_D(4) (coord A5), U28[C8]/RP5[4]/SW2/P0_6-ISP2/P0_6-EMC_D4 | ||
520 | @{ */ | ||
521 | /* @} */ | ||
522 | |||
523 | /*! @name EMC_D(3) (coord E7), U28[C9]/RP3[1]/JS32[1]/SW3/P0_5-ISP1/P0_5-EMC_D3 | ||
524 | @{ */ | ||
525 | /* @} */ | ||
526 | |||
527 | /*! @name EMC_D(2) (coord C8), U28[B8]/RP3[2]/JS32[3]/SW4/P0_4-ISP0/P0_4-EMC_D2 | ||
528 | @{ */ | ||
529 | /* @} */ | ||
530 | |||
531 | /*! @name EMC_D(1) (coord A10), U28[B9]/RP3[3]/JS34[1]/U26[11]/J14[2]/P0_3-ISP_FC3_MOSI/P0_3-EMC_D1 | ||
532 | @{ */ | ||
533 | /* @} */ | ||
534 | |||
535 | /*! @name EMC_D(0) (coord E9), U28[A8]/RP3[4]/JS35[1]/U24[11]/J14[3]/P0_2-ISP_FC3_MISO/P0_2-EMC_D0 | ||
536 | @{ */ | ||
537 | /* @} */ | ||
538 | |||
539 | /*! @name EMC_DQM(1) (coord C12), U28[F1]/P1_14-EMC_DQM1 | ||
540 | @{ */ | ||
541 | /* @} */ | ||
542 | |||
543 | /*! @name EMC_DQM(0) (coord G10), U28[E8]/P1_13-EMC_DQM0 | ||
544 | @{ */ | ||
545 | /* @} */ | ||
546 | |||
547 | /*! @name EMC_CLK(0) (coord B4), U28[F2]/P1_11-EMC_CLK0 | ||
548 | @{ */ | ||
549 | /* @} */ | ||
550 | |||
551 | /*! @name EMC_CKE(0) (coord A11), U28[F3]/P1_15-EMC_CKE0 | ||
552 | @{ */ | ||
553 | /* @} */ | ||
554 | |||
555 | /*! | ||
556 | * @brief Configures pin routing and optionally pin electrical features. | ||
557 | * | ||
558 | */ | ||
559 | void BOARD_InitSDRAMPins(void); /* Function assigned for the Cortex-M4F */ | ||
560 | |||
561 | #define PIO029_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
562 | #define PIO029_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
563 | #define PIO030_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
564 | #define PIO030_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
565 | |||
566 | /*! @name FC0_RXD_SDA_MOSI (coord B13), U24[13]/P0_29-ISP_FC0_RXD | ||
567 | @{ */ | ||
568 | /* @} */ | ||
569 | |||
570 | /*! @name FC0_TXD_SCL_MISO (coord A2), U24[12]/P0_30-ISP_FC0_TXD | ||
571 | @{ */ | ||
572 | /* @} */ | ||
573 | |||
574 | /*! | ||
575 | * @brief Configures pin routing and optionally pin electrical features. | ||
576 | * | ||
577 | */ | ||
578 | void BOARD_InitDEBUG_UART(void); /* Function assigned for the Cortex-M4F */ | ||
579 | |||
580 | #define PIO010_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
581 | #define PIO010_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
582 | #define PIO011_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
583 | #define PIO011_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
584 | #define PIO012_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
585 | #define PIO012_FUNC_ALT6 0x06u /*!<@brief Selects pin function.: Alternative connection 6. */ | ||
586 | |||
587 | /*! @name SWDIO (coord M3), P1[2]/U22[4]/D5[5]/IF_SWDIO | ||
588 | @{ */ | ||
589 | /* @} */ | ||
590 | |||
591 | /*! @name SWCLK (coord L3), U16[4]/SWDCLK_TRGT | ||
592 | @{ */ | ||
593 | /* @} */ | ||
594 | |||
595 | /*! @name SWO (coord P2), U16[12]/SWO_TRGT | ||
596 | @{ */ | ||
597 | /* @} */ | ||
598 | |||
599 | /*! | ||
600 | * @brief Configures pin routing and optionally pin electrical features. | ||
601 | * | ||
602 | */ | ||
603 | void BOARD_InitSWD_DEBUG(void); /* Function assigned for the Cortex-M4F */ | ||
604 | |||
605 | #define PIO211_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
606 | #define PIO211_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
607 | #define PIO213_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
608 | #define PIO213_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
609 | #define PIO214_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
610 | #define PIO214_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
611 | #define PIO215_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
612 | #define PIO215_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
613 | #define PIO216_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
614 | #define PIO216_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
615 | #define PIO221_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
616 | #define PIO221_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
617 | #define PIO222_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
618 | #define PIO222_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
619 | #define PIO223_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
620 | #define PIO223_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
621 | #define PIO224_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
622 | #define PIO224_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
623 | #define PIO225_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
624 | #define PIO225_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
625 | #define PIO228_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
626 | #define PIO228_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
627 | #define PIO229_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
628 | #define PIO229_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
629 | #define PIO230_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
630 | #define PIO230_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
631 | #define PIO231_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
632 | #define PIO231_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
633 | #define PIO30_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
634 | #define PIO30_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
635 | #define PIO31_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
636 | #define PIO31_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
637 | #define PIO35_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
638 | #define PIO35_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
639 | #define PIO36_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
640 | #define PIO36_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
641 | #define PIO37_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
642 | #define PIO37_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
643 | #define PIO38_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
644 | #define PIO38_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
645 | #define PIO39_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
646 | #define PIO39_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
647 | |||
648 | /*! @name LCD_PWR (coord K3), J16[31]/P2_11-LCD_PWR | ||
649 | @{ */ | ||
650 | /* @} */ | ||
651 | |||
652 | /*! @name LCD_FP (coord L7), J16[33]/P2_14-LCD_FP | ||
653 | @{ */ | ||
654 | /* @} */ | ||
655 | |||
656 | /*! @name LCD_DCLK (coord P7), J16[30]/P2_13-LCD_DCLK | ||
657 | @{ */ | ||
658 | /* @} */ | ||
659 | |||
660 | /*! @name LCD_LP (coord L8), J16[32]/P2_16-LCD_LP | ||
661 | @{ */ | ||
662 | /* @} */ | ||
663 | |||
664 | /*! @name LCD_AC (coord M8), J16[34]/P2_15-LCD_AC_ENAB_M | ||
665 | @{ */ | ||
666 | /* @} */ | ||
667 | |||
668 | /*! @name LCD_VD(4) (coord K10), J16[9]/P2_22-LCD_VD4 | ||
669 | @{ */ | ||
670 | /* @} */ | ||
671 | |||
672 | /*! @name LCD_VD(3) (coord L10), J16[8]/P2_21-LCD_VD3 | ||
673 | @{ */ | ||
674 | /* @} */ | ||
675 | |||
676 | /*! @name LCD_VD(11) (coord G11), J16[16]/P2_29-LCD_VD11 | ||
677 | @{ */ | ||
678 | /* @} */ | ||
679 | |||
680 | /*! @name LCD_VD(7) (coord J11), J16[12]/P2_25-LCD_VD7 | ||
681 | @{ */ | ||
682 | /* @} */ | ||
683 | |||
684 | /*! @name LCD_VD(12) (coord F12), J16[17]/P2_30-LCD_VD12 | ||
685 | @{ */ | ||
686 | /* @} */ | ||
687 | |||
688 | /*! @name LCD_VD(10) (coord G13), J16[15]/P2_28-LCD_VD10 | ||
689 | @{ */ | ||
690 | /* @} */ | ||
691 | |||
692 | /*! @name LCD_VD(13) (coord D14), J16[18]/P2_31-LCD_VD13 | ||
693 | @{ */ | ||
694 | /* @} */ | ||
695 | |||
696 | /*! @name LCD_VD(6) (coord K14), J16[11]/P2_24-LCD_VD6 | ||
697 | @{ */ | ||
698 | /* @} */ | ||
699 | |||
700 | /*! @name LCD_VD(5) (coord M14), J16[10]/P2_23-LCD_VD5 | ||
701 | @{ */ | ||
702 | /* @} */ | ||
703 | |||
704 | /*! @name LCD_VD(14) (coord D12), J16[19]/JS36[1]/P3_0-LCD_VD14 | ||
705 | @{ */ | ||
706 | /* @} */ | ||
707 | |||
708 | /*! @name LCD_VD(15) (coord D11), J16[20]/JS33[1]/P3_1-LCD_VD15 | ||
709 | @{ */ | ||
710 | /* @} */ | ||
711 | |||
712 | /*! @name LCD_VD(19) (coord B10), J16[24]/P3_5-LCD_VD19 | ||
713 | @{ */ | ||
714 | /* @} */ | ||
715 | |||
716 | /*! @name LCD_VD(20) (coord C9), J16[25]/P3_6-LCD_VD20 | ||
717 | @{ */ | ||
718 | /* @} */ | ||
719 | |||
720 | /*! @name LCD_VD(21) (coord B8), J16[26]/P3_7-LCD_VD21 | ||
721 | @{ */ | ||
722 | /* @} */ | ||
723 | |||
724 | /*! @name LCD_VD(22) (coord A7), J16[27]/P3_8-LCD_VD22 | ||
725 | @{ */ | ||
726 | /* @} */ | ||
727 | |||
728 | /*! @name LCD_VD(23) (coord C7), J16[28]/P3_9-LCD_VD23 | ||
729 | @{ */ | ||
730 | /* @} */ | ||
731 | |||
732 | /*! | ||
733 | * @brief Configures pin routing and optionally pin electrical features. | ||
734 | * | ||
735 | */ | ||
736 | void BOARD_InitLCD(void); /* Function assigned for the Cortex-M4F */ | ||
737 | |||
738 | #define PIO017_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
739 | #define PIO017_FUNC_ALT7 0x07u /*!<@brief Selects pin function.: Alternative connection 7. */ | ||
740 | #define PIO226_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
741 | #define PIO226_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */ | ||
742 | #define PIO410_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
743 | #define PIO410_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
744 | #define PIO411_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
745 | #define PIO411_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
746 | #define PIO412_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
747 | #define PIO412_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
748 | #define PIO413_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
749 | #define PIO413_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
750 | #define PIO414_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
751 | #define PIO414_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
752 | #define PIO415_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
753 | #define PIO415_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
754 | #define PIO416_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
755 | #define PIO416_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
756 | #define PIO48_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
757 | #define PIO48_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
758 | |||
759 | /*! @name ENET_TXD0 (coord B14), U12[17]/JP11[1]/P4_8-ENET_TXD0 | ||
760 | @{ */ | ||
761 | /* @} */ | ||
762 | |||
763 | /*! @name ENET_TXD1 (coord E14), U12[18]/P0_17-ENET_TXD1 | ||
764 | @{ */ | ||
765 | /* @} */ | ||
766 | |||
767 | /*! @name ENET_TX_EN (coord B6), U12[16]/P4_13-ENET_TX_EN | ||
768 | @{ */ | ||
769 | /* @} */ | ||
770 | |||
771 | /*! @name ENET_RXD0 (coord A9), U12[8]/JP12[1]/J3[4]/JP12[3]/P4_11-USB0_ID/P4_11-ENET_RXD0 | ||
772 | @{ */ | ||
773 | /* @} */ | ||
774 | |||
775 | /*! @name ENET_RXD1 (coord A6), U12[7]/P4_12-ENET_RXD1 | ||
776 | @{ */ | ||
777 | /* @} */ | ||
778 | |||
779 | /*! @name ENET_RX_DV (coord B9), U12[11]/P4_10-ENET_CRS_DV | ||
780 | @{ */ | ||
781 | /* @} */ | ||
782 | |||
783 | /*! @name ENET_MDIO (coord C4), U12[12]/P4_16-ENET_MDIO | ||
784 | @{ */ | ||
785 | /* @} */ | ||
786 | |||
787 | /*! @name ENET_MDC (coord A4), U12[13]/P4_15-ENET_MDC | ||
788 | @{ */ | ||
789 | /* @} */ | ||
790 | |||
791 | /*! @name PIO2_26 (coord H11), U12[15]/P2_26-ENET_PHY_RSTn | ||
792 | @{ */ | ||
793 | #define BOARD_INITENET_ENET_PHY_RSTn_GPIO GPIO /*!<@brief GPIO device name: GPIO */ | ||
794 | #define BOARD_INITENET_ENET_PHY_RSTn_PORT 2U /*!<@brief PORT device name: 2U */ | ||
795 | #define BOARD_INITENET_ENET_PHY_RSTn_PIN 26U /*!<@brief 2U pin index: 26 */ | ||
796 | /* @} */ | ||
797 | |||
798 | /*! @name ENET_RX_CLK (coord B5), JS18[2]/P4_14-ENET_RX_CLK | ||
799 | @{ */ | ||
800 | /* @} */ | ||
801 | |||
802 | /*! | ||
803 | * @brief Configures pin routing and optionally pin electrical features. | ||
804 | * | ||
805 | */ | ||
806 | void BOARD_InitENET(void); /* Function assigned for the Cortex-M4F */ | ||
807 | |||
808 | #define PIO12_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
809 | #define PIO12_FUNC_ALT5 0x05u /*!<@brief Selects pin function.: Alternative connection 5. */ | ||
810 | #define PIO13_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
811 | #define PIO13_FUNC_ALT5 0x05u /*!<@brief Selects pin function.: Alternative connection 5. */ | ||
812 | |||
813 | /*! @name PDM1_CLK (coord L14), J13[18]/JS25[3]/DMIC1[4]/P1_2-PDM1_CLK | ||
814 | @{ */ | ||
815 | /* @} */ | ||
816 | |||
817 | /*! @name PDM1_DATA (coord J13), JS26[3]/DMIC1[1]/P1_3-PDM1_DATA | ||
818 | @{ */ | ||
819 | /* @} */ | ||
820 | |||
821 | /*! | ||
822 | * @brief Configures pin routing and optionally pin electrical features. | ||
823 | * | ||
824 | */ | ||
825 | void BOARD_InitDMIC(void); /* Function assigned for the Cortex-M4F */ | ||
826 | |||
827 | #define PIO218_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
828 | #define PIO218_FUNC_ALT3 0x03u /*!<@brief Selects pin function.: Alternative connection 3. */ | ||
829 | #define PIO219_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
830 | #define PIO219_FUNC_ALT3 0x03u /*!<@brief Selects pin function.: Alternative connection 3. */ | ||
831 | #define PIO220_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
832 | #define PIO220_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
833 | #define PIO311_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
834 | #define PIO311_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
835 | #define PIO323_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
836 | #define PIO323_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
837 | #define PIO324_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
838 | #define PIO324_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */ | ||
839 | #define PIO41_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
840 | #define PIO41_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
841 | #define PIO42_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
842 | #define PIO42_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
843 | #define PIO43_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */ | ||
844 | #define PIO43_FUNC_ALT2 0x02u /*!<@brief Selects pin function.: Alternative connection 2. */ | ||
845 | |||
846 | /*! @name FC6_SCK (coord G14), U10[29]/J9[14]/P4_1-FC6_I2S_TX_SCK | ||
847 | @{ */ | ||
848 | /* @} */ | ||
849 | |||
850 | /*! @name FC6_TXD_SCL_MISO_WS (coord F13), U10[30]/J9[12]/P4_3-FC6_I2S_TX_WS | ||
851 | @{ */ | ||
852 | /* @} */ | ||
853 | |||
854 | /*! @name FC6_RXD_SDA_MOSI_DATA (coord F14), U10[32]/J9[10]/P4_2-FC6_I2S_TX_DATA | ||
855 | @{ */ | ||
856 | /* @} */ | ||
857 | |||
858 | /*! @name FC7_RXD_SDA_MOSI_DATA (coord P12), U10[31]/J9[20]/P2_19-FC7_I2S_RX_DAT | ||
859 | @{ */ | ||
860 | /* @} */ | ||
861 | |||
862 | /*! @name FC7_SCK (coord N10), U10[29]/J9[16]/P2_18-FC7_I2S_RX_SCK | ||
863 | @{ */ | ||
864 | /* @} */ | ||
865 | |||
866 | /*! @name FC3_RTS_SCL_SSEL1 (coord P13), U10[30]/J9[18]/P2_20-FC7_I2S_RX_WS | ||
867 | @{ */ | ||
868 | /* @} */ | ||
869 | |||
870 | /*! @name MCLK (coord B2), J11[8]/J12[7]/P3_11-MCLK-PMOD2_GPIO | ||
871 | @{ */ | ||
872 | /* @} */ | ||
873 | |||
874 | /*! | ||
875 | * @brief Configures pin routing and optionally pin electrical features. | ||
876 | * | ||
877 | */ | ||
878 | void BOARD_InitI2S(void); /* Function assigned for the Cortex-M4F */ | ||
879 | |||
880 | #if defined(__cplusplus) | ||
881 | } | ||
882 | #endif | ||
883 | |||
884 | /*! | ||
885 | * @} | ||
886 | */ | ||
887 | #endif /* _PIN_MUX_H_ */ | ||
888 | |||
889 | /*********************************************************************************************************************** | ||
890 | * EOF | ||
891 | **********************************************************************************************************************/ | ||