table of contents
I2C_SMBUS_READ_WORD_(9) | I2C and SMBus Subsystem | I2C_SMBUS_READ_WORD_(9) |
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.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |