/**
*****************************************************************************
* @file I2S.h
* @author Ingrid
* @version V2.0.0
* @date 06-May-2014
* @brief declare i2s module driver interface
*****************************************************************************
* @attention
*
*
© COPYRIGHT 2013 MVSilicon
*/
#ifndef __I2S_H__
#define __I2S_H__
#ifdef __cplusplus
extern "C" {
#endif//__cplusplus
#define I2S_DATA_FROM_ADC 1
#define I2S_DATA_FROM_DEC 0
/**
* i2s format definition
*/
typedef enum _I2S_DATA_FORMAT
{
I2S_FORMAT_RIGHT = 0,
I2S_FORMAT_LEFT,
I2S_FORMAT_I2S,
I2S_FORMAT_DSP
} I2S_DATA_FORMAT;
#define I2S_DSP_MODEB (0) /**