| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Macros
SPI Bit Order
SPI Interface » SPI Control Codes

Defines the bit order. More...

## Macros
#define | ARM_SPI_MSB_LSB (0UL << ARM_SPI_BIT_ORDER_Pos)
| SPI Bit order from MSB to LSB (default)
#define | ARM_SPI_LSB_MSB (1UL << ARM_SPI_BIT_ORDER_Pos)
| SPI Bit order from LSB to MSB.

## Description

Defines the bit order.

## Macro Definition Documentation

## ◆ ARM_SPI_MSB_LSB

#define ARM_SPI_MSB_LSB (0UL << ARM_SPI_BIT_ORDER_Pos)

SPI Bit order from MSB to LSB (default)

See also
  ARM_SPI_Control

## ◆ ARM_SPI_LSB_MSB

#define ARM_SPI_LSB_MSB (1UL << ARM_SPI_BIT_ORDER_Pos)

SPI Bit order from LSB to MSB.

See also
  ARM_SPI_Control