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

- CMSIS
- CORE
- Driver
- DSP
- RTOS API
- Pack
- SVD

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Content
SPI Control Codes
SPI Interface

Many parameters of the SPI driver are configured using the ARM_SPI_Control function. More...

## Content

| SPI Mode Controls
| Specifies SPI mode.
| SPI Frame Format
| Defines the frame format.
| SPI Data Bits
| Defines the number of data bits.
| SPI Bit Order
| Defines the bit order.
| SPI Slave Select Mode
| Specifies SPI slave select mode.
| SPI Miscellaneous Controls
| Specifies additional miscellaneous controls.

## Description

Many parameters of the SPI driver are configured using the ARM_SPI_Control function.

The various SPI control codes define:

- SPI Mode Controls specifies SPI mode
- SPI Frame Format defines the frame format
- SPI Data Bits defines the number of data bits
- SPI Bit Order defines the bit order
- SPI Slave Select Mode specifies slave select mode
- SPI Miscellaneous Controls specifies additional miscellaneous controls

Refer to the ARM_SPI_Control function for further details.