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

## Name

i2c_smbus_write_byte_data — SMBus “write byte” protocol

## Synopsis

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

## Arguments

`client`

  Handle to slave device

`command`

  Byte interpreted by slave

`value`

  Byte being written

## Description

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

Prev | Up | Next
i2c_smbus_read_byte_data | Home | i2c_smbus_read_word_data