aboutsummaryrefslogtreecommitdiff
path: root/docs/spi_driver.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/spi_driver.md')
-rw-r--r--docs/spi_driver.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/spi_driver.md b/docs/spi_driver.md
index 1d432432a..03c008da2 100644
--- a/docs/spi_driver.md
+++ b/docs/spi_driver.md
@@ -6,12 +6,12 @@ The SPI Master drivers used in QMK have a set of common functions to allow porta
6 6
7No special setup is required - just connect the `SS`, `SCK`, `MOSI` and `MISO` pins of your SPI devices to the matching pins on the MCU: 7No special setup is required - just connect the `SS`, `SCK`, `MOSI` and `MISO` pins of your SPI devices to the matching pins on the MCU:
8 8
9|MCU |`SS`|`SCK`|`MOSI`|`MISO`| 9|MCU |`SS`|`SCK`|`MOSI`|`MISO`|
10|---------------|----|-----|------|------| 10|-----------------|----|-----|------|------|
11|ATMega16/32U2/4|`B0`|`B1` |`B2` |`B3` | 11|ATMega16/32U2/4 |`B0`|`B1` |`B2` |`B3` |
12|AT90USB64/128 |`B0`|`B1` |`B2` |`B3` | 12|AT90USB64/128/162|`B0`|`B1` |`B2` |`B3` |
13|ATmega32A |`B4`|`B7` |`B5` |`B6` | 13|ATmega32A |`B4`|`B7` |`B5` |`B6` |
14|ATmega328/P |`B2`|`B5` |`B3` |`B4` | 14|ATmega328/P |`B2`|`B5` |`B3` |`B4` |
15 15
16You may use more than one slave select pin, not just the `SS` pin. This is useful when you have multiple devices connected and need to communicate with them individually. 16You may use more than one slave select pin, not just the `SS` pin. This is useful when you have multiple devices connected and need to communicate with them individually.
17`SPI_SS_PIN` can be passed to `spi_start()` to refer to `SS`. 17`SPI_SS_PIN` can be passed to `spi_start()` to refer to `SS`.