Name
spi_read —
SPI synchronous read
Arguments
spi
device from which data will be read
buf
data buffer
len
data buffer size
Description
This function reads the buffer buf
.
Callable only from contexts that can sleep.
Return
zero on success, else a negative error code.