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

Loading...
Searching...
No Matches
Macros
SAI Protocol
SAI Interface » SAI Control Codes » SAI Configuration

Defines Transmitter/Receiver protocol. More...

## Macros
#define | ARM_SAI_PROTOCOL_USER (0UL << ARM_SAI_PROTOCOL_Pos)
| User defined (default)
#define | ARM_SAI_PROTOCOL_I2S (1UL << ARM_SAI_PROTOCOL_Pos)
| I2S.
#define | ARM_SAI_PROTOCOL_MSB_JUSTIFIED (2UL << ARM_SAI_PROTOCOL_Pos)
| MSB (left) justified.
#define | ARM_SAI_PROTOCOL_LSB_JUSTIFIED (3UL << ARM_SAI_PROTOCOL_Pos)
| LSB (right) justified.
#define | ARM_SAI_PROTOCOL_PCM_SHORT (4UL << ARM_SAI_PROTOCOL_Pos)
| PCM with short frame.
#define | ARM_SAI_PROTOCOL_PCM_LONG (5UL << ARM_SAI_PROTOCOL_Pos)
| PCM with long frame.
#define | ARM_SAI_PROTOCOL_AC97 (6UL << ARM_SAI_PROTOCOL_Pos)
| AC'97.

## Description

Defines Transmitter/Receiver protocol.

## Macro Definition Documentation

## ◆ ARM_SAI_PROTOCOL_USER

#define ARM_SAI_PROTOCOL_USER (0UL << ARM_SAI_PROTOCOL_Pos)

User defined (default)

## ◆ ARM_SAI_PROTOCOL_I2S

#define ARM_SAI_PROTOCOL_I2S (1UL << ARM_SAI_PROTOCOL_Pos)

I2S.

## ◆ ARM_SAI_PROTOCOL_MSB_JUSTIFIED

#define ARM_SAI_PROTOCOL_MSB_JUSTIFIED (2UL << ARM_SAI_PROTOCOL_Pos)

MSB (left) justified.

## ◆ ARM_SAI_PROTOCOL_LSB_JUSTIFIED

#define ARM_SAI_PROTOCOL_LSB_JUSTIFIED (3UL << ARM_SAI_PROTOCOL_Pos)

LSB (right) justified.

## ◆ ARM_SAI_PROTOCOL_PCM_SHORT

#define ARM_SAI_PROTOCOL_PCM_SHORT (4UL << ARM_SAI_PROTOCOL_Pos)

PCM with short frame.

## ◆ ARM_SAI_PROTOCOL_PCM_LONG

#define ARM_SAI_PROTOCOL_PCM_LONG (5UL << ARM_SAI_PROTOCOL_Pos)

PCM with long frame.

## ◆ ARM_SAI_PROTOCOL_AC97

#define ARM_SAI_PROTOCOL_AC97 (6UL << ARM_SAI_PROTOCOL_Pos)

AC'97.