Rechercher une page de manuel
i2c_smbus_xfer
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
i2c_smbus_xfer - execute SMBus protocol operationsSYNOPSIS
- s32 i2c_smbus_xfer(struct i2c_adapter * adapter, u16 addr, unsigned short flags, char read_write, u8 command, int protocol, union i2c_smbus_data * data);
ARGUMENTS
adapter
- Handle to I2C bus
addr
- Address of SMBus slave on that bus
flags
- I2C_CLIENT_* flags (usually zero or I2C_CLIENT_PEC)
read_write
- I2C_SMBUS_READ or I2C_SMBUS_WRITE
command
- Byte interpreted by slave, for protocols which use such bytes
protocol
- SMBus protocol operation to execute, such as I2C_SMBUS_PROC_CALL
data
- Data to be read or written
DESCRIPTION
This executes an SMBus protocol operation, and returns a negative errno code else zero on success.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre