Query: spi_read
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_READ(9) Serial Peripheral Interface (S SPI_READ(9)NAMEspi_read - SPI synchronous readSYNOPSISint spi_read(struct spi_device * spi, void * buf, size_t len);ARGUMENTSspi device from which data will be read buf data buffer len data buffer sizeCONTEXTcan sleepDESCRIPTIONThis reads the buffer and returns zero or a negative error code. Callable only from contexts that can sleep.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SPI_READ(9)