summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/soc/i2s_def.h
blob: 44eed256d48ca97fc7dcdce79dcd5461065f92c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#define EOS_I2S_FMT_PCM16       0
#define EOS_I2S_FMT_ALAW        1

#define EOS_I2S_MODE_STEREO     0
#define EOS_I2S_MODE_MONO     	1

#define EOS_I2S_ETYPE_MIC       1
#define EOS_I2S_ETYPE_SPK       2

#define EOS_I2S_TRANS_NONE      0
#define EOS_I2S_TRANS_MONO2D    1
#define EOS_I2S_TRANS_MONO2L    2
#define EOS_I2S_TRANS_MONO2R    3