📄 sync.h
字号:
/********************************************************************************/
/* 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. */
/* c<2003> - <2008> */
/* The Software is provided "AS IS" without any warranty of any kind, */
/* express, implied, statutory or otherwise. */
/********************************************************************************/
//----------------------------------------------------------------------------------------------------
// ID Code : Sync.h No.0000
// Update Note :
//----------------------------------------------------------------------------------------------------
//--------------------------------------------------
// Definitions of
//--------------------------------------------------
// V010 Patch Note (20) : Modify for DE Only Mode
#if(_DVI_DE_ONLY_SUPPORT == _ON)
#define _DVI_DE_SUPPORT_ON 1
#define _DVI_DE_SUPPORT_OFF 0
#endif
// V010 Patch Note (21) : Add PHY Frequency Detection in TMDS mode.
#define _PHY_FREQUENCY_25_50 1
#define _PHY_FREQUENCY_50_62 2
#define _PHY_FREQUENCY_62_100 3
#define _PHY_FREQUENCY_100_150 4
#define _PHY_FREQUENCY_150_200 5
#define _PHY_FREQUENCY_200_340 6
//----------------------------------------------------------------------------------------------------
#ifdef __SYNC__
//--------------------------------------------------
// Global Variables
//--------------------------------------------------
// V010 Patch Note (21) : Add PHY Frequency Detection in TMDS mode.
BYTE idata g_ucPhyFreq = 0;
//--------------------------------------------------
// Function Prototypes
//--------------------------------------------------
void CSyncInitialSyncProcessor(void);
#if((_TMDS_SUPPORT == _ON) || (_HDMI_SUPPORT == _ON)||(_DP_SUPPORT == _ON))
bit CSyncScanInputPortDVI(void);
#endif
bit CSyncScanInputPortVGA(void);
BYTE CSyncGetSyncTypeAutoRun(void);
void CSyncModifyPolarity(void);
#else
//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------
// V010 Patch Note (21) : Add PHY Frequency Detection in TMDS mode.
extern BYTE idata g_ucPhyFreq;
//--------------------------------------------------
// Extern Function Prototypes
//--------------------------------------------------
extern void CSyncInitialSyncProcessor(void);
#if((_TMDS_SUPPORT == _ON) || (_HDMI_SUPPORT == _ON)||(_DP_SUPPORT == _ON))
extern bit CSyncScanInputPortDVI(void);
#endif
extern bit CSyncScanInputPortVGA(void);
extern void CSyncModifyPolarity(void);
#endif // End of #ifdef __SYNC__
//----------------------------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -