i2c_smbus_read_block_data(9) centos man page | unix.com

Man Page: i2c_smbus_read_block_data

Operating Environment: centos

Section: 9

I2C_SMBUS_READ_BLOCK(9) 				      I2C and SMBus Subsystem					   I2C_SMBUS_READ_BLOCK(9)

NAME
i2c_smbus_read_block_data - SMBus "block read" protocol
SYNOPSIS
s32 i2c_smbus_read_block_data(const struct i2c_client * client, u8 command, u8 * values);
ARGUMENTS
client Handle to slave device command Byte interpreted by slave values Byte array into which data will be read; big enough to hold the data returned by the slave. SMBus allows at most 32 bytes.
DESCRIPTION
This executes the SMBus "block read" protocol, returning negative errno else the number of data bytes in the slave's response. Note that using this function requires that the client's adapter support the I2C_FUNC_SMBUS_READ_BLOCK_DATA functionality. Not all adapter drivers support this; its emulation through I2C messaging relies on a specific mechanism (I2C_M_RECV_LEN) which may not be implemented.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 I2C_SMBUS_READ_BLOCK(9)
Related Man Pages
struct_i2c_board_info(9) - centos
iic(4) - netbsd
i2c_register_board_info(9) - suse
struct_i2c_driver(9) - suse
smbus(7d) - opensolaris
Similar Topics in the Unix Linux Community
How to increment version inside a file?
CentOS7 restoring file capabilities
Docker learning Phase-I
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!