Query: spi_w8r8
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_W8R8(9) Serial Peripheral Interface (S SPI_W8R8(9)NAMEspi_w8r8 - SPI synchronous 8 bit write followed by 8 bit readSYNOPSISssize_t spi_w8r8(struct spi_device * spi, u8 cmd);ARGUMENTSspi device with which data will be exchanged cmd command to be written before data is read backCONTEXTcan sleepDESCRIPTIONThis returns the (unsigned) eight bit number returned by the device, or else a negative error code. Callable only from contexts that can sleep.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SPI_W8R8(9)