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

📄 osd_dat.h

📁 LCD显示驱动控制程序
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//    Genesis Microchip, Inc.
// This file was generated by Genesis Workbench. PLEASE DO NOT EDIT MANUALLY
////////////////////////////////////////////////////////////////////////////////

#ifndef OSD_DAT_H_DEFINED
#define OSD_DAT_H_DEFINED

// User Events defenition

extern BYTE ROM B_OE_EnterState;
extern BYTE ROM B_OE_ExitState;
extern BYTE ROM B_OE_AutoAdjustSuccess;
extern BYTE ROM B_OE_RemoveOSD;
extern BYTE ROM B_OE_OutOfRange;
extern BYTE ROM B_OE_AnyEvent;
extern BYTE ROM B_OE_AutoAdjustStart;
extern BYTE ROM B_OE_Idle;
extern BYTE ROM B_OE_TransitionComplete;

typedef enum UserEventsEnum
{
	// OE_None = 0,
	OE_EnterState = 1,// Sent when the state machine enters a state
	OE_ExitState = 2,// Sent when the state machine leaves a state
	OE_LeftDown = 3,
	OE_RightDown = 4,
	OE_OneDown = 5,
	OE_TwoDown = 6,
	OE_Ikey = 7,
	OE_AutoAdjustSuccess = 8,// Sent by the mode handle after the auto adjust process has completed successfully
	OE_PowerOff = 9,// Sent when the power is truned OFF
	OE_PowerOn = 10,
	OE_AutoColor = 11,
	OE_OsdCustomTimeOut = 12,
	OE_HotKey = 13,
	OE_RemoveOSD = 14,// Sent when the mode handler needs to remove the OSD
	OE_AUTOCOLOR_PC = 15,
	OE_Brightness = 16,
	OE_Contrast = 17,
	OE_MUTE_PC = 18,
	OE_NoSync = 19,// Sent when the mode handler is detecting no sync
	OE_OSDTimeout = 20,// Sent by the OSD Timeout adjuster
	OE_OsdTimeout = 21,
	OE_OutOfRange = 22,// Sent by the mode handler when sync is out of range
	OE_PseudoMode = 23,// Sent by the mode handler when the mode is not recognized but is close to a valid mode
	OE_VOLUME_PC = 24,
	OE_ValidMode = 25,// Sent when the mode handler detects a valid mode
	OE_AnyEvent = 26,// Sent when any event occurs
	OE_AutoAdjustStart = 27,// Sent by the mode handler before the auto adust starts
	OE_Idle = 28,// Sent when the state machine is idling
	OE_InternalPatterns = 29,// Sent to invoke an internal pattern generator
	OE_NoCable = 30,// Sent by mode handler when theinput handler is not connected
	OE_SplashScreen = 31,// Sent at system power up. If you have a splash screen, display it in the handler for this event
	OE_TransitionComplete = 32// Sent when the state machine completes the state transition
} UserEvents;

/*

Begin block defined in libs

#define SAT_CB_00_EVT_SHIFT		0x0003
#define SAT_CB_10_EVT_SHIFT		0x0002
#define SAT_CB_11_MAC_SHIFT		0x0002

#define SAT_CB_00_EVT_MASK		(BIT3 | BIT4 | BIT5)
#define SAT_CB_00_ACT_MASK		(BIT0 | BIT1 | BIT2)

#define SAT_CB_10_EVT_MASK		(BIT2 | BIT3 | BIT4 | BIT5)
#define SAT_CB_10_CND_MASK		(BIT0 | BIT1)

#define SAT_CB_11_MAC_MASK		(BIT2 | BIT3 | BIT4)
#define SAT_CB_11_CND_MASK		(BIT0 | BIT1)
#define SAT_CB_11_ATREF		(BIT5)
#define SAT_CB_11_ATREF_MASK		(BIT4 | BIT3 | BIT2 | BIT1 | BIT0)

#define SAT_CB_MASK		(BIT7 | BIT6)

#define Fit_00(Event,Action)		(((Event) << SAT_CB_00_EVT_SHIFT) | (Action))
#define Fit_10(Event,CndCtrl)		(((Event) << SAT_CB_10_EVT_SHIFT) | (CndCtrl))
#define Fit_11(CndCtrl, MultiActn)		(((MultiActn) << SAT_CB_11_MAC_SHIFT) | (CndCtrl))



End block defined in libs*/

#define OSD_WB_USED		
#define NO_OPERAND		0

// States enum definition
typedef enum MainThreadStateEnum
{
	SID_DefaultState = 0,// SID_DefaultState
	SID_MainDlg = 1,// SID_MainDlg
	SID_NoSignalDlg = 2,// SID_NoSignalDlg
	SID_OutOfRangeDlg = 3,// SID_OutOfRangeDlg
	SID_ValidModeState = 4,// SID_ValidModeState
	SID_SleepState = 5,// SID_SleepState
	SID_PowerOffState = 6,// SID_PowerOffState
	SID_AutoDlg = 7,// SID_AutoDlg
	SID_BrightnessDlg = 8,// SID_BrightnessDlg
	SID_ContrastDlg = 9,// SID_ContrastDlg
	SID_FactorySetDlg = 10,// SID_FactorySetDlg
	SID_BrightContrTab = 11,// SID_BrightContrTab
	SID_ColorTab = 12,// SID_ColorTab
	SID_ImageTab = 13,// SID_ImageTab
	SID_ToolsTab = 14,// SID_ToolsTab
	SID_LanguageTab = 15,// SID_LanguageTab
	SID_ExitTab = 16,// SID_ExitTab
	SID_InvMenuBrightContr = 17,// SID_InvMenuBrightContr
	SID_Brightness = 18,// SID_Brightness
	SID_Contrast = 19,// SID_Contrast
	SID_BrightContrExit = 20,// SID_BrightContrExit
	SID_BrightContrastTxt = 21,// SID_BrightContrastTxt
	SID_InvBrightnessTxt = 22,// SID_InvBrightnessTxt
	SID_BrightnessSlider = 23,// SID_BrightnessSlider
	SID_InvContrastTxt = 24,// SID_InvContrastTxt
	SID_ContrastSlider = 25,// SID_ContrastSlider
	SID_InvMenuColor = 26,// SID_InvMenuColor
	SID_ColorAutoConf = 27,// SID_ColorAutoConf
	SID_UserColorCfg = 28,// SID_UserColorCfg
	SID_ColorExit = 29,// SID_ColorExit
	SID_K6500 = 30,// SID_K6500
	SID_K9300 = 31,// SID_K9300
	SID_ColorTxt = 32,// SID_ColorTxt
	SID_UserColorTxt = 33,// SID_UserColorTxt
	SID_InvAdjustR = 34,// SID_InvAdjustR
	SID_InvAdjustG = 35,// SID_InvAdjustG
	SID_InvAdjustB = 36,// SID_InvAdjustB
	SID_InvMenuImage = 37,// SID_InvMenuImage
	SID_ImageAutoConf = 38,// SID_ImageAutoConf
	SID_Width = 39,// SID_Width
	SID_Phase = 40,// SID_Phase
	SID_HPos = 41,// SID_HPos
	SID_VPos = 42,// SID_VPos
	SID_ImageExit = 43,// SID_ImageExit
	SID_ImageTxt = 44,// SID_ImageTxt
	SID_InvClockTxt = 45,// SID_InvClockTxt
	SID_ClockSlider = 46,// SID_ClockSlider
	SID_InvPhaseTxt = 47,// SID_InvPhaseTxt
	SID_PhaseSlider = 48,// SID_PhaseSlider
	SID_InvHPosTxt = 49,// SID_InvHPosTxt
	SID_HPosSlider = 50,// SID_HPosSlider
	SID_InvVPosTxt = 51,// SID_InvVPosTxt
	SID_VPosSlider = 52,// SID_VPosSlider
	SID_InvMenuTools = 53,// SID_InvMenuTools
	SID_FactoryReset = 54,// SID_FactoryReset
	SID_ToolsExit = 55,// SID_ToolsExit
	SID_OSDHPos = 56,// SID_OSDHPos
	SID_OSDVPos = 57,// SID_OSDVPos
	SID_OSDSize = 58,// SID_OSDSize
	SID_OSDTimeOut = 59,// SID_OSDTimeOut
	SID_ToolsTxt = 60,// SID_ToolsTxt
	SID_InvOHPosTxt = 61,// SID_InvOHPosTxt
	SID_OHPosSlider = 62,// SID_OHPosSlider
	SID_InvOVPosTxt = 63,// SID_InvOVPosTxt
	SID_OVPosSlider = 64,// SID_OVPosSlider
	SID_InvOTimeOutTxt = 65,// SID_InvOTimeOutTxt
	SID_OTimeoutSlider = 66,// SID_OTimeoutSlider
	SID_InvLanguage = 67,// SID_InvLanguage
	SID_English = 68,// SID_English
	SID_Chinese = 69,// SID_Chinese
	SID_French = 70,// SID_French
	SID_Germany = 71,// SID_Germany
	SID_Italian = 72,// SID_Italian
	SID_Spanish = 73,// SID_Spanish
	SID_LanguageExit = 74,// SID_LanguageExit
	SID_LanguageTxt = 75,// SID_LanguageTxt
	SID_Brightness1 = 76,// SID_Brightness1
	SID_Contrast1 = 77,// SID_Contrast1
	SID_BurninTab = 78,// SID_BurninTab
	SID_AutoTab = 79,// SID_AutoTab
	SID_C65Tab = 80,// SID_C65Tab
	SID_C93Tab = 81,// SID_C93Tab
	SID_FResetTab = 82,// SID_FResetTab
	SID_FExitTab = 83,// SID_FExitTab
	SID_BurnInYesTxt = 84,// SID_BurnInYesTxt
	SID_BurnInNoTxt = 85,// SID_BurnInNoTxt
	SID_InvAuto = 86,// SID_InvAuto
	SID_AutoTemp = 87,// SID_AutoTemp
	SID_AutoImage = 88,// SID_AutoImage
	SID_AutoRGB = 89,// SID_AutoRGB
	SID_AutoExit = 90,// SID_AutoExit
	SID_AutoTxt = 91,// SID_AutoTxt
	SID_AutoColorTTxt = 92,// SID_AutoColorTTxt
	SID_AutoTProcTxt = 93,// SID_AutoTProcTxt
	SID_InvC65 = 94,// SID_InvC65
	SID_C65Bri = 95,// SID_C65Bri
	SID_C65Con = 96,// SID_C65Con
	SID_C65R = 97,// SID_C65R
	SID_C65G = 98,// SID_C65G
	SID_C65B = 99,// SID_C65B
	SID_C65Txt = 100,// SID_C65Txt
	SID_InvC93 = 101,// SID_InvC93
	SID_C93Bri = 102,// SID_C93Bri
	SID_C93Con = 103,// SID_C93Con
	SID_C93R = 104,// SID_C93R
	SID_C93G = 105,// SID_C93G
	SID_C93B = 106,// SID_C93B
	SID_C93Txt = 107,// SID_C93Txt
	SID_InvDebugOn = 108,// SID_InvDebugOn
	SID_InvDebugOff = 109// SID_InvDebugOff
};

#define St_DefaultState		TopMostState
extern BYTE ROM St_DefaultState[];

extern BYTE ROM * ROM GlobalStateSet[];

#define MainThreadGlobalStateSet		GlobalStateSet
#define NUMBER_OF_THREADS 1

// User Timers definition

extern BYTE ROM B_OSD_TimeoutTid;
typedef enum TimerOpIDEnum
{
	B_OsdCustomTimerTid = LastUserOSDTimer
};


extern WORD ROM W_OsdTimerResolution;

#define OSD_TIMERS_NUM		2
extern WORD  gW_OsdTimers[OSD_TIMERS_NUM];

extern BYTE  gB_OsdTimerStart[OSD_TIMERS_NUM];

extern BYTE ROM gB_OsdTimerEvents[];


// State Action Table definition
typedef enum ActionTableEnum
{
	ATID_PowerOffEVT,
	ATID_RemoveOSDEVT,
	ATID_OsdTimeOut,
	ATID_ResetOsdTimerTbl
};

extern BYTE ROM * ROM ActTableSet[];


#endif  // ifndef OSD_DAT_H_DEFINED

⌨️ 快捷键说明

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