1 //*****************************************************************************
2 //
3 //! @file am_hal_pin.h
4 //! @brief Macros for configuring specific pins.
5 //!
6 //! @addtogroup pin3 PIN definitions for Apollo3.
7 //! @ingroup apollo3_hal
8 //! @{
9 //
10 //*****************************************************************************
11 
12 //*****************************************************************************
13 //
14 // Copyright (c) 2024, Ambiq Micro, Inc.
15 // All rights reserved.
16 //
17 // Redistribution and use in source and binary forms, with or without
18 // modification, are permitted provided that the following conditions are met:
19 //
20 // 1. Redistributions of source code must retain the above copyright notice,
21 // this list of conditions and the following disclaimer.
22 //
23 // 2. Redistributions in binary form must reproduce the above copyright
24 // notice, this list of conditions and the following disclaimer in the
25 // documentation and/or other materials provided with the distribution.
26 //
27 // 3. Neither the name of the copyright holder nor the names of its
28 // contributors may be used to endorse or promote products derived from this
29 // software without specific prior written permission.
30 //
31 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
32 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
33 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
35 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
36 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
39 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 // POSSIBILITY OF SUCH DAMAGE.
42 //
43 // This is part of revision release_sdk_3_2_0-dd5f40c14b of the AmbiqSuite Development Package.
44 //
45 //*****************************************************************************
46 
47 #ifndef AM_HAL_PIN_H
48 #define AM_HAL_PIN_H
49 
50 //*****************************************************************************
51 //
52 // Pin definition macros.
53 //
54 //*****************************************************************************
55 #define AM_HAL_PIN_0_SLSCL        (0)
56 #define AM_HAL_PIN_0_SLSCK        (1)
57 #define AM_HAL_PIN_0_CLKOUT       (2)
58 #define AM_HAL_PIN_0_GPIO         (3)
59 #define AM_HAL_PIN_0_MSPI0_4      (5)
60 #define AM_HAL_PIN_0_NCE0         (7)
61 
62 #define AM_HAL_PIN_1_SLSDAWIR3    (0)
63 #define AM_HAL_PIN_1_SLMOSI       (1)
64 #define AM_HAL_PIN_1_UART0TX      (2)
65 #define AM_HAL_PIN_1_GPIO         (3)
66 #define AM_HAL_PIN_1_MSPI0_5      (5)
67 #define AM_HAL_PIN_1_NCE1         (7)
68 
69 #define AM_HAL_PIN_2_UART1RX      (0)
70 #define AM_HAL_PIN_2_SLMISO       (1)
71 #define AM_HAL_PIN_2_UART0RX      (2)
72 #define AM_HAL_PIN_2_GPIO         (3)
73 #define AM_HAL_PIN_2_MSPI0_6      (5)
74 #define AM_HAL_PIN_2_NCE2         (7)
75 
76 #define AM_HAL_PIN_3_UA0RTS       (0)
77 #define AM_HAL_PIN_3_SLnCE        (1)
78 #define AM_HAL_PIN_3_NCE3         (2)
79 #define AM_HAL_PIN_3_GPIO         (3)
80 #define AM_HAL_PIN_3_MSPI0_7      (5)
81 #define AM_HAL_PIN_3_TRIG1        (6)
82 #define AM_HAL_PIN_3_I2SWCLK      (7)
83 #define AM_HAL_PIN_3_PSOURCE      (3)
84 
85 #define AM_HAL_PIN_4_UA0CTS       (0)
86 #define AM_HAL_PIN_4_SLINT        (1)
87 #define AM_HAL_PIN_4_NCE4         (2)
88 #define AM_HAL_PIN_4_GPIO         (3)
89 #define AM_HAL_PIN_4_UART1RX      (5)
90 #define AM_HAL_PIN_4_CTIM17       (6)
91 #define AM_HAL_PIN_4_MSPI0_2      (7)
92 
93 #define AM_HAL_PIN_5_M0SCL        (0)
94 #define AM_HAL_PIN_5_M0SCK        (1)
95 #define AM_HAL_PIN_5_UA0RTS       (2)
96 #define AM_HAL_PIN_5_GPIO         (3)
97 #define AM_HAL_PIN_5_CT8          (7)
98 
99 #define AM_HAL_PIN_6_M0SDAWIR3    (0)
100 #define AM_HAL_PIN_6_M0MISO       (1)
101 #define AM_HAL_PIN_6_UA0CTS       (2)
102 #define AM_HAL_PIN_6_GPIO         (3)
103 #define AM_HAL_PIN_6_CTIM10       (5)
104 #define AM_HAL_PIN_6_I2SDAT       (7)
105 
106 #define AM_HAL_PIN_7_NCE7         (0)
107 #define AM_HAL_PIN_7_M0MOSI       (1)
108 #define AM_HAL_PIN_7_CLKOUT       (2)
109 #define AM_HAL_PIN_7_GPIO         (3)
110 #define AM_HAL_PIN_7_TRIG0        (4)
111 #define AM_HAL_PIN_7_UART0TX      (5)
112 #define AM_HAL_PIN_7_CTIM19       (7)
113 
114 #define AM_HAL_PIN_8_M1SCL        (0)
115 #define AM_HAL_PIN_8_M1SCK        (1)
116 #define AM_HAL_PIN_8_NCE8         (2)
117 #define AM_HAL_PIN_8_GPIO         (3)
118 #define AM_HAL_PIN_8_SCCCLK       (4)
119 #define AM_HAL_PIN_8_UART1TX      (6)
120 
121 #define AM_HAL_PIN_9_M1SDAWIR3    (0)
122 #define AM_HAL_PIN_9_M1MISO       (1)
123 #define AM_HAL_PIN_9_NCE9         (2)
124 #define AM_HAL_PIN_9_GPIO         (3)
125 #define AM_HAL_PIN_9_SCCIO        (4)
126 #define AM_HAL_PIN_9_UART1RX      (6)
127 
128 #define AM_HAL_PIN_10_UART1TX     (0)
129 #define AM_HAL_PIN_10_M1MOSI      (1)
130 #define AM_HAL_PIN_10_NCE10       (2)
131 #define AM_HAL_PIN_10_GPIO        (3)
132 #define AM_HAL_PIN_10_PDMCLK      (4)
133 #define AM_HAL_PIN_10_UA1RTS      (5)
134 
135 #define AM_HAL_PIN_11_ADCSE2      (0)
136 #define AM_HAL_PIN_11_NCE11       (1)
137 #define AM_HAL_PIN_11_CTIM31      (2)
138 #define AM_HAL_PIN_11_GPIO        (3)
139 #define AM_HAL_PIN_11_SLINT       (4)
140 #define AM_HAL_PIN_11_UA1CTS      (5)
141 #define AM_HAL_PIN_11_UART0RX     (6)
142 #define AM_HAL_PIN_11_PDMDATA     (7)
143 
144 #define AM_HAL_PIN_12_ADCD0NSE9   (0)
145 #define AM_HAL_PIN_12_NCE12       (1)
146 #define AM_HAL_PIN_12_CT0         (2)
147 #define AM_HAL_PIN_12_GPIO        (3)
148 #define AM_HAL_PIN_12_PDMCLK      (5)
149 #define AM_HAL_PIN_12_UA0CTS      (6)
150 #define AM_HAL_PIN_12_UART1TX     (7)
151 
152 #define AM_HAL_PIN_13_ADCD0PSE8   (0)
153 #define AM_HAL_PIN_13_NCE13       (1)
154 #define AM_HAL_PIN_13_CTIM2       (2)
155 #define AM_HAL_PIN_13_GPIO        (3)
156 #define AM_HAL_PIN_13_I2SBCLK     (4)
157 #define AM_HAL_PIN_13_UA0RTS      (6)
158 #define AM_HAL_PIN_13_UART1RX     (7)
159 
160 #define AM_HAL_PIN_14_ADCD1P      (0)
161 #define AM_HAL_PIN_14_NCE14       (1)
162 #define AM_HAL_PIN_14_UART1TX     (2)
163 #define AM_HAL_PIN_14_GPIO        (3)
164 #define AM_HAL_PIN_14_PDMCLK      (4)
165 #define AM_HAL_PIN_14_SWDCK       (6)
166 #define AM_HAL_PIN_14_32KHzXT     (7)
167 
168 #define AM_HAL_PIN_15_ADCD1N      (0)
169 #define AM_HAL_PIN_15_NCE15       (1)
170 #define AM_HAL_PIN_15_UART1RX     (2)
171 #define AM_HAL_PIN_15_GPIO        (3)
172 #define AM_HAL_PIN_15_PDMDATA     (4)
173 #define AM_HAL_PIN_15_SWDIO       (6)
174 #define AM_HAL_PIN_15_SWO         (7)
175 
176 #define AM_HAL_PIN_16_ADCSE0      (0)
177 #define AM_HAL_PIN_16_NCE16       (1)
178 #define AM_HAL_PIN_16_TRIG0       (2)
179 #define AM_HAL_PIN_16_GPIO        (3)
180 #define AM_HAL_PIN_16_SCCRST      (4)
181 #define AM_HAL_PIN_16_CMPIN0      (5)
182 #define AM_HAL_PIN_16_UART0TX     (6)
183 #define AM_HAL_PIN_16_UA1RTS      (7)
184 
185 #define AM_HAL_PIN_17_CMPRF1      (0)
186 #define AM_HAL_PIN_17_NCE17       (1)
187 #define AM_HAL_PIN_17_TRIG1       (2)
188 #define AM_HAL_PIN_17_GPIO        (3)
189 #define AM_HAL_PIN_17_SCCCLK      (4)
190 #define AM_HAL_PIN_17_UART0RX     (6)
191 #define AM_HAL_PIN_17_UA1CTS      (7)
192 
193 #define AM_HAL_PIN_18_CMPIN1      (0)
194 #define AM_HAL_PIN_18_NCE18       (1)
195 #define AM_HAL_PIN_18_CTIM4       (2)
196 #define AM_HAL_PIN_18_GPIO        (3)
197 #define AM_HAL_PIN_18_UA0RTS      (4)
198 #define AM_HAL_PIN_18_UART1TX     (6)
199 #define AM_HAL_PIN_18_SCCIO       (7)
200 
201 #define AM_HAL_PIN_19_CMPRF0      (0)
202 #define AM_HAL_PIN_19_NCE19       (1)
203 #define AM_HAL_PIN_19_CTIM6       (2)
204 #define AM_HAL_PIN_19_GPIO        (3)
205 #define AM_HAL_PIN_19_SCCCLK      (4)
206 #define AM_HAL_PIN_19_UART1RX     (6)
207 #define AM_HAL_PIN_19_I2SBCLK     (7)
208 
209 #define AM_HAL_PIN_20_SWDCK       (0)
210 #define AM_HAL_PIN_20_NCE20       (1)
211 #define AM_HAL_PIN_20_GPIO        (3)
212 #define AM_HAL_PIN_20_UART0TX     (4)
213 #define AM_HAL_PIN_20_UART1TX     (5)
214 #define AM_HAL_PIN_20_I2SBCLK     (6)
215 #define AM_HAL_PIN_20_UA1RTS      (7)
216 
217 #define AM_HAL_PIN_21_SWDIO       (0)
218 #define AM_HAL_PIN_21_NCE21       (1)
219 #define AM_HAL_PIN_21_GPIO        (3)
220 #define AM_HAL_PIN_21_UART0RX     (4)
221 #define AM_HAL_PIN_21_UART1RX     (5)
222 #define AM_HAL_PIN_21_SCCRST      (6)
223 #define AM_HAL_PIN_21_UA1CTS      (7)
224 
225 #define AM_HAL_PIN_22_UART0TX     (0)
226 #define AM_HAL_PIN_22_NCE22       (1)
227 #define AM_HAL_PIN_22_CTIM12      (2)
228 #define AM_HAL_PIN_22_GPIO        (3)
229 #define AM_HAL_PIN_22_PDMCLK      (4)
230 #define AM_HAL_PIN_22_MSPI0_0     (6)
231 #define AM_HAL_PIN_22_SWO         (7)
232 
233 #define AM_HAL_PIN_23_UART0RX     (0)
234 #define AM_HAL_PIN_23_NCE23       (1)
235 #define AM_HAL_PIN_23_CTIM14      (2)
236 #define AM_HAL_PIN_23_GPIO        (3)
237 #define AM_HAL_PIN_23_I2SWCLK     (4)
238 #define AM_HAL_PIN_23_CMPOUT      (5)
239 #define AM_HAL_PIN_23_MSPI0_3     (6)
240 
241 #define AM_HAL_PIN_24_UART1TX     (0)
242 #define AM_HAL_PIN_24_NCE24       (1)
243 #define AM_HAL_PIN_24_MSPI0_8     (2)
244 #define AM_HAL_PIN_24_GPIO        (3)
245 #define AM_HAL_PIN_24_UA0CTS      (4)
246 #define AM_HAL_PIN_24_CTIM21      (5)
247 #define AM_HAL_PIN_24_32KHzXT     (6)
248 #define AM_HAL_PIN_24_SWO         (7)
249 
250 #define AM_HAL_PIN_25_UART1RX     (0)
251 #define AM_HAL_PIN_25_NCE25       (1)
252 #define AM_HAL_PIN_25_CTIM1       (2)
253 #define AM_HAL_PIN_25_GPIO        (3)
254 #define AM_HAL_PIN_25_M2SDAWIR3   (4)
255 #define AM_HAL_PIN_25_M2MISO      (5)
256 
257 #define AM_HAL_PIN_26_NCE26       (1)
258 #define AM_HAL_PIN_26_CTIM3       (2)
259 #define AM_HAL_PIN_26_GPIO        (3)
260 #define AM_HAL_PIN_26_SCCRST      (4)
261 #define AM_HAL_PIN_26_MSPI0_1     (5)
262 #define AM_HAL_PIN_26_UART0TX     (6)
263 #define AM_HAL_PIN_26_UA1CTS      (7)
264 
265 #define AM_HAL_PIN_27_UART0RX     (0)
266 #define AM_HAL_PIN_27_NCE27       (1)
267 #define AM_HAL_PIN_27_CTIM5       (2)
268 #define AM_HAL_PIN_27_GPIO        (3)
269 #define AM_HAL_PIN_27_M2SCL       (4)
270 #define AM_HAL_PIN_27_M2SCK       (5)
271 
272 #define AM_HAL_PIN_28_I2SWCLK     (0)
273 #define AM_HAL_PIN_28_NCE28       (1)
274 #define AM_HAL_PIN_28_CTIM7       (2)
275 #define AM_HAL_PIN_28_GPIO        (3)
276 #define AM_HAL_PIN_28_M2MOSI      (5)
277 #define AM_HAL_PIN_28_UART0TX     (6)
278 
279 #define AM_HAL_PIN_29_ADCSE1      (0)
280 #define AM_HAL_PIN_29_NCE29       (1)
281 #define AM_HAL_PIN_29_CTIM9       (2)
282 #define AM_HAL_PIN_29_GPIO        (3)
283 #define AM_HAL_PIN_29_UA0CTS      (4)
284 #define AM_HAL_PIN_29_UA1CTS      (5)
285 #define AM_HAL_PIN_29_UART0RX     (6)
286 #define AM_HAL_PIN_29_PDMDATA     (7)
287 
288 #if defined (AM_PACKAGE_BGA)
289 #define AM_HAL_PIN_30_NCE30       (1)
290 #define AM_HAL_PIN_30_CTIM11      (2)
291 #define AM_HAL_PIN_30_GPIO        (3)
292 #define AM_HAL_PIN_30_UART0TX     (4)
293 #define AM_HAL_PIN_30_UA1RTS      (5)
294 #define AM_HAL_PIN_30_BLEIF_SCK   (6)
295 #define AM_HAL_PIN_30_I2SDAT      (7)
296 #endif // defined (AM_PACKAGE_BGA)
297 
298 #if defined (AM_PACKAGE_BGA)
299 #define AM_HAL_PIN_31_ADCSE3      (0)
300 #define AM_HAL_PIN_31_NCE31       (1)
301 #define AM_HAL_PIN_31_CTIM13      (2)
302 #define AM_HAL_PIN_31_GPIO        (3)
303 #define AM_HAL_PIN_31_UART0RX     (4)
304 #define AM_HAL_PIN_31_SCCCLK      (5)
305 #define AM_HAL_PIN_31_BLEIF_MISO  (6)
306 #define AM_HAL_PIN_31_UA1RTS      (7)
307 #endif // defined (AM_PACKAGE_BGA)
308 
309 #if defined (AM_PACKAGE_BGA)
310 #define AM_HAL_PIN_32_ADCSE4      (0)
311 #define AM_HAL_PIN_32_NCE32       (1)
312 #define AM_HAL_PIN_32_CTIM15      (2)
313 #define AM_HAL_PIN_32_GPIO        (3)
314 #define AM_HAL_PIN_32_SCCIO       (4)
315 #define AM_HAL_PIN_32_BLEIF_MOSI  (6)
316 #define AM_HAL_PIN_32_UA1CTS      (7)
317 #endif // defined (AM_PACKAGE_BGA)
318 
319 #if defined (AM_PACKAGE_BGA)
320 #define AM_HAL_PIN_33_ADCSE5      (0)
321 #define AM_HAL_PIN_33_NCE33       (1)
322 #define AM_HAL_PIN_33_32KHzXT     (2)
323 #define AM_HAL_PIN_33_GPIO        (3)
324 #define AM_HAL_PIN_33_BLEIF_CSN   (4)
325 #define AM_HAL_PIN_33_UA0CTS      (5)
326 #define AM_HAL_PIN_33_CTIM23      (6)
327 #define AM_HAL_PIN_33_SWO         (7)
328 #endif // defined (AM_PACKAGE_BGA)
329 
330 #if defined (AM_PACKAGE_BGA)
331 #define AM_HAL_PIN_34_ADCSE6      (0)
332 #define AM_HAL_PIN_34_NCE34       (1)
333 #define AM_HAL_PIN_34_UA1RTS      (2)
334 #define AM_HAL_PIN_34_GPIO        (3)
335 #define AM_HAL_PIN_34_CMPRF2      (4)
336 #define AM_HAL_PIN_34_UA0RTS      (5)
337 #define AM_HAL_PIN_34_UART0RX     (6)
338 #define AM_HAL_PIN_34_PDMDATA     (7)
339 #endif // defined (AM_PACKAGE_BGA)
340 
341 #if defined (AM_PACKAGE_BGA)
342 #define AM_HAL_PIN_35_ADCSE7      (0)
343 #define AM_HAL_PIN_35_NCE35       (1)
344 #define AM_HAL_PIN_35_UART1TX     (2)
345 #define AM_HAL_PIN_35_GPIO        (3)
346 #define AM_HAL_PIN_35_I2SDAT      (4)
347 #define AM_HAL_PIN_35_CTIM27      (5)
348 #define AM_HAL_PIN_35_UA0RTS      (6)
349 #define AM_HAL_PIN_35_BLEIF_STATUS (7)
350 #endif // defined (AM_PACKAGE_BGA)
351 
352 #if defined (AM_PACKAGE_BGA)
353 #define AM_HAL_PIN_36_TRIG1       (0)
354 #define AM_HAL_PIN_36_NCE36       (1)
355 #define AM_HAL_PIN_36_UART1RX     (2)
356 #define AM_HAL_PIN_36_GPIO        (3)
357 #define AM_HAL_PIN_36_32KHzXT     (4)
358 #define AM_HAL_PIN_36_UA1CTS      (5)
359 #define AM_HAL_PIN_36_UA0CTS      (6)
360 #define AM_HAL_PIN_36_PDMDATA     (7)
361 #define AM_HAL_PIN_36_PSOURCE     (3)
362 #endif // defined (AM_PACKAGE_BGA)
363 
364 #if defined (AM_PACKAGE_BGA)
365 #define AM_HAL_PIN_37_TRIG2       (0)
366 #define AM_HAL_PIN_37_NCE37       (1)
367 #define AM_HAL_PIN_37_UA0RTS      (2)
368 #define AM_HAL_PIN_37_GPIO        (3)
369 #define AM_HAL_PIN_37_SCCIO       (4)
370 #define AM_HAL_PIN_37_UART1TX     (5)
371 #define AM_HAL_PIN_37_PDMCLK      (6)
372 #define AM_HAL_PIN_37_CTIM29      (7)
373 #define AM_HAL_PIN_37_PSINK       (3)
374 #endif // defined (AM_PACKAGE_BGA)
375 
376 #if defined (AM_PACKAGE_BGA)
377 #define AM_HAL_PIN_38_TRIG3       (0)
378 #define AM_HAL_PIN_38_NCE38       (1)
379 #define AM_HAL_PIN_38_UA0CTS      (2)
380 #define AM_HAL_PIN_38_GPIO        (3)
381 #define AM_HAL_PIN_38_M3MOSI      (5)
382 #define AM_HAL_PIN_38_UART1RX     (6)
383 #endif // defined (AM_PACKAGE_BGA)
384 
385 #define AM_HAL_PIN_39_UART0TX     (0)
386 #define AM_HAL_PIN_39_UART1TX     (1)
387 #define AM_HAL_PIN_39_CTIM25      (2)
388 #define AM_HAL_PIN_39_GPIO        (3)
389 #define AM_HAL_PIN_39_M4SCL       (4)
390 #define AM_HAL_PIN_39_M4SCK       (5)
391 
392 #define AM_HAL_PIN_40_UART0RX     (0)
393 #define AM_HAL_PIN_40_UART1RX     (1)
394 #define AM_HAL_PIN_40_TRIG0       (2)
395 #define AM_HAL_PIN_40_GPIO        (3)
396 #define AM_HAL_PIN_40_M4SDAWIR3   (4)
397 #define AM_HAL_PIN_40_M4MISO      (5)
398 
399 #define AM_HAL_PIN_41_NCE41       (0)
400 #define AM_HAL_PIN_41_BLEIF_IRQ   (1)
401 #define AM_HAL_PIN_41_SWO         (2)
402 #define AM_HAL_PIN_41_GPIO        (3)
403 #define AM_HAL_PIN_41_I2SWCLK     (4)
404 #define AM_HAL_PIN_41_UA1RTS      (5)
405 #define AM_HAL_PIN_41_UART0TX     (6)
406 #define AM_HAL_PIN_41_UA0RTS      (7)
407 #define AM_HAL_PIN_41_PSINK       (3)
408 
409 #if defined (AM_PACKAGE_BGA)
410 #define AM_HAL_PIN_42_UART1TX     (0)
411 #define AM_HAL_PIN_42_NCE42       (1)
412 #define AM_HAL_PIN_42_CTIM16      (2)
413 #define AM_HAL_PIN_42_GPIO        (3)
414 #define AM_HAL_PIN_42_M3SCL       (4)
415 #define AM_HAL_PIN_42_M3SCK       (5)
416 #endif // defined (AM_PACKAGE_BGA)
417 
418 #if defined (AM_PACKAGE_BGA)
419 #define AM_HAL_PIN_43_UART1RX     (0)
420 #define AM_HAL_PIN_43_NCE43       (1)
421 #define AM_HAL_PIN_43_CTIM18      (2)
422 #define AM_HAL_PIN_43_GPIO        (3)
423 #define AM_HAL_PIN_43_M3SDAWIR3   (4)
424 #define AM_HAL_PIN_43_M3MISO      (5)
425 #endif // defined (AM_PACKAGE_BGA)
426 
427 #define AM_HAL_PIN_44_UA1RTS      (0)
428 #define AM_HAL_PIN_44_NCE44       (1)
429 #define AM_HAL_PIN_44_CTIM20      (2)
430 #define AM_HAL_PIN_44_GPIO        (3)
431 #define AM_HAL_PIN_44_M4MOSI      (5)
432 #define AM_HAL_PIN_44_UART0TX     (6)
433 
434 #if defined (AM_PACKAGE_BGA)
435 #define AM_HAL_PIN_45_UA1CTS      (0)
436 #define AM_HAL_PIN_45_NCE45       (1)
437 #define AM_HAL_PIN_45_CTIM22      (2)
438 #define AM_HAL_PIN_45_GPIO        (3)
439 #define AM_HAL_PIN_45_I2SDAT      (4)
440 #define AM_HAL_PIN_45_PDMDATA     (5)
441 #define AM_HAL_PIN_45_UART0RX     (6)
442 #define AM_HAL_PIN_45_SWO         (7)
443 #endif // defined (AM_PACKAGE_BGA)
444 
445 #if defined (AM_PACKAGE_BGA)
446 #define AM_HAL_PIN_46_I2SBCLK     (0)
447 #define AM_HAL_PIN_46_NCE46       (1)
448 #define AM_HAL_PIN_46_CTIM24      (2)
449 #define AM_HAL_PIN_46_GPIO        (3)
450 #define AM_HAL_PIN_46_SCCRST      (4)
451 #define AM_HAL_PIN_46_PDMCLK      (5)
452 #define AM_HAL_PIN_46_UART1TX     (6)
453 #define AM_HAL_PIN_46_SWO         (7)
454 #endif // defined (AM_PACKAGE_BGA)
455 
456 #define AM_HAL_PIN_47_32KHzXT     (0)
457 #define AM_HAL_PIN_47_NCE47       (1)
458 #define AM_HAL_PIN_47_CTIM26      (2)
459 #define AM_HAL_PIN_47_GPIO        (3)
460 #define AM_HAL_PIN_47_M5MOSI      (5)
461 #define AM_HAL_PIN_47_UART1RX     (6)
462 
463 #define AM_HAL_PIN_48_UART0TX     (0)
464 #define AM_HAL_PIN_48_NCE48       (1)
465 #define AM_HAL_PIN_48_CTIM28      (2)
466 #define AM_HAL_PIN_48_GPIO        (3)
467 #define AM_HAL_PIN_48_M5SCL       (4)
468 #define AM_HAL_PIN_48_M5SCK       (5)
469 
470 #define AM_HAL_PIN_49_UART0RX     (0)
471 #define AM_HAL_PIN_49_NCE49       (1)
472 #define AM_HAL_PIN_49_CTIM30      (2)
473 #define AM_HAL_PIN_49_GPIO        (3)
474 #define AM_HAL_PIN_49_M5SDAWIR3   (4)
475 #define AM_HAL_PIN_49_M5MISO      (5)
476 
477 #define AM_HAL_PIN_50_SWO         (0)
478 #define AM_HAL_PIN_50_NCE50       (1)
479 #define AM_HAL_PIN_50_CT0         (2)
480 #define AM_HAL_PIN_50_GPIO        (3)
481 #define AM_HAL_PIN_50_UART0TX     (4)
482 #define AM_HAL_PIN_50_UART0RX     (5)
483 #define AM_HAL_PIN_50_UART1TX     (6)
484 #define AM_HAL_PIN_50_UART1RX     (7)
485 
486 #define AM_HAL_PIN_51_MSPI1_0     (0)
487 #define AM_HAL_PIN_51_NCE51       (1)
488 #define AM_HAL_PIN_51_CTIM1       (2)
489 #define AM_HAL_PIN_51_GPIO        (3)
490 
491 #define AM_HAL_PIN_52_MSPI1_1     (0)
492 #define AM_HAL_PIN_52_NCE52       (1)
493 #define AM_HAL_PIN_52_CTIM2       (2)
494 #define AM_HAL_PIN_52_GPIO        (3)
495 
496 #define AM_HAL_PIN_53_MSPI1_2     (0)
497 #define AM_HAL_PIN_53_NCE53       (1)
498 #define AM_HAL_PIN_53_CTIM3       (2)
499 #define AM_HAL_PIN_53_GPIO        (3)
500 
501 #define AM_HAL_PIN_54_MSPI1_3     (0)
502 #define AM_HAL_PIN_54_NCE54       (1)
503 #define AM_HAL_PIN_54_CTIM4       (2)
504 #define AM_HAL_PIN_54_GPIO        (3)
505 
506 #define AM_HAL_PIN_55_MSPI1_4     (0)
507 #define AM_HAL_PIN_55_NCE55       (1)
508 #define AM_HAL_PIN_55_CTIM5       (2)
509 #define AM_HAL_PIN_55_GPIO        (3)
510 
511 #define AM_HAL_PIN_56_MSPI1_5     (0)
512 #define AM_HAL_PIN_56_NCE56       (1)
513 #define AM_HAL_PIN_56_CTIM6       (2)
514 #define AM_HAL_PIN_56_GPIO        (3)
515 
516 #define AM_HAL_PIN_57_MSPI1_6     (0)
517 #define AM_HAL_PIN_57_NCE57       (1)
518 #define AM_HAL_PIN_57_CTIM7       (2)
519 #define AM_HAL_PIN_57_GPIO        (3)
520 
521 #define AM_HAL_PIN_58_MSPI1_7     (0)
522 #define AM_HAL_PIN_58_NCE58       (1)
523 #define AM_HAL_PIN_58_CTIM8       (2)
524 #define AM_HAL_PIN_58_GPIO        (3)
525 
526 #define AM_HAL_PIN_59_MSPI1_8     (0)
527 #define AM_HAL_PIN_59_NCE59       (1)
528 #define AM_HAL_PIN_59_CTIM9       (2)
529 #define AM_HAL_PIN_59_GPIO        (3)
530 
531 #define AM_HAL_PIN_60_MSPI1_9     (0)
532 #define AM_HAL_PIN_60_NCE60       (1)
533 #define AM_HAL_PIN_60_CTIM10      (2)
534 #define AM_HAL_PIN_60_GPIO        (3)
535 
536 #define AM_HAL_PIN_61_SWO         (0)
537 #define AM_HAL_PIN_61_NCE61       (1)
538 #define AM_HAL_PIN_61_CTIM11      (2)
539 #define AM_HAL_PIN_61_GPIO        (3)
540 #define AM_HAL_PIN_61_UART0TX     (4)
541 #define AM_HAL_PIN_61_UART0RX     (5)
542 #define AM_HAL_PIN_61_UART1TX     (6)
543 #define AM_HAL_PIN_61_UART1RX     (7)
544 
545 #define AM_HAL_PIN_62_SWO         (0)
546 #define AM_HAL_PIN_62_NCE62       (1)
547 #define AM_HAL_PIN_62_CTIM12      (2)
548 #define AM_HAL_PIN_62_GPIO        (3)
549 #define AM_HAL_PIN_62_UA0CTS      (4)
550 #define AM_HAL_PIN_62_UA0RTS      (5)
551 #define AM_HAL_PIN_62_UA1CTS      (6)
552 #define AM_HAL_PIN_62_UA1RTS      (7)
553 
554 #define AM_HAL_PIN_63_SWO         (0)
555 #define AM_HAL_PIN_63_NCE63       (1)
556 #define AM_HAL_PIN_63_CTIM13      (2)
557 #define AM_HAL_PIN_63_GPIO        (3)
558 #define AM_HAL_PIN_63_UA0CTS      (4)
559 #define AM_HAL_PIN_63_UA0RTS      (5)
560 #define AM_HAL_PIN_63_UA1CTS      (6)
561 #define AM_HAL_PIN_63_UA1RTS      (7)
562 
563 #define AM_HAL_PIN_64_MSPI2_0     (0)
564 #define AM_HAL_PIN_64_NCE64       (1)
565 #define AM_HAL_PIN_64_CTIM14      (2)
566 #define AM_HAL_PIN_64_GPIO        (3)
567 
568 #define AM_HAL_PIN_65_MSPI2_1     (0)
569 #define AM_HAL_PIN_65_NCE65       (1)
570 #define AM_HAL_PIN_65_CTIM15      (2)
571 #define AM_HAL_PIN_65_GPIO        (3)
572 
573 #define AM_HAL_PIN_66_MSPI2_2     (0)
574 #define AM_HAL_PIN_66_NCE66       (1)
575 #define AM_HAL_PIN_66_CTIM16      (2)
576 #define AM_HAL_PIN_66_GPIO        (3)
577 
578 #define AM_HAL_PIN_67_MSPI2_3     (0)
579 #define AM_HAL_PIN_67_NCE67       (1)
580 #define AM_HAL_PIN_67_CTIM17      (2)
581 #define AM_HAL_PIN_67_GPIO        (3)
582 
583 #define AM_HAL_PIN_68_MSPI2_4     (0)
584 #define AM_HAL_PIN_68_NCE68       (1)
585 #define AM_HAL_PIN_68_CTIM18      (2)
586 #define AM_HAL_PIN_68_GPIO        (3)
587 
588 #define AM_HAL_PIN_69_SWO         (0)
589 #define AM_HAL_PIN_69_NCE69       (1)
590 #define AM_HAL_PIN_69_CTIM19      (2)
591 #define AM_HAL_PIN_69_GPIO        (3)
592 #define AM_HAL_PIN_69_UART0TX     (4)
593 #define AM_HAL_PIN_69_UART0RX     (5)
594 #define AM_HAL_PIN_69_UART1TX     (6)
595 #define AM_HAL_PIN_69_UART1RX     (7)
596 
597 #define AM_HAL_PIN_70_SWO         (0)
598 #define AM_HAL_PIN_70_NCE70       (1)
599 #define AM_HAL_PIN_70_CTIM20      (2)
600 #define AM_HAL_PIN_70_GPIO        (3)
601 #define AM_HAL_PIN_70_UART0TX     (4)
602 #define AM_HAL_PIN_70_UART0RX     (5)
603 #define AM_HAL_PIN_70_UART1TX     (6)
604 #define AM_HAL_PIN_70_UART1RX     (7)
605 
606 #define AM_HAL_PIN_71_SWO         (0)
607 #define AM_HAL_PIN_71_NCE71       (1)
608 #define AM_HAL_PIN_71_CTIM21      (2)
609 #define AM_HAL_PIN_71_GPIO        (3)
610 #define AM_HAL_PIN_71_UART0TX     (4)
611 #define AM_HAL_PIN_71_UART0RX     (5)
612 #define AM_HAL_PIN_71_UART1TX     (6)
613 #define AM_HAL_PIN_71_UART1RX     (7)
614 
615 #define AM_HAL_PIN_72_SWO         (0)
616 #define AM_HAL_PIN_72_NCE72       (1)
617 #define AM_HAL_PIN_72_CTIM22      (2)
618 #define AM_HAL_PIN_72_GPIO        (3)
619 #define AM_HAL_PIN_72_UART0TX     (4)
620 #define AM_HAL_PIN_72_UART0RX     (5)
621 #define AM_HAL_PIN_72_UART1TX     (6)
622 #define AM_HAL_PIN_72_UART1RX     (7)
623 
624 #define AM_HAL_PIN_73_SWO         (0)
625 #define AM_HAL_PIN_73_NCE73       (1)
626 #define AM_HAL_PIN_73_CTIM23      (2)
627 #define AM_HAL_PIN_73_GPIO        (3)
628 #define AM_HAL_PIN_73_UA0CTS      (4)
629 #define AM_HAL_PIN_73_UA0RTS      (5)
630 #define AM_HAL_PIN_73_UA1CTS      (6)
631 #define AM_HAL_PIN_73_UA1RTS      (7)
632 
633 #endif  // AM_HAL_PIN_H
634 
635 //*****************************************************************************
636 //
637 // End Doxygen group.
638 //! @}
639 //
640 //*****************************************************************************
641