Споделяне чрез


SPI_BitOrder Enum

Header: #include <applibs/spi.h>

The possible SPI bit order values.

typedef enum SPI_BitOrder {
    SPI_BitOrder_Invalid = 0x0,
    SPI_BitOrder_LsbFirst = 0x1,
    SPI_BitOrder_MsbFirst = 0x2
} SPI_BitOrder;

Values

SPI_BitOrder_Invalid

An invalid bit order.

SPI_BitOrder_LsbFirst

The least-significant bit is sent first.

SPI_BitOrder_MsbFirst

The most-significant bit is sent first.