1I2C_MASTER_RECV(9) I2C and SMBus Subsystem I2C_MASTER_RECV(9)
2
3
4
6 i2c_master_recv - issue a single I2C message in master receive mode
7
9 int i2c_master_recv(const struct i2c_client * client, char * buf,
10 int count);
11
13 client
14 Handle to slave device
15
16 buf
17 Where to store data read from slave
18
19 count
20 How many bytes to read, must be less than 64k since msg.len is u16
21
23 Returns negative errno, or else the number of bytes read.
24
26Kernel Hackers Manual 3.10 June 2019 I2C_MASTER_RECV(9)