drv_mio.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /******************************************************************************/
  2. /**
  3. *
  4. * @file drv_mio.h
  5. *
  6. * @brief This file specifies the APIs provided to control MIO
  7. *
  8. * @note Copyright (c) 2013 S2 Technology Co., Ltd. \n
  9. * All rights reserved.
  10. *
  11. * @author
  12. *
  13. ******************************************************************************/
  14. #ifndef __DRV_MIO_H__
  15. #define __DRV_MIO_H__
  16. /*******************************************************************************
  17. * Header include
  18. ******************************************************************************/
  19. #include "drv_types.h"
  20. typedef enum _DRV_MIO_SOURCE_TYPE
  21. {
  22. eMIO_EXTS=0,
  23. eMIO_CVD2,
  24. eMIO_MPEG,
  25. eMIO_HDMI,
  26. } DRV_MIO_SOURCE_TYPE;
  27. void DRV_MIO_SetEventLock(BOOL fEnable);
  28. void DRV_MIO_SetEventSelect(UINT8 mode);
  29. void DRV_MIO_SetPanelInterruptStatus(BOOL fEnable);
  30. BOOL DRV_MIO_GetPanelInterruptStatus(void);
  31. void DRV_MIO_SetOSDInterruptStatus(BOOL fEnable);
  32. BOOL DRV_MIO_GetOSDInterruptStatus(void);
  33. void DRV_MIO_SetVsyncInterruptStatus_Xpipe(BOOL fEnable);
  34. BOOL DRV_MIO_GetVsyncInterruptStatus_Xpipe(void);
  35. void DRV_MIO_SetVsyncInterruptEnable(BOOL operatorAnd,UINT8 value);
  36. void DRV_MIO_SetVsyncInterruptMask(BOOL operatorAnd,UINT8 value);
  37. void DRV_MIO_SetSourceInterruptStatus(DRV_MIO_SOURCE_TYPE type,BOOL fEnable);
  38. BOOL DRV_MIO_GetSourceInterruptStatus(DRV_MIO_SOURCE_TYPE type);
  39. void DRV_MIO_SetSyncDetectionInterruptEnable(BOOL operatorAnd,UINT8 value);
  40. void DRV_MIO_SetSyncDetectionInterruptMask(BOOL operatorAnd,UINT8 value);
  41. void DRV_MIO_SetMMCMaxBurstEn(BOOL fEn, UINT16 wBurstValue);
  42. #endif