1# GD32E103XX pin definitions
2#
3# Sources:
4# - GD32E103XX Datasheet (Revision 1.5)
5# - GD32E103 User Manual (Revision 1.5)
6#
7# Pin codes:
8#
9# - 100 pins: V
10# - 64 pins:  R
11# - 48 pins:  C
12# - 36 pins:  T
13#
14# Memory codes:
15#
16# - 128Kb Flash, 32Kb SRAM: B
17# - 64Kb  Flash, 20Kb SRAM: 8
18#
19# Copyright (c) 2021 YuLong Yao <feilongphone@gmail.com>
20# SPDX-License-Identifier: Apache 2.0
21
22model: afio
23
24series: gd32e103
25
26variants:
27  - pincode: V
28    memories: [B, 8]
29  - pincode: R
30    memories: [B, 8]
31  - pincode: C
32    memories: [B, 8]
33  - pincode: T
34    memories: [B, 8]
35
36signal-configs:
37  ADC01_IN0:
38    modes: [analog]
39  ADC01_IN1:
40    modes: [analog]
41  ADC01_IN10:
42    modes: [analog]
43    exclude-pincodes: [T, C]
44  ADC01_IN11:
45    modes: [analog]
46    exclude-pincodes: [T, C]
47  ADC01_IN12:
48    modes: [analog]
49    exclude-pincodes: [T, C]
50  ADC01_IN13:
51    modes: [analog]
52    exclude-pincodes: [T, C]
53  ADC01_IN14:
54    modes: [analog]
55    exclude-pincodes: [T, C]
56  ADC01_IN15:
57    modes: [analog]
58    exclude-pincodes: [T, C]
59  ADC01_IN2:
60    modes: [analog]
61  ADC01_IN3:
62    modes: [analog]
63  ADC01_IN4:
64    modes: [analog]
65  ADC01_IN5:
66    modes: [analog]
67  ADC01_IN6:
68    modes: [analog]
69  ADC01_IN7:
70    modes: [analog]
71  ADC01_IN8:
72    modes: [analog]
73  ADC01_IN9:
74    modes: [analog]
75  CK_OUT0:
76    modes: [out]
77  CTC_SYNC:
78    modes: [out]
79  DAC_OUT0:
80    modes: [analog]
81  DAC_OUT1:
82    modes: [analog]
83  EXMC_A16:
84    modes: [out]
85    exclude-pincodes: [T, R, C]
86  EXMC_A17:
87    modes: [out]
88    exclude-pincodes: [T, R, C]
89  EXMC_A18:
90    modes: [out]
91    exclude-pincodes: [T, R, C]
92  EXMC_A19:
93    modes: [out]
94    exclude-pincodes: [T, R, C]
95  EXMC_A20:
96    modes: [out]
97    exclude-pincodes: [T, R, C]
98  EXMC_A21:
99    modes: [out]
100    exclude-pincodes: [T, R, C]
101  EXMC_A22:
102    modes: [out]
103    exclude-pincodes: [T, R, C]
104  EXMC_A23:
105    modes: [out]
106    exclude-pincodes: [T, R, C]
107  EXMC_CLK:
108    modes: [out]
109    exclude-pincodes: [T, R, C]
110  EXMC_D0:
111    modes: [out]
112    exclude-pincodes: [T, R, C]
113  EXMC_D1:
114    modes: [out]
115    exclude-pincodes: [T, R, C]
116  EXMC_D10:
117    modes: [out]
118    exclude-pincodes: [T, R, C]
119  EXMC_D11:
120    modes: [out]
121    exclude-pincodes: [T, R, C]
122  EXMC_D12:
123    modes: [out]
124    exclude-pincodes: [T, R, C]
125  EXMC_D13:
126    modes: [out]
127    exclude-pincodes: [T, R, C]
128  EXMC_D14:
129    modes: [out]
130    exclude-pincodes: [T, R, C]
131  EXMC_D15:
132    modes: [out]
133    exclude-pincodes: [T, R, C]
134  EXMC_D2:
135    modes: [out]
136    exclude-pincodes: [T, R, C]
137  EXMC_D3:
138    modes: [out]
139    exclude-pincodes: [T, R, C]
140  EXMC_D4:
141    modes: [out]
142    exclude-pincodes: [T, R, C]
143  EXMC_D5:
144    modes: [out]
145    exclude-pincodes: [T, R, C]
146  EXMC_D6:
147    modes: [out]
148    exclude-pincodes: [T, R, C]
149  EXMC_D7:
150    modes: [out]
151    exclude-pincodes: [T, R, C]
152  EXMC_D8:
153    modes: [out]
154    exclude-pincodes: [T, R, C]
155  EXMC_D9:
156    modes: [out]
157    exclude-pincodes: [T, R, C]
158  EXMC_NBL0:
159    modes: [out]
160    exclude-pincodes: [T, R, C]
161  EXMC_NBL1:
162    modes: [out]
163    exclude-pincodes: [T, R, C]
164  EXMC_NE0:
165    modes: [out]
166    exclude-pincodes: [T, R, C]
167  EXMC_NL(NADV):
168    modes: [out]
169    exclude-pincodes: [T, R, C]
170  EXMC_NOE:
171    modes: [out]
172    exclude-pincodes: [T, R, C]
173  EXMC_NWAIT:
174    modes: [inp]
175    exclude-pincodes: [T, R, C]
176  EXMC_NWE:
177    modes: [out]
178    exclude-pincodes: [T, R, C]
179  I2C0_SCL:
180    modes: [out]
181  I2C0_SDA:
182    modes: [out]
183  I2C0_SMBA:
184    modes: [out]
185  I2C0_TXFRAME:
186    modes: [out]
187  I2C1_SCL:
188    modes: [out]
189    exclude-pincodes: [T]
190  I2C1_SDA:
191    modes: [out]
192    exclude-pincodes: [T]
193  I2C1_SMBA:
194    modes: [out]
195    exclude-pincodes: [T]
196  I2C1_TXFRAME:
197    modes: [out]
198    exclude-pincodes: [T]
199  I2S1_CK:
200    modes: [out]
201    exclude-pincodes: [T]
202  I2S1_MCK:
203    modes: [out]
204    exclude-pincodes: [T, C]
205  I2S1_SD:
206    modes: [inp, out]
207    exclude-pincodes: [T]
208  I2S1_WS:
209    modes: [inp, out]
210    exclude-pincodes: [T]
211  I2S2_CK:
212    modes: [out]
213    exclude-pincodes: [T]
214  I2S2_MCK:
215    modes: [out]
216    exclude-pincodes: [T, C]
217  I2S2_SD:
218    modes: [inp, out]
219    exclude-pincodes: [T]
220  I2S2_WS:
221    modes: [inp, out]
222    exclude-pincodes: [T]
223  RTC_TAMPER:
224    modes: [inp]
225    exclude-pincodes: [T]
226  SPI0_IO2:
227    modes: [out]
228  SPI0_IO3:
229    modes: [out]
230  SPI0_MISO:
231    modes: [inp, out]
232  SPI0_MOSI:
233    modes: [inp, out]
234  SPI0_NSS:
235    modes: [inp, out]
236  SPI0_SCK:
237    modes: [inp, out]
238  SPI1_MISO:
239    modes: [inp, out]
240    exclude-pincodes: [T]
241  SPI1_MOSI:
242    modes: [inp, out]
243    exclude-pincodes: [T]
244  SPI1_NSS:
245    modes: [inp, out]
246    exclude-pincodes: [T]
247  SPI1_SCK:
248    modes: [inp, out]
249    exclude-pincodes: [T]
250  SPI2_MISO:
251    modes: [inp, out]
252    exclude-pincodes: [T]
253  SPI2_MOSI:
254    modes: [inp, out]
255    exclude-pincodes: [T]
256  SPI2_NSS:
257    modes: [inp, out]
258    exclude-pincodes: [T]
259  SPI2_SCK:
260    modes: [inp, out]
261    exclude-pincodes: [T]
262  TIMER0_BKIN:
263    modes: [inp]
264    exclude-pincodes: [T]
265  TIMER0_CH0:
266    modes: [inp, out]
267  TIMER0_CH0_ON:
268    modes: [inp, out]
269    exclude-pincodes: [T]
270  TIMER0_CH1:
271    modes: [inp, out]
272  TIMER0_CH1_ON:
273    modes: [inp, out]
274    exclude-pincodes: [T]
275  TIMER0_CH2:
276    modes: [inp, out]
277  TIMER0_CH2_ON:
278    modes: [out]
279    exclude-pincodes: [T]
280  TIMER0_CH3:
281    modes: [inp, out]
282  TIMER0_ETI:
283    modes: [inp]
284  TIMER10_CH0:
285    modes: [inp, out]
286    exclude-pincodes: [T]
287  TIMER11_CH0:
288    modes: [inp, out]
289    exclude-pincodes: [T]
290  TIMER11_CH11:
291    modes: [inp, out]
292    exclude-pincodes: [T]
293  TIMER12_CH0:
294    modes: [inp, out]
295    exclude-pincodes: [T]
296  TIMER13_CH0:
297    modes: [inp, out]
298    exclude-pincodes: [T]
299  TIMER1_CH0_ETI:
300    modes: [inp]
301  TIMER1_CH1:
302    modes: [inp, out]
303  TIMER1_CH2:
304    modes: [inp, out]
305  TIMER1_CH3:
306    modes: [inp, out]
307  TIMER2_CH0:
308    modes: [inp, out]
309  TIMER2_CH1:
310    modes: [inp, out]
311  TIMER2_CH2:
312    modes: [inp, out]
313  TIMER2_CH3:
314    modes: [inp, out]
315  TIMER2_ETI:
316    modes: [inp]
317    exclude-pincodes: [T, C]
318  TIMER3_CH0:
319    modes: [inp, out]
320  TIMER3_CH1:
321    modes: [inp, out]
322  TIMER3_CH2:
323    modes: [inp, out]
324    exclude-pincodes: [T]
325  TIMER3_CH3:
326    modes: [inp, out]
327    exclude-pincodes: [T]
328  TIMER3_ETI:
329    modes: [inp]
330    exclude-pincodes: [T, R, C]
331  TIMER4_CH0:
332    modes: [inp, out]
333  TIMER4_CH1:
334    modes: [inp, out]
335  TIMER4_CH2:
336    modes: [inp, out]
337  TIMER4_CH3:
338    modes: [inp, out]
339  TIMER7_BKIN:
340    modes: [inp]
341    exclude-pincodes: [T, C]
342  TIMER7_CH0:
343    modes: [inp, out]
344    exclude-pincodes: [T, C]
345  TIMER7_CH0_ON:
346    modes: [inp, out]
347    exclude-pincodes: [T, C]
348  TIMER7_CH1:
349    modes: [inp, out]
350    exclude-pincodes: [T, C]
351  TIMER7_CH1_ON:
352    modes: [inp, out]
353    exclude-pincodes: [T, C]
354  TIMER7_CH2:
355    modes: [inp, out]
356    exclude-pincodes: [T, C]
357  TIMER7_CH2_ON:
358    modes: [out]
359    exclude-pincodes: [T, C]
360  TIMER7_CH3:
361    modes: [inp, out]
362    exclude-pincodes: [T, C]
363  TIMER7_ETI:
364    modes: [inp]
365    exclude-pincodes: [T, C]
366  TIMER8_CH0:
367    modes: [inp, out]
368    exclude-pincodes: [T]
369  TIMER8_CH1:
370    modes: [inp, out]
371    exclude-pincodes: [T]
372  TIMER9_CH0:
373    modes: [inp, out]
374    exclude-pincodes: [T]
375  TRACECK:
376    modes: [out]
377    exclude-pincodes: [T, R, C]
378  TRACED0:
379    modes: [out]
380    exclude-pincodes: [T, R, C]
381  TRACED1:
382    modes: [out]
383    exclude-pincodes: [T, R, C]
384  TRACED2:
385    modes: [out]
386    exclude-pincodes: [T, R, C]
387  TRACED3:
388    modes: [out]
389    exclude-pincodes: [T, R, C]
390  UART3_RX:
391    modes: [inp]
392    exclude-pincodes: [T, C]
393  UART3_TX:
394    modes: [out]
395    exclude-pincodes: [T, C]
396  UART4_RX:
397    modes: [inp]
398    exclude-pincodes: [T, C]
399  UART4_TX:
400    modes: [out]
401    exclude-pincodes: [T, C]
402  USART0_CK:
403    modes: [out]
404  USART0_CTS:
405    modes: [inp]
406  USART0_RTS:
407    modes: [out]
408  USART0_RX:
409    modes: [inp]
410  USART0_TX:
411    modes: [out]
412  USART1_CK:
413    modes: [out]
414  USART1_CTS:
415    modes: [inp]
416  USART1_RTS:
417    modes: [out]
418  USART1_RX:
419    modes: [inp]
420  USART1_TX:
421    modes: [out]
422  USART2_CK:
423    modes: [out]
424    exclude-pincodes: [T]
425  USART2_CTS:
426    modes: [inp]
427    exclude-pincodes: [T]
428  USART2_RTS:
429    modes: [out]
430    exclude-pincodes: [T]
431  USART2_RX:
432    modes: [inp]
433    exclude-pincodes: [T]
434  USART2_TX:
435    modes: [out]
436    exclude-pincodes: [T]
437  USBFS_DM:
438    modes: [inp, out]
439  USBFS_DP:
440    modes: [inp, out]
441  USBFS_ID:
442    modes: [inp, out]
443  USBFS_SOF:
444    modes: [out]
445  USBFS_VBUS:
446    modes: [inp]
447  WKUP:
448    modes: [inp]
449
450pins:
451  PA0:
452    pincodes: [C, V, R, T]
453    afs: [TIMER7_ETI, ADC01_IN0, TIMER1_CH0_ETI, TIMER4_CH0, USART1_CTS, WKUP]
454  PA1:
455    pincodes: [C, V, R, T]
456    afs: [TIMER1_CH1, TIMER4_CH1, ADC01_IN1, USART1_RTS]
457  PA2:
458    pincodes: [C, V, R, T]
459    afs: [TIMER1_CH2, ADC01_IN2, TIMER4_CH2, SPI0_IO2, TIMER8_CH0, USART1_TX]
460  PA3:
461    pincodes: [C, V, R, T]
462    afs: [ADC01_IN3, USART1_RX, TIMER8_CH1, TIMER4_CH3, TIMER1_CH3, SPI0_IO3]
463  PA4:
464    pincodes: [C, V, R, T]
465    afs: [ADC01_IN4, DAC_OUT0, SPI0_NSS, USART1_CK]
466  PA5:
467    pincodes: [C, V, R, T]
468    afs: [SPI0_SCK, ADC01_IN5, DAC_OUT1]
469  PA6:
470    pincodes: [C, V, R, T]
471    afs: [TIMER2_CH0, TIMER12_CH0, ADC01_IN6, SPI0_MISO, TIMER7_BKIN]
472  PA7:
473    pincodes: [C, V, R, T]
474    afs: [TIMER13_CH0, ADC01_IN7, SPI0_MOSI, TIMER2_CH1, TIMER7_CH0_ON]
475  PA8:
476    pincodes: [C, V, R, T]
477    afs: [CK_OUT0, USBFS_SOF, USART0_CK, VCORE, CTC_SYNC, TIMER0_CH0]
478  PA9:
479    pincodes: [C, V, R, T]
480    afs: [USBFS_VBUS, USART0_TX, TIMER0_CH1]
481  PA10:
482    pincodes: [C, V, R, T]
483    afs: [TIMER0_CH2, USART0_RX, USBFS_ID, V1REF]
484  PA11:
485    pincodes: [C, V, R, T]
486    afs: [USART0_CTS, TIMER0_CH3, USBFS_DM]
487  PA12:
488    pincodes: [C, V, R, T]
489    afs: [USBFS_DP, USART0_RTS, TIMER0_ETI]
490  PA13:
491    pincodes: [C, V, R, T]
492    afs: []
493  PA14:
494    pincodes: [C, V, R, T]
495    afs: []
496  PA15:
497    pincodes: [C, V, R, T]
498    afs: [SPI2_NSS, I2S2_WS]
499  PB0:
500    pincodes: [C, V, R, T]
501    afs: [ADC01_IN8, TIMER2_CH2, TIMER7_CH1_ON]
502  PB1:
503    pincodes: [C, V, R, T]
504    afs: [ADC01_IN9, TIMER2_CH3, TIMER7_CH2_ON]
505  PB2:
506    pincodes: [C, V, R, T]
507    afs: []
508  PB3:
509    pincodes: [C, V, R, T]
510    afs: [SPI2_SCK, I2S2_CK]
511  PB4:
512    pincodes: [C, V, R, T]
513    afs: [SPI2_MISO, I2C0_TXFRAME]
514  PB5:
515    pincodes: [C, V, R, T]
516    afs: [I2S2_SD, SPI2_MOSI, I2C0_SMBA]
517  PB6:
518    pincodes: [C, V, R, T]
519    afs: [I2C0_SCL, TIMER3_CH0]
520  PB7:
521    pincodes: [C, V, R, T]
522    afs: [TIMER3_CH1, EXMC_NL(NADV), I2C0_SDA]
523  PB8:
524    pincodes: [C, V, R]
525    afs: [TIMER9_CH0, TIMER3_CH2]
526  PB9:
527    pincodes: [C, V, R]
528    afs: [TIMER10_CH0, TIMER3_CH3]
529  PB10:
530    pincodes: [C, V, R]
531    afs: [I2C1_SCL, USART2_TX]
532  PB11:
533    pincodes: [C, V, R]
534    afs: [USART2_RX, I2C1_SDA]
535  PB12:
536    pincodes: [C, V, R]
537    afs: [SPI1_NSS, TIMER0_BKIN, I2S1_WS, I2C1_SMBA, USART2_CK]
538  PB13:
539    pincodes: [C, V, R]
540    afs: [USART2_CTS, SPI1_SCK, I2C1_TXFRAME, TIMER0_CH0_ON, I2S1_CK]
541  PB14:
542    pincodes: [C, V, R]
543    afs: [USART2_RTS, TIMER11_CH0, SPI1_MISO, TIMER0_CH1_ON]
544  PB15:
545    pincodes: [C, V, R]
546    afs: [TIMER11_CH11, SPI1_MOSI, TIMER0_CH2_ON, I2S1_SD]
547  PC0:
548    pincodes: [V, R]
549    afs: [ADC01_IN10]
550  PC1:
551    pincodes: [V, R]
552    afs: [ADC01_IN11]
553  PC2:
554    pincodes: [V, R]
555    afs: [ADC01_IN12]
556  PC3:
557    pincodes: [V, R]
558    afs: [ADC01_IN13]
559  PC4:
560    pincodes: [V, R]
561    afs: [ADC01_IN14]
562  PC5:
563    pincodes: [V, R]
564    afs: [ADC01_IN15]
565  PC6:
566    pincodes: [V, R]
567    afs: [TIMER7_CH0, I2S1_MCK]
568  PC7:
569    pincodes: [V, R]
570    afs: [TIMER7_CH1, I2S2_MCK]
571  PC8:
572    pincodes: [V, R]
573    afs: [TIMER7_CH2]
574  PC9:
575    pincodes: [V, R]
576    afs: [TIMER7_CH3]
577  PC10:
578    pincodes: [V, R]
579    afs: [UART3_TX]
580  PC11:
581    pincodes: [V, R]
582    afs: [UART3_RX]
583  PC12:
584    pincodes: [V, R]
585    afs: [UART4_TX]
586  PC13:
587    pincodes: [C, V, R]
588    afs: [RTC_TAMPER]
589  PC14:
590    pincodes: [C, V, R]
591    afs: [OSC32IN]
592  PC15:
593    pincodes: [C, V, R]
594    afs: [OSC32OUT]
595  PD0:
596    pincodes: [C, V, R, T]
597    afs: [EXMC_D2]
598  PD1:
599    pincodes: [C, V, R, T]
600    afs: [EXMC_D3]
601  PD2:
602    pincodes: [V, R]
603    afs: [UART4_RX, TIMER2_ETI]
604  PD3:
605    pincodes: [V]
606    afs: [EXMC_CLK]
607  PD4:
608    pincodes: [V]
609    afs: [EXMC_NOE]
610  PD5:
611    pincodes: [V]
612    afs: [EXMC_NWE]
613  PD6:
614    pincodes: [V]
615    afs: [EXMC_NWAIT]
616  PD7:
617    pincodes: [V]
618    afs: [EXMC_NE0]
619  PD8:
620    pincodes: [V]
621    afs: [EXMC_D13]
622  PD9:
623    pincodes: [V]
624    afs: [EXMC_D14]
625  PD10:
626    pincodes: [V]
627    afs: [EXMC_D15]
628  PD11:
629    pincodes: [V]
630    afs: [EXMC_A16]
631  PD12:
632    pincodes: [V]
633    afs: [EXMC_A17]
634  PD13:
635    pincodes: [V]
636    afs: [EXMC_A18]
637  PD14:
638    pincodes: [V]
639    afs: [EXMC_D0]
640  PD15:
641    pincodes: [V]
642    afs: [EXMC_D1]
643  PE0:
644    pincodes: [V]
645    afs: [EXMC_NBL0, TIMER3_ETI]
646  PE1:
647    pincodes: [V]
648    afs: [EXMC_NBL1]
649  PE2:
650    pincodes: [V]
651    afs: [EXMC_A23, TRACECK]
652  PE3:
653    pincodes: [V]
654    afs: [EXMC_A19, TRACED0]
655  PE4:
656    pincodes: [V]
657    afs: [EXMC_A20, TRACED1]
658  PE5:
659    pincodes: [V]
660    afs: [TRACED2, EXMC_A21]
661  PE6:
662    pincodes: [V]
663    afs: [TRACED3, EXMC_A22]
664  PE7:
665    pincodes: [V]
666    afs: [EXMC_D4]
667  PE8:
668    pincodes: [V]
669    afs: [EXMC_D5]
670  PE9:
671    pincodes: [V]
672    afs: [EXMC_D6]
673  PE10:
674    pincodes: [V]
675    afs: [EXMC_D7]
676  PE11:
677    pincodes: [V]
678    afs: [EXMC_D8]
679  PE12:
680    pincodes: [V]
681    afs: [EXMC_D9]
682  PE13:
683    pincodes: [V]
684    afs: [EXMC_D10]
685  PE14:
686    pincodes: [V]
687    afs: [EXMC_D11]
688  PE15:
689    pincodes: [V]
690    afs: [EXMC_D12]
691
692remaps:
693  I2C0_SCL:
694    pins: [PB6, PB8]
695  I2C0_SDA:
696    pins: [PB7, PB9]
697  I2S2_SD:
698    pins: [PB5, PC12]
699  I2S2_WS:
700    pins: [PA15, PA4]
701  I2S2_CK:
702    pins: [PB3, PC10]
703  SPI0_MISO:
704    pins: [PA6, PB4]
705  SPI0_MOSI:
706    pins: [PA7, PB5]
707  SPI0_NSS:
708    pins: [PA4, PA15]
709  SPI0_SCK:
710    pins: [PA5, PB3]
711  SPI0_IO2:
712    pins: [PA2, PB6]
713  SPI0_IO3:
714    pins: [PA3, PB7]
715  SPI2_MISO:
716    pins: [PB4, PC11]
717  SPI2_MOSI:
718    pins: [PB5, PC12]
719  SPI2_NSS:
720    pins: [PA15, PA4]
721  SPI2_SCK:
722    pins: [PB3, PC10]
723  TIMER0_BKIN:
724    pins: [PB12, PA6, null, PE15]
725  TIMER0_CH0:
726    pins: [PA8, PA8, null, PE9]
727  TIMER0_CH1:
728    pins: [PA9, PA9, null, PE11]
729  TIMER0_CH2:
730    pins: [PA10, PA10, null, PE13]
731  TIMER0_CH3:
732    pins: [PA11, PA11, null, PE14]
733  TIMER0_CH0_ON:
734    pins: [PB13, PA7, null, PE8]
735  TIMER0_CH1_ON:
736    pins: [PB14, PB0, null, PE10]
737  TIMER0_CH2_ON:
738    pins: [PB15, PB1, null, PE12]
739  TIMER0_ETI:
740    pins: [PA12, PA12, null, PE7]
741  TIMER1_CH0:
742    pins: [PA0, PA15, PA0, PA15]
743  TIMER1_CH1:
744    pins: [PA1, PB3, PA1, PB3]
745  TIMER1_CH2:
746    pins: [PA2, PA2, PB10, PB10]
747  TIMER1_CH3:
748    pins: [PA3, PA3, PB11, PB11]
749  TIMER1_ETI:
750    pins: [PA0, PA15, PA0, PA15]
751  TIMER2_CH0:
752    pins: [PA6, null, PB4, PC6]
753  TIMER2_CH1:
754    pins: [PA7, null, PB5, PC7]
755  TIMER2_CH2:
756    pins: [PB0, null, PB0, PC8]
757  TIMER2_CH3:
758    pins: [PB1, null, PB1, PC9]
759  TIMER3_CH0:
760    pins: [PB6, PD12]
761  TIMER3_CH1:
762    pins: [PB7, PD13]
763  TIMER3_CH2:
764    pins: [PB8, PD14]
765  TIMER3_CH3:
766    pins: [PB9, PD15]
767  USART0_RX:
768    pins: [PA10, PB7]
769  USART0_TX:
770    pins: [PA9, PB6]
771  USART1_CK:
772    pins: [PA4, PD7]
773  USART1_CTS:
774    pins: [PA0, PD3]
775  USART1_RTS:
776    pins: [PA1, PD4]
777  USART1_RX:
778    pins: [PA3, PD6]
779  USART1_TX:
780    pins: [PA2, PD5]
781  USART2_CK:
782    pins: [PB12, PC12, null, PD10]
783  USART2_CTS:
784    pins: [PB13, PB13, null, PD11]
785  USART2_RTS:
786    pins: [PB14, PB14, null, PD12]
787  USART2_RX:
788    pins: [PB11, PC11, null, PD9]
789  USART2_TX:
790    pins: [PB10, PC10, null, PD8]
791