i2c_master_recv(9)

i2c_master_recv9

Issue a single i2c message in master receive mode

Usage

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

Arguments

client

Handle to slave device

buf

Where to store data read from slave

count

How many bytes to read, must be less than 64k since msg.len is u16

Overview

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

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.