pcm1742.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:

DVD

开发平台:

C/C++

  1. #ifndef __PCM1742_H
  2. #define __PCM1742_H
  3. //Register-18
  4. #define PCM1742_R18_MUTE_ON             (3<<0)
  5. #define PCM1742_R18_MUTE_OFF            (0<<0)
  6. #define PCM1742_R18_OVER_SAMPLE_ON      (1<<6)
  7. #define PCM1742_R18_OVER_SAMPLE_OFF     (0<<6)
  8. //Register-19
  9. #define PCM1742_R19_SF_44               (0<<5)
  10. #define PCM1742_R19_SF_48               (1<<5)
  11. #define PCM1742_R19_SF_32               (2<<5)
  12. //Register-20
  13. #define PCM1742_R20_FMT_24RJ            (0<<0)
  14. #define PCM1742_R20_FMT_20RJ            (1<<0)
  15. #define PCM1742_R20_FMT_18RJ            (2<<0)
  16. #define PCM1742_R20_FMT_16RJ            (3<<0)
  17. #define PCM1742_R20_FMT_I2S             (4<<0)
  18. #define PCM1742_R20_FMT_LJ              (5<<0)
  19. #endif  //__PCM1742_H