source: rtems-docs/bsp-howto/i2c.rst

Last change on this file was bbb8b7a, checked in by Sebastian Huber <sebastian.huber@…>, on 05/19/23 at 05:34:36

Update company name

The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1.. SPDX-License-Identifier: CC-BY-SA-4.0
2
3.. Copyright (C) 2016, 2019 embedded brains GmbH & Co. KG
4
5I2C Driver
6**********
7
8The Inter-Integrated Circuit (I2C, I²C, IIC) bus drivers should use the
9`I2C bus framework <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/i2c.h>`_.
10The user API is compatible to the
11`Linux I2C user-space API <https://www.kernel.org/doc/Documentation/i2c/dev-interface>`_.
12
13For example I2C bus drivers see:
14
15* `Atmel SAM I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/atsam/i2c/atsam_i2c_bus.c>`_
16* `Cadence I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/xilinx-zynq/i2c/cadence-i2c.c>`_
17* `I2C framework test <https://git.rtems.org/rtems/tree/testsuites/libtests/i2c01/init.c>`_
18* `NXP i.MX I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/imx/i2c/imx-i2c.c>`_
19* `NXP LPC17XX/LPC24XX/LPC40XX I2C driver <https://git.rtems.org/rtems/tree/bsps/arm/lpc24xx/i2c/i2c.c>`_
20
21For example I2C device drivers see:
22
23* ADC
24
25   * `TI ADS 16-Bit <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-ads-16bit-adc.h>`_
26
27* `EEPROM <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/eeprom.h>`_
28
29* GPIO
30
31   * `NXP PCA9535 <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/gpio-nxp-pca9535.h>`_
32
33* Power Management
34
35   * `NXP PCA9548A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/switch-nxp-pca9548a.h>`_
36
37   * `TI LM25066A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-lm25066a.h>`_
38
39* Sensors
40
41   * `NXP LM75A <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/sensor-lm75a.h>`_
42
43   * `TI TMP112 <https://git.rtems.org/rtems/tree/cpukit/include/dev/i2c/ti-tmp112.h>`_
Note: See TracBrowser for help on using the repository browser.