1# GD32F407XX pin definitions
2#
3# Sources:
4# - GD32F407XX Datasheet (Revision 2.5)
5#
6# Pin codes:
7#
8# - 64  pins: R
9# - 100 pins: V
10# - 144 pins: Z
11# - 176 pins: I
12#
13# Memory codes:
14#
15# - 512Kb  Flash, 192Kb SRAM: E
16# - 1024Kb Flash, 192Kb SRAM: G
17# - 3072Kb Flash, 192Kb SRAM: K
18#
19# Copyright (c) 2021 BrainCo Inc.
20# SPDX-License-Identifier: Apache 2.0
21
22model: af
23
24series: gd32f407
25
26variants:
27  - pincode: R
28    memories: [E, G, K]
29  - pincode: V
30    memories: [E, G, K]
31  - pincode: Z
32    memories: [E, G, K]
33  - pincode: I
34    memories: [E, G, K]
35
36pins:
37  PA0:
38    pincodes: [R, V, Z, I]
39    afs:
40      ADC012_IN0: ANALOG
41      TIMER1_CH0: 1
42      TIMER1_ETI: 1
43      TIMER4_CH0: 2
44      TIMER7_ETI: 3
45      USART1_CTS: 7
46      UART3_TX: 8
47      ENET_MII_CRS: 11
48      EVENTOUT: 15
49  PA1:
50    pincodes: [R, V, Z, I]
51    afs:
52      ADC012_IN1: ANALOG
53      TIMER1_CH1: 1
54      TIMER4_CH1: 2
55      USART1_RTS: 7
56      UART3_RX: 8
57      ENET_MII_RX_CLK: 11
58      ENET_RMII_REF_CLK: 11
59      EVENTOUT: 15
60  PA2:
61    pincodes: [R, V, Z, I]
62    afs:
63      ADC012_IN2: ANALOG
64      TIMER1_CH2: 1
65      TIMER4_CH2: 2
66      TIMER8_CH0: 3
67      I2S_CKIN: 5
68      USART1_TX: 7
69      ENET_MDIO: 11
70      EVENTOUT: 15
71  PA3:
72    pincodes: [R, V, Z, I]
73    afs:
74      ADC012_IN3: ANALOG
75      TIMER1_CH3: 1
76      TIMER4_CH3: 2
77      TIMER8_CH1: 3
78      I2S1_MCK: 5
79      USART1_RX: 7
80      USBHS_ULPI_D0: 10
81      ENET_MII_COL: 11
82      EVENTOUT: 15
83  PA4:
84    pincodes: [R, V, Z, I]
85    afs:
86      ADC01_IN4: ANALOG
87      DAC_OUT0: ANALOG
88      SPI0_NSS: 5
89      SPI2_NSS: 6
90      I2S2_WS: 6
91      USART1_CK: 7
92      USBHS_SOF: 12
93      DCI_HSYNC: 13
94      EVENTOUT: 15
95  PA5:
96    pincodes: [R, V, Z, I]
97    afs:
98      ADC01_IN5: ANALOG
99      DAC_OUT1: ANALOG
100      TIMER1_CH0: 1
101      TIMER1_ETI: 1
102      TIMER7_CH0_ON: 3
103      SPI0_SCK: 5
104      USBHS_ULPI_CK: 10
105      EVENTOUT: 15
106  PA6:
107    pincodes: [R, V, Z, I]
108    afs:
109      ADC01_IN6: ANALOG
110      TIMER0_BRKIN: 1
111      TIMER2_CH0: 2
112      TIMER7_BRKIN: 3
113      SPI0_MISO: 5
114      I2S1_MCK: 6
115      TIMER12_CH0: 9
116      SDIO_CMD: 12
117      DCI_PIXCLK: 13
118      EVENTOUT: 15
119  PA7:
120    pincodes: [R, V, Z, I]
121    afs:
122      ADC01_IN7: ANALOG
123      TIMER0_CH0_ON: 1
124      TIMER2_CH1: 2
125      TIMER7_CH0_ON: 3
126      SPI0_MOSI: 5
127      TIMER13_CH0: 9
128      ENET_MII_RX_DV: 11
129      ENET_RMII_CRS_DV: 11
130      EXMC_SD_NWE: 12
131      EVENTOUT: 15
132  PA8:
133    pincodes: [R, V, Z, I]
134    afs:
135      CK_OUT0: 0
136      TIMER0_CH0: 1
137      I2C2_SCL: 4
138      USART0_CK: 7
139      CTC_SYNC: 9
140      USBFS_SOF: 10
141      SDIO_D1: 12
142      EVENTOUT: 15
143  PA9:
144    pincodes: [R, V, Z, I]
145    afs:
146      TIMER0_CH1: 1
147      I2C2_SMBA: 4
148      SPI1_SCK: 5
149      I2S1_CK: 5
150      USART0_TX: 7
151      SDIO_D2: 12
152      DCI_D0: 13
153      EVENTOUT: 15
154  PA10:
155    pincodes: [R, V, Z, I]
156    afs:
157      TIMER0_CH2: 1
158      I2C2_TXFRAME: 4
159      USART0_RX: 7
160      USBFS_ID: 10
161      DCI_D1: 13
162      EVENTOUT: 15
163  PA11:
164    pincodes: [R, V, Z, I]
165    afs:
166      TIMER0_CH3: 1
167      USART0_CTS: 7
168      USART5_TX: 8
169      CAN0_RX: 9
170      USBFS_DM: 10
171      EVENTOUT: 15
172  PA12:
173    pincodes: [R, V, Z, I]
174    afs:
175      TIMER0_ETI: 1
176      USART0_RTS: 7
177      USART5_RX: 8
178      CAN0_TX: 9
179      USBFS_DP: 10
180      EVENTOUT: 15
181  PA13:
182    pincodes: [R, V, Z, I]
183    afs:
184      JTMS: 0
185      SWDIO: 0
186      EVENTOUT: 15
187  PA14:
188    pincodes: [R, V, Z, I]
189    afs:
190      JTCK: 0
191      SWCLK: 0
192      EVENTOUT: 15
193  PA15:
194    pincodes: [R, V, Z, I]
195    afs:
196      JTDI: 0
197      TIMER1_CH0: 1
198      TIMER1_ETI: 1
199      SPI0_NSS: 5
200      SPI2_NSS: 6
201      I2S2_WS: 6
202      USART0_TX: 7
203      EVENTOUT: 15
204  PB0:
205    pincodes: [R, V, Z, I]
206    afs:
207      ADC01_IN8: ANALOG
208      TIMER0_CH1_ON: 1
209      TIMER2_CH2: 2
210      TIMER7_CH1_ON: 3
211      SPI2_MOSI: 7
212      I2S2_SD: 7
213      USBHS_ULPI_D1: 10
214      ENET_MII_RXD2: 11
215      SDIO_D1: 12
216      EVENTOUT: 15
217  PB1:
218    pincodes: [R, V, Z, I]
219    afs:
220      ADC01_IN9: ANALOG
221      TIMER0_CH2_ON: 1
222      TIMER2_CH3: 2
223      TIMER7_CH2_ON: 3
224      USBHS_ULPI_D2: 10
225      ENET_MII_RXD3: 11
226      SDIO_D2: 12
227      EVENTOUT: 15
228  PB2:
229    pincodes: [R, V, Z, I]
230    afs:
231      TIMER1_CH3: 1
232      SPI2_MOSI: 7
233      I2S2_SD: 7
234      USBHS_ULPI_D4: 10
235      SDIO_CK: 12
236      EVENTOUT: 15
237  PB3:
238    pincodes: [R, V, Z, I]
239    afs:
240      JTDO: 0
241      TRACESWO: 0
242      TIMER1_CH1: 1
243      SPI0_SCK: 5
244      SPI2_SCK: 6
245      I2S2_CK: 6
246      USART0_RX: 7
247      I2C1_SDA: 9
248      EVENTOUT: 15
249  PB4:
250    pincodes: [R, V, Z, I]
251    afs:
252      NJTRST: 0
253      TIMER2_CH0: 2
254      I2C0_TXFRAME: 4
255      SPI0_MISO: 5
256      SPI2_MISO: 6
257      I2S2_ADD_SD: 7
258      I2C2_SDA: 9
259      SDIO_D0: 12
260      EVENTOUT: 15
261  PB5:
262    pincodes: [R, V, Z, I]
263    afs:
264      TIMER2_CH1: 2
265      I2C0_SMBA: 4
266      SPI0_MOSI: 5
267      SPI2_MOSI: 6
268      I2S2_SD: 6
269      CAN1_RX: 9
270      USBHS_ULPI_D7: 10
271      ENET_PPS_OUT: 11
272      EXMC_SDCKE1: 12
273      DCI_D10: 13
274      EVENTOUT: 15
275  PB6:
276    pincodes: [R, V, Z, I]
277    afs:
278      TIMER3_CH0: 2
279      I2C0_SCL: 4
280      USART0_TX: 7
281      CAN1_TX: 9
282      EXMC_SDNE1: 11
283      DCI_D5: 13
284      EVENTOUT: 15
285  PB7:
286    pincodes: [R, V, Z, I]
287    afs:
288      TIMER3_CH1: 2
289      I2C0_SDA: 4
290      USART0_RX: 7
291      EXMC_NL: 12
292      EXMC_NADV: 12
293      DCI_VSYNC: 13
294      EVENTOUT: 15
295  PB8:
296    pincodes: [R, V, Z, I]
297    afs:
298      TIMER1_CH0: 1
299      TIMER1_ETI: 1
300      TIMER3_CH2: 2
301      TIMER9_CH0: 3
302      I2C0_SCL: 4
303      CAN0_RX: 9
304      SDIO_D4: 12
305      ENET_MII_TXD3: 11
306      DCI_D6: 13
307      EVENTOUT: 15
308  PB9:
309    pincodes: [R, V, Z, I]
310    afs:
311      TIMER1_CH1: 1
312      TIMER3_CH3: 2
313      TIMER10_CH0: 3
314      I2C0_SDA: 4
315      SPI1_NSS: 5
316      I2S1_WS: 5
317      CAN0_TX: 9
318      SDIO_D5: 12
319      ENET_MII_RX_ER: 1
320      DCI_D7: 13
321      EVENTOUT: 15
322  PB10:
323    pincodes: [R, V, Z, I]
324    afs:
325      TIMER1_CH2: 1
326      I2C1_SCL: 4
327      SPI1_SCK: 5
328      I2S1_CK: 5
329      I2S2_MCK: 6
330      USART2_TX: 7
331      USBHS_ULPI_D3: 10
332      ENET_MII_TX_EN: 11
333      ENET_RMII_TX_EN: 11
334      SDIO_D7: 12
335      EVENTOUT: 15
336  PB11:
337    pincodes: [R, V, Z, I]
338    afs:
339      TIMER1_CH3: 1
340      I2C1_SDA: 4
341      I2S_CKIN: 5
342      USART2_RX: 7
343      USBHS_ULPI_D4: 10
344      ENET_MII_TXD0: 11
345      ENET_RMII_TXD0: 11
346      EVENTOUT: 15
347  PB12:
348    pincodes: [R, V, Z, I]
349    afs:
350      TIMER0_BRKIN: 1
351      I2C1_SMBA: 4
352      SPI1_NSS: 5
353      I2S1_WS: 5
354      USART2_CK: 7
355      CAN1_RX: 9
356      USBHS_ULPI_D5: 10
357      ENET_MII_TXD1: 11
358      ENET_RMII_TXD1: 11
359      USBHS_ID: 12
360      EVENTOUT: 15
361  PB13:
362    pincodes: [R, V, Z, I]
363    afs:
364      TIMER0_CH0_ON: 1
365      I2C1_TXFRAME: 4
366      SPI1_SCK: 5
367      I2S1_CK: 5
368      USART2_CTS: 7
369      CAN1_TX: 9
370      USBHS_ULPI_D6: 10
371      EVENTOUT: 15
372  PB14:
373    pincodes: [R, V, Z, I]
374    afs:
375      TIMER0_CH1_ON: 1
376      TIMER7_CH1_ON: 3
377      SPI1_MISO: 5
378      I2S1_ADD_SD: 6
379      USART2_RTS: 7
380      TIMER11_CH0: 9
381      USBHS_DM: 12
382      EVENTOUT: 15
383  PB15:
384    pincodes: [R, V, Z, I]
385    afs:
386      RTC_REFIN: 0
387      TIMER0_CH2_ON: 1
388      TIMER7_CH2_ON: 3
389      SPI1_MOSI: 5
390      I2S1_SD: 5
391      TIMER11_CH1: 9
392      USBHS_DP: 12
393      EVENTOUT: 15
394  PC0:
395    pincodes: [R, V, Z, I]
396    afs:
397      ADC012_IN10: ANALOG
398      USBHS_ULPI_STP: 10
399      EXMC_SDNWE: 12
400      EVENTOUT: 15
401  PC1:
402    pincodes: [R, V, Z, I]
403    afs:
404      ADC012_IN11: ANALOG
405      SPI2_MOSI: 5
406      I2S2_SD: 5
407      SPI1_MOSI: 7
408      I2S1_SD: 7
409      ENET_MDC: 11
410      EVENTOUT: 15
411  PC2:
412    pincodes: [R, V, Z, I]
413    afs:
414      ADC012_IN12: ANALOG
415      SPI1_MISO: 5
416      I2S1_ADD_SD: 6
417      USBHS_ULPI_DIR: 10
418      ENET_MII_TXD2: 11
419      EXMC_SDNE0: 12
420      EVENTOUT: 15
421  PC3:
422    pincodes: [R, V, Z, I]
423    afs:
424      ADC012_IN13: ANALOG
425      SPI1_MOSI: 5
426      I2S1_SD: 5
427      USBHS_ULPI_NXT: 10
428      ENET_MII_TX_CLK: 11
429      EXMC_SDCKE0: 12
430      EVENTOUT: 15
431  PC4:
432    pincodes: [R, V, Z, I]
433    afs:
434      ADC01_IN14: ANALOG
435      ENET_MII_RXD0: 11
436      ENET_RMII_RXD0: 11
437      EXMC_SDNE0: 12
438      EVENTOUT: 15
439  PC5:
440    pincodes: [R, V, Z, I]
441    afs:
442      ADC01_IN15: ANALOG
443      USART2_RX: 7
444      ENET_MII_RXD1: 11
445      ENET_RMII_RXD1: 11
446      EXMC_SDCKE0: 12
447      EVENTOUT: 15
448  PC6:
449    pincodes: [R, V, Z, I]
450    afs:
451      TIMER2_CH0: 2
452      TIMER7_CH0: 3
453      I2S1_MCK: 5
454      USART5_TX: 8
455      SDIO_D6: 12
456      DCI_D0: 13
457      EVENTOUT: 15
458  PC7:
459    pincodes: [R, V, Z, I]
460    afs:
461      TIMER2_CH1: 2
462      TIMER7_CH1: 3
463      SPI1_SCK: 5
464      I2S1_CK: 5
465      I2S2_MCK: 6
466      USART5_RX: 8
467      SDIO_D7: 12
468      DCI_D1: 13
469      EVENTOUT: 15
470  PC8:
471    pincodes: [R, V, Z, I]
472    afs:
473      TRACED0: 0
474      TIMER2_CH2: 2
475      TIMER7_CH2: 3
476      USART5_CK: 8
477      SDIO_D0: 12
478      DCI_D2: 13
479      EVENTOUT: 15
480  PC9:
481    pincodes: [R, V, Z, I]
482    afs:
483      CK_OUT1: 0
484      TIMER2_CH3: 2
485      TIMER7_CH3: 3
486      I2C2_SDA: 4
487      I2S_CKIN: 5
488      SDIO_D1: 12
489      DCI_D3: 13
490      EVENTOUT: 15
491  PC10:
492    pincodes: [R, V, Z, I]
493    afs:
494      SPI2_SCK: 6
495      I2S2_CK: 6
496      USART2_TX: 7
497      UART3_TX: 8
498      SDIO_D2: 12
499      DCI_D8: 13
500      EVENTOUT: 15
501  PC11:
502    pincodes: [R, V, Z, I]
503    afs:
504      I2S2_ADD_SD: 5
505      SPI2_MISO: 6
506      USART2_RX: 7
507      UART3_RX: 8
508      SDIO_D3: 12
509      DCI_D4: 13
510      EVENTOUT: 15
511  PC12:
512    pincodes: [R, V, Z, I]
513    afs:
514      I2C1_SDA: 4
515      SPI2_MOSI: 6
516      I2S2_SD: 6
517      USART2_CK: 7
518      UART4_TX: 8
519      SDIO_CK: 12
520      DCI_D9: 13
521      EVENTOUT: 15
522  PC13:
523    pincodes: [R, V, Z, I]
524    afs:
525      EVENTOUT: 15
526  PC14:
527    pincodes: [R, V, Z, I]
528    afs:
529      EVENTOUT: 15
530  PC15:
531    pincodes: [R, V, Z, I]
532    afs:
533      EVENTOUT: 15
534  PD0:
535    pincodes: [V, Z, I]
536    afs:
537      SPI2_MOSI: 6
538      I2S2_SD: 6
539      CAN0_RX: 9
540      EXMC_D2: 12
541      EVENTOUT: 15
542  PD1:
543    pincodes: [V, Z, I]
544    afs:
545      SPI1_NSS: 7
546      I2S1_WS: 7
547      CAN0_TX: 9
548      EXMC_D3: 12
549      EVENTOUT: 15
550  PD2:
551    pincodes: [R, V, Z, I]
552    afs:
553      TIMER2_ETI: 2
554      UART4_RX: 8
555      SDIO_CMD: 12
556      DCI_D11: 13
557      EVENTOUT: 15
558  PD3:
559    pincodes: [V, Z, I]
560    afs:
561      TRACED1: 0
562      SPI1_SCK: 5
563      I2S1_CK: 5
564      USART1_CTS: 7
565      EXMC_CLK: 12
566      DCI_D5: 13
567      EVENTOUT: 15
568  PD4:
569    pincodes: [V, Z, I]
570    afs:
571      USART1_RTS: 7
572      EXMC_NOE: 12
573      EVENTOUT: 15
574  PD5:
575    pincodes: [V, Z, I]
576    afs:
577      USART1_TX: 7
578      EXMC_NWE: 12
579      EVENTOUT: 15
580  PD6:
581    pincodes: [V, Z, I]
582    afs:
583      SPI2_MOSI: 5
584      I2S2_SD: 5
585      USART1_RX: 7
586      EXMC_NWAIT: 12
587      DCI_D10: 13
588      EVENTOUT: 15
589  PD7:
590    pincodes: [V, Z, I]
591    afs:
592      USART1_CK: 7
593      EXMC_NE0: 12
594      EXMC_NCE1: 12
595      EVENTOUT: 15
596  PD8:
597    pincodes: [V, Z, I]
598    afs:
599      USART2_TX: 7
600      EXMC_D13: 12
601      EVENTOUT: 15
602  PD9:
603    pincodes: [V, Z, I]
604    afs:
605      USART2_RX: 7
606      EXMC_D14: 12
607      EVENTOUT: 15
608  PD10:
609    pincodes: [V, Z, I]
610    afs:
611      USART2_CK: 7
612      EXMC_D15: 12
613      EVENTOUT: 15
614  PD11:
615    pincodes: [V, Z, I]
616    afs:
617      USART2_CTS: 7
618      EXMC_A16: 12
619      EXMC_CLE: 12
620      EVENTOUT: 15
621  PD12:
622    pincodes: [V, Z, I]
623    afs:
624      TIMER3_CH0: 2
625      USART2_RTS: 7
626      EXMC_A17: 12
627      EXMC_ALE: 12
628      EVENTOUT: 15
629  PD13:
630    pincodes: [V, Z, I]
631    afs:
632      TIMER3_CH1: 2
633      EXMC_A18: 12
634      EVENTOUT: 15
635  PD14:
636    pincodes: [V, Z, I]
637    afs:
638      TIMER3_CH2: 2
639      EXMC_D0: 12
640      EVENTOUT: 15
641  PD15:
642    pincodes: [V, Z, I]
643    afs:
644      CTC_SYNC: 0
645      TIMER3_CH3: 2
646      EXMC_D1: 12
647      EVENTOUT: 15
648  PE0:
649    pincodes: [V, Z, I]
650    afs:
651      TIMER3_ETI: 2
652      EXMC_NBL0: 12
653      DCI_D2: 13
654      EVENTOUT: 15
655  PE1:
656    pincodes: [V, Z, I]
657    afs:
658      TIMER0_CH1_ON: 1
659      DCI_D3: 13
660      EXMC_NBL1: 12
661      EVENTOUT: 15
662  PE2:
663    pincodes: [V, Z, I]
664    afs:
665      TRACECK: 0
666      ENET_MII_TXD3: 11
667      EXMC_A23: 12
668      EVENTOUT: 15
669  PE3:
670    pincodes: [V, Z, I]
671    afs:
672      TRACED0: 0
673      EXMC_A19: 12
674      EVENTOUT: 15
675  PE4:
676    pincodes: [V, Z, I]
677    afs:
678      TRACED1: 0
679      EXMC_A20: 12
680      DCI_D4: 13
681      EVENTOUT: 15
682  PE5:
683    pincodes: [V, Z, I]
684    afs:
685      TRACED2: 0
686      TIMER8_CH0: 3
687      EXMC_A21: 12
688      DCI_D6: 13
689      EVENTOUT: 15
690  PE6:
691    pincodes: [V, Z, I]
692    afs:
693      TRACED3: 0
694      TIMER8_CH1: 3
695      EXMC_A22: 12
696      DCI_D7: 13
697      EVENTOUT: 15
698  PE7:
699    pincodes: [V, Z, I]
700    afs:
701      TIMER0_ETI: 0
702      EXMC_D4: 12
703      EVENTOUT: 15
704  PE8:
705    pincodes: [V, Z, I]
706    afs:
707      TIMER0_CH0_ON: 1
708      EXMC_D5: 12
709      EVENTOUT: 15
710  PE9:
711    pincodes: [V, Z, I]
712    afs:
713      TIMER0_CH0: 0
714      EXMC_D6: 12
715      EVENTOUT: 15
716  PE10:
717    pincodes: [V, Z, I]
718    afs:
719      TIMER0_CH1_ON: 1
720      EXMC_D7: 12
721      EVENTOUT: 15
722  PE11:
723    pincodes: [V, Z, I]
724    afs:
725      TIMER0_CH1: 0
726      EXMC_D8: 12
727      EVENTOUT: 15
728  PE12:
729    pincodes: [V, Z, I]
730    afs:
731      TIMER0_CH2_ON: 1
732      EXMC_D9: 12
733      EVENTOUT: 15
734  PE13:
735    pincodes: [V, Z, I]
736    afs:
737      TIMER0_CH2: 0
738      EXMC_D10: 12
739      EVENTOUT: 15
740  PE14:
741    pincodes: [V, Z, I]
742    afs:
743      TIMER0_CH3: 0
744      EXMC_D11: 12
745      EVENTOUT: 15
746  PE15:
747    pincodes: [V, Z, I]
748    afs:
749      TIMER0_BRKIN: 1
750      EXMC_D12: 12
751      EVENTOUT: 15
752  PF0:
753    pincodes: [Z, I]
754    afs:
755      CTC_SYNC: 0
756      I2C1_SDA: 4
757      EXMC_A0: 12
758      EVENTOUT: 15
759  PF1:
760    pincodes: [Z, I]
761    afs:
762      I2C1_SCL: 4
763      EXMC_A1: 12
764      EVENTOUT: 15
765  PF2:
766    pincodes: [Z, I]
767    afs:
768      I2C1_SMBA: 4
769      EXMC_A2: 12
770      EVENTOUT: 15
771  PF3:
772    pincodes: [Z, I]
773    afs:
774      ADC2_IN9: ANALOG
775      I2C1_TXFRAME: 4
776      EXMC_A3: 12
777      EVENTOUT: 15
778  PF4:
779    pincodes: [Z, I]
780    afs:
781      ADC2_IN14: ANALOG
782      EXMC_A4: 12
783      EVENTOUT: 15
784  PF5:
785    pincodes: [Z, I]
786    afs:
787      ADC2_IN15: ANALOG
788      EXMC_A5: 12
789      EVENTOUT: 15
790  PF6:
791    pincodes: [Z, I]
792    afs:
793      ADC2_IN4: ANALOG
794      TIMER9_CH0: 3
795      EXMC_NIORD: 12
796      EVENTOUT: 15
797  PF7:
798    pincodes: [Z, I]
799    afs:
800      ADC2_IN5: ANALOG
801      TIMER10_CH0: 3
802      EXMC_NREG: 12
803      EVENTOUT: 15
804  PF8:
805    pincodes: [Z, I]
806    afs:
807      ADC2_IN6: ANALOG
808      TIMER12_CH0: 9
809      EXMC_NIOWR: 12
810      EVENTOUT: 15
811  PF9:
812    pincodes: [Z, I]
813    afs:
814      ADC2_IN7: ANALOG
815      TIMER13_CH0: 9
816      EXMC_CD: 12
817      EVENTOUT: 15
818  PF10:
819    pincodes: [Z, I]
820    afs:
821      ADC2_IN8: ANALOG
822      DCI_D11: 13
823      EXMC_INTR: 12
824      EVENTOUT: 15
825  PF11:
826    pincodes: [Z, I]
827    afs:
828      DCI_D12: 13
829      EXMC_SDNRAS: 12
830      EVENTOUT: 15
831  PF12:
832    pincodes: [Z, I]
833    afs:
834      EXMC_A6: 12
835      EVENTOUT: 15
836  PF13:
837    pincodes: [Z, I]
838    afs:
839      EXMC_A7: 12
840      EVENTOUT: 15
841  PF14:
842    pincodes: [Z, I]
843    afs:
844      EXMC_A8: 12
845      EVENTOUT: 15
846  PF15:
847    pincodes: [Z, I]
848    afs:
849      EXMC_A9: 12
850      EVENTOUT: 15
851  PG0:
852    pincodes: [Z, I]
853    afs:
854      EXMC_A10: 12
855      EVENTOUT: 15
856  PG1:
857    pincodes: [Z, I]
858    afs:
859      EXMC_A11: 12
860      EVENTOUT: 15
861  PG2:
862    pincodes: [Z, I]
863    afs:
864      EXMC_A12: 12
865      EVENTOUT: 15
866  PG3:
867    pincodes: [Z, I]
868    afs:
869      EXMC_A13: 12
870      EVENTOUT: 15
871  PG4:
872    pincodes: [Z, I]
873    afs:
874      EXMC_A14: 12
875      EVENTOUT: 15
876  PG5:
877    pincodes: [Z, I]
878    afs:
879      EXMC_A15: 12
880      EVENTOUT: 15
881  PG6:
882    pincodes: [Z, I]
883    afs:
884      EXMC_INT1: 12
885      DCI_D12: 13
886      EVENTOUT: 15
887  PG7:
888    pincodes: [Z, I]
889    afs:
890      USART5_CK: 8
891      EXMC_INT2: 12
892      DCI_D13: 13
893      EVENTOUT: 15
894  PG8:
895    pincodes: [Z, I]
896    afs:
897      USART5_RTS: 8
898      EXMC_SDCLK: 12
899      EVENTOUT: 15
900  PG9:
901    pincodes: [Z, I]
902    afs:
903      USART5_RX: 8
904      EXMC_NE1: 12
905      EXMC_NCE2: 12
906      DCI_VSYNC: 13
907      EVENTOUT: 15
908  PG10:
909    pincodes: [Z, I]
910    afs:
911      DCI_D2: 13
912      EXMC_NCE3_0: 12
913      EXMC_NE2: 12
914      EVENTOUT: 15
915  PG11:
916    pincodes: [Z, I]
917    afs:
918      EXMC_NCE3_1: 12
919      DCI_D3: 13
920      EVENTOUT: 15
921  PG12:
922    pincodes: [Z, I]
923    afs:
924      USART5_RTS: 8
925      EXMC_NE3: 12
926      EVENTOUT: 15
927  PG13:
928    pincodes: [Z, I]
929    afs:
930      TRACED2: 0
931      USART5_CTS: 8
932      EXMC_A24: 12
933      EVENTOUT: 15
934  PG14:
935    pincodes: [Z, I]
936    afs:
937      TRACED3: 0
938      USART5_TX: 8
939      EXMC_A25: 12
940      EVENTOUT: 15
941  PG15:
942    pincodes: [Z, I]
943    afs:
944      USART5_CTS: 8
945      EXMC_SDNCAS: 12
946      DCI_D13: 13
947      EVENTOUT: 15
948  PH0:
949    pincodes: [I]
950    afs:
951      EVENTOUT: 15
952  PH1:
953    pincodes: [I]
954    afs:
955      EVENTOUT: 15
956  PH2:
957    pincodes: [I]
958    afs:
959      ENET_MII_CRS: 11
960      EXMC_SDCKE0: 12
961      EVENTOUT: 15
962  PH3:
963    pincodes: [I]
964    afs:
965      I2C1_TXFRAME: 4
966      ENET_MII_COL: 11
967      EXMC_SDNE0: 12
968      EVENTOUT: 15
969  PH4:
970    pincodes: [I]
971    afs:
972      I2C1_SCL: 4
973      USBHS_ULPI_NXT: 10
974      EVENTOUT: 15
975  PH5:
976    pincodes: [I]
977    afs:
978      I2C1_SDA: 4
979      EXMC_SDNWE: 12
980      EVENTOUT: 15
981  PH6:
982    pincodes: [I]
983    afs:
984      I2C1_SMBA: 4
985      TIMER11_CH0: 9
986      ENET_MII_RXD2: 11
987      EXMC_SDNE1: 12
988      DCI_D8: 13
989      EVENTOUT: 15
990  PH7:
991    pincodes: [I]
992    afs:
993      I2C2_SCL: 4
994      ENET_MII_RXD3: 11
995      EXMC_SDCKE1: 12
996      DCI_D9: 13
997      EVENTOUT: 15
998  PH8:
999    pincodes: [I]
1000    afs:
1001      I2C2_SDA: 4
1002      EXMC_D16: 12
1003      DCI_HSYNC: 13
1004      EVENTOUT: 15
1005  PH9:
1006    pincodes: [I]
1007    afs:
1008      I2C2_SMBA: 4
1009      TIMER11_CH1: 9
1010      EXMC_D17: 12
1011      DCI_D0: 13
1012      EVENTOUT: 15
1013  PH10:
1014    pincodes: [I]
1015    afs:
1016      TIMER4_CH0: 2
1017      I2C2_TXFRAME: 4
1018      EXMC_D18: 12
1019      DCI_D1: 13
1020      EVENTOUT: 15
1021  PH11:
1022    pincodes: [I]
1023    afs:
1024      TIMER4_CH1: 2
1025      EXMC_D19: 12
1026      DCI_D2: 13
1027      EVENTOUT: 15
1028  PH12:
1029    pincodes: [I]
1030    afs:
1031      TIMER4_CH2: 2
1032      EXMC_D20: 12
1033      DCI_D3: 13
1034      EVENTOUT: 15
1035  PH13:
1036    pincodes: [I]
1037    afs:
1038      TIMER7_CH0_ON: 3
1039      CAN0_TX: 9
1040      EXMC_D21: 12
1041      EVENTOUT: 15
1042  PH14:
1043    pincodes: [I]
1044    afs:
1045      TIMER7_CH1_ON: 3
1046      EXMC_D22: 12
1047      DCI_D4: 13
1048      EVENTOUT: 15
1049  PH15:
1050    pincodes: [I]
1051    afs:
1052      TIMER7_CH2_ON: 3
1053      EXMC_D23: 12
1054      DCI_D11: 13
1055      EVENTOUT: 15
1056
1057  PI0:
1058    pincodes: [I]
1059    afs:
1060      TIMER4_CH3: 2
1061      SPI1_NSS: 5
1062      EXMC_D24: 12
1063      DCI_D13: 13
1064      EVENTOUT: 15
1065  PI1:
1066    pincodes: [I]
1067    afs:
1068      SPI1_SCK: 5
1069      EXMC_D25: 12
1070      DCI_D8: 13
1071      EVENTOUT: 15
1072  PI2:
1073    pincodes: [I]
1074    afs:
1075      TIMER7_CH3: 3
1076      SPI1_MISO: 5
1077      I2S1_ADD_SD: 6
1078      EXMC_D26: 12
1079      DCI_D9: 13
1080      EVENTOUT: 15
1081  PI3:
1082    pincodes: [I]
1083    afs:
1084      TIMER7_ETI: 3
1085      SPI1_MOSI: 5
1086      EXMC_D27: 12
1087      DCI_D10: 13
1088      EVENTOUT: 15
1089  PI4:
1090    pincodes: [I]
1091    afs:
1092      TIMER7_BRKIN: 3
1093      EXMC_NBL2: 12
1094      DCI_D5: 13
1095      EVENTOUT: 15
1096  PI5:
1097    pincodes: [I]
1098    afs:
1099      TIMER7_CH0: 3
1100      EXMC_NBL3: 12
1101      DCI_VSYNC: 13
1102      EVENTOUT: 15
1103  PI6:
1104    pincodes: [I]
1105    afs:
1106      TIMER7_CH1: 3
1107      EXMC_D28: 12
1108      DCI_D6: 13
1109      EVENTOUT: 15
1110  PI7:
1111    pincodes: [I]
1112    afs:
1113      TIMER7_CH2: 3
1114      EXMC_D29: 12
1115      DCI_D7: 13
1116      EVENTOUT: 15
1117  PI8:
1118    pincodes: [I]
1119    afs:
1120      EVENTOUT: 15
1121  PI9:
1122    pincodes: [I]
1123    afs:
1124      CAN0_RX: 9
1125      EXMC_D30: 12
1126      EVENTOUT: 15
1127  PI10:
1128    pincodes: [I]
1129    afs:
1130      ENET_MII_RX_ER: 11
1131      EXMC_D31: 12
1132      EVENTOUT: 15
1133  PI11:
1134    pincodes: [I]
1135    afs:
1136      USBHS_ULPI_DIR: 10
1137      EVENTOUT: 15
1138