85fb8b8b02
Changes are: - The pin-af-table-SAMDxx.csv file are moved to the mcu directories with the name as pin-af-table.csv. - The handling in Makefile and pin_af.c is simplified.
2.8 KiB
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 |
15 | pb03,9,15,,,51,61,, |
16 | pa00,0,,,,10,20,, |
17 | pa01,1,,,,11,21,, |
18 | pc00,0,,10,,,,, |
19 | pc01,1,,11,,,,, |
20 | pc02,2,,4,,,,, |
21 | pc03,3,,5,,,,, |
22 | pa02,2,0,,,,,, |
23 | pa03,3,10,,,,,, |
24 | pb04,4,,6,,,,, |
25 | pb05,5,,7,,,,, |
26 | pd00,0,,14,,,,, |
27 | pd01,1,,15,,,,, |
28 | pb06,6,,8,,,,, |
29 | pb07,7,,9,,,,, |
30 | pb08,8,2,0,,40,40,, |
31 | pb09,9,3,1,,41,41,, |
32 | pa04,4,4,,,00,00,, |
33 | pa05,5,5,,,01,01,, |
34 | pa06,6,6,,,02,10,, |
35 | pa07,7,7,,,03,11,, |
36 | pc04,4,,,60,,,00, |
37 | pc05,5,,,61,,,, |
38 | pc06,6,,,62,,,, |
39 | pc07,9,,,63,,,, |
40 | pa08,,8,2,00,21,00,00,14 |
41 | pa09,9,9,3,01,20,01,01,15 |
42 | pa10,10,10,,02,22,10,02,16 |
43 | pa11,11,11,,03,23,11,03,17 |
44 | pb10,10,,,,42,50,04,10 |
45 | pb11,12,,,,43,51,05,11 |
46 | pb12,12,,,40,,40,30,00 |
47 | pb13,13,,,41,,41,31,01 |
48 | pb14,14,,,42,,50,40,02 |
49 | pb15,15,,,43,,51,41,03 |
50 | pd08,3,,,70,61,,01, |
51 | pd09,4,,,71,60,,02, |
52 | pd10,5,,,72,62,,03, |
53 | pd11,6,,,73,63,,04, |
54 | pd12,7,,,,,,05, |
55 | pc10,10,,,62,72,,00,14 |
56 | pc11,11,,,63,73,,01,15 |
57 | pc12,12,,,70,61,,02,16 |
58 | pc13,13,,,71,60,,03,17 |
59 | pc14,14,,,72,62,,04,10 |
60 | pc15,15,,,73,63,,05,11 |
61 | pa12,12,,,20,41,20,06,12 |
62 | pa13,13,,,21,40,21,07,13 |
63 | pa14,14,,,22,42,30,20,12 |
64 | pa15,15,,,23,43,31,21,13 |
65 | pa16,0,,,10,31,20,10,04 |
66 | pa17,1,,,11,30,21,11,05 |
67 | pa18,2,,,12,32,30,12,06 |
68 | pa19,3,,,13,33,31,13,07 |
69 | pc16,0,,,60,01,,00, |
70 | pc17,1,,,61,00,,01, |
71 | pc18,2,,,62,02,,02, |
72 | pc19,3,,,63,03,,03, |
73 | pc20,4,,,,,,04, |
74 | pc21,5,,,,,,05, |
75 | pc22,6,,,10,31,,05, |
76 | pc23,7,,,11,30,,07, |
77 | pd20,10,,,12,32,,10, |
78 | pd21,11,,,13,33,,11, |
79 | pb16,0,,,50,,60,30,04 |
80 | pb17,1,,,51,,61,31,05 |
81 | pb18,2,,,52,72,,10, |
82 | pb19,3,,,53,73,,11, |
83 | pb20,4,,,30,71,,12, |
84 | pb21,5,,,31,70,,13, |
85 | pa20,4,,,52,32,70,14,00 |
86 | pa21,5,,,53,33,71,15,01 |
87 | pa22,6,,,30,51,40,16,02 |
88 | pa23,7,,,31,50,41,17,03 |
89 | pa24,8,,,32,52,50,22, |
90 | pa25,9,,,33,53,51,, |
91 | pb22,22,,,12,52,70,, |
92 | pb23,7,,,13,53,71,, |
93 | pb24,8,,,00,21,,, |
94 | pb25,9,,,01,20,,, |
95 | pb26,12,,,20,41,,12, |
96 | pb27,13,,,21,40,,13, |
97 | pb28,14,,,22,42,,14, |
98 | pb29,15,,,23,43,,15, |
99 | pc24,8,,,02,22,,, |
100 | pc25,9,,,03,23,,, |
101 | pc26,10,,,,,,, |
102 | pc27,11,,,10,,,, |
103 | pc28,12,,,11,,,, |
104 | pa27,11,,,,,,, |
105 | pa30,14,,,72,12,60,20, |
106 | pa31,15,,,73,13,61,21, |
107 | pb30,14,,,70,51,00,40,06 |
108 | pb31,15,,,71,50,01,41,07 |
109 | pc30,14,,12,,,,, |
110 | pc31,15,,13,,,,, |
111 | pb00,9,12,,,52,70,, |
112 | pb01,1,13,,,53,71,, |
113 | pb02,2,14,,,50,60,22, |