micropython/ports/samd/mcu/samd21/pin-af-table.csv

1.7 KiB

1# The pin_cap_tables contain the information anbout pin mux set and pad
2# for some of the peripheral devices with many possible assignments.
3# The pin_cap_table is a subset from table 7-1 of the data sheet.
4# It contain the information about pin mux set and pad
5# The eic and adc columns contain the decimal number for the respecitive
6# quantity, the columns for sercom, tc and tcc have in each cell
7# the device number in the upper nibble, and the pad number in the lower
8# nibble. If a signal is not available, the cell in the csv table is left empty.
9# The first column is the pin id, not the number of the board pin.
10# Rows not starting with pa, pb, pc or pd are ignored.
11# When editing the table with a spread sheet, take care to import the data as text.
12#
13# Pin,EIC,ADC,SERCOM1,SERCOM2,TC,TCC
14pa00,0,,,10,20,
15pa01,1,,,11,21,
16pa02,2,0,,,,
17pa03,3,1,,,,
18pb04,4,12,,,,
19pb05,5,13,,,,
20pb06,6,14,,,,
21pb07,7,15,,,,
22pb08,8,2,,40,40,
23pb09,9,3,,41,41,
24pa04,4,4,,00,00,
25pa05,5,5,,01,01,
26pa06,6,6,,02,10,
27pa07,7,7,,03,11,
28pa08,,16,00,20,00,12
29pa09,9,17,01,21,01,13
30pa10,10,18,02,22,10,02
31pa11,11,19,03,23,11,03
32pb10,10,,,42,50,04
33pb11,11,,,43,51,05
34pb12,12,,40,,40,06
35pb13,13,,41,,41,07
36pb14,14,,42,,50,
37pb15,15,,43,,51,
38pa12,12,,20,40,20,06
39pa13,13,,21,41,20,07
40pa14,14,,22,42,30,04
41pa15,15,,23,43,31,05
42pa16,0,,10,30,20,06
43pa17,1,,11,31,21,07
44pa18,2,,12,32,30,02
45pa19,3,,13,33,31,03
46pb16,9,,50,,60,04
47pb17,1,,51,,61,05
48pa20,4,,52,32,70,04
49pa21,5,,53,33,71,07
50pa22,6,,30,50,40,04
51pa23,7,,31,51,41,05
52pa24,12,,32,52,50,12
53pa25,13,,33,53,51,13
54pb22,6,,,52,70,
55pb23,7,,,53,71,
56pa27,15,,,,,
57pa28,8,,,,,
58pa30,10,,,12,10,
59pa31,11,,,13,11,
60pb30,14,,,50,00,12
61pb31,15,,,51,01,13
62pb00,0,8,,52,70,
63pb01,1,9,,53,71,
64pb02,2,10,,50,60,
65pb03,3,11,,51,61,