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