summaryrefslogtreecommitdiff
path: root/docs/spi_driver.md
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-01-30 03:53:56 +0000
committerGitHub <noreply@github.com>2021-01-29 19:53:56 -0800
commitd92ffd1157e3ecc4ae2dbf8548c45c8b0269f664 (patch)
tree9a1a1f9d06fe6b9b41e982d37895e19749fe53ec /docs/spi_driver.md
parent3780ab3fcd4888cba4852158e11c495fc9809306 (diff)
Adds AT90USB162 support (#11570)
* at90usb162 support * fix missing bracket * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
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 1d432432ad..03c008da2a 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`.