📄 sramvar.h
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef _SRAM_VAR_H_
#define _SRAM_VAR_H_
#ifdef _SRAM_VAR_C_
#define INTERFACE
#define INITVALUE( v ) = v
#else
#define INTERFACE extern
#define INITVALUE( v )
#endif
//#define STRBUFF_LENGTH 128 // bin string length //redefine
#define MAX_OSD_STRING_BYTES 255 // OSD/GE string length
INTERFACE U32 volatile gSystemTimeCount;
INTERFACE U8 volatile g_u8WakeUpOnOffFlag;
INTERFACE U8 volatile g_u8WakeUpTime[2];
INTERFACE U32 volatile g_u32WakeupSystemTime;
INTERFACE U32 volatile gWakeupSystemTime;
INTERFACE U8 volatile g10msTimeCount;
INTERFACE U8 volatile fWakeUpByOnTimer;
INTERFACE U8 volatile g_u8TimeInfo_Flag;
INTERFACE U8 volatile gOnTimeOffTimeCheckFlag;
INTERFACE U8 volatile gNextWakeupCountStartFlag;
INTERFACE U8 u8PowerOnlyFlag; //may_070120_DefaultMap
INTERFACE U8 volatile g_ucTVLinkSetIDBak;
INTERFACE U8 g_ucTVLinkSetIDCheck;
INTERFACE U8 u8FactoryTest;
INTERFACE U8 u8MFFlag;
INTERFACE U8 u8PwrKeypadIntFlag; //for MS_BOARD_TYPE_SEL == BD_SHENZHEN_01
//INTERFACE BMPHANDLE Osdcp_bmpHandle[256];
//INTERFACE U8 CHAR_BUFFER[STRBUFF_LENGTH]; //redefine
INTERFACE U8 g_au8OsdTempStr[MAX_OSD_STRING_BYTES+1];
#undef INTERFACE
#undef INITVALUE
#endif /* _SRAM_VAR_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -