Skip to content
Ken Sharp edited this page Dec 8, 2023 · 1 revision

SpiSetBitOrder()

Sets the bit order (MSb first or LSb first) of the specified SPI master.

Syntax

SpiSetBitOrder(unsigned char channel, unsigned char bitOrder);

channels
The SPI master channel to configure.

bitOrder
The bit order:

  • 0 - LSb First
  • 1 - MSb First

Returns

int status

Related Links

Clone this wiki locally