Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
<SMBus> Protocol Reference

Detailed Description

i2c_smbus_xfer - execute SMBus protocol operations : Handle to I2C bus : Address of SMBus slave on that bus : I2C_CLIENT_* flags (usually zero or I2C_CLIENT_PEC) : I2C_SMBUS_READ or I2C_SMBUS_WRITE : Byte interpreted by slave, for protocols which use such bytes to execute, such as I2C_SMBUS_PROC_CALL : Data to be read or written

This executes an SMBus protocol operation, and returns a negative errno code else zero on success.

The documentation for this protocol was generated from the following file: