In the June and August 2003 issues of Linux Journal, my column covered the Linux kernel driver model, and the I2C subsystem was used as an example. This month, we discuss what the I2C subsystem does ...
In my last column [LJ, December 2003], we discussed how I2C bus drivers and I2C algorithm drivers work. We also described how to make a tiny dummy I2C bus driver. This month, we discuss how an I2C ...
This is a Linux kernel module for interfacing with the MPU6500 Tri-axis Gyroscope Sensor via the I2C bus. The driver creates a character device to allow user-space interaction and uses a workqueue to ...
Both sensors share the same I2C1 bus. The main loop alternates between reading them using an interrupt driven I2C driver. HMC5883L provides 6 bytes of magnetic field data starting at register 0x03: ...