hi_aio_mode

Description

Defines the input and output operating modes of audio devices.

Definition

typedef enum {
    HI_AIO_MODE_I2S_MASTER  = 0,    /* AIO I2S master mode */
    HI_AIO_MODE_I2S_SLAVE,          /* AIO I2S slave mode */
    HI_AIO_MODE_PCM_SLAVE_STD,      /* AIO PCM slave standard mode */
    HI_AIO_MODE_PCM_SLAVE_NON_STD,  /* AIO PCM slave non-standard mode */
    HI_AIO_MODE_PCM_MASTER_STD,     /* AIO PCM master standard mode */
    HI_AIO_MODE_PCM_MASTER_NON_STD, /* AIO PCM master non-standard mode */
    HI_AIO_MODE_BUTT
} hi_aio_mode;

Members

Member

Description

HI_AIO_MODE_I2S_MASTER

Integrated Interchip Sound (I2S) master mode.

HI_AIO_MODE_I2S_SLAVE

I2S slave mode. Not supported by the Atlas 200I/500 A2 inference products.

HI_AIO_MODE_PCM_SLAVE_STD

Pulse code modulation (PCM) slave mode (standard protocol). Not supported by the Atlas 200I/500 A2 inference products.

HI_AIO_MODE_PCM_SLAVE_NON_STD

PCM slave mode (user-defined protocol). Not supported by the Atlas 200I/500 A2 inference products.

HI_AIO_MODE_PCM_MASTER_STD

PCM master mode (standard protocol). Not supported by the Atlas 200I/500 A2 inference products.

HI_AIO_MODE_PCM_MASTER_NON_STD

PCM master mode (user-defined protocol). Not supported by the Atlas 200I/500 A2 inference products.

HI_AIO_MODE_BUTT

Reserved.