table of contents
other versions
- jessie 3.16.56-1+deb8u1
I2C_TRANSFER(9) | I2C and SMBus Subsystem | I2C_TRANSFER(9) |
NAME¶
i2c_transfer - execute a single or combined I2C messageSYNOPSIS¶
int
i2c_transfer(struct i2c_adapter * adap,
struct i2c_msg * msgs,
int num);
ARGUMENTS¶
adapHandle 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.
DESCRIPTION¶
Returns 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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |