aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorIkta <48316247+IktaS@users.noreply.github.com>2020-08-22 20:06:16 +0700
committerGitHub <noreply@github.com>2020-08-22 14:06:16 +0100
commit346bfb2a052f4e05cc91e55e1317c8529c405ac6 (patch)
tree00d266bd6ef4575fbca218b26eb7af1beec80478 /docs
parent0f0530c5a4441eecd5941f1f61f74ea89d15e9a2 (diff)
downloadfirmware-346bfb2a052f4e05cc91e55e1317c8529c405ac6.tar.gz
firmware-346bfb2a052f4e05cc91e55e1317c8529c405ac6.tar.bz2
firmware-346bfb2a052f4e05cc91e55e1317c8529c405ac6.zip
Update i2c_driver.md (#10131)
Update i2c_driver.md to change ARM pin number documentation, line 84 and 85
Diffstat (limited to 'docs')
-rw-r--r--docs/i2c_driver.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/i2c_driver.md b/docs/i2c_driver.md
index d28a20fa1..0103e1b4c 100644
--- a/docs/i2c_driver.md
+++ b/docs/i2c_driver.md
@@ -81,8 +81,8 @@ STM32 MCUs allows a variety of pins to be configured as I2C pins depending on th
|--------------------------|----------------------------------------------------------------------------------------------|---------|
| `I2C1_SCL_BANK` | The bank of pins (`GPIOA`, `GPIOB`, `GPIOC`) to use for SCL | `GPIOB` |
| `I2C1_SDA_BANK` | The bank of pins (`GPIOA`, `GPIOB`, `GPIOC`) to use for SDA | `GPIOB` |
-| `I2C1_SCL` | The pin number for the SCL pin (0-9) | `6` |
-| `I2C1_SDA` | The pin number for the SDA pin (0-9) | `7` |
+| `I2C1_SCL` | The pin number for the SCL pin (0-15) | `6` |
+| `I2C1_SDA` | The pin number for the SDA pin (0-15) | `7` |
| `I2C1_BANK` (deprecated) | The bank of pins (`GPIOA`, `GPIOB`, `GPIOC`), superceded by `I2C1_SCL_BANK`, `I2C1_SDA_BANK` | `GPIOB` |
The ChibiOS I2C driver configuration depends on STM32 MCU: