summaryrefslogtreecommitdiffstats
path: root/docs/spi_driver.md
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-02-28 07:22:21 +1100
committerNick Brassel <nick@tzarc.org>2021-02-28 07:22:21 +1100
commit1a5f6b54aff179732e3f4f4eb79e47454f0a1eb5 (patch)
treeebf645f55cb0442899c894765b1af4344fb734db /docs/spi_driver.md
parent804d5c1c5d59d9a12c1d793289ccbd59cb650ec2 (diff)
parent624359b725c9bfe8176cf72cdc2c8bbb7513949f (diff)
2021 February 27 Breaking Changes Update (#12040)
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 16fe1d803f..a27a3a13d0 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
No special setup is required - just connect the `SS`, `SCK`, `MOSI` and `MISO` pins of your SPI devices to the matching pins on the MCU:
-|MCU |`SS`|`SCK`|`MOSI`|`MISO`|
-|---------------|----|-----|------|------|
-|ATmega16/32U2/4|`B0`|`B1` |`B2` |`B3` |
-|AT90USB64/128 |`B0`|`B1` |`B2` |`B3` |
-|ATmega32A |`B4`|`B7` |`B5` |`B6` |
-|ATmega328/P |`B2`|`B5` |`B3` |`B4` |
+|MCU |`SS`|`SCK`|`MOSI`|`MISO`|
+|-----------------|----|-----|------|------|
+|ATmega16/32U2/4 |`B0`|`B1` |`B2` |`B3` |
+|AT90USB64/128/162|`B0`|`B1` |`B2` |`B3` |
+|ATmega32A |`B4`|`B7` |`B5` |`B6` |
+|ATmega328/P |`B2`|`B5` |`B3` |`B4` |
You 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.
`SPI_SS_PIN` can be passed to `spi_start()` to refer to `SS`.