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

DVD

开发平台:

C/C++

  1. #ifndef __WM8736_H
  2. #define __WM8736_H
  3. #define WM8736_2_MUTE_ON (1<<0) // 1001_10_000
  4. #define WM8736_2_MUTE_OFF (0<<0)
  5. #define WM8736_2_DEEMPH_ON (1<<1)
  6. #define WM8736_2_DEEMPH_OFF (0<<1)
  7. #define WM8736_2_PWDN_ON (1<<2)
  8. #define WM8736_2_PWDN_OFF (0<<2)
  9. #define WM8736_2_IW_16 (0<<3)
  10. #define WM8736_2_IW_20 (1<<3)
  11. #define WM8736_2_IW_24 (2<<3)
  12. #define WM8736_2_IW_18 (3<<3)
  13. #define WM8736_2_PL_MM (0x0<<5)
  14. #define WM8736_2_PL_LM (0x1<<5)
  15. #define WM8736_2_PL_RM (0x2<<5)
  16. #define WM8736_2_PL_CM (0x3<<5)
  17. #define WM8736_2_PL_ML (0x4<<5)
  18. #define WM8736_2_PL_LL (0x5<<5)
  19. #define WM8736_2_PL_RL (0x6<<5)
  20. #define WM8736_2_PL_CL (0x7<<5)
  21. #define WM8736_2_PL_MR (0x8<<5)
  22. #define WM8736_2_PL_LR (0x9<<5)
  23. #define WM8736_2_PL_RR (0xA<<5)
  24. #define WM8736_2_PL_CR (0xB<<5)
  25. #define WM8736_2_PL_MC (0xC<<5)
  26. #define WM8736_2_PL_LC (0xD<<5)
  27. #define WM8736_2_PL_RC (0xE<<5)
  28. #define WM8736_2_PL_CC (0xF<<5)
  29. //3
  30. #define WM8736_3_I2S_OFF (0<<0)
  31. #define WM8736_3_I2S_ON (1<<0)
  32. #define WM8736_3_LRP_STD (0<<1)
  33. #define WM8736_3_LRP_INV (1<<1)
  34. #define WM8736_3_SF_44k (0<<6)
  35. #define WM8736_3_SF_48k (1<<6)
  36. #define WM8736_3_SF_32k (2<<6)
  37. #define WM8736_3_IZD_OFF (0<<8)
  38. #define WM8736_3_IZD_ON (1<<8)
  39. #endif /*__WM8736_H*/