CMSIS-Driver: SAI Configuration

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

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Content
SAI Configuration
SAI Control Codes

Specify Transmitter/Receiver configuration. More...

## Content
| SAI Mode
| Defines Transmitter/Receiver mode.
| SAI Synchronization
| Defines Transmitter/Receiver synchronization.
| SAI Protocol
| Defines Transmitter/Receiver protocol.
| SAI Data Size
| Defines data size in bits (per channel/slot).
| SAI Bit Order
| Defines the bit order.
| SAI Mono Mode
| Defines mono mode.
| SAI Companding
| Defines companding.
| SAI Clock Polarity
| Defines clock polarity.
| SAI Frame
| Defines frame.
| SAI Slot
| Defines data slots.
| SAI Master Clock Pin
| Defines MCLK pin.
| SAI Master Clock Prescaler
| Defines MCLK prescaler.

## Description

Specify Transmitter/Receiver configuration.

Configuration is specified by ORing ARM_SAI_CONFIGURE_x with the following parameters:

- SAI Mode
- SAI Synchronization
- SAI Protocol
- SAI Data Size
- SAI Bit Order
- SAI Mono Mode
- SAI Clock Polarity
- SAI Companding
- SAI Master Clock Pin

Additional configuration specified by arg1:

- SAI Frame
- SAI Slot

Additional configuration specified by arg2:

- Audio Frequency (Master only)
- SAI Master Clock Prescaler