spi_sync_transfer — synchronous SPI data transfer
int spi_sync_transfer ( | struct spi_device * spi, |
| struct spi_transfer * xfers, | |
unsigned int num_xfers); |
spidevice with which data will be exchanged
xfersAn array of spi_transfers
num_xfersNumber of items in the xfer array
Does a synchronous SPI data transfer of the given spi_transfer array.
For more specific semantics see spi_sync.