Scroll to navigation

I2C_MASTER_SEND(9) I2C and SMBus Subsystem I2C_MASTER_SEND(9)

NAME

i2c_master_send - issue a single I2C message in master transmit mode

SYNOPSIS

int i2c_master_send(struct i2c_client * client, const char * buf, int count);

ARGUMENTS

client

Handle to slave device

buf

Data that will be written to the slave

count

How many bytes to write

DESCRIPTION

Returns negative errno, or else the number of bytes written.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.