?? udemode.h
字號:
/***************************************************************************
* *
* UDEMODE.H - EPSON S1D13506 configurations. *
* *
* Copyright (c) 2000, 2001 Epson Research and Development, Inc. *
* All Rights Reserved *
* *
* THIS SOURCE CODE IS FOR TEST ONLY. *
* *
***************************************************************************/
//
// $Header: /VxWorks/WindML20FCS/13506/16BPP/File/udemode.h 1 3/19/01 12:39p Roy $
// $Revision: 1 $
// $Log: /VxWorks/WindML20FCS/13506/16BPP/File/udemode.h $
//
// 1 3/19/01 12:39p Roy
// Created.
//
//
//==========================================================================
#define MaxNumInitRegs 110
typedef UGL_UINT32 DWORD;
typedef UGL_UINT16 WORD;
typedef UGL_UINT8 BYTE;
typedef UGL_UINT16 EGPEFormat;
enum EGPEFormat
{
gpe1Bpp,
gpe2Bpp,
gpe4Bpp,
gpe8Bpp,
gpe16Bpp,
gpe24Bpp,
gpe32Bpp,
gpe16YCrCb,
gpeDeviceCompatible,
gpeUndefined
};
// Declare MHFlags identifiers. This is used to avoid having to
// traverse/crack the register list.
typedef enum MHFlags
{
mfLCD = 0x00000001, // bit 0: LCD ON
mfCRTTV = 0x00000002, // bit 1: CRT or TV ON
mfTVOUTPUT = 0x00000004, // bit 2: TV ON (else CRT ON)
mfPAL = 0x00000008, // bit 3: 1=PAL 0=NTSC
mfSVIDEO = 0x00000010, // bit 4: 1=S-video 0=Composite
mfFLICKERFILTER = 0x00000020, // bit 5: 0=ON 1=OFF
mfDC2 = 0x00000100, // bit 8: 1=AlternateDC active
mfR90 = 0x00010000, // bit 16: ( Rotate image clockwise 90 degree )
mfHWCURSOR = 0x00020000, // bit 17: 1=Hardware cursor support
mfSWCURSOR = 0x00040000, // bit 18: 1=Software cursor support
mfHWBLT = 0x00080000, // bit 19: 1=Hardware BLT support
mfR180 = 0x00100000, // bit 20: ( Rotate image clockwise 180 degree )
mfR270 = 0x00200000, // bit 21: ( Rotate image clockwise 270 degree )
mfSWEMUL = 0x00400000 // bit 22: 1=Software emulation support (WinCE)
} MHFlags;
typedef struct ModeHeader
{
WORD ModeId;
WORD Width;
WORD Height;
WORD Bpp;
WORD Frequency;
EGPEFormat Format;
WORD Version;
WORD StridePixels;
WORD StrideBytes;
WORD PaletteSize;
DWORD PhysicalVmemAddr;
DWORD PhysicalVmemSize;
DWORD PhysicalPortAddr;
DWORD PhysicalPortSize;
DWORD PhysicalBltAddr;
DWORD PhysicalBltSize;
MHFlags Flags;
DWORD CLKI;
DWORD CLKI2;
WORD LCDGPIOPowerPin;
WORD LCDPowerOffTime;
WORD LCDPowerOnTime;
WORD Reserved;
WORD Width2;
WORD Height2;
WORD Bpp2;
WORD Frequency2;
WORD StrideBytes2;
MHFlags Flags2;
BYTE Filler[36];
} ModeHeader;
typedef struct ModeTable
{
ModeHeader ModeInfo;
WORD InitEpsonRegs[MaxNumInitRegs][2];
} ModeTable;
ModeTable epsonModeTable[] =
{
// mode0.h is generated by 13506cfg.exe
// 13506cfg.exe is available at www.erd.epson.com
#include "mode0.h"
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -