You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only a subset of the I2C and SMBus protocols can be implemented by using read() and write() calls, e.g. full duplex transmission is not supported. Most user-space programs directly depend on the I2C driver functions.
rakyll
changed the title
exp/io/i2c: Devfs should not use read() and write() calls
x/exp/io/i2c: Devfs should not use read() and write() calls
Apr 12, 2016
Only a subset of the I2C and SMBus protocols can be implemented by using read() and write() calls, e.g. full duplex transmission is not supported. Most user-space programs directly depend on the I2C driver functions.
See
i2c_smbus_read_word_data
andi2c_smbus_write_word_data
at the kernel driver reference (https://www.kernel.org/doc/Documentation/i2c/dev-interface).The text was updated successfully, but these errors were encountered: