1SPI_W8R8(9) Serial Peripheral Interface (S SPI_W8R8(9)
2
3
4
6 spi_w8r8 - SPI synchronous 8 bit write followed by 8 bit read
7
9 ssize_t spi_w8r8(struct spi_device * spi, u8 cmd);
10
12 spi
13 device with which data will be exchanged
14
15 cmd
16 command to be written before data is read back
17
19 can sleep
20
22 This returns the (unsigned) eight bit number returned by the device, or
23 else a negative error code. Callable only from contexts that can sleep.
24
26Kernel Hackers Manual 3.10 June 2019 SPI_W8R8(9)