I2c tools linux kernel
I2C is a multi-master bus; open drain signaling is used to arbitrate between masters, as well as to handshake and to synchronize clocks from slower clients. The Linux I2C programming interfaces support the master side of bus interactions and the slave side. The programming interface is structured around two kinds of driver, and two kinds of device. If you get a warning about I2C_SLAVE not being defined, you may need to include both linux/i2c.h> and linux/i2c-dev.h> (The location has changed in newer kernels vs. older kernels and the above example is for newer) Tested Devices. AD Quad Input ADC. Utilized with Sharp GP2D12 IR Range Sensors. (That link is broken. Mar 25, · I2C TOOLS FOR LINUX ===== This package contains an heterogeneous set of I2C tools for the Linux kernel. These tools were originally part of the lm-sensors project but were finally split into their own package for convenience. They compile, run and have been tested on GNU/Linux.