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