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

Loading...
Searching...
No Matches
Macros
SAI Events
SAI Interface

The SAI driver generates call back events that are notified via the function ARM_SAI_SignalEvent. More...

## Macros
#define | ARM_SAI_EVENT_SEND_COMPLETE (1UL << 0)
| Send completed.
#define | ARM_SAI_EVENT_RECEIVE_COMPLETE (1UL << 1)
| Receive completed.
#define | ARM_SAI_EVENT_TX_UNDERFLOW (1UL << 2)
| Transmit data not available.
#define | ARM_SAI_EVENT_RX_OVERFLOW (1UL << 3)
| Receive data overflow.
#define | ARM_SAI_EVENT_FRAME_ERROR (1UL << 4)
| Sync Frame error in Slave mode (optional)

## Description

The SAI driver generates call back events that are notified via the function ARM_SAI_SignalEvent.

This section provides the event values for the ARM_SAI_SignalEvent callback function.

The following call back notification events are generated:

## Macro Definition Documentation

## ◆ ARM_SAI_EVENT_SEND_COMPLETE

#define ARM_SAI_EVENT_SEND_COMPLETE (1UL << 0)

Send completed.

## ◆ ARM_SAI_EVENT_RECEIVE_COMPLETE

#define ARM_SAI_EVENT_RECEIVE_COMPLETE (1UL << 1)

Receive completed.

## ◆ ARM_SAI_EVENT_TX_UNDERFLOW

#define ARM_SAI_EVENT_TX_UNDERFLOW (1UL << 2)

Transmit data not available.

## ◆ ARM_SAI_EVENT_RX_OVERFLOW

#define ARM_SAI_EVENT_RX_OVERFLOW (1UL << 3)

Receive data overflow.

## ◆ ARM_SAI_EVENT_FRAME_ERROR

#define ARM_SAI_EVENT_FRAME_ERROR (1UL << 4)

Sync Frame error in Slave mode (optional)