Enumerations
Enumerations
Peripheral Driver » APP DRIVER » I2S

## Enumerations
enum | app_i2s_id_t { APP_I2S_ID_SLAVE, APP_I2S_ID_MASTER, APP_I2S_ID_MAX }
| I2S module Enumerations definition. More...
enum | app_i2s_type_t { APP_I2S_TYPE_INTERRUPT, APP_I2S_TYPE_POLLING, APP_I2S_TYPE_DMA, APP_I2S_TYPE_MAX }
| I2S operating mode Enumerations definition. More...
enum | app_i2s_evt_type_t { APP_I2S_EVT_ERROR, APP_I2S_EVT_TX_CPLT, APP_I2S_EVT_RX_DATA, APP_I2S_EVT_TX_RX }
| I2S event Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_i2s_evt_type_t

enum app_i2s_evt_type_t

I2S event Enumerations definition.

Enumerator
APP_I2S_EVT_ERROR | Error reported by UART peripheral.
APP_I2S_EVT_TX_CPLT | Requested TX transfer completed.
APP_I2S_EVT_RX_DATA | Requested RX transfer completed.
APP_I2S_EVT_TX_RX | Requested TX/RX transfer completed.

Definition at line 96 of file app_i2s.h.

## ◆ app_i2s_id_t

enum app_i2s_id_t

I2S module Enumerations definition.

Enumerator
APP_I2S_ID_SLAVE | I2S slave module.
APP_I2S_ID_MASTER | I2S master module.
APP_I2S_ID_MAX | Only for check parameter, not used as input parameters.

Definition at line 75 of file app_i2s.h.

## ◆ app_i2s_type_t

enum app_i2s_type_t

I2S operating mode Enumerations definition.

Enumerator
APP_I2S_TYPE_INTERRUPT | Interrupt operation mode.
APP_I2S_TYPE_POLLING | Polling operation mode
APP_I2S_TYPE_DMA | DMA operation mode
APP_I2S_TYPE_MAX | Only for check parameter, not used as input parameters.

Definition at line 85 of file app_i2s.h.