Write/read at the same time.
int32_t spi_s_sync_transfer( struct spi_s_sync_descriptor * spi, const struct spi_xfer * xfer )
Type: struct spi_s_sync_descriptor Struct *
Pointer to the HAL SPI instance.
Type: const struct spi_xfer *
Pointer to the transfer information (spi_xfer).
Type: int32_t
Operation result.
Error.
Number of characters transferred.