i2c_smbus_read_byte_data

Langue: en

Autres versions - même langue

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

i2c_smbus_read_byte_data - SMBus "read byte" protocol

SYNOPSIS

s32 i2c_smbus_read_byte_data(struct i2c_client * client, u8 command);

ARGUMENTS

client

Handle to slave device

command

Byte interpreted by slave

DESCRIPTION

This executes the SMBus "read byte" protocol, returning negative errno else a data byte received from the device.