1I2C_TRANSFER(9)             I2C and SMBus Subsystem            I2C_TRANSFER(9)
2
3
4

NAME

6       i2c_transfer - execute a single or combined I2C message
7

SYNOPSIS

9       int i2c_transfer(struct i2c_adapter * adap, struct i2c_msg * msgs,
10                        int num);
11

ARGUMENTS

13       adap
14           Handle to I2C bus
15
16       msgs
17           One or more messages to execute before STOP is issued to terminate
18           the operation; each message begins with a START.
19
20       num
21           Number of messages to be executed.
22

DESCRIPTION

24       Returns negative errno, else the number of messages executed.
25
26       Note that there is no requirement that each message be sent to the same
27       slave address, although that is the most common model.
28
30Kernel Hackers Manual 3.10         June 2019                   I2C_TRANSFER(9)
Impressum