1. NAME

i2c_smbus_write_block_data - SMBus « block write » protocol

2. SYNOPSIS

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

3. 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.

4. DESCRIPTION

This executes the SMBus « block write » protocol, returning negative errno else zero on success.

5. COPYRIGHT