1SPI_READ(9)             Serial Peripheral Interface (S             SPI_READ(9)
2
3
4

NAME

6       spi_read - SPI synchronous read
7

SYNOPSIS

9       int spi_read(struct spi_device * spi, u8 * buf, size_t len);
10

ARGUMENTS

12       spi
13           device from which data will be read
14
15       buf
16           data buffer
17
18       len
19           data buffer size
20

CONTEXT

22       can sleep
23

DESCRIPTION

25       This reads the buffer and returns zero or a negative error code.
26       Callable only from contexts that can sleep.
27
29Kernel Hackers Manual 2.6.         June 2019                       SPI_READ(9)
Impressum