i2c_smbus_write_word_data(9)

i2c_smbus_write_word_data9

Smbus “write word” protocol

Usage

s32 i2c_smbus_write_word_data(const struct i2c_client * client, u8 command, u16 value);

Arguments

client

Handle to slave device

command

Byte interpreted by slave

value

16-bit “word” being written

Overview

This executes the SMBus “write word” 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.