I2C_SMBUS_WRITE_BLOC

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

NAME

i2c_smbus_write_block_data - SMBus lqblock writerq protocol  

SYNOPSIS

s32 i2c_smbus_write_block_data(struct i2c_client * client, u8 command, u8 length, const u8 * values);
 

ARGUMENTS

client

Handle to slave device

command

Byte interpreted by slave

length

Size of data block; SMBus allows at most 32 bytes

values

Byte array which will be written.
 

DESCRIPTION

This executes the SMBus lqblock writerq protocol, returning negative errno else zero on success.  

COPYRIGHT