/******************************************************************************/ /** * * @file drv_mio.h * * @brief This file specifies the APIs provided to control MIO * * @note Copyright (c) 2013 S2 Technology Co., Ltd. \n * All rights reserved. * * @author * ******************************************************************************/ #ifndef __DRV_MIO_H__ #define __DRV_MIO_H__ /******************************************************************************* * Header include ******************************************************************************/ #include "drv_types.h" typedef enum _DRV_MIO_SOURCE_TYPE { eMIO_EXTS=0, eMIO_CVD2, eMIO_MPEG, eMIO_HDMI, } DRV_MIO_SOURCE_TYPE; void DRV_MIO_SetEventLock(BOOL fEnable); void DRV_MIO_SetEventSelect(UINT8 mode); void DRV_MIO_SetPanelInterruptStatus(BOOL fEnable); BOOL DRV_MIO_GetPanelInterruptStatus(void); void DRV_MIO_SetOSDInterruptStatus(BOOL fEnable); BOOL DRV_MIO_GetOSDInterruptStatus(void); void DRV_MIO_SetVsyncInterruptStatus_Xpipe(BOOL fEnable); BOOL DRV_MIO_GetVsyncInterruptStatus_Xpipe(void); void DRV_MIO_SetVsyncInterruptEnable(BOOL operatorAnd,UINT8 value); void DRV_MIO_SetVsyncInterruptMask(BOOL operatorAnd,UINT8 value); void DRV_MIO_SetSourceInterruptStatus(DRV_MIO_SOURCE_TYPE type,BOOL fEnable); BOOL DRV_MIO_GetSourceInterruptStatus(DRV_MIO_SOURCE_TYPE type); void DRV_MIO_SetSyncDetectionInterruptEnable(BOOL operatorAnd,UINT8 value); void DRV_MIO_SetSyncDetectionInterruptMask(BOOL operatorAnd,UINT8 value); void DRV_MIO_SetMMCMaxBurstEn(BOOL fEn, UINT16 wBurstValue); #endif