circuitpython/ports/samd/boards/pin-af-table-SAMD51.csv
robert-hh 6c037af086 samd/boards: Create pin_af_table.c from pin_af_table_SAMDxx.csv files.
This step just creates the table.  The firmware cannot be built at this
commit.  The next commit will complete the pin-af mechanism.
2022-10-06 22:38:45 +11:00

2.8 KiB

1# The pin_cap_table is a subset from table 6-1 of the data sheet.
2# It contain the information about pin mux set and pad
3# for some of the peripheral devices with many possible assignments.
4# The colums represent the peripheral class, as defined in pin_cap_t. The
5# column number is equivalent to the mux class.
6# The eic and adc columns contain the decimal numer for the respecitive
7# quantity, the columns for sercom, tc and tcc have in each cell
8# the device number in the first, and the pad number in the second
9# digit. If a signal is not available, the cell in the csv table is left empty.
10# The first column is the pin id, not the number of the board pin.
11# Rows not starting with pa, pb, pc or pd are ignored.
12# When editing the table with a spread sheet, take care to import the data as text.
13#
14# Pin,EIC,ADC0,ADC1,SERCOM1,SERCOM2,TC,TCC1,TCC2
15pb03,9,15,,,51,61,,
16pa00,0,,,,10,20,,
17pa01,1,,,,11,21,,
18pc00,0,,10,,,,,
19pc01,1,,11,,,,,
20pc02,2,,4,,,,,
21pc03,3,,5,,,,,
22pa02,2,0,,,,,,
23pa03,3,10,,,,,,
24pb04,4,,6,,,,,
25pb05,5,,7,,,,,
26pd00,0,,14,,,,,
27pd01,1,,15,,,,,
28pb06,6,,8,,,,,
29pb07,7,,9,,,,,
30pb08,8,2,0,,40,40,,
31pb09,9,3,1,,41,41,,
32pa04,4,4,,,00,00,,
33pa05,5,5,,,01,01,,
34pa06,6,6,,,02,10,,
35pa07,7,7,,,03,11,,
36pc04,4,,,60,,,00,
37pc05,5,,,61,,,,
38pc06,6,,,62,,,,
39pc07,9,,,63,,,,
40pa08,,8,2,00,21,00,00,14
41pa09,9,9,3,01,20,01,01,15
42pa10,10,10,,02,22,10,02,16
43pa11,11,11,,03,23,11,03,17
44pb10,10,,,,42,50,04,10
45pb11,12,,,,43,51,05,11
46pb12,12,,,40,,40,30,00
47pb13,13,,,41,,41,31,01
48pb14,14,,,42,,50,40,02
49pb15,15,,,43,,51,41,03
50pd08,3,,,70,61,,01,
51pd09,4,,,71,60,,02,
52pd10,5,,,72,62,,03,
53pd11,6,,,73,63,,04,
54pd12,7,,,,,,05,
55pc10,10,,,62,72,,00,14
56pc11,11,,,63,73,,01,15
57pc12,12,,,70,61,,02,16
58pc13,13,,,71,60,,03,17
59pc14,14,,,72,62,,04,10
60pc15,15,,,73,63,,05,11
61pa12,12,,,20,41,20,06,12
62pa13,13,,,21,40,21,07,13
63pa14,14,,,22,42,30,20,12
64pa15,15,,,23,43,31,21,13
65pa16,0,,,10,31,20,10,04
66pa17,1,,,11,30,21,11,05
67pa18,2,,,12,32,30,12,06
68pa19,3,,,13,33,31,13,07
69pc16,0,,,60,01,,00,
70pc17,1,,,61,00,,01,
71pc18,2,,,62,02,,02,
72pc19,3,,,63,03,,03,
73pc20,4,,,,,,04,
74pc21,5,,,,,,05,
75pc22,6,,,10,31,,05,
76pc23,7,,,11,30,,07,
77pd20,10,,,12,32,,10,
78pd21,11,,,13,33,,11,
79pb16,0,,,50,,60,30,04
80pb17,1,,,51,,61,31,05
81pb18,2,,,52,72,,10,
82pb19,3,,,53,73,,11,
83pb20,4,,,30,71,,12,
84pb21,5,,,31,70,,13,
85pa20,4,,,52,32,70,14,00
86pa21,5,,,53,33,71,15,01
87pa22,6,,,30,51,40,16,02
88pa23,7,,,31,50,41,17,03
89pa24,8,,,32,52,50,22,
90pa25,9,,,33,53,51,,
91pb22,22,,,12,52,70,,
92pb23,7,,,13,53,71,,
93pb24,8,,,00,21,,,
94pb25,9,,,01,20,,,
95pb26,12,,,20,41,,12,
96pb27,13,,,21,40,,13,
97pb28,14,,,22,42,,14,
98pb29,15,,,23,43,,15,
99pc24,8,,,02,22,,,
100pc25,9,,,03,23,,,
101pc26,10,,,,,,,
102pc27,11,,,10,,,,
103pc28,12,,,11,,,,
104pa27,11,,,,,,,
105pa30,14,,,72,12,60,20,
106pa31,15,,,73,13,61,21,
107pb30,14,,,70,51,00,40,06
108pb31,15,,,71,50,01,41,07
109pc30,14,,12,,,,,
110pc31,15,,13,,,,,
111pb00,9,12,,,52,70,,
112pb01,1,13,,,53,71,,
113pb02,2,14,,,50,60,22,