SPIMaster_SetBitOrder Function
Header: #include <applibs/spi.h>
Configures the order for transferring data bits on a SPI master interface.
int SPIMaster_SetBitOrder(int fd, SPI_BitOrder order);
Parameters
fdThe file descriptor for the SPI master interface.orderSpecifies the desired bit order for data transfers.
Return value
Returns 0 for success, or -1 for failure, in which case errno will be set to the error value.
Application manifest requirements
To access individual SPI interfaces, your application must identify them in the SpiMaster field of the application manifest.
Povratne informacije
Pošalјite i prikažite povratne informacije za