i2c_smbus_read_word_data
Prev | Chapter 10. I2C and SMBus Subsystem | Next

## Name

i2c_smbus_read_word_data — SMBus “read word” protocol

## Synopsis

`s32 i2c_smbus_read_word_data (` | const struct i2c_client * client,
| u8 command`)`;

## Arguments

`client`

  Handle to slave device

`command`

  Byte interpreted by slave

## Description

This executes the SMBus “read word” protocol, returning negative errno else a 16-bit unsigned “word” received from the device.

Prev | Up | Next
i2c_smbus_write_byte_data | Home | i2c_smbus_write_word_data