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(struct i2c_client * client, char * buf, int count);
10
12 client
13 Handle to slave device
14
15 buf
16 Where to store data read from slave
17
18 count
19 How many bytes to read, must be less than 64k since msg.len is u16
20
22 Returns negative errno, or else the number of bytes read.
23
25Kernel Hackers Manual 2.6. November 2011 I2C_MASTER_RECV(9)