Changes between Version 1 and Version 2 of linux/i2c


Ignore:
Timestamp:
03/16/2018 06:08:37 PM (6 years ago)
Author:
Tim Harvey
Comment:

fixed typo

Legend:

Unmodified
Added
Removed
Modified
  • linux/i2c

    v1 v2  
    66The Linux kernel API for i2c devices can be found here:
    77 * ​https://lxr.missinglinkelectronics.com/linux/include/uapi/linux/i2c-dev.h - ioctl API
    8  * https://lxr.missinglinkelectronics.com/linux/Documentation/i2c/dev-interface - documentation
     8 * https://lxr.missinglinkelectronics.com/linux/Documentation/i2c/dev-interface - documentation
    99
    1010For example code take a look at the i2cget source from the [https://github.com/suapapa/i2c-tools/blob/android/tools/i2cget.c ​i2c-tools package]. This source contains a commonly used userspace header file (i2c-dev.h) that provides i2c_smbus_* functions that you can use.