summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-18 09:53:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-18 09:54:04 +0100
commit15f46702771dfebc3c7c2a1adefb25a7740ea9af (patch)
tree22562e8e65d62ed6ada8a0e71658b74196a9e5a6
parent4480a83312d9d4a8b023a9d189d7d633a31e167e (diff)
downloadrtems-docs-15f46702771dfebc3c7c2a1adefb25a7740ea9af.tar.bz2
bsp-howto: Update I2C chapter
Update ##3725.
-rw-r--r--bsp-howto/i2c.rst41
1 files changed, 33 insertions, 8 deletions
diff --git a/bsp-howto/i2c.rst b/bsp-howto/i2c.rst
index d585475..66d6653 100644
--- a/bsp-howto/i2c.rst
+++ b/bsp-howto/i2c.rst
@@ -1,18 +1,43 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
-.. Copyright (C) 2016 embedded brains GmbH <rtems@embedded-brains.de>
+.. Copyright (C) 2016, 2019 embedded brains GmbH <rtems@embedded-brains.de>
I2C Driver
**********
The Inter-Integrated Circuit (I2C, I²C, IIC) bus drivers should use the
`I2C bus framework <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/i2c.h>`_.
-For example drivers see the
-`Cadence I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/xilinx-zynq/i2c/cadence-i2c.c>`_,
-the
-`Atmel SAM I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/atsam/i2c/atsam_i2c_bus.c>`_
-and the
-`I2C framework test <https://git.rtems.org/rtems/tree/testsuites/libtests/i2c01/init.c>`_.
-
The user API is compatible to the
`Linux I2C user-space API <https://www.kernel.org/doc/Documentation/i2c/dev-interface>`_.
+
+For example I2C bus drivers see:
+
+* `Atmel SAM I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/atsam/i2c/atsam_i2c_bus.c>`_
+* `Cadence I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/xilinx-zynq/i2c/cadence-i2c.c>`_
+* `I2C framework test <https://git.rtems.org/rtems/tree/testsuites/libtests/i2c01/init.c>`_
+* `NXP i.MX I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/imx/i2c/imx-i2c.c>`_
+* `NXP LPC17XX/LPC24XX/LPC40XX I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/lpc24xx/i2c/i2c.c>`_
+
+For example I2C device drivers see:
+
+* ADC
+
+ * `TI ADS 16-Bit <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-ads-16bit-adc.h>`_
+
+* `EEPROM <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/eeprom.h>`_
+
+* GPIO
+
+ * `NXP PCA9535 <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/gpio-nxp-pca9535.h>`_
+
+* Power Management
+
+ * `NXP PCA9548A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/switch-nxp-pca9548a.h>`_
+
+ * `TI LM25066A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-lm25066a.h>`_
+
+* Sensors
+
+ * `NXP LM75A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/sensor-lm75a.h>`_
+
+ * `TI TMP112 <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-tmp112.h>`_