Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Tuner.h 1.2.1.2 1998/04/29 22:43:41 tomz Exp ssm $
  2. /////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright (c) 1996 Brooktree Corporation
  5. //
  6. // Module:
  7. //
  8. // Tuner.h
  9. //
  10. // Abstract:
  11. //
  12. // Bt878 Tuner class header file
  13. //
  14. /////////////////////////////////////////////////////////////////////////////
  15. #ifndef __TUNER_H
  16. #define __TUNER_H
  17. /*
  18. #include "retcode.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // Constants
  21. /////////////////////////////////////////////////////////////////////////////
  22. // US: 87.5 - 108.0, Japan 76 - 91, Eastern Europe 64 - 72
  23. const int MIN_FREQ = 640; // no decimal place; i.e. 64.0MHz -> 640
  24. const int MAX_FREQ = 1080;
  25. */
  26. #define USE_TEMIC_TUNER
  27. //#define USE_ALPS_TUNER
  28. //#define USE_PHILIPS_TUNER
  29. #ifdef USE_TEMIC_TUNER
  30. const BYTE TunerI2CAddress = 0xC2; // I2C address for Temic tuner
  31. const WORD TunerBandCtrlLow = 0x8E02; // Ctrl code for VHF low
  32. const WORD TunerBandCtrlMid = 0x8E04; // Ctrl code for VHF high
  33. const WORD TunerBandCtrlHigh = 0x8E01; // Ctrl code for UHF
  34. #elif defined(USE_ALPS_TUNER)
  35. const BYTE TunerI2CAddress = 0xC0; // I2C address for Alps tuner
  36. const WORD TunerBandCtrlLow = 0xC214; // Ctrl code for VHF low
  37. const WORD TunerBandCtrlMid = 0xC212; // Ctrl code for VHF high
  38. const WORD TunerBandCtrlHigh = 0xC211; // Ctrl code for UHF
  39. #elif defined(USE_PHILIPS_TUNER)
  40. const BYTE TunerI2CAddress = 0xC0; // I2C address for Philips tuner
  41. const WORD TunerBandCtrlLow = 0xCEA0; // Ctrl code for VHF low
  42. const WORD TunerBandCtrlMid = 0xCE90; // Ctrl code for VHF high
  43. const WORD TunerBandCtrlHigh = 0xCE30; // Ctrl code for UHF
  44. #endif
  45. #endif // __TUNER_H