1I2C_SMBUS_WRITE_BLOC(9) I2C and SMBus Subsystem I2C_SMBUS_WRITE_BLOC(9)
2
3
4
6 i2c_smbus_write_block_data - SMBus “block write” protocol
7
9 s32 i2c_smbus_write_block_data(struct i2c_client * client, u8 command,
10 u8 length, const u8 * values);
11
13 client
14 Handle to slave device
15
16 command
17 Byte interpreted by slave
18
19 length
20 Size of data block; SMBus allows at most 32 bytes
21
22 values
23 Byte array which will be written.
24
26 This executes the SMBus “block write” protocol, returning negative
27 errno else zero on success.
28
30Kernel Hackers Manual 2.6. November 2011 I2C_SMBUS_WRITE_BLOC(9)