1I2C_MASTER_RECV(9) I2C and SMBus Subsystem I2C_MASTER_RECV(9)
23
4
NAME
6i2c_master_recv - issue a single I2C message in master receive mode
7
SYNOPSIS
9int i2c_master_recv(struct i2c_client * client, char * buf, int count);
10
ARGUMENTS
12client
13Handle to slave device
1415
buf
16Where to store data read from slave
1718
count
19How many bytes to read
20
DESCRIPTION
22Returns negative errno, or else the number of bytes read.
23
COPYRIGHT
25Kernel Hackers Manual 2.6. June 2019 I2C_MASTER_RECV(9)