Set SPI transfer data order.
int32_t spi_s_sync_set_data_order( struct spi_s_sync_descriptor * spi, const enum spi_data_order dord )
Note that the SPI must be disabled to change data order.
Type: struct spi_s_sync_descriptor Struct *
Pointer to the HAL SPI instance.
Type: const enum spi_data_order
The data order: send LSB/MSB first.
Type: int32_t
Operation status.
Success.
Error.