i2c_smbus_write_block_data(9)

i2c_smbus_write_block_data9

Smbus “block write” protocol

Usage

s32 i2c_smbus_write_block_data(const struct i2c_client * client, u8 command, u8 length, const u8 * values);

Arguments

client

Handle to slave device

command

Byte interpreted by slave

length

Size of data block; SMBus allows at most 32 bytes

values

Byte array which will be written.

Overview

This executes the SMBus “block write” protocol, returning negative errno else zero on success.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.