pcm1742.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:
DVD
开发平台:
C/C++
- #ifndef __PCM1742_H
- #define __PCM1742_H
- //Register-18
- #define PCM1742_R18_MUTE_ON (3<<0)
- #define PCM1742_R18_MUTE_OFF (0<<0)
- #define PCM1742_R18_OVER_SAMPLE_ON (1<<6)
- #define PCM1742_R18_OVER_SAMPLE_OFF (0<<6)
- //Register-19
- #define PCM1742_R19_SF_44 (0<<5)
- #define PCM1742_R19_SF_48 (1<<5)
- #define PCM1742_R19_SF_32 (2<<5)
- //Register-20
- #define PCM1742_R20_FMT_24RJ (0<<0)
- #define PCM1742_R20_FMT_20RJ (1<<0)
- #define PCM1742_R20_FMT_18RJ (2<<0)
- #define PCM1742_R20_FMT_16RJ (3<<0)
- #define PCM1742_R20_FMT_I2S (4<<0)
- #define PCM1742_R20_FMT_LJ (5<<0)
- #endif //__PCM1742_H