1 //*****************************************************************************
2 //
3 //! @file am_hal_pin.h
4 //!
5 //! @brief Function select information for Apollo4 GPIOs.
6 //!
7 //! Date: 01/08/2021
8 //!
9 //! @addtogroup pin_4p Pin Functionality
10 //! @ingroup apollo4p_hal
11 //! @{
12 //
13 //*****************************************************************************
14 
15 //*****************************************************************************
16 //
17 // Copyright (c) 2023, Ambiq Micro, Inc.
18 // All rights reserved.
19 //
20 // Redistribution and use in source and binary forms, with or without
21 // modification, are permitted provided that the following conditions are met:
22 //
23 // 1. Redistributions of source code must retain the above copyright notice,
24 // this list of conditions and the following disclaimer.
25 //
26 // 2. Redistributions in binary form must reproduce the above copyright
27 // notice, this list of conditions and the following disclaimer in the
28 // documentation and/or other materials provided with the distribution.
29 //
30 // 3. Neither the name of the copyright holder nor the names of its
31 // contributors may be used to endorse or promote products derived from this
32 // software without specific prior written permission.
33 //
34 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
35 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
36 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
38 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
39 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
40 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
41 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
42 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
43 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
44 // POSSIBILITY OF SUCH DAMAGE.
45 //
46 // This is part of revision release_sdk_4_4_0-3c5977e664 of the AmbiqSuite Development Package.
47 //
48 //*****************************************************************************
49 
50 #ifndef AM_HAL_PIN_H
51 #define AM_HAL_PIN_H
52 
53 #ifdef __cplusplus
54 extern "C"
55 {
56 #endif
57 
58 //*****************************************************************************
59 //
60 // Define the number of actual and virtual GPIOs
61 //
62 //*****************************************************************************
63 #define AM_HAL_PIN_TOTAL_GPIOS                  (128)
64 #define AM_HAL_PIN_VIRTUAL_FIRST                (105)
65 #define AM_HAL_PIN_VIRTUAL_GPIOS                (23)
66 
67 //*****************************************************************************
68 //
69 // Define the number of functions per GPIO.
70 //
71 //*****************************************************************************
72 #define AM_HAL_PIN_NUMFUNCS                     16
73 
74 //*****************************************************************************
75 //
76 // Function select macros by pin.
77 //
78 //*****************************************************************************
79 // PIN 0 functions
80 #define AM_HAL_PIN_0_SWTRACECLK         0
81 #define AM_HAL_PIN_0_SLSCL              1
82 #define AM_HAL_PIN_0_SLSCK              2
83 #define AM_HAL_PIN_0_GPIO               3
84 #define AM_HAL_PIN_0_UART0TX            4
85 #define AM_HAL_PIN_0_UART1TX            5
86 #define AM_HAL_PIN_0_CT0                6
87 #define AM_HAL_PIN_0_NCE0               7
88 #define AM_HAL_PIN_0_OBSBUS0            8
89 #define AM_HAL_PIN_0_VCMPO              9
90 #define AM_HAL_PIN_0_RESERVED10         10
91 #define AM_HAL_PIN_0_FPIO               11
92 #define AM_HAL_PIN_0_RESERVED12         12
93 #define AM_HAL_PIN_0_RESERVED13         13
94 #define AM_HAL_PIN_0_RESERVED14         14
95 #define AM_HAL_PIN_0_RESERVED15         15
96 
97 // PIN 1 functions
98 #define AM_HAL_PIN_1_SWTRACE0           0
99 #define AM_HAL_PIN_1_SLSDAWIR3          1
100 #define AM_HAL_PIN_1_SLMOSI             2
101 #define AM_HAL_PIN_1_GPIO               3
102 #define AM_HAL_PIN_1_UART2TX            4
103 #define AM_HAL_PIN_1_UART3TX            5
104 #define AM_HAL_PIN_1_CT1                6
105 #define AM_HAL_PIN_1_NCE1               7
106 #define AM_HAL_PIN_1_OBSBUS1            8
107 #define AM_HAL_PIN_1_VCMPO              9
108 #define AM_HAL_PIN_1_RESERVED10         10
109 #define AM_HAL_PIN_1_FPIO               11
110 #define AM_HAL_PIN_1_RESERVED12         12
111 #define AM_HAL_PIN_1_RESERVED13         13
112 #define AM_HAL_PIN_1_RESERVED14         14
113 #define AM_HAL_PIN_1_SCANIN4            15
114 
115 // PIN 2 functions
116 #define AM_HAL_PIN_2_SWTRACE1           0
117 #define AM_HAL_PIN_2_SLMISO             1
118 #define AM_HAL_PIN_2_TRIG1              2
119 #define AM_HAL_PIN_2_GPIO               3
120 #define AM_HAL_PIN_2_UART0RX            4
121 #define AM_HAL_PIN_2_UART1RX            5
122 #define AM_HAL_PIN_2_CT2                6
123 #define AM_HAL_PIN_2_NCE2               7
124 #define AM_HAL_PIN_2_OBSBUS2            8
125 #define AM_HAL_PIN_2_VCMPO              9
126 #define AM_HAL_PIN_2_RESERVED10         10
127 #define AM_HAL_PIN_2_FPIO               11
128 #define AM_HAL_PIN_2_RESERVED12         12
129 #define AM_HAL_PIN_2_RESERVED13         13
130 #define AM_HAL_PIN_2_RESERVED14         14
131 #define AM_HAL_PIN_2_SCANRSTN           15
132 
133 // PIN 3 functions
134 #define AM_HAL_PIN_3_SWTRACE2           0
135 #define AM_HAL_PIN_3_SLnCE              1
136 #define AM_HAL_PIN_3_SWO                2
137 #define AM_HAL_PIN_3_GPIO               3
138 #define AM_HAL_PIN_3_UART2RX            4
139 #define AM_HAL_PIN_3_UART3RX            5
140 #define AM_HAL_PIN_3_CT3                6
141 #define AM_HAL_PIN_3_NCE3               7
142 #define AM_HAL_PIN_3_OBSBUS3            8
143 #define AM_HAL_PIN_3_RESERVED9          9
144 #define AM_HAL_PIN_3_RESERVED10         10
145 #define AM_HAL_PIN_3_FPIO               11
146 #define AM_HAL_PIN_3_RESERVED12         12
147 #define AM_HAL_PIN_3_RESERVED13         13
148 #define AM_HAL_PIN_3_RESERVED14         14
149 #define AM_HAL_PIN_3_SCANIN5            15
150 
151 // PIN 4 functions
152 #define AM_HAL_PIN_4_SWTRACE3           0
153 #define AM_HAL_PIN_4_SLINT              1
154 #define AM_HAL_PIN_4_32KHzXT            2
155 #define AM_HAL_PIN_4_GPIO               3
156 #define AM_HAL_PIN_4_UART0RTS           4
157 #define AM_HAL_PIN_4_UART1RTS           5
158 #define AM_HAL_PIN_4_CT4                6
159 #define AM_HAL_PIN_4_NCE4               7
160 #define AM_HAL_PIN_4_OBSBUS4            8
161 #define AM_HAL_PIN_4_I2S0_SDIN          9
162 #define AM_HAL_PIN_4_I2S1_SDIN          10
163 #define AM_HAL_PIN_4_FPIO               11
164 #define AM_HAL_PIN_4_FLB_TDO            12
165 #define AM_HAL_PIN_4_FLLOAD_DIR         13
166 #define AM_HAL_PIN_4_MDA_TDO            14
167 #define AM_HAL_PIN_4_OPCG_TRIG          15
168 
169 // PIN 5 functions
170 #define AM_HAL_PIN_5_M0SCL              0
171 #define AM_HAL_PIN_5_M0SCK              1
172 #define AM_HAL_PIN_5_I2S0_CLK           2
173 #define AM_HAL_PIN_5_GPIO               3
174 #define AM_HAL_PIN_5_UART2RTS           4
175 #define AM_HAL_PIN_5_UART3RTS           5
176 #define AM_HAL_PIN_5_CT5                6
177 #define AM_HAL_PIN_5_NCE5               7
178 #define AM_HAL_PIN_5_OBSBUS5            8
179 #define AM_HAL_PIN_5_RESERVED9          9
180 #define AM_HAL_PIN_5_I2S1_CLK           10
181 #define AM_HAL_PIN_5_FPIO               11
182 #define AM_HAL_PIN_5_FLB_TDI            12
183 #define AM_HAL_PIN_5_FLLOAD_DATA        13
184 #define AM_HAL_PIN_5_MDA_SRST           14
185 #define AM_HAL_PIN_5_DFT_ISO            15
186 
187 // PIN 6 functions
188 #define AM_HAL_PIN_6_M0SDAWIR3          0
189 #define AM_HAL_PIN_6_M0MOSI             1
190 #define AM_HAL_PIN_6_I2S0_DATA          2
191 #define AM_HAL_PIN_6_GPIO               3
192 #define AM_HAL_PIN_6_UART0CTS           4
193 #define AM_HAL_PIN_6_UART1CTS           5
194 #define AM_HAL_PIN_6_CT6                6
195 #define AM_HAL_PIN_6_NCE6               7
196 #define AM_HAL_PIN_6_OBSBUS6            8
197 #define AM_HAL_PIN_6_I2S0_SDOUT         9
198 #define AM_HAL_PIN_6_I2S1_SDOUT         10
199 #define AM_HAL_PIN_6_FPIO               11
200 #define AM_HAL_PIN_6_RESERVED12         12
201 #define AM_HAL_PIN_6_RESERVED13         13
202 #define AM_HAL_PIN_6_RESERVED14         14
203 #define AM_HAL_PIN_6_SCANIN6            15
204 
205 // PIN 7 functions
206 #define AM_HAL_PIN_7_M0MISO             0
207 #define AM_HAL_PIN_7_TRIG0              1
208 #define AM_HAL_PIN_7_I2S0_WS            2
209 #define AM_HAL_PIN_7_GPIO               3
210 #define AM_HAL_PIN_7_UART2CTS           4
211 #define AM_HAL_PIN_7_UART3CTS           5
212 #define AM_HAL_PIN_7_CT7                6
213 #define AM_HAL_PIN_7_NCE7               7
214 #define AM_HAL_PIN_7_OBSBUS7            8
215 #define AM_HAL_PIN_7_RESERVED9          9
216 #define AM_HAL_PIN_7_I2S1_WS            10
217 #define AM_HAL_PIN_7_FPIO               11
218 #define AM_HAL_PIN_7_RESERVED12         12
219 #define AM_HAL_PIN_7_RESERVED13         13
220 #define AM_HAL_PIN_7_RESERVED14         14
221 #define AM_HAL_PIN_7_SCANIN7            15
222 
223 // PIN 8 functions
224 #define AM_HAL_PIN_8_CMPRF1             0
225 #define AM_HAL_PIN_8_TRIG1              1
226 #define AM_HAL_PIN_8_RESERVED2          2
227 #define AM_HAL_PIN_8_GPIO               3
228 #define AM_HAL_PIN_8_M1SCL              4
229 #define AM_HAL_PIN_8_M1SCK              5
230 #define AM_HAL_PIN_8_CT8                6
231 #define AM_HAL_PIN_8_NCE8               7
232 #define AM_HAL_PIN_8_OBSBUS8            8
233 #define AM_HAL_PIN_8_RESERVED9          9
234 #define AM_HAL_PIN_8_RESERVED10         10
235 #define AM_HAL_PIN_8_FPIO               11
236 #define AM_HAL_PIN_8_RESERVED12         12
237 #define AM_HAL_PIN_8_RESERVED13         13
238 #define AM_HAL_PIN_8_RESERVED14         14
239 #define AM_HAL_PIN_8_SCANOUT4           15
240 
241 // PIN 9 functions
242 #define AM_HAL_PIN_9_CMPRF0             0
243 #define AM_HAL_PIN_9_TRIG2              1
244 #define AM_HAL_PIN_9_RESERVED2          2
245 #define AM_HAL_PIN_9_GPIO               3
246 #define AM_HAL_PIN_9_M1SDAWIR3          4
247 #define AM_HAL_PIN_9_M1MOSI             5
248 #define AM_HAL_PIN_9_CT9                6
249 #define AM_HAL_PIN_9_NCE9               7
250 #define AM_HAL_PIN_9_OBSBUS9            8
251 #define AM_HAL_PIN_9_RESERVED9          9
252 #define AM_HAL_PIN_9_RESERVED10         10
253 #define AM_HAL_PIN_9_FPIO               11
254 #define AM_HAL_PIN_9_RESERVED12         12
255 #define AM_HAL_PIN_9_RESERVED13         13
256 #define AM_HAL_PIN_9_RESERVED14         14
257 #define AM_HAL_PIN_9_SCANOUT5           15
258 
259 // PIN 10 functions
260 #define AM_HAL_PIN_10_CMPIN0            0
261 #define AM_HAL_PIN_10_TRIG3             1
262 #define AM_HAL_PIN_10_RESERVED2         2
263 #define AM_HAL_PIN_10_GPIO              3
264 #define AM_HAL_PIN_10_M1MISO            4
265 #define AM_HAL_PIN_10_RESERVED5         5
266 #define AM_HAL_PIN_10_CT10              6
267 #define AM_HAL_PIN_10_NCE10             7
268 #define AM_HAL_PIN_10_OBSBUS10          8
269 #define AM_HAL_PIN_10_DISP_TE           9
270 #define AM_HAL_PIN_10_RESERVED10        10
271 #define AM_HAL_PIN_10_FPIO              11
272 #define AM_HAL_PIN_10_RESERVED12        12
273 #define AM_HAL_PIN_10_RESERVED13        13
274 #define AM_HAL_PIN_10_RESERVED14        14
275 #define AM_HAL_PIN_10_OPCG_LOAD         15
276 
277 // PIN 11 functions
278 #define AM_HAL_PIN_11_CMPIN1            0
279 #define AM_HAL_PIN_11_TRIG0             1
280 #define AM_HAL_PIN_11_I2S0_CLK          2
281 #define AM_HAL_PIN_11_GPIO              3
282 #define AM_HAL_PIN_11_UART2RX           4
283 #define AM_HAL_PIN_11_UART3RX           5
284 #define AM_HAL_PIN_11_CT11              6
285 #define AM_HAL_PIN_11_NCE11             7
286 #define AM_HAL_PIN_11_OBSBUS11          8
287 #define AM_HAL_PIN_11_RESERVED9         9
288 #define AM_HAL_PIN_11_RESERVED10        10
289 #define AM_HAL_PIN_11_FPIO              11
290 #define AM_HAL_PIN_11_FLB_TCLK          12
291 #define AM_HAL_PIN_11_FLLOAD_ADDR       13
292 #define AM_HAL_PIN_11_MDA_TCK           14
293 #define AM_HAL_PIN_11_SCANIN0           15
294 
295 // PIN 12 functions
296 #define AM_HAL_PIN_12_ADCSE7            0
297 #define AM_HAL_PIN_12_TRIG1             1
298 #define AM_HAL_PIN_12_I2S0_DATA         2
299 #define AM_HAL_PIN_12_GPIO              3
300 #define AM_HAL_PIN_12_UART0TX           4
301 #define AM_HAL_PIN_12_UART1TX           5
302 #define AM_HAL_PIN_12_CT12              6
303 #define AM_HAL_PIN_12_NCE12             7
304 #define AM_HAL_PIN_12_OBSBUS12          8
305 #define AM_HAL_PIN_12_CMPRF2            9
306 #define AM_HAL_PIN_12_I2S0_SDOUT        10
307 #define AM_HAL_PIN_12_FPIO              11
308 #define AM_HAL_PIN_12_RESERVED12        12
309 #define AM_HAL_PIN_12_RESERVED13        13
310 #define AM_HAL_PIN_12_RESERVED14        14
311 #define AM_HAL_PIN_12_SCANOUT3          15
312 
313 // PIN 13 functions
314 #define AM_HAL_PIN_13_ADCSE6            0
315 #define AM_HAL_PIN_13_TRIG2             1
316 #define AM_HAL_PIN_13_I2S0_WS           2
317 #define AM_HAL_PIN_13_GPIO              3
318 #define AM_HAL_PIN_13_UART2TX           4
319 #define AM_HAL_PIN_13_UART3TX           5
320 #define AM_HAL_PIN_13_CT13              6
321 #define AM_HAL_PIN_13_NCE13             7
322 #define AM_HAL_PIN_13_OBSBUS13          8
323 #define AM_HAL_PIN_13_RESERVED9         9
324 #define AM_HAL_PIN_13_RESERVED10        10
325 #define AM_HAL_PIN_13_FPIO              11
326 #define AM_HAL_PIN_13_FLB_FCLK          12
327 #define AM_HAL_PIN_13_FLLOAD_DATA       13
328 #define AM_HAL_PIN_13_MDA_TDI           14
329 #define AM_HAL_PIN_13_SCANOUT0          15
330 
331 // PIN 14 functions
332 #define AM_HAL_PIN_14_ADCSE5            0
333 #define AM_HAL_PIN_14_TRIG3             1
334 #define AM_HAL_PIN_14_RESERVED2         2
335 #define AM_HAL_PIN_14_GPIO              3
336 #define AM_HAL_PIN_14_MILLI_CLK         4
337 #define AM_HAL_PIN_14_UART1RX           5
338 #define AM_HAL_PIN_14_CT14              6
339 #define AM_HAL_PIN_14_NCE14             7
340 #define AM_HAL_PIN_14_OBSBUS14          8
341 #define AM_HAL_PIN_14_RESERVED9         9
342 #define AM_HAL_PIN_14_I2S0_SDIN         10
343 #define AM_HAL_PIN_14_FPIO              11
344 #define AM_HAL_PIN_14_RESERVED12        12
345 #define AM_HAL_PIN_14_FLLOAD_ADDR       13
346 #define AM_HAL_PIN_14_MDA_TRSTN         14
347 #define AM_HAL_PIN_14_SCANOUT2          15
348 
349 // PIN 15 functions
350 #define AM_HAL_PIN_15_ADCSE4            0
351 #define AM_HAL_PIN_15_TRIG0             1
352 #define AM_HAL_PIN_15_RESERVED2         2
353 #define AM_HAL_PIN_15_GPIO              3
354 #define AM_HAL_PIN_15_MILLI_REC_DAT     4
355 #define AM_HAL_PIN_15_UART3RX           5
356 #define AM_HAL_PIN_15_CT15              6
357 #define AM_HAL_PIN_15_NCE15             7
358 #define AM_HAL_PIN_15_OBSBUS15          8
359 #define AM_HAL_PIN_15_RESERVED9         9
360 #define AM_HAL_PIN_15_REFCLK_EXT        10
361 #define AM_HAL_PIN_15_FPIO              11
362 #define AM_HAL_PIN_15_RESERVED12        12
363 #define AM_HAL_PIN_15_FLLOAD_DATA       13
364 #define AM_HAL_PIN_15_RESERVED14        14
365 #define AM_HAL_PIN_15_SCANOUT1          15
366 
367 // PIN 16 functions
368 #define AM_HAL_PIN_16_ADCSE3            0
369 #define AM_HAL_PIN_16_TRIG1             1
370 #define AM_HAL_PIN_16_I2S1_CLK          2
371 #define AM_HAL_PIN_16_GPIO              3
372 #define AM_HAL_PIN_16_MILLI_PBDATA1     4
373 #define AM_HAL_PIN_16_UART1RTS          5
374 #define AM_HAL_PIN_16_CT16              6
375 #define AM_HAL_PIN_16_NCE16             7
376 #define AM_HAL_PIN_16_OBSBUS0           8
377 #define AM_HAL_PIN_16_RESERVED9         9
378 #define AM_HAL_PIN_16_RESERVED10        10
379 #define AM_HAL_PIN_16_FPIO              11
380 #define AM_HAL_PIN_16_RESERVED12        12
381 #define AM_HAL_PIN_16_RESERVED13        13
382 #define AM_HAL_PIN_16_RESERVED14        14
383 #define AM_HAL_PIN_16_DFT_RET           15
384 
385 // PIN 17 functions
386 #define AM_HAL_PIN_17_ADCSE2            0
387 #define AM_HAL_PIN_17_TRIG2             1
388 #define AM_HAL_PIN_17_I2S1_DATA         2
389 #define AM_HAL_PIN_17_GPIO              3
390 #define AM_HAL_PIN_17_MILLI_PBDATA2     4
391 #define AM_HAL_PIN_17_UART3RTS          5
392 #define AM_HAL_PIN_17_CT17              6
393 #define AM_HAL_PIN_17_NCE17             7
394 #define AM_HAL_PIN_17_OBSBUS1           8
395 #define AM_HAL_PIN_17_I2S1_SDOUT        9
396 #define AM_HAL_PIN_17_RESERVED10        10
397 #define AM_HAL_PIN_17_FPIO              11
398 #define AM_HAL_PIN_17_RESERVED12        12
399 #define AM_HAL_PIN_17_FLLOAD_STRB       13
400 #define AM_HAL_PIN_17_MDA_TMS           14
401 #define AM_HAL_PIN_17_OPCG_CLK          15
402 
403 // PIN 18 functions
404 #define AM_HAL_PIN_18_ADCSE1            0
405 #define AM_HAL_PIN_18_ANATEST2          1
406 #define AM_HAL_PIN_18_I2S1_WS           2
407 #define AM_HAL_PIN_18_GPIO              3
408 #define AM_HAL_PIN_18_UART0CTS          4
409 #define AM_HAL_PIN_18_UART1CTS          5
410 #define AM_HAL_PIN_18_CT18              6
411 #define AM_HAL_PIN_18_NCE18             7
412 #define AM_HAL_PIN_18_OBSBUS2           8
413 #define AM_HAL_PIN_18_RESERVED9         9
414 #define AM_HAL_PIN_18_RESERVED10        10
415 #define AM_HAL_PIN_18_FPIO              11
416 #define AM_HAL_PIN_18_FLB_TMS           12
417 #define AM_HAL_PIN_18_FLLOAD_DATA       13
418 #define AM_HAL_PIN_18_MDA_HFRC_EXT      14
419 #define AM_HAL_PIN_18_SCANIN1           15
420 
421 // PIN 19 functions
422 #define AM_HAL_PIN_19_ADCSE0            0
423 #define AM_HAL_PIN_19_ANATEST1          1
424 #define AM_HAL_PIN_19_RESERVED2         2
425 #define AM_HAL_PIN_19_GPIO              3
426 #define AM_HAL_PIN_19_UART2CTS          4
427 #define AM_HAL_PIN_19_UART3CTS          5
428 #define AM_HAL_PIN_19_CT19              6
429 #define AM_HAL_PIN_19_NCE19             7
430 #define AM_HAL_PIN_19_OBSBUS3           8
431 #define AM_HAL_PIN_19_I2S1_SDIN         9
432 #define AM_HAL_PIN_19_RESERVED10        10
433 #define AM_HAL_PIN_19_FPIO              11
434 #define AM_HAL_PIN_19_FLB_TRSTN         12
435 #define AM_HAL_PIN_19_FLLOAD_ADDR       13
436 #define AM_HAL_PIN_19_RESERVED14        14
437 #define AM_HAL_PIN_19_SCANIN2           15
438 
439 // PIN 20 functions
440 #define AM_HAL_PIN_20_SWDCK             0
441 #define AM_HAL_PIN_20_TRIG1             1
442 #define AM_HAL_PIN_20_RESERVED2         2
443 #define AM_HAL_PIN_20_GPIO              3
444 #define AM_HAL_PIN_20_UART0TX           4
445 #define AM_HAL_PIN_20_UART1TX           5
446 #define AM_HAL_PIN_20_CT20              6
447 #define AM_HAL_PIN_20_NCE20             7
448 #define AM_HAL_PIN_20_OBSBUS4           8
449 #define AM_HAL_PIN_20_RESERVED9         9
450 #define AM_HAL_PIN_20_RESERVED10        10
451 #define AM_HAL_PIN_20_FPIO              11
452 #define AM_HAL_PIN_20_RESERVED12        12
453 #define AM_HAL_PIN_20_RESERVED13        13
454 #define AM_HAL_PIN_20_RESERVED14        14
455 #define AM_HAL_PIN_20_SCANCLK           15
456 
457 // PIN 21 functions
458 #define AM_HAL_PIN_21_SWDIO             0
459 #define AM_HAL_PIN_21_TRIG2             1
460 #define AM_HAL_PIN_21_RESERVED2         2
461 #define AM_HAL_PIN_21_GPIO              3
462 #define AM_HAL_PIN_21_UART2TX           4
463 #define AM_HAL_PIN_21_UART3TX           5
464 #define AM_HAL_PIN_21_CT21              6
465 #define AM_HAL_PIN_21_NCE21             7
466 #define AM_HAL_PIN_21_OBSBUS5           8
467 #define AM_HAL_PIN_21_RESERVED9         9
468 #define AM_HAL_PIN_21_RESERVED10        10
469 #define AM_HAL_PIN_21_FPIO              11
470 #define AM_HAL_PIN_21_RESERVED12        12
471 #define AM_HAL_PIN_21_RESERVED13        13
472 #define AM_HAL_PIN_21_RESERVED14        14
473 #define AM_HAL_PIN_21_SCANSHFT          15
474 
475 // PIN 22 functions
476 #define AM_HAL_PIN_22_M7SCL             0
477 #define AM_HAL_PIN_22_M7SCK             1
478 #define AM_HAL_PIN_22_SWO               2
479 #define AM_HAL_PIN_22_GPIO              3
480 #define AM_HAL_PIN_22_UART0RX           4
481 #define AM_HAL_PIN_22_UART1RX           5
482 #define AM_HAL_PIN_22_CT22              6
483 #define AM_HAL_PIN_22_NCE22             7
484 #define AM_HAL_PIN_22_OBSBUS6           8
485 #define AM_HAL_PIN_22_VCMPO             9
486 #define AM_HAL_PIN_22_I3CM1_SCL         10
487 #define AM_HAL_PIN_22_FPIO              11
488 #define AM_HAL_PIN_22_RESERVED12        12
489 #define AM_HAL_PIN_22_RESERVED13        13
490 #define AM_HAL_PIN_22_RESERVED14        14
491 #define AM_HAL_PIN_22_SCANIN3           15
492 
493 // PIN 23 functions
494 #define AM_HAL_PIN_23_M7SDAWIR3         0
495 #define AM_HAL_PIN_23_M7MOSI            1
496 #define AM_HAL_PIN_23_SWO               2
497 #define AM_HAL_PIN_23_GPIO              3
498 #define AM_HAL_PIN_23_UART2RX           4
499 #define AM_HAL_PIN_23_UART3RX           5
500 #define AM_HAL_PIN_23_CT23              6
501 #define AM_HAL_PIN_23_NCE23             7
502 #define AM_HAL_PIN_23_OBSBUS7           8
503 #define AM_HAL_PIN_23_VCMPO             9
504 #define AM_HAL_PIN_23_I3CM1_SDA         10
505 #define AM_HAL_PIN_23_FPIO              11
506 #define AM_HAL_PIN_23_RESERVED12        12
507 #define AM_HAL_PIN_23_RESERVED13        13
508 #define AM_HAL_PIN_23_RESERVED14        14
509 #define AM_HAL_PIN_23_SCANOUT6          15
510 
511 // PIN 24 functions
512 #define AM_HAL_PIN_24_M7MISO            0
513 #define AM_HAL_PIN_24_TRIG3             1
514 #define AM_HAL_PIN_24_SWO               2
515 #define AM_HAL_PIN_24_GPIO              3
516 #define AM_HAL_PIN_24_UART0RTS          4
517 #define AM_HAL_PIN_24_UART1RTS          5
518 #define AM_HAL_PIN_24_CT24              6
519 #define AM_HAL_PIN_24_NCE24             7
520 #define AM_HAL_PIN_24_OBSBUS8           8
521 #define AM_HAL_PIN_24_RESERVED9         9
522 #define AM_HAL_PIN_24_RESERVED10        10
523 #define AM_HAL_PIN_24_FPIO              11
524 #define AM_HAL_PIN_24_RESERVED12        12
525 #define AM_HAL_PIN_24_RESERVED13        13
526 #define AM_HAL_PIN_24_RESERVED14        14
527 #define AM_HAL_PIN_24_SCANOUT7          15
528 
529 // PIN 25 functions
530 #define AM_HAL_PIN_25_M2SCL             0
531 #define AM_HAL_PIN_25_M2SCK             1
532 #define AM_HAL_PIN_25_RESERVED2         2
533 #define AM_HAL_PIN_25_GPIO              3
534 #define AM_HAL_PIN_25_LFRC_EXT          4
535 #define AM_HAL_PIN_25_DSP_TMS           5
536 #define AM_HAL_PIN_25_CT25              6
537 #define AM_HAL_PIN_25_NCE25             7
538 #define AM_HAL_PIN_25_OBSBUS9           8
539 #define AM_HAL_PIN_25_RESERVED9         9
540 #define AM_HAL_PIN_25_RESERVED10        10
541 #define AM_HAL_PIN_25_FPIO              11
542 #define AM_HAL_PIN_25_RESERVED12        12
543 #define AM_HAL_PIN_25_RESERVED13        13
544 #define AM_HAL_PIN_25_RESERVED14        14
545 #define AM_HAL_PIN_25_SCANIN8           15
546 
547 // PIN 26 functions
548 #define AM_HAL_PIN_26_M2SDAWIR3         0
549 #define AM_HAL_PIN_26_M2MOSI            1
550 #define AM_HAL_PIN_26_RESERVED2         2
551 #define AM_HAL_PIN_26_GPIO              3
552 #define AM_HAL_PIN_26_HFRC_EXT          4
553 #define AM_HAL_PIN_26_RESERVED5         5
554 #define AM_HAL_PIN_26_CT26              6
555 #define AM_HAL_PIN_26_NCE26             7
556 #define AM_HAL_PIN_26_OBSBUS10          8
557 #define AM_HAL_PIN_26_VCMPO             9
558 #define AM_HAL_PIN_26_RESERVED10        10
559 #define AM_HAL_PIN_26_FPIO              11
560 #define AM_HAL_PIN_26_RESERVED12        12
561 #define AM_HAL_PIN_26_RESERVED13        13
562 #define AM_HAL_PIN_26_RESERVED14        14
563 #define AM_HAL_PIN_26_SCANIN9           15
564 
565 // PIN 27 functions
566 #define AM_HAL_PIN_27_M2MISO            0
567 #define AM_HAL_PIN_27_TRIG0             1
568 #define AM_HAL_PIN_27_RESERVED2         2
569 #define AM_HAL_PIN_27_GPIO              3
570 #define AM_HAL_PIN_27_XT_EXT            4
571 #define AM_HAL_PIN_27_DSP_TCK           5
572 #define AM_HAL_PIN_27_CT27              6
573 #define AM_HAL_PIN_27_NCE27             7
574 #define AM_HAL_PIN_27_OBSBUS11          8
575 #define AM_HAL_PIN_27_I2S0_SDIN         9
576 #define AM_HAL_PIN_27_RESERVED10        10
577 #define AM_HAL_PIN_27_FPIO              11
578 #define AM_HAL_PIN_27_RESERVED12        12
579 #define AM_HAL_PIN_27_RESERVED13        13
580 #define AM_HAL_PIN_27_RESERVED14        14
581 #define AM_HAL_PIN_27_SCANIN10          15
582 
583 // PIN 28 functions
584 #define AM_HAL_PIN_28_SWO               0
585 #define AM_HAL_PIN_28_VCMPO             1
586 #define AM_HAL_PIN_28_I2S0_CLK          2
587 #define AM_HAL_PIN_28_GPIO              3
588 #define AM_HAL_PIN_28_UART2CTS          4
589 #define AM_HAL_PIN_28_DSP_TDO           5
590 #define AM_HAL_PIN_28_CT28              6
591 #define AM_HAL_PIN_28_NCE28             7
592 #define AM_HAL_PIN_28_OBSBUS12          8
593 #define AM_HAL_PIN_28_RESERVED9         9
594 #define AM_HAL_PIN_28_RESERVED10        10
595 #define AM_HAL_PIN_28_FPIO              11
596 #define AM_HAL_PIN_28_RESERVED12        12
597 #define AM_HAL_PIN_28_RESERVED13        13
598 #define AM_HAL_PIN_28_RESERVED14        14
599 #define AM_HAL_PIN_28_CME               15
600 
601 // PIN 29 functions
602 #define AM_HAL_PIN_29_TRIG0             0
603 #define AM_HAL_PIN_29_VCMPO             1
604 #define AM_HAL_PIN_29_I2S0_DATA         2
605 #define AM_HAL_PIN_29_GPIO              3
606 #define AM_HAL_PIN_29_UART1CTS          4
607 #define AM_HAL_PIN_29_DSP_TRSTN         5
608 #define AM_HAL_PIN_29_CT29              6
609 #define AM_HAL_PIN_29_NCE29             7
610 #define AM_HAL_PIN_29_OBSBUS13          8
611 #define AM_HAL_PIN_29_I2S0_SDOUT        9
612 #define AM_HAL_PIN_29_RESERVED10        10
613 #define AM_HAL_PIN_29_FPIO              11
614 #define AM_HAL_PIN_29_RESERVED12        12
615 #define AM_HAL_PIN_29_RESERVED13        13
616 #define AM_HAL_PIN_29_RESERVED14        14
617 #define AM_HAL_PIN_29_CMLE              15
618 
619 // PIN 30 functions
620 #define AM_HAL_PIN_30_TRIG1             0
621 #define AM_HAL_PIN_30_VCMPO             1
622 #define AM_HAL_PIN_30_I2S0_WS           2
623 #define AM_HAL_PIN_30_GPIO              3
624 #define AM_HAL_PIN_30_UART0TX           4
625 #define AM_HAL_PIN_30_DSP_TDI           5
626 #define AM_HAL_PIN_30_CT30              6
627 #define AM_HAL_PIN_30_NCE30             7
628 #define AM_HAL_PIN_30_OBSBUS14          8
629 #define AM_HAL_PIN_30_RESERVED9         9
630 #define AM_HAL_PIN_30_RESERVED10        10
631 #define AM_HAL_PIN_30_FPIO              11
632 #define AM_HAL_PIN_30_RESERVED12        12
633 #define AM_HAL_PIN_30_RESERVED13        13
634 #define AM_HAL_PIN_30_RESERVED14        14
635 #define AM_HAL_PIN_30_SCANOUT8          15
636 
637 // PIN 31 functions
638 #define AM_HAL_PIN_31_M3SCL             0
639 #define AM_HAL_PIN_31_M3SCK             1
640 #define AM_HAL_PIN_31_RESERVED2         2
641 #define AM_HAL_PIN_31_GPIO              3
642 #define AM_HAL_PIN_31_UART2TX           4
643 #define AM_HAL_PIN_31_RESERVED5         5
644 #define AM_HAL_PIN_31_CT31              6
645 #define AM_HAL_PIN_31_NCE31             7
646 #define AM_HAL_PIN_31_OBSBUS15          8
647 #define AM_HAL_PIN_31_VCMPO             9
648 #define AM_HAL_PIN_31_RESERVED10        10
649 #define AM_HAL_PIN_31_FPIO              11
650 #define AM_HAL_PIN_31_RESERVED12        12
651 #define AM_HAL_PIN_31_RESERVED13        13
652 #define AM_HAL_PIN_31_RESERVED14        14
653 #define AM_HAL_PIN_31_SCANOUT9          15
654 
655 // PIN 32 functions
656 #define AM_HAL_PIN_32_M3SDAWIR3         0
657 #define AM_HAL_PIN_32_M3MOSI            1
658 #define AM_HAL_PIN_32_RESERVED2         2
659 #define AM_HAL_PIN_32_GPIO              3
660 #define AM_HAL_PIN_32_UART0RX           4
661 #define AM_HAL_PIN_32_RESERVED5         5
662 #define AM_HAL_PIN_32_CT32              6
663 #define AM_HAL_PIN_32_NCE32             7
664 #define AM_HAL_PIN_32_OBSBUS0           8
665 #define AM_HAL_PIN_32_RESERVED9         9
666 #define AM_HAL_PIN_32_RESERVED10        10
667 #define AM_HAL_PIN_32_FPIO              11
668 #define AM_HAL_PIN_32_RESERVED12        12
669 #define AM_HAL_PIN_32_RESERVED13        13
670 #define AM_HAL_PIN_32_RESERVED14        14
671 #define AM_HAL_PIN_32_SCANOUT10         15
672 
673 // PIN 33 functions
674 #define AM_HAL_PIN_33_M3MISO            0
675 #define AM_HAL_PIN_33_CLKOUT            1
676 #define AM_HAL_PIN_33_RESERVED2         2
677 #define AM_HAL_PIN_33_GPIO              3
678 #define AM_HAL_PIN_33_UART2RX           4
679 #define AM_HAL_PIN_33_RESERVED5         5
680 #define AM_HAL_PIN_33_CT33              6
681 #define AM_HAL_PIN_33_NCE33             7
682 #define AM_HAL_PIN_33_OBSBUS1           8
683 #define AM_HAL_PIN_33_DISP_TE           9
684 #define AM_HAL_PIN_33_RESERVED10        10
685 #define AM_HAL_PIN_33_FPIO              11
686 #define AM_HAL_PIN_33_RESERVED12        12
687 #define AM_HAL_PIN_33_RESERVED13        13
688 #define AM_HAL_PIN_33_RESERVED14        14
689 #define AM_HAL_PIN_33_SCANOUT11         15
690 
691 // PIN 34 functions
692 #define AM_HAL_PIN_34_M4SCL             0
693 #define AM_HAL_PIN_34_M4SCK             1
694 #define AM_HAL_PIN_34_SWO               2
695 #define AM_HAL_PIN_34_GPIO              3
696 #define AM_HAL_PIN_34_UART0TX           4
697 #define AM_HAL_PIN_34_RESERVED5         5
698 #define AM_HAL_PIN_34_CT34              6
699 #define AM_HAL_PIN_34_NCE34             7
700 #define AM_HAL_PIN_34_OBSBUS2           8
701 #define AM_HAL_PIN_34_VCMPO             9
702 #define AM_HAL_PIN_34_RESERVED10        10
703 #define AM_HAL_PIN_34_FPIO              11
704 #define AM_HAL_PIN_34_RESERVED12        12
705 #define AM_HAL_PIN_34_RESERVED13        13
706 #define AM_HAL_PIN_34_RESERVED14        14
707 #define AM_HAL_PIN_34_RESERVED15        15
708 
709 // PIN 35 functions
710 #define AM_HAL_PIN_35_M4SDAWIR3         0
711 #define AM_HAL_PIN_35_M4MOSI            1
712 #define AM_HAL_PIN_35_SWO               2
713 #define AM_HAL_PIN_35_GPIO              3
714 #define AM_HAL_PIN_35_UART2TX           4
715 #define AM_HAL_PIN_35_UART3TX           5
716 #define AM_HAL_PIN_35_CT35              6
717 #define AM_HAL_PIN_35_NCE35             7
718 #define AM_HAL_PIN_35_OBSBUS3           8
719 #define AM_HAL_PIN_35_VCMPO             9
720 #define AM_HAL_PIN_35_RESERVED10        10
721 #define AM_HAL_PIN_35_FPIO              11
722 #define AM_HAL_PIN_35_RESERVED12        12
723 #define AM_HAL_PIN_35_RESERVED13        13
724 #define AM_HAL_PIN_35_RESERVED14        14
725 #define AM_HAL_PIN_35_RESERVED15        15
726 
727 // PIN 36 functions
728 #define AM_HAL_PIN_36_M4MISO            0
729 #define AM_HAL_PIN_36_TRIG0             1
730 #define AM_HAL_PIN_36_SWO               2
731 #define AM_HAL_PIN_36_GPIO              3
732 #define AM_HAL_PIN_36_UART0RX           4
733 #define AM_HAL_PIN_36_UART1RX           5
734 #define AM_HAL_PIN_36_CT36              6
735 #define AM_HAL_PIN_36_NCE36             7
736 #define AM_HAL_PIN_36_OBSBUS4           8
737 #define AM_HAL_PIN_36_RESERVED9         9
738 #define AM_HAL_PIN_36_RESERVED10        10
739 #define AM_HAL_PIN_36_FPIO              11
740 #define AM_HAL_PIN_36_RESERVED12        12
741 #define AM_HAL_PIN_36_RESERVED13        13
742 #define AM_HAL_PIN_36_RESERVED14        14
743 #define AM_HAL_PIN_36_RESERVED15        15
744 
745 // PIN 37 functions
746 #define AM_HAL_PIN_37_MSPI1_0           0
747 #define AM_HAL_PIN_37_TRIG1             1
748 #define AM_HAL_PIN_37_32KHzXT           2
749 #define AM_HAL_PIN_37_GPIO              3
750 #define AM_HAL_PIN_37_UART2RX           4
751 #define AM_HAL_PIN_37_DISP_D15          5
752 #define AM_HAL_PIN_37_CT37              6
753 #define AM_HAL_PIN_37_NCE37             7
754 #define AM_HAL_PIN_37_OBSBUS5           8
755 #define AM_HAL_PIN_37_RESERVED9         9
756 #define AM_HAL_PIN_37_RESERVED10        10
757 #define AM_HAL_PIN_37_FPIO              11
758 #define AM_HAL_PIN_37_RESERVED12        12
759 #define AM_HAL_PIN_37_RESERVED13        13
760 #define AM_HAL_PIN_37_RESERVED14        14
761 #define AM_HAL_PIN_37_RESERVED15        15
762 
763 // PIN 38 functions
764 #define AM_HAL_PIN_38_MSPI1_1           0
765 #define AM_HAL_PIN_38_TRIG2             1
766 #define AM_HAL_PIN_38_SWTRACECLK        2
767 #define AM_HAL_PIN_38_GPIO              3
768 #define AM_HAL_PIN_38_UART0RTS          4
769 #define AM_HAL_PIN_38_DISP_D16          5
770 #define AM_HAL_PIN_38_CT38              6
771 #define AM_HAL_PIN_38_NCE38             7
772 #define AM_HAL_PIN_38_OBSBUS6           8
773 #define AM_HAL_PIN_38_RESERVED9         9
774 #define AM_HAL_PIN_38_RESERVED10        10
775 #define AM_HAL_PIN_38_FPIO              11
776 #define AM_HAL_PIN_38_RESERVED12        12
777 #define AM_HAL_PIN_38_RESERVED13        13
778 #define AM_HAL_PIN_38_RESERVED14        14
779 #define AM_HAL_PIN_38_RESERVED15        15
780 
781 // PIN 39 functions
782 #define AM_HAL_PIN_39_MSPI1_2           0
783 #define AM_HAL_PIN_39_TRIG3             1
784 #define AM_HAL_PIN_39_SWTRACE0          2
785 #define AM_HAL_PIN_39_GPIO              3
786 #define AM_HAL_PIN_39_UART2RTS          4
787 #define AM_HAL_PIN_39_DISP_D17          5
788 #define AM_HAL_PIN_39_CT39              6
789 #define AM_HAL_PIN_39_NCE39             7
790 #define AM_HAL_PIN_39_OBSBUS7           8
791 #define AM_HAL_PIN_39_RESERVED9         9
792 #define AM_HAL_PIN_39_RESERVED10        10
793 #define AM_HAL_PIN_39_FPIO              11
794 #define AM_HAL_PIN_39_RESERVED12        12
795 #define AM_HAL_PIN_39_RESERVED13        13
796 #define AM_HAL_PIN_39_RESERVED14        14
797 #define AM_HAL_PIN_39_RESERVED15        15
798 
799 // PIN 40 functions
800 #define AM_HAL_PIN_40_MSPI1_3           0
801 #define AM_HAL_PIN_40_TRIG1             1
802 #define AM_HAL_PIN_40_SWTRACE1          2
803 #define AM_HAL_PIN_40_GPIO              3
804 #define AM_HAL_PIN_40_UART0CTS          4
805 #define AM_HAL_PIN_40_DISP_D18          5
806 #define AM_HAL_PIN_40_CT40              6
807 #define AM_HAL_PIN_40_NCE40             7
808 #define AM_HAL_PIN_40_OBSBUS8           8
809 #define AM_HAL_PIN_40_RESERVED9         9
810 #define AM_HAL_PIN_40_RESERVED10        10
811 #define AM_HAL_PIN_40_FPIO              11
812 #define AM_HAL_PIN_40_RESERVED12        12
813 #define AM_HAL_PIN_40_RESERVED13        13
814 #define AM_HAL_PIN_40_RESERVED14        14
815 #define AM_HAL_PIN_40_RESERVED15        15
816 
817 // PIN 41 functions
818 #define AM_HAL_PIN_41_MSPI1_4           0
819 #define AM_HAL_PIN_41_TRIG0             1
820 #define AM_HAL_PIN_41_SWTRACE2          2
821 #define AM_HAL_PIN_41_GPIO              3
822 #define AM_HAL_PIN_41_UART0TX           4
823 #define AM_HAL_PIN_41_DISP_D19          5
824 #define AM_HAL_PIN_41_CT41              6
825 #define AM_HAL_PIN_41_NCE41             7
826 #define AM_HAL_PIN_41_OBSBUS9           8
827 #define AM_HAL_PIN_41_SWO               9
828 #define AM_HAL_PIN_41_RESERVED10        10
829 #define AM_HAL_PIN_41_FPIO              11
830 #define AM_HAL_PIN_41_RESERVED12        12
831 #define AM_HAL_PIN_41_RESERVED13        13
832 #define AM_HAL_PIN_41_RESERVED14        14
833 #define AM_HAL_PIN_41_RESERVED15        15
834 
835 // PIN 42 functions
836 #define AM_HAL_PIN_42_MSPI1_5           0
837 #define AM_HAL_PIN_42_TRIG2             1
838 #define AM_HAL_PIN_42_SWTRACE3          2
839 #define AM_HAL_PIN_42_GPIO              3
840 #define AM_HAL_PIN_42_UART2TX           4
841 #define AM_HAL_PIN_42_DISP_D20          5
842 #define AM_HAL_PIN_42_CT42              6
843 #define AM_HAL_PIN_42_NCE42             7
844 #define AM_HAL_PIN_42_OBSBUS10          8
845 #define AM_HAL_PIN_42_RESERVED9         9
846 #define AM_HAL_PIN_42_RESERVED10        10
847 #define AM_HAL_PIN_42_FPIO              11
848 #define AM_HAL_PIN_42_RESERVED12        12
849 #define AM_HAL_PIN_42_RESERVED13        13
850 #define AM_HAL_PIN_42_RESERVED14        14
851 #define AM_HAL_PIN_42_RESERVED15        15
852 
853 // PIN 43 functions
854 #define AM_HAL_PIN_43_MSPI1_6           0
855 #define AM_HAL_PIN_43_TRIG3             1
856 #define AM_HAL_PIN_43_SWTRACECTL        2
857 #define AM_HAL_PIN_43_GPIO              3
858 #define AM_HAL_PIN_43_UART0RX           4
859 #define AM_HAL_PIN_43_DISP_D21          5
860 #define AM_HAL_PIN_43_CT43              6
861 #define AM_HAL_PIN_43_NCE43             7
862 #define AM_HAL_PIN_43_OBSBUS11          8
863 #define AM_HAL_PIN_43_RESERVED9         9
864 #define AM_HAL_PIN_43_RESERVED10        10
865 #define AM_HAL_PIN_43_FPIO              11
866 #define AM_HAL_PIN_43_RESERVED12        12
867 #define AM_HAL_PIN_43_RESERVED13        13
868 #define AM_HAL_PIN_43_RESERVED14        14
869 #define AM_HAL_PIN_43_RESERVED15        15
870 
871 // PIN 44 functions
872 #define AM_HAL_PIN_44_MSPI1_7           0
873 #define AM_HAL_PIN_44_TRIG1             1
874 #define AM_HAL_PIN_44_SWO               2
875 #define AM_HAL_PIN_44_GPIO              3
876 #define AM_HAL_PIN_44_UART2RX           4
877 #define AM_HAL_PIN_44_DISP_D22          5
878 #define AM_HAL_PIN_44_CT44              6
879 #define AM_HAL_PIN_44_NCE44             7
880 #define AM_HAL_PIN_44_OBSBUS12          8
881 #define AM_HAL_PIN_44_VCMPO             9
882 #define AM_HAL_PIN_44_RESERVED10        10
883 #define AM_HAL_PIN_44_FPIO              11
884 #define AM_HAL_PIN_44_RESERVED12        12
885 #define AM_HAL_PIN_44_RESERVED13        13
886 #define AM_HAL_PIN_44_RESERVED14        14
887 #define AM_HAL_PIN_44_RESERVED15        15
888 
889 // PIN 45 functions
890 #define AM_HAL_PIN_45_MSPI1_8           0
891 #define AM_HAL_PIN_45_TRIG2             1
892 #define AM_HAL_PIN_45_32KHzXT           2
893 #define AM_HAL_PIN_45_GPIO              3
894 #define AM_HAL_PIN_45_UART0TX           4
895 #define AM_HAL_PIN_45_DISP_D23          5
896 #define AM_HAL_PIN_45_CT45              6
897 #define AM_HAL_PIN_45_NCE45             7
898 #define AM_HAL_PIN_45_OBSBUS13          8
899 #define AM_HAL_PIN_45_RESERVED9         9
900 #define AM_HAL_PIN_45_RESERVED10        10
901 #define AM_HAL_PIN_45_FPIO              11
902 #define AM_HAL_PIN_45_RESERVED12        12
903 #define AM_HAL_PIN_45_RESERVED13        13
904 #define AM_HAL_PIN_45_RESERVED14        14
905 #define AM_HAL_PIN_45_RESERVED15        15
906 
907 // PIN 46 functions
908 #define AM_HAL_PIN_46_MSPI1_9           0
909 #define AM_HAL_PIN_46_TRIG3             1
910 #define AM_HAL_PIN_46_CLKOUT_32M        2
911 #define AM_HAL_PIN_46_GPIO              3
912 #define AM_HAL_PIN_46_UART2TX           4
913 #define AM_HAL_PIN_46_UART3TX           5
914 #define AM_HAL_PIN_46_CT46              6
915 #define AM_HAL_PIN_46_NCE46             7
916 #define AM_HAL_PIN_46_OBSBUS14          8
917 #define AM_HAL_PIN_46_I2S1_SDIN         9
918 #define AM_HAL_PIN_46_I2S0_SDIN         10
919 #define AM_HAL_PIN_46_FPIO              11
920 #define AM_HAL_PIN_46_RESERVED12        12
921 #define AM_HAL_PIN_46_RESERVED13        13
922 #define AM_HAL_PIN_46_RESERVED14        14
923 #define AM_HAL_PIN_46_RESERVED15        15
924 
925 // PIN 47 functions
926 #define AM_HAL_PIN_47_M5SCL             0
927 #define AM_HAL_PIN_47_M5SCK             1
928 #define AM_HAL_PIN_47_I2S1_CLK          2
929 #define AM_HAL_PIN_47_GPIO              3
930 #define AM_HAL_PIN_47_UART0RX           4
931 #define AM_HAL_PIN_47_UART1RX           5
932 #define AM_HAL_PIN_47_CT47              6
933 #define AM_HAL_PIN_47_NCE47             7
934 #define AM_HAL_PIN_47_OBSBUS15          8
935 #define AM_HAL_PIN_47_RESERVED9         9
936 #define AM_HAL_PIN_47_I2S0_CLK          10
937 #define AM_HAL_PIN_47_FPIO              11
938 #define AM_HAL_PIN_47_RESERVED12        12
939 #define AM_HAL_PIN_47_RESERVED13        13
940 #define AM_HAL_PIN_47_RESERVED14        14
941 #define AM_HAL_PIN_47_RESERVED15        15
942 
943 // PIN 48 functions
944 #define AM_HAL_PIN_48_M5SDAWIR3         0
945 #define AM_HAL_PIN_48_M5MOSI            1
946 #define AM_HAL_PIN_48_I2S1_DATA         2
947 #define AM_HAL_PIN_48_GPIO              3
948 #define AM_HAL_PIN_48_UART2RX           4
949 #define AM_HAL_PIN_48_UART3RX           5
950 #define AM_HAL_PIN_48_CT48              6
951 #define AM_HAL_PIN_48_NCE48             7
952 #define AM_HAL_PIN_48_OBSBUS0           8
953 #define AM_HAL_PIN_48_I2S1_SDOUT        9
954 #define AM_HAL_PIN_48_I2S0_SDOUT        10
955 #define AM_HAL_PIN_48_FPIO              11
956 #define AM_HAL_PIN_48_RESERVED12        12
957 #define AM_HAL_PIN_48_RESERVED13        13
958 #define AM_HAL_PIN_48_RESERVED14        14
959 #define AM_HAL_PIN_48_RESERVED15        15
960 
961 // PIN 49 functions
962 #define AM_HAL_PIN_49_M5MISO            0
963 #define AM_HAL_PIN_49_TRIG0             1
964 #define AM_HAL_PIN_49_I2S1_WS           2
965 #define AM_HAL_PIN_49_GPIO              3
966 #define AM_HAL_PIN_49_UART0RTS          4
967 #define AM_HAL_PIN_49_UART1RTS          5
968 #define AM_HAL_PIN_49_CT49              6
969 #define AM_HAL_PIN_49_NCE49             7
970 #define AM_HAL_PIN_49_OBSBUS1           8
971 #define AM_HAL_PIN_49_RESERVED9         9
972 #define AM_HAL_PIN_49_I2S0_WS           10
973 #define AM_HAL_PIN_49_FPIO              11
974 #define AM_HAL_PIN_49_RESERVED12        12
975 #define AM_HAL_PIN_49_RESERVED13        13
976 #define AM_HAL_PIN_49_RESERVED14        14
977 #define AM_HAL_PIN_49_RESERVED15        15
978 
979 // PIN 50 functions
980 #define AM_HAL_PIN_50_PDM0_CLK          0
981 #define AM_HAL_PIN_50_TRIG0             1
982 #define AM_HAL_PIN_50_SWTRACECLK        2
983 #define AM_HAL_PIN_50_GPIO              3
984 #define AM_HAL_PIN_50_UART2RTS          4
985 #define AM_HAL_PIN_50_UART3RTS          5
986 #define AM_HAL_PIN_50_CT50              6
987 #define AM_HAL_PIN_50_NCE50             7
988 #define AM_HAL_PIN_50_OBSBUS2           8
989 #define AM_HAL_PIN_50_DISP_TE           9
990 #define AM_HAL_PIN_50_RESERVED10        10
991 #define AM_HAL_PIN_50_FPIO              11
992 #define AM_HAL_PIN_50_RESERVED12        12
993 #define AM_HAL_PIN_50_RESERVED13        13
994 #define AM_HAL_PIN_50_RESERVED14        14
995 #define AM_HAL_PIN_50_RESERVED15        15
996 
997 // PIN 51 functions
998 #define AM_HAL_PIN_51_PDM0_DATA         0
999 #define AM_HAL_PIN_51_TRIG1             1
1000 #define AM_HAL_PIN_51_SWTRACE0          2
1001 #define AM_HAL_PIN_51_GPIO              3
1002 #define AM_HAL_PIN_51_UART0CTS          4
1003 #define AM_HAL_PIN_51_UART1CTS          5
1004 #define AM_HAL_PIN_51_CT51              6
1005 #define AM_HAL_PIN_51_NCE51             7
1006 #define AM_HAL_PIN_51_OBSBUS3           8
1007 #define AM_HAL_PIN_51_RESERVED9         9
1008 #define AM_HAL_PIN_51_RESERVED10        10
1009 #define AM_HAL_PIN_51_FPIO              11
1010 #define AM_HAL_PIN_51_RESERVED12        12
1011 #define AM_HAL_PIN_51_RESERVED13        13
1012 #define AM_HAL_PIN_51_RESERVED14        14
1013 #define AM_HAL_PIN_51_RESERVED15        15
1014 
1015 // PIN 52 functions
1016 #define AM_HAL_PIN_52_PDM1_CLK          0
1017 #define AM_HAL_PIN_52_TRIG2             1
1018 #define AM_HAL_PIN_52_SWTRACE1          2
1019 #define AM_HAL_PIN_52_GPIO              3
1020 #define AM_HAL_PIN_52_UART2CTS          4
1021 #define AM_HAL_PIN_52_UART3CTS          5
1022 #define AM_HAL_PIN_52_CT52              6
1023 #define AM_HAL_PIN_52_NCE52             7
1024 #define AM_HAL_PIN_52_OBSBUS4           8
1025 #define AM_HAL_PIN_52_VCMPO             9
1026 #define AM_HAL_PIN_52_RESERVED10        10
1027 #define AM_HAL_PIN_52_FPIO              11
1028 #define AM_HAL_PIN_52_RESERVED12        12
1029 #define AM_HAL_PIN_52_RESERVED13        13
1030 #define AM_HAL_PIN_52_RESERVED14        14
1031 #define AM_HAL_PIN_52_RESERVED15        15
1032 
1033 // PIN 53 functions
1034 #define AM_HAL_PIN_53_PDM1_DATA         0
1035 #define AM_HAL_PIN_53_TRIG3             1
1036 #define AM_HAL_PIN_53_SWTRACE2          2
1037 #define AM_HAL_PIN_53_GPIO              3
1038 #define AM_HAL_PIN_53_UART0TX           4
1039 #define AM_HAL_PIN_53_UART1TX           5
1040 #define AM_HAL_PIN_53_CT53              6
1041 #define AM_HAL_PIN_53_NCE53             7
1042 #define AM_HAL_PIN_53_OBSBUS5           8
1043 #define AM_HAL_PIN_53_RESERVED9         9
1044 #define AM_HAL_PIN_53_RESERVED10        10
1045 #define AM_HAL_PIN_53_FPIO              11
1046 #define AM_HAL_PIN_53_RESERVED12        12
1047 #define AM_HAL_PIN_53_RESERVED13        13
1048 #define AM_HAL_PIN_53_RESERVED14        14
1049 #define AM_HAL_PIN_53_RESERVED15        15
1050 
1051 // PIN 54 functions
1052 #define AM_HAL_PIN_54_PDM2_CLK          0
1053 #define AM_HAL_PIN_54_TRIG0             1
1054 #define AM_HAL_PIN_54_SWTRACE3          2
1055 #define AM_HAL_PIN_54_GPIO              3
1056 #define AM_HAL_PIN_54_UART2TX           4
1057 #define AM_HAL_PIN_54_UART3TX           5
1058 #define AM_HAL_PIN_54_CT54              6
1059 #define AM_HAL_PIN_54_NCE54             7
1060 #define AM_HAL_PIN_54_OBSBUS6           8
1061 #define AM_HAL_PIN_54_RESERVED9         9
1062 #define AM_HAL_PIN_54_RESERVED10        10
1063 #define AM_HAL_PIN_54_FPIO              11
1064 #define AM_HAL_PIN_54_RESERVED12        12
1065 #define AM_HAL_PIN_54_RESERVED13        13
1066 #define AM_HAL_PIN_54_RESERVED14        14
1067 #define AM_HAL_PIN_54_RESERVED15        15
1068 
1069 // PIN 55 functions
1070 #define AM_HAL_PIN_55_PDM2_DATA         0
1071 #define AM_HAL_PIN_55_TRIG1             1
1072 #define AM_HAL_PIN_55_SWTRACECTL        2
1073 #define AM_HAL_PIN_55_GPIO              3
1074 #define AM_HAL_PIN_55_UART0RX           4
1075 #define AM_HAL_PIN_55_UART1RX           5
1076 #define AM_HAL_PIN_55_CT55              6
1077 #define AM_HAL_PIN_55_NCE55             7
1078 #define AM_HAL_PIN_55_OBSBUS7           8
1079 #define AM_HAL_PIN_55_RESERVED9         9
1080 #define AM_HAL_PIN_55_RESERVED10        10
1081 #define AM_HAL_PIN_55_FPIO              11
1082 #define AM_HAL_PIN_55_RESERVED12        12
1083 #define AM_HAL_PIN_55_RESERVED13        13
1084 #define AM_HAL_PIN_55_RESERVED14        14
1085 #define AM_HAL_PIN_55_RESERVED15        15
1086 
1087 // PIN 56 functions
1088 #define AM_HAL_PIN_56_PDM3_CLK          0
1089 #define AM_HAL_PIN_56_TRIG2             1
1090 #define AM_HAL_PIN_56_SWO               2
1091 #define AM_HAL_PIN_56_GPIO              3
1092 #define AM_HAL_PIN_56_UART2RX           4
1093 #define AM_HAL_PIN_56_UART3RX           5
1094 #define AM_HAL_PIN_56_CT56              6
1095 #define AM_HAL_PIN_56_NCE56             7
1096 #define AM_HAL_PIN_56_OBSBUS8           8
1097 #define AM_HAL_PIN_56_RESERVED9         9
1098 #define AM_HAL_PIN_56_RESERVED10        10
1099 #define AM_HAL_PIN_56_FPIO              11
1100 #define AM_HAL_PIN_56_RESERVED12        12
1101 #define AM_HAL_PIN_56_RESERVED13        13
1102 #define AM_HAL_PIN_56_RESERVED14        14
1103 #define AM_HAL_PIN_56_RESERVED15        15
1104 
1105 // PIN 57 functions
1106 #define AM_HAL_PIN_57_PDM3_DATA         0
1107 #define AM_HAL_PIN_57_TRIG3             1
1108 #define AM_HAL_PIN_57_SWO               2
1109 #define AM_HAL_PIN_57_GPIO              3
1110 #define AM_HAL_PIN_57_UART0RTS          4
1111 #define AM_HAL_PIN_57_UART1RTS          5
1112 #define AM_HAL_PIN_57_CT57              6
1113 #define AM_HAL_PIN_57_NCE57             7
1114 #define AM_HAL_PIN_57_OBSBUS9           8
1115 #define AM_HAL_PIN_57_VCMPO             9
1116 #define AM_HAL_PIN_57_RESERVED10        10
1117 #define AM_HAL_PIN_57_FPIO              11
1118 #define AM_HAL_PIN_57_RESERVED12        12
1119 #define AM_HAL_PIN_57_RESERVED13        13
1120 #define AM_HAL_PIN_57_RESERVED14        14
1121 #define AM_HAL_PIN_57_RESERVED15        15
1122 
1123 // PIN 58 functions
1124 #define AM_HAL_PIN_58_RESERVED0         0
1125 #define AM_HAL_PIN_58_RESERVED1         1
1126 #define AM_HAL_PIN_58_RESERVED2         2
1127 #define AM_HAL_PIN_58_GPIO              3
1128 #define AM_HAL_PIN_58_UART0RTS          4
1129 #define AM_HAL_PIN_58_UART3RTS          5
1130 #define AM_HAL_PIN_58_CT58              6
1131 #define AM_HAL_PIN_58_NCE58             7
1132 #define AM_HAL_PIN_58_OBSBUS10          8
1133 #define AM_HAL_PIN_58_RESERVED9         9
1134 #define AM_HAL_PIN_58_RESERVED10        10
1135 #define AM_HAL_PIN_58_FPIO              11
1136 #define AM_HAL_PIN_58_RESERVED12        12
1137 #define AM_HAL_PIN_58_RESERVED13        13
1138 #define AM_HAL_PIN_58_RESERVED14        14
1139 #define AM_HAL_PIN_58_RESERVED15        15
1140 
1141 // PIN 59 functions
1142 #define AM_HAL_PIN_59_RESERVED0         0
1143 #define AM_HAL_PIN_59_TRIG0             1
1144 #define AM_HAL_PIN_59_RESERVED2         2
1145 #define AM_HAL_PIN_59_GPIO              3
1146 #define AM_HAL_PIN_59_UART0CTS          4
1147 #define AM_HAL_PIN_59_UART1CTS          5
1148 #define AM_HAL_PIN_59_CT59              6
1149 #define AM_HAL_PIN_59_NCE59             7
1150 #define AM_HAL_PIN_59_OBSBUS11          8
1151 #define AM_HAL_PIN_59_RESERVED9         9
1152 #define AM_HAL_PIN_59_RESERVED10        10
1153 #define AM_HAL_PIN_59_FPIO              11
1154 #define AM_HAL_PIN_59_RESERVED12        12
1155 #define AM_HAL_PIN_59_RESERVED13        13
1156 #define AM_HAL_PIN_59_RESERVED14        14
1157 #define AM_HAL_PIN_59_RESERVED15        15
1158 
1159 // PIN 60 functions
1160 #define AM_HAL_PIN_60_RESERVED0         0
1161 #define AM_HAL_PIN_60_TRIG1             1
1162 #define AM_HAL_PIN_60_RESERVED2         2
1163 #define AM_HAL_PIN_60_GPIO              3
1164 #define AM_HAL_PIN_60_UART0TX           4
1165 #define AM_HAL_PIN_60_UART3CTS          5
1166 #define AM_HAL_PIN_60_CT60              6
1167 #define AM_HAL_PIN_60_NCE60             7
1168 #define AM_HAL_PIN_60_OBSBUS12          8
1169 #define AM_HAL_PIN_60_RESERVED9         9
1170 #define AM_HAL_PIN_60_RESERVED10        10
1171 #define AM_HAL_PIN_60_FPIO              11
1172 #define AM_HAL_PIN_60_RESERVED12        12
1173 #define AM_HAL_PIN_60_RESERVED13        13
1174 #define AM_HAL_PIN_60_RESERVED14        14
1175 #define AM_HAL_PIN_60_RESERVED15        15
1176 
1177 // PIN 61 functions
1178 #define AM_HAL_PIN_61_M6SCL             0
1179 #define AM_HAL_PIN_61_M6SCK             1
1180 #define AM_HAL_PIN_61_I2S1_CLK          2
1181 #define AM_HAL_PIN_61_GPIO              3
1182 #define AM_HAL_PIN_61_UART2TX           4
1183 #define AM_HAL_PIN_61_UART3TX           5
1184 #define AM_HAL_PIN_61_CT61              6
1185 #define AM_HAL_PIN_61_NCE61             7
1186 #define AM_HAL_PIN_61_OBSBUS13          8
1187 #define AM_HAL_PIN_61_RESERVED9         9
1188 #define AM_HAL_PIN_61_I3CM0_SCL         10
1189 #define AM_HAL_PIN_61_FPIO              11
1190 #define AM_HAL_PIN_61_RESERVED12        12
1191 #define AM_HAL_PIN_61_RESERVED13        13
1192 #define AM_HAL_PIN_61_RESERVED14        14
1193 #define AM_HAL_PIN_61_RESERVED15        15
1194 
1195 // PIN 62 functions
1196 #define AM_HAL_PIN_62_M6SDAWIR3         0
1197 #define AM_HAL_PIN_62_M6MOSI            1
1198 #define AM_HAL_PIN_62_I2S1_DATA         2
1199 #define AM_HAL_PIN_62_GPIO              3
1200 #define AM_HAL_PIN_62_UART0RX           4
1201 #define AM_HAL_PIN_62_UART1RX           5
1202 #define AM_HAL_PIN_62_CT62              6
1203 #define AM_HAL_PIN_62_NCE62             7
1204 #define AM_HAL_PIN_62_OBSBUS14          8
1205 #define AM_HAL_PIN_62_I2S1_SDOUT        9
1206 #define AM_HAL_PIN_62_I3CM0_SDA         10
1207 #define AM_HAL_PIN_62_FPIO              11
1208 #define AM_HAL_PIN_62_RESERVED12        12
1209 #define AM_HAL_PIN_62_RESERVED13        13
1210 #define AM_HAL_PIN_62_RESERVED14        14
1211 #define AM_HAL_PIN_62_RESERVED15        15
1212 
1213 // PIN 63 functions
1214 #define AM_HAL_PIN_63_M6MISO            0
1215 #define AM_HAL_PIN_63_CLKOUT            1
1216 #define AM_HAL_PIN_63_I2S1_WS           2
1217 #define AM_HAL_PIN_63_GPIO              3
1218 #define AM_HAL_PIN_63_UART2RX           4
1219 #define AM_HAL_PIN_63_UART3RX           5
1220 #define AM_HAL_PIN_63_CT63              6
1221 #define AM_HAL_PIN_63_NCE63             7
1222 #define AM_HAL_PIN_63_OBSBUS15          8
1223 #define AM_HAL_PIN_63_DISP_TE           9
1224 #define AM_HAL_PIN_63_RESERVED10        10
1225 #define AM_HAL_PIN_63_FPIO              11
1226 #define AM_HAL_PIN_63_RESERVED12        12
1227 #define AM_HAL_PIN_63_RESERVED13        13
1228 #define AM_HAL_PIN_63_RESERVED14        14
1229 #define AM_HAL_PIN_63_RESERVED15        15
1230 
1231 // PIN 64 functions
1232 #define AM_HAL_PIN_64_MSPI0_0           0
1233 #define AM_HAL_PIN_64_32KHzXT           1
1234 #define AM_HAL_PIN_64_SWO               2
1235 #define AM_HAL_PIN_64_GPIO              3
1236 #define AM_HAL_PIN_64_UART0RTS          4
1237 #define AM_HAL_PIN_64_DISP_D0           5
1238 #define AM_HAL_PIN_64_CT64              6
1239 #define AM_HAL_PIN_64_NCE64             7
1240 #define AM_HAL_PIN_64_OBSBUS0           8
1241 #define AM_HAL_PIN_64_I2S1_SDIN         9
1242 #define AM_HAL_PIN_64_RESERVED10        10
1243 #define AM_HAL_PIN_64_FPIO              11
1244 #define AM_HAL_PIN_64_RESERVED12        12
1245 #define AM_HAL_PIN_64_RESERVED13        13
1246 #define AM_HAL_PIN_64_RESERVED14        14
1247 #define AM_HAL_PIN_64_RESERVED15        15
1248 
1249 // PIN 65 functions
1250 #define AM_HAL_PIN_65_MSPI0_1           0
1251 #define AM_HAL_PIN_65_32KHzXT           1
1252 #define AM_HAL_PIN_65_SWO               2
1253 #define AM_HAL_PIN_65_GPIO              3
1254 #define AM_HAL_PIN_65_UART0CTS          4
1255 #define AM_HAL_PIN_65_DISP_D1           5
1256 #define AM_HAL_PIN_65_CT65              6
1257 #define AM_HAL_PIN_65_NCE65             7
1258 #define AM_HAL_PIN_65_OBSBUS1           8
1259 #define AM_HAL_PIN_65_RESERVED9         9
1260 #define AM_HAL_PIN_65_RESERVED10        10
1261 #define AM_HAL_PIN_65_FPIO              11
1262 #define AM_HAL_PIN_65_RESERVED12        12
1263 #define AM_HAL_PIN_65_RESERVED13        13
1264 #define AM_HAL_PIN_65_RESERVED14        14
1265 #define AM_HAL_PIN_65_RESERVED15        15
1266 
1267 // PIN 66 functions
1268 #define AM_HAL_PIN_66_MSPI0_2           0
1269 #define AM_HAL_PIN_66_CLKOUT            1
1270 #define AM_HAL_PIN_66_SWO               2
1271 #define AM_HAL_PIN_66_GPIO              3
1272 #define AM_HAL_PIN_66_UART0TX           4
1273 #define AM_HAL_PIN_66_DISP_D2           5
1274 #define AM_HAL_PIN_66_CT66              6
1275 #define AM_HAL_PIN_66_NCE66             7
1276 #define AM_HAL_PIN_66_OBSBUS2           8
1277 #define AM_HAL_PIN_66_RESERVED9         9
1278 #define AM_HAL_PIN_66_RESERVED10        10
1279 #define AM_HAL_PIN_66_FPIO              11
1280 #define AM_HAL_PIN_66_RESERVED12        12
1281 #define AM_HAL_PIN_66_RESERVED13        13
1282 #define AM_HAL_PIN_66_RESERVED14        14
1283 #define AM_HAL_PIN_66_RESERVED15        15
1284 
1285 // PIN 67 functions
1286 #define AM_HAL_PIN_67_MSPI0_3           0
1287 #define AM_HAL_PIN_67_CLKOUT            1
1288 #define AM_HAL_PIN_67_SWO               2
1289 #define AM_HAL_PIN_67_GPIO              3
1290 #define AM_HAL_PIN_67_UART2TX           4
1291 #define AM_HAL_PIN_67_DISP_D3           5
1292 #define AM_HAL_PIN_67_CT67              6
1293 #define AM_HAL_PIN_67_NCE67             7
1294 #define AM_HAL_PIN_67_OBSBUS3           8
1295 #define AM_HAL_PIN_67_RESERVED9         9
1296 #define AM_HAL_PIN_67_RESERVED10        10
1297 #define AM_HAL_PIN_67_FPIO              11
1298 #define AM_HAL_PIN_67_RESERVED12        12
1299 #define AM_HAL_PIN_67_RESERVED13        13
1300 #define AM_HAL_PIN_67_RESERVED14        14
1301 #define AM_HAL_PIN_67_RESERVED15        15
1302 
1303 // PIN 68 functions
1304 #define AM_HAL_PIN_68_MSPI0_4           0
1305 #define AM_HAL_PIN_68_SWO               1
1306 #define AM_HAL_PIN_68_RESERVED2         2
1307 #define AM_HAL_PIN_68_GPIO              3
1308 #define AM_HAL_PIN_68_UART0RX           4
1309 #define AM_HAL_PIN_68_DISP_D4           5
1310 #define AM_HAL_PIN_68_CT68              6
1311 #define AM_HAL_PIN_68_NCE68             7
1312 #define AM_HAL_PIN_68_OBSBUS4           8
1313 #define AM_HAL_PIN_68_RESERVED9         9
1314 #define AM_HAL_PIN_68_RESERVED10        10
1315 #define AM_HAL_PIN_68_FPIO              11
1316 #define AM_HAL_PIN_68_RESERVED12        12
1317 #define AM_HAL_PIN_68_RESERVED13        13
1318 #define AM_HAL_PIN_68_RESERVED14        14
1319 #define AM_HAL_PIN_68_RESERVED15        15
1320 
1321 // PIN 69 functions
1322 #define AM_HAL_PIN_69_MSPI0_5           0
1323 #define AM_HAL_PIN_69_32KHzXT           1
1324 #define AM_HAL_PIN_69_SWO               2
1325 #define AM_HAL_PIN_69_GPIO              3
1326 #define AM_HAL_PIN_69_UART2RX           4
1327 #define AM_HAL_PIN_69_DISP_D5           5
1328 #define AM_HAL_PIN_69_CT69              6
1329 #define AM_HAL_PIN_69_NCE69             7
1330 #define AM_HAL_PIN_69_OBSBUS5           8
1331 #define AM_HAL_PIN_69_RESERVED9         9
1332 #define AM_HAL_PIN_69_RESERVED10        10
1333 #define AM_HAL_PIN_69_FPIO              11
1334 #define AM_HAL_PIN_69_RESERVED12        12
1335 #define AM_HAL_PIN_69_RESERVED13        13
1336 #define AM_HAL_PIN_69_RESERVED14        14
1337 #define AM_HAL_PIN_69_RESERVED15        15
1338 
1339 // PIN 70 functions
1340 #define AM_HAL_PIN_70_MSPI0_6           0
1341 #define AM_HAL_PIN_70_32KHzXT           1
1342 #define AM_HAL_PIN_70_SWTRACE0          2
1343 #define AM_HAL_PIN_70_GPIO              3
1344 #define AM_HAL_PIN_70_UART0RTS          4
1345 #define AM_HAL_PIN_70_DISP_D6           5
1346 #define AM_HAL_PIN_70_CT70              6
1347 #define AM_HAL_PIN_70_NCE70             7
1348 #define AM_HAL_PIN_70_OBSBUS6           8
1349 #define AM_HAL_PIN_70_RESERVED9         9
1350 #define AM_HAL_PIN_70_RESERVED10        10
1351 #define AM_HAL_PIN_70_FPIO              11
1352 #define AM_HAL_PIN_70_RESERVED12        12
1353 #define AM_HAL_PIN_70_RESERVED13        13
1354 #define AM_HAL_PIN_70_RESERVED14        14
1355 #define AM_HAL_PIN_70_RESERVED15        15
1356 
1357 // PIN 71 functions
1358 #define AM_HAL_PIN_71_MSPI0_7           0
1359 #define AM_HAL_PIN_71_CLKOUT            1
1360 #define AM_HAL_PIN_71_SWTRACE1          2
1361 #define AM_HAL_PIN_71_GPIO              3
1362 #define AM_HAL_PIN_71_UART0CTS          4
1363 #define AM_HAL_PIN_71_DISP_D7           5
1364 #define AM_HAL_PIN_71_CT71              6
1365 #define AM_HAL_PIN_71_NCE71             7
1366 #define AM_HAL_PIN_71_OBSBUS7           8
1367 #define AM_HAL_PIN_71_RESERVED9         9
1368 #define AM_HAL_PIN_71_RESERVED10        10
1369 #define AM_HAL_PIN_71_FPIO              11
1370 #define AM_HAL_PIN_71_RESERVED12        12
1371 #define AM_HAL_PIN_71_RESERVED13        13
1372 #define AM_HAL_PIN_71_RESERVED14        14
1373 #define AM_HAL_PIN_71_RESERVED15        15
1374 
1375 // PIN 72 functions
1376 #define AM_HAL_PIN_72_MSPI0_8           0
1377 #define AM_HAL_PIN_72_CLKOUT            1
1378 #define AM_HAL_PIN_72_SWTRACE2          2
1379 #define AM_HAL_PIN_72_GPIO              3
1380 #define AM_HAL_PIN_72_UART0TX           4
1381 #define AM_HAL_PIN_72_DISP_D8           5
1382 #define AM_HAL_PIN_72_CT72              6
1383 #define AM_HAL_PIN_72_NCE72             7
1384 #define AM_HAL_PIN_72_OBSBUS8           8
1385 #define AM_HAL_PIN_72_VCMPO             9
1386 #define AM_HAL_PIN_72_RESERVED10        10
1387 #define AM_HAL_PIN_72_FPIO              11
1388 #define AM_HAL_PIN_72_RESERVED12        12
1389 #define AM_HAL_PIN_72_RESERVED13        13
1390 #define AM_HAL_PIN_72_RESERVED14        14
1391 #define AM_HAL_PIN_72_RESERVED15        15
1392 
1393 // PIN 73 functions
1394 #define AM_HAL_PIN_73_MSPI0_9           0
1395 #define AM_HAL_PIN_73_RESERVED1         1
1396 #define AM_HAL_PIN_73_SWTRACE3          2
1397 #define AM_HAL_PIN_73_GPIO              3
1398 #define AM_HAL_PIN_73_UART2TX           4
1399 #define AM_HAL_PIN_73_DISP_D9           5
1400 #define AM_HAL_PIN_73_CT73              6
1401 #define AM_HAL_PIN_73_NCE73             7
1402 #define AM_HAL_PIN_73_OBSBUS9           8
1403 #define AM_HAL_PIN_73_RESERVED9         9
1404 #define AM_HAL_PIN_73_RESERVED10        10
1405 #define AM_HAL_PIN_73_FPIO              11
1406 #define AM_HAL_PIN_73_RESERVED12        12
1407 #define AM_HAL_PIN_73_RESERVED13        13
1408 #define AM_HAL_PIN_73_RESERVED14        14
1409 #define AM_HAL_PIN_73_RESERVED15        15
1410 
1411 // PIN 74 functions
1412 #define AM_HAL_PIN_74_MSPI2_0           0
1413 #define AM_HAL_PIN_74_DISP_QSPI_D0_OUT  1
1414 #define AM_HAL_PIN_74_DISP_QSPI_D0      2
1415 #define AM_HAL_PIN_74_GPIO              3
1416 #define AM_HAL_PIN_74_UART0RX           4
1417 #define AM_HAL_PIN_74_DISP_D10          5
1418 #define AM_HAL_PIN_74_CT74              6
1419 #define AM_HAL_PIN_74_NCE74             7
1420 #define AM_HAL_PIN_74_OBSBUS10          8
1421 #define AM_HAL_PIN_74_DISP_SPI_SD       9
1422 #define AM_HAL_PIN_74_DISP_SPI_SDO      10
1423 #define AM_HAL_PIN_74_FPIO              11
1424 #define AM_HAL_PIN_74_RESERVED12        12
1425 #define AM_HAL_PIN_74_RESERVED13        13
1426 #define AM_HAL_PIN_74_RESERVED14        14
1427 #define AM_HAL_PIN_74_RESERVED15        15
1428 
1429 // PIN 75 functions
1430 #define AM_HAL_PIN_75_MSPI2_1           0
1431 #define AM_HAL_PIN_75_32KHzXT           1
1432 #define AM_HAL_PIN_75_DISP_QSPI_D1      2
1433 #define AM_HAL_PIN_75_GPIO              3
1434 #define AM_HAL_PIN_75_UART2RX           4
1435 #define AM_HAL_PIN_75_DISP_D11          5
1436 #define AM_HAL_PIN_75_CT75              6
1437 #define AM_HAL_PIN_75_NCE75             7
1438 #define AM_HAL_PIN_75_OBSBUS11          8
1439 #define AM_HAL_PIN_75_DISP_SPI_DCX      9
1440 #define AM_HAL_PIN_75_RESERVED10        10
1441 #define AM_HAL_PIN_75_FPIO              11
1442 #define AM_HAL_PIN_75_RESERVED12        12
1443 #define AM_HAL_PIN_75_RESERVED13        13
1444 #define AM_HAL_PIN_75_RESERVED14        14
1445 #define AM_HAL_PIN_75_RESERVED15        15
1446 
1447 // PIN 76 functions
1448 #define AM_HAL_PIN_76_MSPI2_2           0
1449 #define AM_HAL_PIN_76_32KHzXT           1
1450 #define AM_HAL_PIN_76_DISP_QSPI_D2      2
1451 #define AM_HAL_PIN_76_GPIO              3
1452 #define AM_HAL_PIN_76_UART0RTS          4
1453 #define AM_HAL_PIN_76_DISP_D12          5
1454 #define AM_HAL_PIN_76_CT76              6
1455 #define AM_HAL_PIN_76_NCE76             7
1456 #define AM_HAL_PIN_76_OBSBUS12          8
1457 #define AM_HAL_PIN_76_RESERVED9         9
1458 #define AM_HAL_PIN_76_RESERVED10        10
1459 #define AM_HAL_PIN_76_FPIO              11
1460 #define AM_HAL_PIN_76_RESERVED12        12
1461 #define AM_HAL_PIN_76_RESERVED13        13
1462 #define AM_HAL_PIN_76_RESERVED14        14
1463 #define AM_HAL_PIN_76_RESERVED15        15
1464 
1465 // PIN 77 functions
1466 #define AM_HAL_PIN_77_MSPI2_3           0
1467 #define AM_HAL_PIN_77_RESERVED1         1
1468 #define AM_HAL_PIN_77_DISP_QSPI_D3      2
1469 #define AM_HAL_PIN_77_GPIO              3
1470 #define AM_HAL_PIN_77_UART0CTS          4
1471 #define AM_HAL_PIN_77_DISP_D13          5
1472 #define AM_HAL_PIN_77_CT77              6
1473 #define AM_HAL_PIN_77_NCE77             7
1474 #define AM_HAL_PIN_77_OBSBUS13          8
1475 #define AM_HAL_PIN_77_RESERVED9         9
1476 #define AM_HAL_PIN_77_RESERVED10        10
1477 #define AM_HAL_PIN_77_FPIO              11
1478 #define AM_HAL_PIN_77_RESERVED12        12
1479 #define AM_HAL_PIN_77_RESERVED13        13
1480 #define AM_HAL_PIN_77_RESERVED14        14
1481 #define AM_HAL_PIN_77_RESERVED15        15
1482 
1483 // PIN 78 functions
1484 #define AM_HAL_PIN_78_MSPI2_4           0
1485 #define AM_HAL_PIN_78_RESERVED1         1
1486 #define AM_HAL_PIN_78_DISP_QSPI_SCK     2
1487 #define AM_HAL_PIN_78_GPIO              3
1488 #define AM_HAL_PIN_78_UART0TX           4
1489 #define AM_HAL_PIN_78_DISP_D14          5
1490 #define AM_HAL_PIN_78_CT78              6
1491 #define AM_HAL_PIN_78_NCE78             7
1492 #define AM_HAL_PIN_78_OBSBUS14          8
1493 #define AM_HAL_PIN_78_DISP_SPI_SCK      9
1494 #define AM_HAL_PIN_78_RESERVED10        10
1495 #define AM_HAL_PIN_78_FPIO              11
1496 #define AM_HAL_PIN_78_RESERVED12        12
1497 #define AM_HAL_PIN_78_RESERVED13        13
1498 #define AM_HAL_PIN_78_RESERVED14        14
1499 #define AM_HAL_PIN_78_RESERVED15        15
1500 
1501 // PIN 79 functions
1502 #define AM_HAL_PIN_79_MSPI2_5           0
1503 #define AM_HAL_PIN_79_RESERVED1         1
1504 #define AM_HAL_PIN_79_SDIF_DAT4         2
1505 #define AM_HAL_PIN_79_GPIO              3
1506 #define AM_HAL_PIN_79_SWO               4
1507 #define AM_HAL_PIN_79_DISP_VS           5
1508 #define AM_HAL_PIN_79_CT79              6
1509 #define AM_HAL_PIN_79_NCE79             7
1510 #define AM_HAL_PIN_79_OBSBUS15          8
1511 #define AM_HAL_PIN_79_DISP_SPI_SDI      9
1512 #define AM_HAL_PIN_79_RESERVED10        10
1513 #define AM_HAL_PIN_79_FPIO              11
1514 #define AM_HAL_PIN_79_RESERVED12        12
1515 #define AM_HAL_PIN_79_RESERVED13        13
1516 #define AM_HAL_PIN_79_RESERVED14        14
1517 #define AM_HAL_PIN_79_RESERVED15        15
1518 
1519 // PIN 80 functions
1520 #define AM_HAL_PIN_80_MSPI2_6           0
1521 #define AM_HAL_PIN_80_CLKOUT            1
1522 #define AM_HAL_PIN_80_SDIF_DAT5         2
1523 #define AM_HAL_PIN_80_GPIO              3
1524 #define AM_HAL_PIN_80_SWTRACE0          4
1525 #define AM_HAL_PIN_80_DISP_HS           5
1526 #define AM_HAL_PIN_80_CT80              6
1527 #define AM_HAL_PIN_80_NCE80             7
1528 #define AM_HAL_PIN_80_OBSBUS0           8
1529 #define AM_HAL_PIN_80_RESERVED9         9
1530 #define AM_HAL_PIN_80_RESERVED10        10
1531 #define AM_HAL_PIN_80_FPIO              11
1532 #define AM_HAL_PIN_80_RESERVED12        12
1533 #define AM_HAL_PIN_80_RESERVED13        13
1534 #define AM_HAL_PIN_80_RESERVED14        14
1535 #define AM_HAL_PIN_80_RESERVED15        15
1536 
1537 // PIN 81 functions
1538 #define AM_HAL_PIN_81_MSPI2_7           0
1539 #define AM_HAL_PIN_81_CLKOUT            1
1540 #define AM_HAL_PIN_81_SDIF_DAT6         2
1541 #define AM_HAL_PIN_81_GPIO              3
1542 #define AM_HAL_PIN_81_SWTRACE1          4
1543 #define AM_HAL_PIN_81_DISP_DE           5
1544 #define AM_HAL_PIN_81_CT81              6
1545 #define AM_HAL_PIN_81_NCE81             7
1546 #define AM_HAL_PIN_81_OBSBUS1           8
1547 #define AM_HAL_PIN_81_RESERVED9         9
1548 #define AM_HAL_PIN_81_RESERVED10        10
1549 #define AM_HAL_PIN_81_FPIO              11
1550 #define AM_HAL_PIN_81_RESERVED12        12
1551 #define AM_HAL_PIN_81_RESERVED13        13
1552 #define AM_HAL_PIN_81_RESERVED14        14
1553 #define AM_HAL_PIN_81_RESERVED15        15
1554 
1555 // PIN 82 functions
1556 #define AM_HAL_PIN_82_MSPI2_8           0
1557 #define AM_HAL_PIN_82_32KHzXT           1
1558 #define AM_HAL_PIN_82_SDIF_DAT7         2
1559 #define AM_HAL_PIN_82_GPIO              3
1560 #define AM_HAL_PIN_82_SWTRACE2          4
1561 #define AM_HAL_PIN_82_DISP_PCLK         5
1562 #define AM_HAL_PIN_82_CT82              6
1563 #define AM_HAL_PIN_82_NCE82             7
1564 #define AM_HAL_PIN_82_OBSBUS2           8
1565 #define AM_HAL_PIN_82_RESERVED9         9
1566 #define AM_HAL_PIN_82_RESERVED10        10
1567 #define AM_HAL_PIN_82_FPIO              11
1568 #define AM_HAL_PIN_82_RESERVED12        12
1569 #define AM_HAL_PIN_82_RESERVED13        13
1570 #define AM_HAL_PIN_82_RESERVED14        14
1571 #define AM_HAL_PIN_82_RESERVED15        15
1572 
1573 // PIN 83 functions
1574 #define AM_HAL_PIN_83_MSPI2_9           0
1575 #define AM_HAL_PIN_83_32KHzXT           1
1576 #define AM_HAL_PIN_83_SDIF_CMD          2
1577 #define AM_HAL_PIN_83_GPIO              3
1578 #define AM_HAL_PIN_83_SWTRACE3          4
1579 #define AM_HAL_PIN_83_DISP_SD           5
1580 #define AM_HAL_PIN_83_CT83              6
1581 #define AM_HAL_PIN_83_NCE83             7
1582 #define AM_HAL_PIN_83_OBSBUS3           8
1583 #define AM_HAL_PIN_83_RESERVED9         9
1584 #define AM_HAL_PIN_83_RESERVED10        10
1585 #define AM_HAL_PIN_83_FPIO              11
1586 #define AM_HAL_PIN_83_RESERVED12        12
1587 #define AM_HAL_PIN_83_RESERVED13        13
1588 #define AM_HAL_PIN_83_RESERVED14        14
1589 #define AM_HAL_PIN_83_RESERVED15        15
1590 
1591 // PIN 84 functions
1592 #define AM_HAL_PIN_84_RESERVED0         0
1593 #define AM_HAL_PIN_84_RESERVED1         1
1594 #define AM_HAL_PIN_84_SDIF_DAT0         2
1595 #define AM_HAL_PIN_84_GPIO              3
1596 #define AM_HAL_PIN_84_RESERVED4         4
1597 #define AM_HAL_PIN_84_RESERVED5         5
1598 #define AM_HAL_PIN_84_CT84              6
1599 #define AM_HAL_PIN_84_NCE84             7
1600 #define AM_HAL_PIN_84_OBSBUS4           8
1601 #define AM_HAL_PIN_84_RESERVED9         9
1602 #define AM_HAL_PIN_84_RESERVED10        10
1603 #define AM_HAL_PIN_84_FPIO              11
1604 #define AM_HAL_PIN_84_RESERVED12        12
1605 #define AM_HAL_PIN_84_RESERVED13        13
1606 #define AM_HAL_PIN_84_RESERVED14        14
1607 #define AM_HAL_PIN_84_RESERVED15        15
1608 
1609 // PIN 85 functions
1610 #define AM_HAL_PIN_85_RESERVED0         0
1611 #define AM_HAL_PIN_85_RESERVED1         1
1612 #define AM_HAL_PIN_85_SDIF_DAT1         2
1613 #define AM_HAL_PIN_85_GPIO              3
1614 #define AM_HAL_PIN_85_RESERVED4         4
1615 #define AM_HAL_PIN_85_RESERVED5         5
1616 #define AM_HAL_PIN_85_CT85              6
1617 #define AM_HAL_PIN_85_NCE85             7
1618 #define AM_HAL_PIN_85_OBSBUS5           8
1619 #define AM_HAL_PIN_85_RESERVED9         9
1620 #define AM_HAL_PIN_85_RESERVED10        10
1621 #define AM_HAL_PIN_85_FPIO              11
1622 #define AM_HAL_PIN_85_RESERVED12        12
1623 #define AM_HAL_PIN_85_RESERVED13        13
1624 #define AM_HAL_PIN_85_RESERVED14        14
1625 #define AM_HAL_PIN_85_RESERVED15        15
1626 
1627 // PIN 86 functions
1628 #define AM_HAL_PIN_86_RESERVED0         0
1629 #define AM_HAL_PIN_86_RESERVED1         1
1630 #define AM_HAL_PIN_86_SDIF_DAT2         2
1631 #define AM_HAL_PIN_86_GPIO              3
1632 #define AM_HAL_PIN_86_RESERVED4         4
1633 #define AM_HAL_PIN_86_RESERVED5         5
1634 #define AM_HAL_PIN_86_CT86              6
1635 #define AM_HAL_PIN_86_NCE86             7
1636 #define AM_HAL_PIN_86_OBSBUS6           8
1637 #define AM_HAL_PIN_86_RESERVED9         9
1638 #define AM_HAL_PIN_86_RESERVED10        10
1639 #define AM_HAL_PIN_86_FPIO              11
1640 #define AM_HAL_PIN_86_RESERVED12        12
1641 #define AM_HAL_PIN_86_RESERVED13        13
1642 #define AM_HAL_PIN_86_RESERVED14        14
1643 #define AM_HAL_PIN_86_RESERVED15        15
1644 
1645 // PIN 87 functions
1646 #define AM_HAL_PIN_87_RESERVED0         0
1647 #define AM_HAL_PIN_87_RESERVED1         1
1648 #define AM_HAL_PIN_87_SDIF_DAT3         2
1649 #define AM_HAL_PIN_87_GPIO              3
1650 #define AM_HAL_PIN_87_RESERVED4         4
1651 #define AM_HAL_PIN_87_RESERVED5         5
1652 #define AM_HAL_PIN_87_CT87              6
1653 #define AM_HAL_PIN_87_NCE87             7
1654 #define AM_HAL_PIN_87_OBSBUS7           8
1655 #define AM_HAL_PIN_87_DISP_TE           9
1656 #define AM_HAL_PIN_87_RESERVED10        10
1657 #define AM_HAL_PIN_87_FPIO              11
1658 #define AM_HAL_PIN_87_RESERVED12        12
1659 #define AM_HAL_PIN_87_RESERVED13        13
1660 #define AM_HAL_PIN_87_RESERVED14        14
1661 #define AM_HAL_PIN_87_RESERVED15        15
1662 
1663 // PIN 88 functions
1664 #define AM_HAL_PIN_88_RESERVED0         0
1665 #define AM_HAL_PIN_88_RESERVED1         1
1666 #define AM_HAL_PIN_88_SDIF_CLKOUT       2
1667 #define AM_HAL_PIN_88_GPIO              3
1668 #define AM_HAL_PIN_88_RESERVED4         4
1669 #define AM_HAL_PIN_88_RESERVED5         5
1670 #define AM_HAL_PIN_88_CT88              6
1671 #define AM_HAL_PIN_88_NCE88             7
1672 #define AM_HAL_PIN_88_OBSBUS8           8
1673 #define AM_HAL_PIN_88_RESERVED9         9
1674 #define AM_HAL_PIN_88_RESERVED10        10
1675 #define AM_HAL_PIN_88_FPIO              11
1676 #define AM_HAL_PIN_88_RESERVED12        12
1677 #define AM_HAL_PIN_88_RESERVED13        13
1678 #define AM_HAL_PIN_88_RESERVED14        14
1679 #define AM_HAL_PIN_88_RESERVED15        15
1680 
1681 // PIN 89 functions
1682 #define AM_HAL_PIN_89_RESERVED0         0
1683 #define AM_HAL_PIN_89_RESERVED1         1
1684 #define AM_HAL_PIN_89_RESERVED2         2
1685 #define AM_HAL_PIN_89_GPIO              3
1686 #define AM_HAL_PIN_89_RESERVED4         4
1687 #define AM_HAL_PIN_89_DISP_CM           5
1688 #define AM_HAL_PIN_89_CT89              6
1689 #define AM_HAL_PIN_89_NCE89             7
1690 #define AM_HAL_PIN_89_OBSBUS9           8
1691 #define AM_HAL_PIN_89_RESERVED9         9
1692 #define AM_HAL_PIN_89_RESERVED10        10
1693 #define AM_HAL_PIN_89_FPIO              11
1694 #define AM_HAL_PIN_89_RESERVED12        12
1695 #define AM_HAL_PIN_89_RESERVED13        13
1696 #define AM_HAL_PIN_89_RESERVED14        14
1697 #define AM_HAL_PIN_89_RESERVED15        15
1698 
1699 // PIN 90 functions
1700 #define AM_HAL_PIN_90_RESERVED0         0
1701 #define AM_HAL_PIN_90_RESERVED1         1
1702 #define AM_HAL_PIN_90_RESERVED2         2
1703 #define AM_HAL_PIN_90_GPIO              3
1704 #define AM_HAL_PIN_90_RESERVED4         4
1705 #define AM_HAL_PIN_90_RESERVED5         5
1706 #define AM_HAL_PIN_90_CT90              6
1707 #define AM_HAL_PIN_90_NCE90             7
1708 #define AM_HAL_PIN_90_OBSBUS10          8
1709 #define AM_HAL_PIN_90_VCMPO             9
1710 #define AM_HAL_PIN_90_RESERVED10        10
1711 #define AM_HAL_PIN_90_FPIO              11
1712 #define AM_HAL_PIN_90_RESERVED12        12
1713 #define AM_HAL_PIN_90_RESERVED13        13
1714 #define AM_HAL_PIN_90_RESERVED14        14
1715 #define AM_HAL_PIN_90_RESERVED15        15
1716 
1717 // PIN 91 functions
1718 #define AM_HAL_PIN_91_RESERVED0         0
1719 #define AM_HAL_PIN_91_RESERVED1         1
1720 #define AM_HAL_PIN_91_RESERVED2         2
1721 #define AM_HAL_PIN_91_GPIO              3
1722 #define AM_HAL_PIN_91_RESERVED4         4
1723 #define AM_HAL_PIN_91_RESERVED5         5
1724 #define AM_HAL_PIN_91_CT91              6
1725 #define AM_HAL_PIN_91_NCE91             7
1726 #define AM_HAL_PIN_91_OBSBUS11          8
1727 #define AM_HAL_PIN_91_VCMPO             9
1728 #define AM_HAL_PIN_91_RESERVED10        10
1729 #define AM_HAL_PIN_91_FPIO              11
1730 #define AM_HAL_PIN_91_RESERVED12        12
1731 #define AM_HAL_PIN_91_RESERVED13        13
1732 #define AM_HAL_PIN_91_RESERVED14        14
1733 #define AM_HAL_PIN_91_RESERVED15        15
1734 
1735 // PIN 92 functions
1736 #define AM_HAL_PIN_92_RESERVED0         0
1737 #define AM_HAL_PIN_92_RESERVED1         1
1738 #define AM_HAL_PIN_92_RESERVED2         2
1739 #define AM_HAL_PIN_92_GPIO              3
1740 #define AM_HAL_PIN_92_RESERVED4         4
1741 #define AM_HAL_PIN_92_RESERVED5         5
1742 #define AM_HAL_PIN_92_CT92              6
1743 #define AM_HAL_PIN_92_NCE92             7
1744 #define AM_HAL_PIN_92_OBSBUS12          8
1745 #define AM_HAL_PIN_92_VCMPO             9
1746 #define AM_HAL_PIN_92_RESERVED10        10
1747 #define AM_HAL_PIN_92_FPIO              11
1748 #define AM_HAL_PIN_92_RESERVED12        12
1749 #define AM_HAL_PIN_92_RESERVED13        13
1750 #define AM_HAL_PIN_92_RESERVED14        14
1751 #define AM_HAL_PIN_92_RESERVED15        15
1752 
1753 // PIN 93 functions
1754 #define AM_HAL_PIN_93_MSPI2_9           0
1755 #define AM_HAL_PIN_93_RESERVED1         1
1756 #define AM_HAL_PIN_93_RESERVED2         2
1757 #define AM_HAL_PIN_93_GPIO              3
1758 #define AM_HAL_PIN_93_RESERVED4         4
1759 #define AM_HAL_PIN_93_RESERVED5         5
1760 #define AM_HAL_PIN_93_CT93              6
1761 #define AM_HAL_PIN_93_NCE93             7
1762 #define AM_HAL_PIN_93_OBSBUS13          8
1763 #define AM_HAL_PIN_93_VCMPO             9
1764 #define AM_HAL_PIN_93_RESERVED10        10
1765 #define AM_HAL_PIN_93_FPIO              11
1766 #define AM_HAL_PIN_93_RESERVED12        12
1767 #define AM_HAL_PIN_93_RESERVED13        13
1768 #define AM_HAL_PIN_93_RESERVED14        14
1769 #define AM_HAL_PIN_93_RESERVED15        15
1770 
1771 // PIN 94 functions
1772 #define AM_HAL_PIN_94_RESERVED0         0
1773 #define AM_HAL_PIN_94_RESERVED1         1
1774 #define AM_HAL_PIN_94_RESERVED2         2
1775 #define AM_HAL_PIN_94_GPIO              3
1776 #define AM_HAL_PIN_94_RESERVED4         4
1777 #define AM_HAL_PIN_94_RESERVED5         5
1778 #define AM_HAL_PIN_94_CT94              6
1779 #define AM_HAL_PIN_94_NCE94             7
1780 #define AM_HAL_PIN_94_OBSBUS14          8
1781 #define AM_HAL_PIN_94_VCMPO             9
1782 #define AM_HAL_PIN_94_RESERVED10        10
1783 #define AM_HAL_PIN_94_FPIO              11
1784 #define AM_HAL_PIN_94_RESERVED12        12
1785 #define AM_HAL_PIN_94_RESERVED13        13
1786 #define AM_HAL_PIN_94_RESERVED14        14
1787 #define AM_HAL_PIN_94_RESERVED15        15
1788 
1789 // PIN 95 functions
1790 #define AM_HAL_PIN_95_RESERVED0         0
1791 #define AM_HAL_PIN_95_RESERVED1         1
1792 #define AM_HAL_PIN_95_RESERVED2         2
1793 #define AM_HAL_PIN_95_GPIO              3
1794 #define AM_HAL_PIN_95_RESERVED4         4
1795 #define AM_HAL_PIN_95_RESERVED5         5
1796 #define AM_HAL_PIN_95_CT95              6
1797 #define AM_HAL_PIN_95_NCE95             7
1798 #define AM_HAL_PIN_95_OBSBUS15          8
1799 #define AM_HAL_PIN_95_RESERVED9         9
1800 #define AM_HAL_PIN_95_RESERVED10        10
1801 #define AM_HAL_PIN_95_FPIO              11
1802 #define AM_HAL_PIN_95_RESERVED12        12
1803 #define AM_HAL_PIN_95_RESERVED13        13
1804 #define AM_HAL_PIN_95_RESERVED14        14
1805 #define AM_HAL_PIN_95_RESERVED15        15
1806 
1807 // PIN 96 functions
1808 #define AM_HAL_PIN_96_RESERVED0         0
1809 #define AM_HAL_PIN_96_RESERVED1         1
1810 #define AM_HAL_PIN_96_RESERVED2         2
1811 #define AM_HAL_PIN_96_GPIO              3
1812 #define AM_HAL_PIN_96_RESERVED4         4
1813 #define AM_HAL_PIN_96_RESERVED5         5
1814 #define AM_HAL_PIN_96_CT96              6
1815 #define AM_HAL_PIN_96_NCE96             7
1816 #define AM_HAL_PIN_96_OBSBUS0           8
1817 #define AM_HAL_PIN_96_RESERVED9         9
1818 #define AM_HAL_PIN_96_RESERVED10        10
1819 #define AM_HAL_PIN_96_FPIO              11
1820 #define AM_HAL_PIN_96_RESERVED12        12
1821 #define AM_HAL_PIN_96_RESERVED13        13
1822 #define AM_HAL_PIN_96_RESERVED14        14
1823 #define AM_HAL_PIN_96_RESERVED15        15
1824 
1825 // PIN 97 functions
1826 #define AM_HAL_PIN_97_RESERVED0         0
1827 #define AM_HAL_PIN_97_RESERVED1         1
1828 #define AM_HAL_PIN_97_RESERVED2         2
1829 #define AM_HAL_PIN_97_GPIO              3
1830 #define AM_HAL_PIN_97_RESERVED4         4
1831 #define AM_HAL_PIN_97_RESERVED5         5
1832 #define AM_HAL_PIN_97_CT97              6
1833 #define AM_HAL_PIN_97_NCE97             7
1834 #define AM_HAL_PIN_97_OBSBUS1           8
1835 #define AM_HAL_PIN_97_RESERVED9         9
1836 #define AM_HAL_PIN_97_RESERVED10        10
1837 #define AM_HAL_PIN_97_FPIO              11
1838 #define AM_HAL_PIN_97_RESERVED12        12
1839 #define AM_HAL_PIN_97_RESERVED13        13
1840 #define AM_HAL_PIN_97_RESERVED14        14
1841 #define AM_HAL_PIN_97_RESERVED15        15
1842 
1843 // PIN 98 functions
1844 #define AM_HAL_PIN_98_RESERVED0         0
1845 #define AM_HAL_PIN_98_RESERVED1         1
1846 #define AM_HAL_PIN_98_RESERVED2         2
1847 #define AM_HAL_PIN_98_GPIO              3
1848 #define AM_HAL_PIN_98_RESERVED4         4
1849 #define AM_HAL_PIN_98_RESERVED5         5
1850 #define AM_HAL_PIN_98_CT98              6
1851 #define AM_HAL_PIN_98_NCE98             7
1852 #define AM_HAL_PIN_98_OBSBUS2           8
1853 #define AM_HAL_PIN_98_RESERVED9         9
1854 #define AM_HAL_PIN_98_RESERVED10        10
1855 #define AM_HAL_PIN_98_FPIO              11
1856 #define AM_HAL_PIN_98_RESERVED12        12
1857 #define AM_HAL_PIN_98_RESERVED13        13
1858 #define AM_HAL_PIN_98_RESERVED14        14
1859 #define AM_HAL_PIN_98_RESERVED15        15
1860 
1861 // PIN 99 functions
1862 #define AM_HAL_PIN_99_RESERVED0         0
1863 #define AM_HAL_PIN_99_RESERVED1         1
1864 #define AM_HAL_PIN_99_RESERVED2         2
1865 #define AM_HAL_PIN_99_GPIO              3
1866 #define AM_HAL_PIN_99_RESERVED4         4
1867 #define AM_HAL_PIN_99_RESERVED5         5
1868 #define AM_HAL_PIN_99_CT99              6
1869 #define AM_HAL_PIN_99_NCE99             7
1870 #define AM_HAL_PIN_99_OBSBUS3           8
1871 #define AM_HAL_PIN_99_RESERVED9         9
1872 #define AM_HAL_PIN_99_RESERVED10        10
1873 #define AM_HAL_PIN_99_FPIO              11
1874 #define AM_HAL_PIN_99_RESERVED12        12
1875 #define AM_HAL_PIN_99_RESERVED13        13
1876 #define AM_HAL_PIN_99_RESERVED14        14
1877 #define AM_HAL_PIN_99_RESERVED15        15
1878 
1879 // PIN 100 functions
1880 #define AM_HAL_PIN_100_RESERVED0        0
1881 #define AM_HAL_PIN_100_RESERVED1        1
1882 #define AM_HAL_PIN_100_RESERVED2        2
1883 #define AM_HAL_PIN_100_GPIO             3
1884 #define AM_HAL_PIN_100_RESERVED4        4
1885 #define AM_HAL_PIN_100_RESERVED5        5
1886 #define AM_HAL_PIN_100_CT100            6
1887 #define AM_HAL_PIN_100_NCE100           7
1888 #define AM_HAL_PIN_100_OBSBUS4          8
1889 #define AM_HAL_PIN_100_RESERVED9        9
1890 #define AM_HAL_PIN_100_RESERVED10       10
1891 #define AM_HAL_PIN_100_FPIO             11
1892 #define AM_HAL_PIN_100_RESERVED12       12
1893 #define AM_HAL_PIN_100_RESERVED13       13
1894 #define AM_HAL_PIN_100_RESERVED14       14
1895 #define AM_HAL_PIN_100_RESERVED15       15
1896 
1897 // PIN 101 functions
1898 #define AM_HAL_PIN_101_RESERVED0        0
1899 #define AM_HAL_PIN_101_RESERVED1        1
1900 #define AM_HAL_PIN_101_RESERVED2        2
1901 #define AM_HAL_PIN_101_GPIO             3
1902 #define AM_HAL_PIN_101_RESERVED4        4
1903 #define AM_HAL_PIN_101_RESERVED5        5
1904 #define AM_HAL_PIN_101_CT101            6
1905 #define AM_HAL_PIN_101_NCE101           7
1906 #define AM_HAL_PIN_101_OBSBUS5          8
1907 #define AM_HAL_PIN_101_RESERVED9        9
1908 #define AM_HAL_PIN_101_RESERVED10       10
1909 #define AM_HAL_PIN_101_FPIO             11
1910 #define AM_HAL_PIN_101_RESERVED12       12
1911 #define AM_HAL_PIN_101_RESERVED13       13
1912 #define AM_HAL_PIN_101_RESERVED14       14
1913 #define AM_HAL_PIN_101_RESERVED15       15
1914 
1915 // PIN 102 functions
1916 #define AM_HAL_PIN_102_RESERVED0        0
1917 #define AM_HAL_PIN_102_RESERVED1        1
1918 #define AM_HAL_PIN_102_RESERVED2        2
1919 #define AM_HAL_PIN_102_GPIO             3
1920 #define AM_HAL_PIN_102_RESERVED4        4
1921 #define AM_HAL_PIN_102_RESERVED5        5
1922 #define AM_HAL_PIN_102_CT102            6
1923 #define AM_HAL_PIN_102_NCE102           7
1924 #define AM_HAL_PIN_102_OBSBUS6          8
1925 #define AM_HAL_PIN_102_RESERVED9        9
1926 #define AM_HAL_PIN_102_RESERVED10       10
1927 #define AM_HAL_PIN_102_FPIO             11
1928 #define AM_HAL_PIN_102_RESERVED12       12
1929 #define AM_HAL_PIN_102_RESERVED13       13
1930 #define AM_HAL_PIN_102_RESERVED14       14
1931 #define AM_HAL_PIN_102_RESERVED15       15
1932 
1933 // PIN 103 functions
1934 #define AM_HAL_PIN_103_RESERVED0        0
1935 #define AM_HAL_PIN_103_RESERVED1        1
1936 #define AM_HAL_PIN_103_RESERVED2        2
1937 #define AM_HAL_PIN_103_GPIO             3
1938 #define AM_HAL_PIN_103_RESERVED4        4
1939 #define AM_HAL_PIN_103_RESERVED5        5
1940 #define AM_HAL_PIN_103_CT103            6
1941 #define AM_HAL_PIN_103_NCE103           7
1942 #define AM_HAL_PIN_103_OBSBUS7          8
1943 #define AM_HAL_PIN_103_RESERVED9        9
1944 #define AM_HAL_PIN_103_RESERVED10       10
1945 #define AM_HAL_PIN_103_FPIO             11
1946 #define AM_HAL_PIN_103_RESERVED12       12
1947 #define AM_HAL_PIN_103_RESERVED13       13
1948 #define AM_HAL_PIN_103_RESERVED14       14
1949 #define AM_HAL_PIN_103_RESERVED15       15
1950 
1951 // PIN 104 functions
1952 #define AM_HAL_PIN_104_MSPI1_9          0
1953 #define AM_HAL_PIN_104_RESERVED1        1
1954 #define AM_HAL_PIN_104_RESERVED2        2
1955 #define AM_HAL_PIN_104_GPIO             3
1956 #define AM_HAL_PIN_104_RESERVED4        4
1957 #define AM_HAL_PIN_104_RESERVED5        5
1958 #define AM_HAL_PIN_104_CT104            6
1959 #define AM_HAL_PIN_104_NCE104           7
1960 #define AM_HAL_PIN_104_OBSBUS8          8
1961 #define AM_HAL_PIN_104_RESERVED9        9
1962 #define AM_HAL_PIN_104_RESERVED10       10
1963 #define AM_HAL_PIN_104_FPIO             11
1964 #define AM_HAL_PIN_104_RESERVED12       12
1965 #define AM_HAL_PIN_104_RESERVED13       13
1966 #define AM_HAL_PIN_104_RESERVED14       14
1967 #define AM_HAL_PIN_104_RESERVED15       15
1968 
1969 // PIN 105 functions
1970 #define AM_HAL_PIN_105_RESERVED0        0
1971 #define AM_HAL_PIN_105_RESERVED1        1
1972 #define AM_HAL_PIN_105_RESERVED2        2
1973 #define AM_HAL_PIN_105_GPIO             3
1974 #define AM_HAL_PIN_105_RESERVED4        4
1975 #define AM_HAL_PIN_105_RESERVED5        5
1976 #define AM_HAL_PIN_105_CT105            6
1977 #define AM_HAL_PIN_105_RESERVED7        7
1978 #define AM_HAL_PIN_105_OBSBUS9          8
1979 #define AM_HAL_PIN_105_RESERVED9        9
1980 #define AM_HAL_PIN_105_RESERVED10       10
1981 #define AM_HAL_PIN_105_RESERVED11       11
1982 #define AM_HAL_PIN_105_RESERVED12       12
1983 #define AM_HAL_PIN_105_RESERVED13       13
1984 #define AM_HAL_PIN_105_RESERVED14       14
1985 #define AM_HAL_PIN_105_RESERVED15       15
1986 
1987 // PIN 106 functions
1988 #define AM_HAL_PIN_106_RESERVED0        0
1989 #define AM_HAL_PIN_106_RESERVED1        1
1990 #define AM_HAL_PIN_106_RESERVED2        2
1991 #define AM_HAL_PIN_106_GPIO             3
1992 #define AM_HAL_PIN_106_RESERVED4        4
1993 #define AM_HAL_PIN_106_RESERVED5        5
1994 #define AM_HAL_PIN_106_CT106            6
1995 #define AM_HAL_PIN_106_RESERVED7        7
1996 #define AM_HAL_PIN_106_OBSBUS10         8
1997 #define AM_HAL_PIN_106_RESERVED9        9
1998 #define AM_HAL_PIN_106_RESERVED10       10
1999 #define AM_HAL_PIN_106_RESERVED11       11
2000 #define AM_HAL_PIN_106_RESERVED12       12
2001 #define AM_HAL_PIN_106_RESERVED13       13
2002 #define AM_HAL_PIN_106_RESERVED14       14
2003 #define AM_HAL_PIN_106_RESERVED15       15
2004 
2005 // PIN 107 functions
2006 #define AM_HAL_PIN_107_RESERVED0        0
2007 #define AM_HAL_PIN_107_RESERVED1        1
2008 #define AM_HAL_PIN_107_RESERVED2        2
2009 #define AM_HAL_PIN_107_GPIO             3
2010 #define AM_HAL_PIN_107_RESERVED4        4
2011 #define AM_HAL_PIN_107_RESERVED5        5
2012 #define AM_HAL_PIN_107_CT107            6
2013 #define AM_HAL_PIN_107_RESERVED7        7
2014 #define AM_HAL_PIN_107_OBSBUS11         8
2015 #define AM_HAL_PIN_107_RESERVED9        9
2016 #define AM_HAL_PIN_107_RESERVED10       10
2017 #define AM_HAL_PIN_107_RESERVED11       11
2018 #define AM_HAL_PIN_107_RESERVED12       12
2019 #define AM_HAL_PIN_107_RESERVED13       13
2020 #define AM_HAL_PIN_107_RESERVED14       14
2021 #define AM_HAL_PIN_107_RESERVED15       15
2022 
2023 // PIN 108 functions
2024 #define AM_HAL_PIN_108_RESERVED0        0
2025 #define AM_HAL_PIN_108_RESERVED1        1
2026 #define AM_HAL_PIN_108_RESERVED2        2
2027 #define AM_HAL_PIN_108_GPIO             3
2028 #define AM_HAL_PIN_108_RESERVED4        4
2029 #define AM_HAL_PIN_108_RESERVED5        5
2030 #define AM_HAL_PIN_108_CT108            6
2031 #define AM_HAL_PIN_108_RESERVED7        7
2032 #define AM_HAL_PIN_108_OBSBUS12         8
2033 #define AM_HAL_PIN_108_RESERVED9        9
2034 #define AM_HAL_PIN_108_RESERVED10       10
2035 #define AM_HAL_PIN_108_RESERVED11       11
2036 #define AM_HAL_PIN_108_RESERVED12       12
2037 #define AM_HAL_PIN_108_RESERVED13       13
2038 #define AM_HAL_PIN_108_RESERVED14       14
2039 #define AM_HAL_PIN_108_RESERVED15       15
2040 
2041 // PIN 109 functions
2042 #define AM_HAL_PIN_109_RESERVED0        0
2043 #define AM_HAL_PIN_109_RESERVED1        1
2044 #define AM_HAL_PIN_109_RESERVED2        2
2045 #define AM_HAL_PIN_109_GPIO             3
2046 #define AM_HAL_PIN_109_RESERVED4        4
2047 #define AM_HAL_PIN_109_RESERVED5        5
2048 #define AM_HAL_PIN_109_CT109            6
2049 #define AM_HAL_PIN_109_RESERVED7        7
2050 #define AM_HAL_PIN_109_OBSBUS13         8
2051 #define AM_HAL_PIN_109_RESERVED9        9
2052 #define AM_HAL_PIN_109_RESERVED10       10
2053 #define AM_HAL_PIN_109_RESERVED11       11
2054 #define AM_HAL_PIN_109_RESERVED12       12
2055 #define AM_HAL_PIN_109_RESERVED13       13
2056 #define AM_HAL_PIN_109_RESERVED14       14
2057 #define AM_HAL_PIN_109_RESERVED15       15
2058 
2059 // PIN 110 functions
2060 #define AM_HAL_PIN_110_RESERVED0        0
2061 #define AM_HAL_PIN_110_RESERVED1        1
2062 #define AM_HAL_PIN_110_RESERVED2        2
2063 #define AM_HAL_PIN_110_GPIO             3
2064 #define AM_HAL_PIN_110_RESERVED4        4
2065 #define AM_HAL_PIN_110_RESERVED5        5
2066 #define AM_HAL_PIN_110_CT110            6
2067 #define AM_HAL_PIN_110_RESERVED7        7
2068 #define AM_HAL_PIN_110_OBSBUS14         8
2069 #define AM_HAL_PIN_110_RESERVED9        9
2070 #define AM_HAL_PIN_110_RESERVED10       10
2071 #define AM_HAL_PIN_110_RESERVED11       11
2072 #define AM_HAL_PIN_110_RESERVED12       12
2073 #define AM_HAL_PIN_110_RESERVED13       13
2074 #define AM_HAL_PIN_110_RESERVED14       14
2075 #define AM_HAL_PIN_110_RESERVED15       15
2076 
2077 // PIN 111 functions
2078 #define AM_HAL_PIN_111_RESERVED0        0
2079 #define AM_HAL_PIN_111_RESERVED1        1
2080 #define AM_HAL_PIN_111_RESERVED2        2
2081 #define AM_HAL_PIN_111_GPIO             3
2082 #define AM_HAL_PIN_111_RESERVED4        4
2083 #define AM_HAL_PIN_111_RESERVED5        5
2084 #define AM_HAL_PIN_111_CT111            6
2085 #define AM_HAL_PIN_111_RESERVED7        7
2086 #define AM_HAL_PIN_111_OBSBUS15         8
2087 #define AM_HAL_PIN_111_RESERVED9        9
2088 #define AM_HAL_PIN_111_RESERVED10       10
2089 #define AM_HAL_PIN_111_RESERVED11       11
2090 #define AM_HAL_PIN_111_RESERVED12       12
2091 #define AM_HAL_PIN_111_RESERVED13       13
2092 #define AM_HAL_PIN_111_RESERVED14       14
2093 #define AM_HAL_PIN_111_RESERVED15       15
2094 
2095 // PIN 112 functions
2096 #define AM_HAL_PIN_112_RESERVED0        0
2097 #define AM_HAL_PIN_112_RESERVED1        1
2098 #define AM_HAL_PIN_112_RESERVED2        2
2099 #define AM_HAL_PIN_112_GPIO             3
2100 #define AM_HAL_PIN_112_RESERVED4        4
2101 #define AM_HAL_PIN_112_RESERVED5        5
2102 #define AM_HAL_PIN_112_CT112            6
2103 #define AM_HAL_PIN_112_RESERVED7        7
2104 #define AM_HAL_PIN_112_OBSBUS0          8
2105 #define AM_HAL_PIN_112_RESERVED9        9
2106 #define AM_HAL_PIN_112_RESERVED10       10
2107 #define AM_HAL_PIN_112_RESERVED11       11
2108 #define AM_HAL_PIN_112_RESERVED12       12
2109 #define AM_HAL_PIN_112_RESERVED13       13
2110 #define AM_HAL_PIN_112_RESERVED14       14
2111 #define AM_HAL_PIN_112_RESERVED15       15
2112 
2113 // PIN 113 functions
2114 #define AM_HAL_PIN_113_RESERVED0        0
2115 #define AM_HAL_PIN_113_RESERVED1        1
2116 #define AM_HAL_PIN_113_RESERVED2        2
2117 #define AM_HAL_PIN_113_GPIO             3
2118 #define AM_HAL_PIN_113_RESERVED4        4
2119 #define AM_HAL_PIN_113_RESERVED5        5
2120 #define AM_HAL_PIN_113_CT113            6
2121 #define AM_HAL_PIN_113_RESERVED7        7
2122 #define AM_HAL_PIN_113_OBSBUS1          8
2123 #define AM_HAL_PIN_113_RESERVED9        9
2124 #define AM_HAL_PIN_113_RESERVED10       10
2125 #define AM_HAL_PIN_113_RESERVED11       11
2126 #define AM_HAL_PIN_113_RESERVED12       12
2127 #define AM_HAL_PIN_113_RESERVED13       13
2128 #define AM_HAL_PIN_113_RESERVED14       14
2129 #define AM_HAL_PIN_113_RESERVED15       15
2130 
2131 // PIN 114 functions
2132 #define AM_HAL_PIN_114_RESERVED0        0
2133 #define AM_HAL_PIN_114_RESERVED1        1
2134 #define AM_HAL_PIN_114_RESERVED2        2
2135 #define AM_HAL_PIN_114_GPIO             3
2136 #define AM_HAL_PIN_114_RESERVED4        4
2137 #define AM_HAL_PIN_114_RESERVED5        5
2138 #define AM_HAL_PIN_114_CT114            6
2139 #define AM_HAL_PIN_114_RESERVED7        7
2140 #define AM_HAL_PIN_114_OBSBUS2          8
2141 #define AM_HAL_PIN_114_RESERVED9        9
2142 #define AM_HAL_PIN_114_RESERVED10       10
2143 #define AM_HAL_PIN_114_RESERVED11       11
2144 #define AM_HAL_PIN_114_RESERVED12       12
2145 #define AM_HAL_PIN_114_RESERVED13       13
2146 #define AM_HAL_PIN_114_RESERVED14       14
2147 #define AM_HAL_PIN_114_RESERVED15       15
2148 
2149 // PIN 115 functions
2150 #define AM_HAL_PIN_115_RESERVED0        0
2151 #define AM_HAL_PIN_115_RESERVED1        1
2152 #define AM_HAL_PIN_115_RESERVED2        2
2153 #define AM_HAL_PIN_115_GPIO             3
2154 #define AM_HAL_PIN_115_RESERVED4        4
2155 #define AM_HAL_PIN_115_RESERVED5        5
2156 #define AM_HAL_PIN_115_CT115            6
2157 #define AM_HAL_PIN_115_RESERVED7        7
2158 #define AM_HAL_PIN_115_OBSBUS3          8
2159 #define AM_HAL_PIN_115_RESERVED9        9
2160 #define AM_HAL_PIN_115_RESERVED10       10
2161 #define AM_HAL_PIN_115_RESERVED11       11
2162 #define AM_HAL_PIN_115_RESERVED12       12
2163 #define AM_HAL_PIN_115_RESERVED13       13
2164 #define AM_HAL_PIN_115_RESERVED14       14
2165 #define AM_HAL_PIN_115_RESERVED15       15
2166 
2167 // PIN 116 functions
2168 #define AM_HAL_PIN_116_RESERVED0        0
2169 #define AM_HAL_PIN_116_RESERVED1        1
2170 #define AM_HAL_PIN_116_RESERVED2        2
2171 #define AM_HAL_PIN_116_GPIO             3
2172 #define AM_HAL_PIN_116_RESERVED4        4
2173 #define AM_HAL_PIN_116_RESERVED5        5
2174 #define AM_HAL_PIN_116_CT116            6
2175 #define AM_HAL_PIN_116_RESERVED7        7
2176 #define AM_HAL_PIN_116_OBSBUS4          8
2177 #define AM_HAL_PIN_116_RESERVED9        9
2178 #define AM_HAL_PIN_116_RESERVED10       10
2179 #define AM_HAL_PIN_116_RESERVED11       11
2180 #define AM_HAL_PIN_116_RESERVED12       12
2181 #define AM_HAL_PIN_116_RESERVED13       13
2182 #define AM_HAL_PIN_116_RESERVED14       14
2183 #define AM_HAL_PIN_116_RESERVED15       15
2184 
2185 // PIN 117 functions
2186 #define AM_HAL_PIN_117_RESERVED0        0
2187 #define AM_HAL_PIN_117_RESERVED1        1
2188 #define AM_HAL_PIN_117_RESERVED2        2
2189 #define AM_HAL_PIN_117_GPIO             3
2190 #define AM_HAL_PIN_117_RESERVED4        4
2191 #define AM_HAL_PIN_117_RESERVED5        5
2192 #define AM_HAL_PIN_117_CT117            6
2193 #define AM_HAL_PIN_117_RESERVED7        7
2194 #define AM_HAL_PIN_117_OBSBUS5          8
2195 #define AM_HAL_PIN_117_RESERVED9        9
2196 #define AM_HAL_PIN_117_RESERVED10       10
2197 #define AM_HAL_PIN_117_RESERVED11       11
2198 #define AM_HAL_PIN_117_RESERVED12       12
2199 #define AM_HAL_PIN_117_RESERVED13       13
2200 #define AM_HAL_PIN_117_RESERVED14       14
2201 #define AM_HAL_PIN_117_RESERVED15       15
2202 
2203 // PIN 118 functions
2204 #define AM_HAL_PIN_118_RESERVED0        0
2205 #define AM_HAL_PIN_118_RESERVED1        1
2206 #define AM_HAL_PIN_118_RESERVED2        2
2207 #define AM_HAL_PIN_118_GPIO             3
2208 #define AM_HAL_PIN_118_RESERVED4        4
2209 #define AM_HAL_PIN_118_RESERVED5        5
2210 #define AM_HAL_PIN_118_CT118            6
2211 #define AM_HAL_PIN_118_RESERVED7        7
2212 #define AM_HAL_PIN_118_OBSBUS6          8
2213 #define AM_HAL_PIN_118_RESERVED9        9
2214 #define AM_HAL_PIN_118_RESERVED10       10
2215 #define AM_HAL_PIN_118_RESERVED11       11
2216 #define AM_HAL_PIN_118_RESERVED12       12
2217 #define AM_HAL_PIN_118_RESERVED13       13
2218 #define AM_HAL_PIN_118_RESERVED14       14
2219 #define AM_HAL_PIN_118_RESERVED15       15
2220 
2221 // PIN 119 functions
2222 #define AM_HAL_PIN_119_RESERVED0        0
2223 #define AM_HAL_PIN_119_RESERVED1        1
2224 #define AM_HAL_PIN_119_RESERVED2        2
2225 #define AM_HAL_PIN_119_GPIO             3
2226 #define AM_HAL_PIN_119_RESERVED4        4
2227 #define AM_HAL_PIN_119_RESERVED5        5
2228 #define AM_HAL_PIN_119_CT119            6
2229 #define AM_HAL_PIN_119_RESERVED7        7
2230 #define AM_HAL_PIN_119_OBSBUS7          8
2231 #define AM_HAL_PIN_119_RESERVED9        9
2232 #define AM_HAL_PIN_119_RESERVED10       10
2233 #define AM_HAL_PIN_119_RESERVED11       11
2234 #define AM_HAL_PIN_119_RESERVED12       12
2235 #define AM_HAL_PIN_119_RESERVED13       13
2236 #define AM_HAL_PIN_119_RESERVED14       14
2237 #define AM_HAL_PIN_119_RESERVED15       15
2238 
2239 // PIN 120 functions
2240 #define AM_HAL_PIN_120_RESERVED0        0
2241 #define AM_HAL_PIN_120_RESERVED1        1
2242 #define AM_HAL_PIN_120_RESERVED2        2
2243 #define AM_HAL_PIN_120_GPIO             3
2244 #define AM_HAL_PIN_120_RESERVED4        4
2245 #define AM_HAL_PIN_120_RESERVED5        5
2246 #define AM_HAL_PIN_120_CT120            6
2247 #define AM_HAL_PIN_120_RESERVED7        7
2248 #define AM_HAL_PIN_120_OBSBUS8          8
2249 #define AM_HAL_PIN_120_RESERVED9        9
2250 #define AM_HAL_PIN_120_RESERVED10       10
2251 #define AM_HAL_PIN_120_RESERVED11       11
2252 #define AM_HAL_PIN_120_RESERVED12       12
2253 #define AM_HAL_PIN_120_RESERVED13       13
2254 #define AM_HAL_PIN_120_RESERVED14       14
2255 #define AM_HAL_PIN_120_RESERVED15       15
2256 
2257 // PIN 121 functions
2258 #define AM_HAL_PIN_121_RESERVED0        0
2259 #define AM_HAL_PIN_121_RESERVED1        1
2260 #define AM_HAL_PIN_121_RESERVED2        2
2261 #define AM_HAL_PIN_121_GPIO             3
2262 #define AM_HAL_PIN_121_RESERVED4        4
2263 #define AM_HAL_PIN_121_RESERVED5        5
2264 #define AM_HAL_PIN_121_CT121            6
2265 #define AM_HAL_PIN_121_RESERVED7        7
2266 #define AM_HAL_PIN_121_OBSBUS9          8
2267 #define AM_HAL_PIN_121_RESERVED9        9
2268 #define AM_HAL_PIN_121_RESERVED10       10
2269 #define AM_HAL_PIN_121_RESERVED11       11
2270 #define AM_HAL_PIN_121_RESERVED12       12
2271 #define AM_HAL_PIN_121_RESERVED13       13
2272 #define AM_HAL_PIN_121_RESERVED14       14
2273 #define AM_HAL_PIN_121_RESERVED15       15
2274 
2275 // PIN 122 functions
2276 #define AM_HAL_PIN_122_RESERVED0        0
2277 #define AM_HAL_PIN_122_RESERVED1        1
2278 #define AM_HAL_PIN_122_RESERVED2        2
2279 #define AM_HAL_PIN_122_GPIO             3
2280 #define AM_HAL_PIN_122_RESERVED4        4
2281 #define AM_HAL_PIN_122_RESERVED5        5
2282 #define AM_HAL_PIN_122_CT122            6
2283 #define AM_HAL_PIN_122_RESERVED7        7
2284 #define AM_HAL_PIN_122_OBSBUS10         8
2285 #define AM_HAL_PIN_122_RESERVED9        9
2286 #define AM_HAL_PIN_122_RESERVED10       10
2287 #define AM_HAL_PIN_122_RESERVED11       11
2288 #define AM_HAL_PIN_122_RESERVED12       12
2289 #define AM_HAL_PIN_122_RESERVED13       13
2290 #define AM_HAL_PIN_122_RESERVED14       14
2291 #define AM_HAL_PIN_122_RESERVED15       15
2292 
2293 // PIN 123 functions
2294 #define AM_HAL_PIN_123_RESERVED0        0
2295 #define AM_HAL_PIN_123_RESERVED1        1
2296 #define AM_HAL_PIN_123_RESERVED2        2
2297 #define AM_HAL_PIN_123_GPIO             3
2298 #define AM_HAL_PIN_123_RESERVED4        4
2299 #define AM_HAL_PIN_123_RESERVED5        5
2300 #define AM_HAL_PIN_123_CT123            6
2301 #define AM_HAL_PIN_123_RESERVED7        7
2302 #define AM_HAL_PIN_123_OBSBUS11         8
2303 #define AM_HAL_PIN_123_RESERVED9        9
2304 #define AM_HAL_PIN_123_RESERVED10       10
2305 #define AM_HAL_PIN_123_RESERVED11       11
2306 #define AM_HAL_PIN_123_RESERVED12       12
2307 #define AM_HAL_PIN_123_RESERVED13       13
2308 #define AM_HAL_PIN_123_RESERVED14       14
2309 #define AM_HAL_PIN_123_RESERVED15       15
2310 
2311 // PIN 124 functions
2312 #define AM_HAL_PIN_124_RESERVED0        0
2313 #define AM_HAL_PIN_124_RESERVED1        1
2314 #define AM_HAL_PIN_124_RESERVED2        2
2315 #define AM_HAL_PIN_124_GPIO             3
2316 #define AM_HAL_PIN_124_RESERVED4        4
2317 #define AM_HAL_PIN_124_RESERVED5        5
2318 #define AM_HAL_PIN_124_CT124            6
2319 #define AM_HAL_PIN_124_RESERVED7        7
2320 #define AM_HAL_PIN_124_OBSBUS12         8
2321 #define AM_HAL_PIN_124_RESERVED9        9
2322 #define AM_HAL_PIN_124_RESERVED10       10
2323 #define AM_HAL_PIN_124_RESERVED11       11
2324 #define AM_HAL_PIN_124_RESERVED12       12
2325 #define AM_HAL_PIN_124_RESERVED13       13
2326 #define AM_HAL_PIN_124_RESERVED14       14
2327 #define AM_HAL_PIN_124_RESERVED15       15
2328 
2329 // PIN 125 functions
2330 #define AM_HAL_PIN_125_RESERVED0        0
2331 #define AM_HAL_PIN_125_RESERVED1        1
2332 #define AM_HAL_PIN_125_RESERVED2        2
2333 #define AM_HAL_PIN_125_GPIO             3
2334 #define AM_HAL_PIN_125_RESERVED4        4
2335 #define AM_HAL_PIN_125_RESERVED5        5
2336 #define AM_HAL_PIN_125_CT125            6
2337 #define AM_HAL_PIN_125_RESERVED7        7
2338 #define AM_HAL_PIN_125_OBSBUS13         8
2339 #define AM_HAL_PIN_125_RESERVED9        9
2340 #define AM_HAL_PIN_125_RESERVED10       10
2341 #define AM_HAL_PIN_125_RESERVED11       11
2342 #define AM_HAL_PIN_125_RESERVED12       12
2343 #define AM_HAL_PIN_125_RESERVED13       13
2344 #define AM_HAL_PIN_125_RESERVED14       14
2345 #define AM_HAL_PIN_125_RESERVED15       15
2346 
2347 // PIN 126 functions
2348 #define AM_HAL_PIN_126_RESERVED0        0
2349 #define AM_HAL_PIN_126_RESERVED1        1
2350 #define AM_HAL_PIN_126_RESERVED2        2
2351 #define AM_HAL_PIN_126_GPIO             3
2352 #define AM_HAL_PIN_126_RESERVED4        4
2353 #define AM_HAL_PIN_126_RESERVED5        5
2354 #define AM_HAL_PIN_126_CT126            6
2355 #define AM_HAL_PIN_126_RESERVED7        7
2356 #define AM_HAL_PIN_126_OBSBUS14         8
2357 #define AM_HAL_PIN_126_RESERVED9        9
2358 #define AM_HAL_PIN_126_RESERVED10       10
2359 #define AM_HAL_PIN_126_RESERVED11       11
2360 #define AM_HAL_PIN_126_RESERVED12       12
2361 #define AM_HAL_PIN_126_RESERVED13       13
2362 #define AM_HAL_PIN_126_RESERVED14       14
2363 #define AM_HAL_PIN_126_RESERVED15       15
2364 
2365 // PIN 127 functions
2366 #define AM_HAL_PIN_127_RESERVED0        0
2367 #define AM_HAL_PIN_127_RESERVED1        1
2368 #define AM_HAL_PIN_127_RESERVED2        2
2369 #define AM_HAL_PIN_127_GPIO             3
2370 #define AM_HAL_PIN_127_RESERVED4        4
2371 #define AM_HAL_PIN_127_RESERVED5        5
2372 #define AM_HAL_PIN_127_CT127            6
2373 #define AM_HAL_PIN_127_RESERVED7        7
2374 #define AM_HAL_PIN_127_OBSBUS15         8
2375 #define AM_HAL_PIN_127_RESERVED9        9
2376 #define AM_HAL_PIN_127_RESERVED10       10
2377 #define AM_HAL_PIN_127_RESERVED11       11
2378 #define AM_HAL_PIN_127_RESERVED12       12
2379 #define AM_HAL_PIN_127_RESERVED13       13
2380 #define AM_HAL_PIN_127_RESERVED14       14
2381 #define AM_HAL_PIN_127_RESERVED15       15
2382 
2383 //*****************************************************************************
2384 //
2385 //! List of all function selects.
2386 //
2387 //*****************************************************************************
2388 typedef enum
2389 {
2390     AM_HAL_PIN_FN_ADCSE0,
2391     AM_HAL_PIN_FN_ADCSE1,
2392     AM_HAL_PIN_FN_ADCSE2,
2393     AM_HAL_PIN_FN_ADCSE3,
2394     AM_HAL_PIN_FN_ADCSE4,
2395     AM_HAL_PIN_FN_ADCSE5,
2396     AM_HAL_PIN_FN_ADCSE6,
2397     AM_HAL_PIN_FN_ADCSE7,
2398     AM_HAL_PIN_FN_ANATEST1,
2399     AM_HAL_PIN_FN_ANATEST2,
2400     AM_HAL_PIN_FN_CLKOUT,
2401     AM_HAL_PIN_FN_CLKOUT_32M,
2402     AM_HAL_PIN_FN_CME,
2403     AM_HAL_PIN_FN_CMLE,
2404     AM_HAL_PIN_FN_CMPIN0,
2405     AM_HAL_PIN_FN_CMPIN1,
2406     AM_HAL_PIN_FN_CMPRF0,
2407     AM_HAL_PIN_FN_CMPRF1,
2408     AM_HAL_PIN_FN_CMPRF2,
2409     AM_HAL_PIN_FN_CT0,
2410     AM_HAL_PIN_FN_CT1,
2411     AM_HAL_PIN_FN_CT2,
2412     AM_HAL_PIN_FN_CT3,
2413     AM_HAL_PIN_FN_CT4,
2414     AM_HAL_PIN_FN_CT5,
2415     AM_HAL_PIN_FN_CT6,
2416     AM_HAL_PIN_FN_CT7,
2417     AM_HAL_PIN_FN_CT8,
2418     AM_HAL_PIN_FN_CT9,
2419     AM_HAL_PIN_FN_CT10,
2420     AM_HAL_PIN_FN_CT11,
2421     AM_HAL_PIN_FN_CT12,
2422     AM_HAL_PIN_FN_CT13,
2423     AM_HAL_PIN_FN_CT14,
2424     AM_HAL_PIN_FN_CT15,
2425     AM_HAL_PIN_FN_CT16,
2426     AM_HAL_PIN_FN_CT17,
2427     AM_HAL_PIN_FN_CT18,
2428     AM_HAL_PIN_FN_CT19,
2429     AM_HAL_PIN_FN_CT20,
2430     AM_HAL_PIN_FN_CT21,
2431     AM_HAL_PIN_FN_CT22,
2432     AM_HAL_PIN_FN_CT23,
2433     AM_HAL_PIN_FN_CT24,
2434     AM_HAL_PIN_FN_CT25,
2435     AM_HAL_PIN_FN_CT26,
2436     AM_HAL_PIN_FN_CT27,
2437     AM_HAL_PIN_FN_CT28,
2438     AM_HAL_PIN_FN_CT29,
2439     AM_HAL_PIN_FN_CT30,
2440     AM_HAL_PIN_FN_CT31,
2441     AM_HAL_PIN_FN_CT32,
2442     AM_HAL_PIN_FN_CT33,
2443     AM_HAL_PIN_FN_CT34,
2444     AM_HAL_PIN_FN_CT35,
2445     AM_HAL_PIN_FN_CT36,
2446     AM_HAL_PIN_FN_CT37,
2447     AM_HAL_PIN_FN_CT38,
2448     AM_HAL_PIN_FN_CT39,
2449     AM_HAL_PIN_FN_CT40,
2450     AM_HAL_PIN_FN_CT41,
2451     AM_HAL_PIN_FN_CT42,
2452     AM_HAL_PIN_FN_CT43,
2453     AM_HAL_PIN_FN_CT44,
2454     AM_HAL_PIN_FN_CT45,
2455     AM_HAL_PIN_FN_CT46,
2456     AM_HAL_PIN_FN_CT47,
2457     AM_HAL_PIN_FN_CT48,
2458     AM_HAL_PIN_FN_CT49,
2459     AM_HAL_PIN_FN_CT50,
2460     AM_HAL_PIN_FN_CT51,
2461     AM_HAL_PIN_FN_CT52,
2462     AM_HAL_PIN_FN_CT53,
2463     AM_HAL_PIN_FN_CT54,
2464     AM_HAL_PIN_FN_CT55,
2465     AM_HAL_PIN_FN_CT56,
2466     AM_HAL_PIN_FN_CT57,
2467     AM_HAL_PIN_FN_CT58,
2468     AM_HAL_PIN_FN_CT59,
2469     AM_HAL_PIN_FN_CT60,
2470     AM_HAL_PIN_FN_CT61,
2471     AM_HAL_PIN_FN_CT62,
2472     AM_HAL_PIN_FN_CT63,
2473     AM_HAL_PIN_FN_CT64,
2474     AM_HAL_PIN_FN_CT65,
2475     AM_HAL_PIN_FN_CT66,
2476     AM_HAL_PIN_FN_CT67,
2477     AM_HAL_PIN_FN_CT68,
2478     AM_HAL_PIN_FN_CT69,
2479     AM_HAL_PIN_FN_CT70,
2480     AM_HAL_PIN_FN_CT71,
2481     AM_HAL_PIN_FN_CT72,
2482     AM_HAL_PIN_FN_CT73,
2483     AM_HAL_PIN_FN_CT74,
2484     AM_HAL_PIN_FN_CT75,
2485     AM_HAL_PIN_FN_CT76,
2486     AM_HAL_PIN_FN_CT77,
2487     AM_HAL_PIN_FN_CT78,
2488     AM_HAL_PIN_FN_CT79,
2489     AM_HAL_PIN_FN_CT80,
2490     AM_HAL_PIN_FN_CT81,
2491     AM_HAL_PIN_FN_CT82,
2492     AM_HAL_PIN_FN_CT83,
2493     AM_HAL_PIN_FN_CT84,
2494     AM_HAL_PIN_FN_CT85,
2495     AM_HAL_PIN_FN_CT86,
2496     AM_HAL_PIN_FN_CT87,
2497     AM_HAL_PIN_FN_CT88,
2498     AM_HAL_PIN_FN_CT89,
2499     AM_HAL_PIN_FN_CT90,
2500     AM_HAL_PIN_FN_CT91,
2501     AM_HAL_PIN_FN_CT92,
2502     AM_HAL_PIN_FN_CT93,
2503     AM_HAL_PIN_FN_CT94,
2504     AM_HAL_PIN_FN_CT95,
2505     AM_HAL_PIN_FN_CT96,
2506     AM_HAL_PIN_FN_CT97,
2507     AM_HAL_PIN_FN_CT98,
2508     AM_HAL_PIN_FN_CT99,
2509     AM_HAL_PIN_FN_CT100,
2510     AM_HAL_PIN_FN_CT101,
2511     AM_HAL_PIN_FN_CT102,
2512     AM_HAL_PIN_FN_CT103,
2513     AM_HAL_PIN_FN_CT104,
2514     AM_HAL_PIN_FN_CT105,
2515     AM_HAL_PIN_FN_CT106,
2516     AM_HAL_PIN_FN_CT107,
2517     AM_HAL_PIN_FN_CT108,
2518     AM_HAL_PIN_FN_CT109,
2519     AM_HAL_PIN_FN_CT110,
2520     AM_HAL_PIN_FN_CT111,
2521     AM_HAL_PIN_FN_CT112,
2522     AM_HAL_PIN_FN_CT113,
2523     AM_HAL_PIN_FN_CT114,
2524     AM_HAL_PIN_FN_CT115,
2525     AM_HAL_PIN_FN_CT116,
2526     AM_HAL_PIN_FN_CT117,
2527     AM_HAL_PIN_FN_CT118,
2528     AM_HAL_PIN_FN_CT119,
2529     AM_HAL_PIN_FN_CT120,
2530     AM_HAL_PIN_FN_CT121,
2531     AM_HAL_PIN_FN_CT122,
2532     AM_HAL_PIN_FN_CT123,
2533     AM_HAL_PIN_FN_CT124,
2534     AM_HAL_PIN_FN_CT125,
2535     AM_HAL_PIN_FN_CT126,
2536     AM_HAL_PIN_FN_CT127,
2537     AM_HAL_PIN_FN_DFT_ISO,
2538     AM_HAL_PIN_FN_DFT_RET,
2539     AM_HAL_PIN_FN_DISP_CM,
2540     AM_HAL_PIN_FN_DISP_D0,
2541     AM_HAL_PIN_FN_DISP_D1,
2542     AM_HAL_PIN_FN_DISP_D2,
2543     AM_HAL_PIN_FN_DISP_D3,
2544     AM_HAL_PIN_FN_DISP_D4,
2545     AM_HAL_PIN_FN_DISP_D5,
2546     AM_HAL_PIN_FN_DISP_D6,
2547     AM_HAL_PIN_FN_DISP_D7,
2548     AM_HAL_PIN_FN_DISP_D8,
2549     AM_HAL_PIN_FN_DISP_D9,
2550     AM_HAL_PIN_FN_DISP_D10,
2551     AM_HAL_PIN_FN_DISP_D11,
2552     AM_HAL_PIN_FN_DISP_D12,
2553     AM_HAL_PIN_FN_DISP_D13,
2554     AM_HAL_PIN_FN_DISP_D14,
2555     AM_HAL_PIN_FN_DISP_D15,
2556     AM_HAL_PIN_FN_DISP_D16,
2557     AM_HAL_PIN_FN_DISP_D17,
2558     AM_HAL_PIN_FN_DISP_D18,
2559     AM_HAL_PIN_FN_DISP_D19,
2560     AM_HAL_PIN_FN_DISP_D20,
2561     AM_HAL_PIN_FN_DISP_D21,
2562     AM_HAL_PIN_FN_DISP_D22,
2563     AM_HAL_PIN_FN_DISP_D23,
2564     AM_HAL_PIN_FN_DISP_DE,
2565     AM_HAL_PIN_FN_DISP_HS,
2566     AM_HAL_PIN_FN_DISP_PCLK,
2567     AM_HAL_PIN_FN_DISP_QSPI_D0,
2568     AM_HAL_PIN_FN_DISP_QSPI_D1,
2569     AM_HAL_PIN_FN_DISP_QSPI_D2,
2570     AM_HAL_PIN_FN_DISP_QSPI_D3,
2571     AM_HAL_PIN_FN_DISP_QSPI_D0_OUT,
2572     AM_HAL_PIN_FN_DISP_QSPI_SCK,
2573     AM_HAL_PIN_FN_DISP_SD,
2574     AM_HAL_PIN_FN_DISP_SPI_DCX,
2575     AM_HAL_PIN_FN_DISP_SPI_SCK,
2576     AM_HAL_PIN_FN_DISP_SPI_SD,
2577     AM_HAL_PIN_FN_DISP_SPI_SDI,
2578     AM_HAL_PIN_FN_DISP_SPI_SDO,
2579     AM_HAL_PIN_FN_DISP_TE,
2580     AM_HAL_PIN_FN_DISP_VS,
2581     AM_HAL_PIN_FN_DSP_TCK,
2582     AM_HAL_PIN_FN_DSP_TDI,
2583     AM_HAL_PIN_FN_DSP_TDO,
2584     AM_HAL_PIN_FN_DSP_TMS,
2585     AM_HAL_PIN_FN_DSP_TRSTN,
2586     AM_HAL_PIN_FN_FLB_FCLK,
2587     AM_HAL_PIN_FN_FLB_TCLK,
2588     AM_HAL_PIN_FN_FLB_TDI,
2589     AM_HAL_PIN_FN_FLB_TDO,
2590     AM_HAL_PIN_FN_FLB_TMS,
2591     AM_HAL_PIN_FN_FLB_TRSTN,
2592     AM_HAL_PIN_FN_FLLOAD_ADDR,
2593     AM_HAL_PIN_FN_FLLOAD_DATA,
2594     AM_HAL_PIN_FN_FLLOAD_DIR,
2595     AM_HAL_PIN_FN_FLLOAD_STRB,
2596     AM_HAL_PIN_FN_FPIO,
2597     AM_HAL_PIN_FN_GPIO,
2598     AM_HAL_PIN_FN_HFRC_EXT,
2599     AM_HAL_PIN_FN_I3CM0_SCL,
2600     AM_HAL_PIN_FN_I3CM1_SCL,
2601     AM_HAL_PIN_FN_I3CM0_SDA,
2602     AM_HAL_PIN_FN_I3CM1_SDA,
2603     AM_HAL_PIN_FN_I2S0_CLK,
2604     AM_HAL_PIN_FN_I2S1_CLK,
2605     AM_HAL_PIN_FN_I2S0_DATA,
2606     AM_HAL_PIN_FN_I2S1_DATA,
2607     AM_HAL_PIN_FN_I2S0_SDIN,
2608     AM_HAL_PIN_FN_I2S1_SDIN,
2609     AM_HAL_PIN_FN_I2S0_SDOUT,
2610     AM_HAL_PIN_FN_I2S1_SDOUT,
2611     AM_HAL_PIN_FN_I2S0_WS,
2612     AM_HAL_PIN_FN_I2S1_WS,
2613     AM_HAL_PIN_FN_32KHzXT,
2614     AM_HAL_PIN_FN_LFRC_EXT,
2615     AM_HAL_PIN_FN_MDA_HFRC_EXT,
2616     AM_HAL_PIN_FN_MDA_SRST,
2617     AM_HAL_PIN_FN_MDA_TCK,
2618     AM_HAL_PIN_FN_MDA_TDI,
2619     AM_HAL_PIN_FN_MDA_TDO,
2620     AM_HAL_PIN_FN_MDA_TMS,
2621     AM_HAL_PIN_FN_MDA_TRSTN,
2622     AM_HAL_PIN_FN_MILLI_CLK,
2623     AM_HAL_PIN_FN_MILLI_PBDATA1,
2624     AM_HAL_PIN_FN_MILLI_PBDATA2,
2625     AM_HAL_PIN_FN_MILLI_REC_DAT,
2626     AM_HAL_PIN_FN_M0MISO,
2627     AM_HAL_PIN_FN_M1MISO,
2628     AM_HAL_PIN_FN_M2MISO,
2629     AM_HAL_PIN_FN_M3MISO,
2630     AM_HAL_PIN_FN_M4MISO,
2631     AM_HAL_PIN_FN_M5MISO,
2632     AM_HAL_PIN_FN_M6MISO,
2633     AM_HAL_PIN_FN_M7MISO,
2634     AM_HAL_PIN_FN_M0MOSI,
2635     AM_HAL_PIN_FN_M1MOSI,
2636     AM_HAL_PIN_FN_M2MOSI,
2637     AM_HAL_PIN_FN_M3MOSI,
2638     AM_HAL_PIN_FN_M4MOSI,
2639     AM_HAL_PIN_FN_M5MOSI,
2640     AM_HAL_PIN_FN_M6MOSI,
2641     AM_HAL_PIN_FN_M7MOSI,
2642     AM_HAL_PIN_FN_M0SCK,
2643     AM_HAL_PIN_FN_M1SCK,
2644     AM_HAL_PIN_FN_M2SCK,
2645     AM_HAL_PIN_FN_M3SCK,
2646     AM_HAL_PIN_FN_M4SCK,
2647     AM_HAL_PIN_FN_M5SCK,
2648     AM_HAL_PIN_FN_M6SCK,
2649     AM_HAL_PIN_FN_M7SCK,
2650     AM_HAL_PIN_FN_M0SCL,
2651     AM_HAL_PIN_FN_M1SCL,
2652     AM_HAL_PIN_FN_M2SCL,
2653     AM_HAL_PIN_FN_M3SCL,
2654     AM_HAL_PIN_FN_M4SCL,
2655     AM_HAL_PIN_FN_M5SCL,
2656     AM_HAL_PIN_FN_M6SCL,
2657     AM_HAL_PIN_FN_M7SCL,
2658     AM_HAL_PIN_FN_M0SDAWIR3,
2659     AM_HAL_PIN_FN_M1SDAWIR3,
2660     AM_HAL_PIN_FN_M2SDAWIR3,
2661     AM_HAL_PIN_FN_M3SDAWIR3,
2662     AM_HAL_PIN_FN_M4SDAWIR3,
2663     AM_HAL_PIN_FN_M5SDAWIR3,
2664     AM_HAL_PIN_FN_M6SDAWIR3,
2665     AM_HAL_PIN_FN_M7SDAWIR3,
2666     AM_HAL_PIN_FN_MSPI0_0,
2667     AM_HAL_PIN_FN_MSPI0_1,
2668     AM_HAL_PIN_FN_MSPI0_2,
2669     AM_HAL_PIN_FN_MSPI0_3,
2670     AM_HAL_PIN_FN_MSPI0_4,
2671     AM_HAL_PIN_FN_MSPI0_5,
2672     AM_HAL_PIN_FN_MSPI0_6,
2673     AM_HAL_PIN_FN_MSPI0_7,
2674     AM_HAL_PIN_FN_MSPI0_8,
2675     AM_HAL_PIN_FN_MSPI0_9,
2676     AM_HAL_PIN_FN_MSPI1_0,
2677     AM_HAL_PIN_FN_MSPI1_1,
2678     AM_HAL_PIN_FN_MSPI1_2,
2679     AM_HAL_PIN_FN_MSPI1_3,
2680     AM_HAL_PIN_FN_MSPI1_4,
2681     AM_HAL_PIN_FN_MSPI1_5,
2682     AM_HAL_PIN_FN_MSPI1_6,
2683     AM_HAL_PIN_FN_MSPI1_7,
2684     AM_HAL_PIN_FN_MSPI1_8,
2685     AM_HAL_PIN_FN_MSPI1_9,
2686     AM_HAL_PIN_FN_MSPI2_0,
2687     AM_HAL_PIN_FN_MSPI2_1,
2688     AM_HAL_PIN_FN_MSPI2_2,
2689     AM_HAL_PIN_FN_MSPI2_3,
2690     AM_HAL_PIN_FN_MSPI2_4,
2691     AM_HAL_PIN_FN_MSPI2_5,
2692     AM_HAL_PIN_FN_MSPI2_6,
2693     AM_HAL_PIN_FN_MSPI2_7,
2694     AM_HAL_PIN_FN_MSPI2_8,
2695     AM_HAL_PIN_FN_MSPI2_9,
2696     AM_HAL_PIN_FN_NCE0,
2697     AM_HAL_PIN_FN_NCE1,
2698     AM_HAL_PIN_FN_NCE2,
2699     AM_HAL_PIN_FN_NCE3,
2700     AM_HAL_PIN_FN_NCE4,
2701     AM_HAL_PIN_FN_NCE5,
2702     AM_HAL_PIN_FN_NCE6,
2703     AM_HAL_PIN_FN_NCE7,
2704     AM_HAL_PIN_FN_NCE8,
2705     AM_HAL_PIN_FN_NCE9,
2706     AM_HAL_PIN_FN_NCE10,
2707     AM_HAL_PIN_FN_NCE11,
2708     AM_HAL_PIN_FN_NCE12,
2709     AM_HAL_PIN_FN_NCE13,
2710     AM_HAL_PIN_FN_NCE14,
2711     AM_HAL_PIN_FN_NCE15,
2712     AM_HAL_PIN_FN_NCE16,
2713     AM_HAL_PIN_FN_NCE17,
2714     AM_HAL_PIN_FN_NCE18,
2715     AM_HAL_PIN_FN_NCE19,
2716     AM_HAL_PIN_FN_NCE20,
2717     AM_HAL_PIN_FN_NCE21,
2718     AM_HAL_PIN_FN_NCE22,
2719     AM_HAL_PIN_FN_NCE23,
2720     AM_HAL_PIN_FN_NCE24,
2721     AM_HAL_PIN_FN_NCE25,
2722     AM_HAL_PIN_FN_NCE26,
2723     AM_HAL_PIN_FN_NCE27,
2724     AM_HAL_PIN_FN_NCE28,
2725     AM_HAL_PIN_FN_NCE29,
2726     AM_HAL_PIN_FN_NCE30,
2727     AM_HAL_PIN_FN_NCE31,
2728     AM_HAL_PIN_FN_NCE32,
2729     AM_HAL_PIN_FN_NCE33,
2730     AM_HAL_PIN_FN_NCE34,
2731     AM_HAL_PIN_FN_NCE35,
2732     AM_HAL_PIN_FN_NCE36,
2733     AM_HAL_PIN_FN_NCE37,
2734     AM_HAL_PIN_FN_NCE38,
2735     AM_HAL_PIN_FN_NCE39,
2736     AM_HAL_PIN_FN_NCE40,
2737     AM_HAL_PIN_FN_NCE41,
2738     AM_HAL_PIN_FN_NCE42,
2739     AM_HAL_PIN_FN_NCE43,
2740     AM_HAL_PIN_FN_NCE44,
2741     AM_HAL_PIN_FN_NCE45,
2742     AM_HAL_PIN_FN_NCE46,
2743     AM_HAL_PIN_FN_NCE47,
2744     AM_HAL_PIN_FN_NCE48,
2745     AM_HAL_PIN_FN_NCE49,
2746     AM_HAL_PIN_FN_NCE50,
2747     AM_HAL_PIN_FN_NCE51,
2748     AM_HAL_PIN_FN_NCE52,
2749     AM_HAL_PIN_FN_NCE53,
2750     AM_HAL_PIN_FN_NCE54,
2751     AM_HAL_PIN_FN_NCE55,
2752     AM_HAL_PIN_FN_NCE56,
2753     AM_HAL_PIN_FN_NCE57,
2754     AM_HAL_PIN_FN_NCE58,
2755     AM_HAL_PIN_FN_NCE59,
2756     AM_HAL_PIN_FN_NCE60,
2757     AM_HAL_PIN_FN_NCE61,
2758     AM_HAL_PIN_FN_NCE62,
2759     AM_HAL_PIN_FN_NCE63,
2760     AM_HAL_PIN_FN_NCE64,
2761     AM_HAL_PIN_FN_NCE65,
2762     AM_HAL_PIN_FN_NCE66,
2763     AM_HAL_PIN_FN_NCE67,
2764     AM_HAL_PIN_FN_NCE68,
2765     AM_HAL_PIN_FN_NCE69,
2766     AM_HAL_PIN_FN_NCE70,
2767     AM_HAL_PIN_FN_NCE71,
2768     AM_HAL_PIN_FN_NCE72,
2769     AM_HAL_PIN_FN_NCE73,
2770     AM_HAL_PIN_FN_NCE74,
2771     AM_HAL_PIN_FN_NCE75,
2772     AM_HAL_PIN_FN_NCE76,
2773     AM_HAL_PIN_FN_NCE77,
2774     AM_HAL_PIN_FN_NCE78,
2775     AM_HAL_PIN_FN_NCE79,
2776     AM_HAL_PIN_FN_NCE80,
2777     AM_HAL_PIN_FN_NCE81,
2778     AM_HAL_PIN_FN_NCE82,
2779     AM_HAL_PIN_FN_NCE83,
2780     AM_HAL_PIN_FN_NCE84,
2781     AM_HAL_PIN_FN_NCE85,
2782     AM_HAL_PIN_FN_NCE86,
2783     AM_HAL_PIN_FN_NCE87,
2784     AM_HAL_PIN_FN_NCE88,
2785     AM_HAL_PIN_FN_NCE89,
2786     AM_HAL_PIN_FN_NCE90,
2787     AM_HAL_PIN_FN_NCE91,
2788     AM_HAL_PIN_FN_NCE92,
2789     AM_HAL_PIN_FN_NCE93,
2790     AM_HAL_PIN_FN_NCE94,
2791     AM_HAL_PIN_FN_NCE95,
2792     AM_HAL_PIN_FN_NCE96,
2793     AM_HAL_PIN_FN_NCE97,
2794     AM_HAL_PIN_FN_NCE98,
2795     AM_HAL_PIN_FN_NCE99,
2796     AM_HAL_PIN_FN_NCE100,
2797     AM_HAL_PIN_FN_NCE101,
2798     AM_HAL_PIN_FN_NCE102,
2799     AM_HAL_PIN_FN_NCE103,
2800     AM_HAL_PIN_FN_NCE104,
2801     AM_HAL_PIN_FN_OBSBUS0,
2802     AM_HAL_PIN_FN_OBSBUS1,
2803     AM_HAL_PIN_FN_OBSBUS2,
2804     AM_HAL_PIN_FN_OBSBUS3,
2805     AM_HAL_PIN_FN_OBSBUS4,
2806     AM_HAL_PIN_FN_OBSBUS5,
2807     AM_HAL_PIN_FN_OBSBUS6,
2808     AM_HAL_PIN_FN_OBSBUS7,
2809     AM_HAL_PIN_FN_OBSBUS8,
2810     AM_HAL_PIN_FN_OBSBUS9,
2811     AM_HAL_PIN_FN_OBSBUS10,
2812     AM_HAL_PIN_FN_OBSBUS11,
2813     AM_HAL_PIN_FN_OBSBUS12,
2814     AM_HAL_PIN_FN_OBSBUS13,
2815     AM_HAL_PIN_FN_OBSBUS14,
2816     AM_HAL_PIN_FN_OBSBUS15,
2817     AM_HAL_PIN_FN_OPCG_CLK,
2818     AM_HAL_PIN_FN_OPCG_LOAD,
2819     AM_HAL_PIN_FN_OPCG_TRIG,
2820     AM_HAL_PIN_FN_PDM0_CLK,
2821     AM_HAL_PIN_FN_PDM1_CLK,
2822     AM_HAL_PIN_FN_PDM2_CLK,
2823     AM_HAL_PIN_FN_PDM3_CLK,
2824     AM_HAL_PIN_FN_PDM0_DATA,
2825     AM_HAL_PIN_FN_PDM1_DATA,
2826     AM_HAL_PIN_FN_PDM2_DATA,
2827     AM_HAL_PIN_FN_PDM3_DATA,
2828     AM_HAL_PIN_FN_REFCLK_EXT,
2829     AM_HAL_PIN_FN_RESERVED0,
2830     AM_HAL_PIN_FN_RESERVED1,
2831     AM_HAL_PIN_FN_RESERVED2,
2832     AM_HAL_PIN_FN_RESERVED4,
2833     AM_HAL_PIN_FN_RESERVED5,
2834     AM_HAL_PIN_FN_RESERVED7,
2835     AM_HAL_PIN_FN_RESERVED9,
2836     AM_HAL_PIN_FN_RESERVED10,
2837     AM_HAL_PIN_FN_RESERVED11,
2838     AM_HAL_PIN_FN_RESERVED12,
2839     AM_HAL_PIN_FN_RESERVED13,
2840     AM_HAL_PIN_FN_RESERVED14,
2841     AM_HAL_PIN_FN_RESERVED15,
2842     AM_HAL_PIN_FN_SCANCLK,
2843     AM_HAL_PIN_FN_SCANIN0,
2844     AM_HAL_PIN_FN_SCANIN1,
2845     AM_HAL_PIN_FN_SCANIN2,
2846     AM_HAL_PIN_FN_SCANIN3,
2847     AM_HAL_PIN_FN_SCANIN4,
2848     AM_HAL_PIN_FN_SCANIN5,
2849     AM_HAL_PIN_FN_SCANIN6,
2850     AM_HAL_PIN_FN_SCANIN7,
2851     AM_HAL_PIN_FN_SCANIN8,
2852     AM_HAL_PIN_FN_SCANIN9,
2853     AM_HAL_PIN_FN_SCANIN10,
2854     AM_HAL_PIN_FN_SCANOUT0,
2855     AM_HAL_PIN_FN_SCANOUT1,
2856     AM_HAL_PIN_FN_SCANOUT2,
2857     AM_HAL_PIN_FN_SCANOUT3,
2858     AM_HAL_PIN_FN_SCANOUT4,
2859     AM_HAL_PIN_FN_SCANOUT5,
2860     AM_HAL_PIN_FN_SCANOUT6,
2861     AM_HAL_PIN_FN_SCANOUT7,
2862     AM_HAL_PIN_FN_SCANOUT8,
2863     AM_HAL_PIN_FN_SCANOUT9,
2864     AM_HAL_PIN_FN_SCANOUT10,
2865     AM_HAL_PIN_FN_SCANOUT11,
2866     AM_HAL_PIN_FN_SCANRSTN,
2867     AM_HAL_PIN_FN_SCANSHFT,
2868     AM_HAL_PIN_FN_SDIF_CLKOUT,
2869     AM_HAL_PIN_FN_SDIF_CMD,
2870     AM_HAL_PIN_FN_SDIF_DAT0,
2871     AM_HAL_PIN_FN_SDIF_DAT1,
2872     AM_HAL_PIN_FN_SDIF_DAT2,
2873     AM_HAL_PIN_FN_SDIF_DAT3,
2874     AM_HAL_PIN_FN_SDIF_DAT4,
2875     AM_HAL_PIN_FN_SDIF_DAT5,
2876     AM_HAL_PIN_FN_SDIF_DAT6,
2877     AM_HAL_PIN_FN_SDIF_DAT7,
2878     AM_HAL_PIN_FN_SLINT,
2879     AM_HAL_PIN_FN_SLMISO,
2880     AM_HAL_PIN_FN_SLMOSI,
2881     AM_HAL_PIN_FN_SLSCK,
2882     AM_HAL_PIN_FN_SLSCL,
2883     AM_HAL_PIN_FN_SLSDAWIR3,
2884     AM_HAL_PIN_FN_SLnCE,
2885     AM_HAL_PIN_FN_SWDCK,
2886     AM_HAL_PIN_FN_SWDIO,
2887     AM_HAL_PIN_FN_SWO,
2888     AM_HAL_PIN_FN_SWTRACE0,
2889     AM_HAL_PIN_FN_SWTRACE1,
2890     AM_HAL_PIN_FN_SWTRACE2,
2891     AM_HAL_PIN_FN_SWTRACE3,
2892     AM_HAL_PIN_FN_SWTRACECLK,
2893     AM_HAL_PIN_FN_SWTRACECTL,
2894     AM_HAL_PIN_FN_TRIG0,
2895     AM_HAL_PIN_FN_TRIG1,
2896     AM_HAL_PIN_FN_TRIG2,
2897     AM_HAL_PIN_FN_TRIG3,
2898     AM_HAL_PIN_FN_UART0CTS,
2899     AM_HAL_PIN_FN_UART1CTS,
2900     AM_HAL_PIN_FN_UART2CTS,
2901     AM_HAL_PIN_FN_UART3CTS,
2902     AM_HAL_PIN_FN_UART0RTS,
2903     AM_HAL_PIN_FN_UART1RTS,
2904     AM_HAL_PIN_FN_UART2RTS,
2905     AM_HAL_PIN_FN_UART3RTS,
2906     AM_HAL_PIN_FN_UART0RX,
2907     AM_HAL_PIN_FN_UART1RX,
2908     AM_HAL_PIN_FN_UART2RX,
2909     AM_HAL_PIN_FN_UART3RX,
2910     AM_HAL_PIN_FN_UART0TX,
2911     AM_HAL_PIN_FN_UART1TX,
2912     AM_HAL_PIN_FN_UART2TX,
2913     AM_HAL_PIN_FN_UART3TX,
2914     AM_HAL_PIN_FN_VCMPO,
2915     AM_HAL_PIN_FN_XT_EXT
2916 } am_hal_pin_function_e;
2917 
2918 //*****************************************************************************
2919 //
2920 //! Function selects by pin.
2921 //
2922 //*****************************************************************************
2923 extern const uint16_t am_hal_pin_fn_list[AM_HAL_PIN_TOTAL_GPIOS][AM_HAL_PIN_NUMFUNCS];
2924 
2925 #ifdef __cplusplus
2926 }
2927 #endif
2928 
2929 #endif // AM_HAL_PIN_H
2930 
2931 //*****************************************************************************
2932 //
2933 // End Doxygen group.
2934 //! @}
2935 //
2936 //*****************************************************************************
2937 
2938