Query: spi_sync_transfer
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_SYNC_TRANSFER(9) Serial Peripheral Interface (S SPI_SYNC_TRANSFER(9)NAMEspi_sync_transfer - synchronous SPI data transferSYNOPSISint spi_sync_transfer(struct spi_device * spi, struct spi_transfer * xfers, unsigned int num_xfers);ARGUMENTSspi device with which data will be exchanged xfers An array of spi_transfers num_xfers Number of items in the xfer arrayCONTEXTcan sleepDESCRIPTIONDoes a synchronous SPI data transfer of the given spi_transfer array. For more specific semantics see spi_sync. It returns zero on success, else a negative error code.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SPI_SYNC_TRANSFER(9)