docs/samd: Fix the pinout for SAMD21 Itsy Bitsy Express M0.

And the "Pin", "GPIO" and "Name" key explanations.

Signed-off-by: robert-hh <robert@hammelrath.com>
pull/12886/head
robert-hh 2023-08-28 19:11:28 +02:00 zatwierdzone przez Damien George
rodzic 47ed06bda2
commit 6866d17d8f
1 zmienionych plików z 44 dodań i 36 usunięć

Wyświetl plik

@ -17,44 +17,53 @@ Adafruit ItsyBitsy M0 Express pin assignment table
=== ==== ============ ==== ==== ====== ====== ====== ====== === ==== ============ ==== ==== ====== ====== ====== ======
Pin GPIO Pin name IRQ ADC Serial Serial TCC/TC TCC/TC Pin GPIO Pin name IRQ ADC Serial Serial TCC/TC TCC/TC
=== ==== ============ ==== ==== ====== ====== ====== ====== === ==== ============ ==== ==== ====== ====== ====== ======
0 PA11 D0 11 19 0/3 2/3 1/1 0/3 2 PA02 A0 2 0 - - - -
1 PA10 D1 10 18 0/2 2/2 1/0 0/2 40 PB08 A1 8 2 - 4/0 4/0 -
2 PA14 D2 14 - 2/2 4/2 3/0 0/4 41 PB09 A2 9 3 - 4/1 4/1 -
3 PA09 D3 9 17 0/1 2/1 0/1 1/3 4 PA04 A3 4 4 - 0/0 0/0 -
4 PA08 D4 - 16 0/0 2/0 0/0 1/2 5 PA05 A4 5 5 - 0/1 0/1 -
5 PA15 D5 15 - 2/3 4/3 3/1 0/5 34 PB02 A5 2 10 - 5/0 6/0 -
7 PA21 D7 5 - 5/3 3/3 7/1 0/7 11 PA11 D0 11 19 0/3 2/3 1/1 0/3
9 PA07 D9 7 7 - 0/3 1/1 - 10 PA10 D1 10 18 0/2 2/2 1/0 0/2
10 PA18 D10 2 - 1/2 3/2 3/0 0/2 14 PA14 D2 14 - 2/2 4/2 3/0 0/4
11 PA16 D11 0 - 1/0 3/0 2/0 0/6 9 PA09 D3 9 17 0/1 2/1 0/1 1/3
12 PA19 D12 3 - 1/3 3/3 3/1 0/3 8 PA08 D4 - 16 0/0 2/0 0/0 1/2
13 PA17 D13 1 - 1/1 3/1 2/1 0/7 15 PA15 D5 15 - 2/3 4/3 3/1 0/5
14 PA02 A0 2 0 - - - - 21 PA21 D7 5 - 5/3 3/3 7/1 0/7
15 PB08 A1 8 2 - 4/0 4/0 - 7 PA07 D9 7 7 - 0/3 1/1 -
16 PB09 A2 9 3 - 4/1 4/1 - 18 PA18 D10 2 - 1/2 3/2 3/0 0/2
17 PA04 A3 4 4 - 0/0 0/0 - 16 PA16 D11 0 - 1/0 3/0 2/0 0/6
18 PA05 A4 5 5 - 0/1 0/1 - 19 PA19 D12 3 - 1/3 3/3 3/1 0/3
19 PB02 A5 2 - - 5/0 6/0 - 17 PA17 D13 1 - 1/1 3/1 2/1 0/7
20 PA22 SDA 6 - 3/0 5/0 4/0 0/4 0 PA00 DOTSTAR_CLK 0 - - 1/0 2/0 -
21 PA23 SCL 7 - 3/1 5/1 4/1 0/5 1 PA01 DOTSTAR_DATA 1 - - 1/1 2/1 -
22 PB10 MOSI 10 - - 4/2 5/0 0/4 27 PA27 FLASH_CS 15 - - - - -
23 PA12 MISO 12 - 2/0 4/0 2/0 0/6 35 PB03 FLASH_MISO 3 11 - 5/1 6/1 -
24 PB11 SCK 11 - - 4/3 5/1 0/5 54 PB22 FLASH_MOSI 6 - - 5/2 7/0 -
25 PA00 DOTSTAR_CLK 0 - - 1/0 2/0 - 55 PB23 FLASH_SCK 7 - - 5/3 7/1 -
26 PA01 DOTSTAR_DATA 1 - - 1/1 2/1 - 12 PA12 MISO 12 - 2/0 4/0 2/0 0/6
27 PB22 FLASH_MOSI 6 - - 5/2 7/0 - 42 PB10 MOSI 10 - - 4/2 5/0 0/4
28 PB03 FLASH_MISO 3 - - 5/1 6/1 - 43 PB11 SCK 11 - - 4/3 5/1 0/5
29 PB23 FLASH_SCK 7 - - 5/3 7/1 - 23 PA23 SCL 7 - 3/1 5/1 4/1 0/5
22 PA22 SDA 6 - 3/0 5/0 4/0 0/4
30 PA30 SWCLK 10 - - 1/2 1/0 -
31 PA31 SWDIO 11 - - 1/3 1/1 -
24 PA24 USB_DM 12 - 3/2 5/2 5/0 1/2
25 PA25 USB_DP 13 - 3/3 5/3 5/1 1/3
3 PA03 3 1 - - - -
6 PA06 6 6 - 0/2 1/0 -
13 PA13 13 - 2/1 4/1 2/0 0/7
20 PA20 4 - 5/2 3/2 7/0 0/4
28 PA28 8 - - - - -
=== ==== ============ ==== ==== ====== ====== ====== ====== === ==== ============ ==== ==== ====== ====== ====== ======
Description of the columns: Description of the columns:
- *Pin* - The number that is expected at ``machine.Pin(n)``, if the pin is given - *Pin* - The number that is expected at ``machine.Pin(n)``, if the pin is given
as a number. This is NOT the GPIO number, but the board pin number, as as a number.
given in the board specific definition file. - *GPIO* - The GPIO name, which can be used as argument to ``machine.Pin("name")``.
- *GPIO* - The GPIO number. - *Pin Name* - The boards name, which can be used as argument to ``machine.Pin("name")``.
- *Pin Name* - The name of a Pin which is expected argument to ``machine.Pin("name")``.
- *IRQ* - The IRQ number assigned to that GPIO, used internally by ``Pin.irq()``. When - *IRQ* - The IRQ number assigned to that GPIO, used internally by ``Pin.irq()``. When
using ``Pin.irq()``, different pins must use different IRQs using ``Pin.irq()``, different pins must use different IRQs
- *ADC* - The ADC channel assigned to the pin. When using ADC, different pins must - *ADC* - The ADC channel assigned to the pin. When using ADC, different pins must
@ -183,10 +192,9 @@ Pin GPIO Pin name IRQ ADC ADC Serial Serial TC PWM PWM
Description of the columns: Description of the columns:
- *Pin* - The number that is expected at ``machine.Pin(n)``, if the pin is given - *Pin* - The number that is expected at ``machine.Pin(n)``, if the pin is given
as a number. This is NOT the GPIO number, but the board pin number, as as a number.
given in the board specific definition file. - *GPIO* - The GPIO name, which can be used as argument to ``machine.Pin("name")``.
- *GPIO* - The GPIO number. - *Pin Name* - The boards name, which can be used as argument to ``machine.Pin("name")``.
- *Pin Name* The name of a Pin which is expected argument to ``machine.Pin("name")``.
- *IRQ* - The IRQ number assigned to that GPIO, used internally by ``Pin.irq()``. When - *IRQ* - The IRQ number assigned to that GPIO, used internally by ``Pin.irq()``. When
using ``Pin.irq()``, different pins must use different IRQs using ``Pin.irq()``, different pins must use different IRQs
- *ADC* - The ADC0/1 channel assigned to the pin. When using ADC, different pins must - *ADC* - The ADC0/1 channel assigned to the pin. When using ADC, different pins must