Source code of Windows XP (NT5)
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.

60 lines
1.8 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Philips Semiconductors-CSU 1999
  4. // All rights are reserved. Reproduction in whole or in part is prohibited
  5. // without the written consent of the copyright owner.
  6. //
  7. // Philips reserves the right to make changes without notice at any time.
  8. // Philips makes no warranty, expressed, implied or statutory, including but
  9. // not limited to any implied warranty of merchantibility or fitness for any
  10. // particular purpose, or that the use will not infringe any third party
  11. // patent, copyright or trademark. Philips must not be liable for any loss
  12. // or damage arising from its use.
  13. //
  14. // VSB1.H
  15. // Definition of CVSB1Demod class
  16. //////////////////////////////////////////////////////////////////////////////
  17. #ifndef _VSB1_H_
  18. #define _VSB1_H_
  19. #include "vsbbase.h"
  20. class CVSB1Demod : public CVSBDemod
  21. {
  22. public:
  23. CVSB1Demod(CI2CScript *p_I2CScript, BoardInfoType *p_BoardInfo, NTSTATUS *p_Status);
  24. ~CVSB1Demod();
  25. // PVOID operator new (UINT size_t);
  26. // void operator delete(PVOID p_Object);
  27. virtual BOOL GetStatus(PVsbStatusType p_Status);
  28. virtual BOOL InitVSB();
  29. BOOL CheckHang();
  30. virtual void ResetHangCounter();
  31. virtual BOOL CoeffIDToAddress(UINT uiID, UINT *p_uiAddress,
  32. UINT uiRegisterType);
  33. virtual BOOL SetOutputMode(UINT uiOutputMode);
  34. virtual BOOL GetOutputMode(UINT *p_uiOutputMode);
  35. virtual BOOL SetDiagMode(VSBDIAGTYPE ulMode);
  36. virtual BOOL GetDiagMode(ULONG *p_ulMode);
  37. virtual ULONG GetDiagSpeed(ULONG ulType);
  38. protected:
  39. virtual BOOL EnableCoefficients(UCHAR ucEnable);
  40. virtual BOOL DisableCoefficients();
  41. virtual BOOL Initialize();
  42. protected:
  43. UINT m_uiHangCounter;
  44. UINT m_uiPrevMseValue;
  45. };
  46. #endif //_VSB1_H_