dual_ddc.h

来自「realtek LCD monitor, TV开发源代码」· C头文件 代码 · 共 59 行

H
59
字号
//**********************************************************************************************************
//  The  Software  is  proprietary,  confidential,  and  valuable to Realtek Semiconductor
//  Corporation  ("Realtek").  All  rights, including but not limited  to  copyrights,
//  patents,  trademarks, trade secrets, mask work rights, and other similar rights and interests,
//  are reserved to Realtek. Without  prior  written  consent  from  Realtek,  copying, reproduction,
//  modification,  distribution,  or  otherwise  is strictly prohibited. The Software  shall  be
//  kept  strictly  in  confidence,  and  shall  not be  disclosed to or otherwise accessed by
//  any third party. @ <2003> - <2008>   The Software is provided "AS IS" without any warranty of any kind,
//  express, implied, statutory or otherwise.
//**********************************************************************************************************
//#if(_OSD_TYPE == _DUAL_OSD)

#ifdef __DUAL_DDC__

BYTE xdata ucMcuDdcciReplyBuffer[16];
BYTE xdata RamI2cCommandIndex;

bit bGetMcuDdcciCommand=_FALSE;
bit bReplyMcuDdcciCommand=_FALSE;

#if(_DEBUG_TOOL == _ISPACK)
void CDdcciInitial(void);
#endif
void CDdcciHandler(void);

#if(_DDCCI_SUPPORT==_ON)
void CDdcciGetVCPFeature(BYTE opcode,WORD Max,WORD Present);
void CDdcciGetCommandData(BYTE Length,BYTE *OutputBuffer);
void CDdcciReplyData(BYTE Length);
void CDdcciNewControlValue(void);
#endif
void CDdcciResetBuffer(void);
#else

extern BYTE xdata ucMcuDdcciReplyBuffer[16];
extern BYTE xdata RamI2cCommandIndex;

extern bit bGetMcuDdcciCommand;
extern bit bReplyMcuDdcciCommand;

#if(_DEBUG_TOOL == _ISPACK)
extern void CDdcciInitial(void);
#endif
extern void CDdcciHandler(void);
#if(_DDCCI_SUPPORT==_ON)
extern void CDdcciGetVCPFeature(BYTE opcode,WORD Max,WORD Present);
extern void CDdcciReplyData(BYTE Length);
extern void CDdcciGetCommandData(BYTE Length,BYTE *OutputBuffer);
extern void CDdcciNewControlValue(void);
#endif
extern void CDdcciResetBuffer(void);
#endif

#define _NO_NEW_VALUE                   1
#define _A_NEW_VALUE                    2


//#endif  //End of #if(_OSD_TYPE == _DUAL_OSD)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?