⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 global.c

📁 MST720-DEMO程序
💻 C
字号:
/******************************************************************************
 Copyright (c) 2005 MStar Semiconductor, Inc.
 All rights reserved.

 [Module Name]: Global.c
 [Date]:	12-Jan-2005
 [Comment]:
   Global variable definition.
 [Reversion History]:
*******************************************************************************/
#define _GLOBAL_C_

/********************
* INCLUDE FILES     *
*********************/
#include "Project.h"
#include "OSDKey.h"
#include "OSDMenu.h"
#include "Global.h"
#include "Sync.h"
#include "Ms_Func.h"

/**********************
* FUNCTION PROTOTYPES *
***********************/
void sysVariableInit(void)
{
	g_ucKeypadButton = 0;
	g_ucOSDPageIndex = 0;
	g_ucOSDSelectIndex = 0;
	g_ucFactorySelectIndex = 0;
	g_ucOSDItemValue = 0;
	g_bOSDStatus = 0;
	g_bSourceOSDFlag = 0;
	g_bOSDAdjustFlag = 0;
	g_ucSystemFlag = (0+FIRST_AC_ON_FLAG);	//20050908 kevin
	g_ucSyncStatus = 0;
	g_uwHcount = 0;
	g_uwVcount = 0;
	g_ucSyncStableCounter = 0;
	g_ucVDGainTimer = 0;
	g_ucHTtuneTimer = 20;
	g_ucHTtuneCount = 0xFF;
	g_uwHTtuneValue = 0;
	g_ucVDGainPGA = 1;

	mstLoadDisplayData();		// Load data to memory from EEPROM or S-Flash
	mstLoadUserSetting();		// Load user setting
#if VIDEO_NON_LINEAR_ADJ
	mstInitialConBriNLCCurve();	// Initial contrast and brightness non-linear variable
#endif
}

⌨️ 快捷键说明

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