Enumerations

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

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.

◆ 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.

◆ 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.