I2C_SMBUS_WRITE_BYTE

Section: I2C and SMBus Subsystem (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

i2c_smbus_write_byte_data - SMBus lqwrite byterq protocol  

SYNOPSIS

s32 i2c_smbus_write_byte_data(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 lqwrite byterq protocol, returning negative errno else zero on success.  

COPYRIGHT