i2c_smbus_write_word_data(9) - phpMan
I2C_SMBUS_WRITE_WORD(9) I2C and SMBus Subsystem I2C_SMBUS_WRITE_WORD(9)
NAME
i2c_smbus_write_word_data - SMBus “write word” protocol
SYNOPSIS
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
DESCRIPTION
This executes the SMBus “write word” protocol, returning negative errno else zero on
success.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 I2C_SMBUS_WRITE_WORD(9)
|