Query: i2c_transfer
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I2C_TRANSFER(9) I2C and SMBus Subsystem I2C_TRANSFER(9)NAMEi2c_transfer - execute a single or combined I2C messageSYNOPSISint i2c_transfer(struct i2c_adapter * adap, struct i2c_msg * msgs, int num);ARGUMENTSadap Handle to I2C bus msgs One or more messages to execute before STOP is issued to terminate the operation; each message begins with a START. num Number of messages to be executed.DESCRIPTIONReturns negative errno, else the number of messages executed. Note that there is no requirement that each message be sent to the same slave address, although that is the most common model.COPYRIGHTKernel Hackers Manual 2.6. July 2010 I2C_TRANSFER(9)