i2c_smbus_write_block_data(9)
β¨ NAME β¨
i2c_smbus_write_block_data β SMBus "block write" protocol.
Okay bestie, this is the Kernel API Manual entry for i2c_smbus_write_block_data(9). It's giving major SMBus block-write energy, and it's literally here to help you write a block of bytes out to your slave device. π
β¨
π¦ SYNOPSIS π¦
s32 i2c_smbus_write_block_data (const struct i2c_client *client , u8
command , u8 length , const u8 *values );
π ARGUMENTS π
clientβ the handle to the slave device π«Άcommandβ a byte that the slave device interprets πlengthβ size of the data block; SMBus allows at most 32 bytes, periodt πvaluesβ the byte array that will be written πΈ
π₯ DESCRIPTION π₯
This literally executes the SMBus "block write" protocol. On success you get zero back; otherwise you get a negative errno. That's the whole vibe, no cap. π
π SEE ALSO π
Kernel file: ./drivers/i2c/i2c-core-smbus.c
i2c_smbus_pec(9)i2c_smbus_read_byte(9)i2c_smbus_write_byte(9)i2c_smbus_read_byte_data(9)i2c_smbus_write_byte_data(9)i2c_smbus_read_word_data(9)i2c_smbus_write_word_data(9)i2c_smbus_read_block_data(9)i2c_smbus_xfer(9)i2c_smbus_read_i2c_block_data_or_emulated(9)i2c_new_smbus_alert_device(9)
Later bestie π«Ά β source/version: ./drivers/i2c; date: October 2026; page: i2c_smbus_write_block_data(9). β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms