📄 regs_raster.h
字号:
/*============================================================================= * * FILE: regs_raster.h * * DESCRIPTION: ep93xx Raster Engine Register Definition * * Copyright Cirrus Logic, 2001-2003 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *============================================================================= */#ifndef _REGS_RASTER_H_#define _REGS_RASTER_H_//-----------------------------------------------------------------------------// VLINESTOTAL Register Definitions//-----------------------------------------------------------------------------#define VLINESTOTAL_MASK 0x000007ff//-----------------------------------------------------------------------------// VSYNCSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define VSYNCSTRTSTOP_STRT_MASK 0x07ff0000 #define VSYNCSTRTSTOP_STRT_SHIFT 0 #define VSYNCSTRTSTOP_STOP_MASK 0x000007ff#define VSYNCSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// VACTIVESTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define VACTIVESTRTSTOP_STRT_MASK 0x07ff0000#define VACTIVESTRTSTOP_STRT_SHIFT 0 #define VACTIVESTRTSTOP_STOP_MASK 0x000007ff#define VACTIVESTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// VCLKSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define VCLKSTRTSTOP_STRT_MASK 0x07ff0000#define VCLKSTRTSTOP_STRT_SHIFT 0 #define VCLKSTRTSTOP_STOP_MASK 0x000007ff#define VCLKSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// VBLANKSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define VBLANKSTRTSTOP_STRT_MASK 0x07ff0000#define VBLANKSTRTSTOP_STRT_SHIFT 0 #define VBLANKSTRTSTOP_STOP_MASK 0x000007ff#define VBLANKSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// HSYNCSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define HSYNCSTRTSTOP_STRT_MASK 0x07ff0000#define HSYNCSTRTSTOP_STRT_SHIFT 0 #define HSYNCSTRTSTOP_STOP_MASK 0x000007ff#define HSYNCSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// HACTIVESTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define HACTIVESTRTSTOP_STRT_MASK 0x07ff0000#define HACTIVESTRTSTOP_STRT_SHIFT 0 #define HACTIVESTRTSTOP_STOP_MASK 0x000007ff#define HACTIVESTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// HCLKSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define HCLKSTRTSTOP_STRT_MASK 0x07ff0000#define HCLKSTRTSTOP_STRT_SHIFT 0 #define HCLKSTRTSTOP_STOP_MASK 0x000007ff#define HCLKSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// BRIGHTNESS Register Definitions//-----------------------------------------------------------------------------#define BRIGHTNESS_MASK 0x0000ffff#define BRIGHTNESS_CNT_MASK 0x000000ff#define BRIGHTNESS_CNT_SHIFT 0#define BRIGHTNESS_CMP_MASK 0x0000ff00#define BRIGHTNESS_CMP_SHIFT 8//-----------------------------------------------------------------------------// VIDEOATTRIBS Register Definitions//-----------------------------------------------------------------------------#define VIDEOATTRIBS_MASK 0x001fffff#define VIDEOATTRIBS_EN 0x00000001#define VIDEOATTRIBS_PCLKEN 0x00000002#define VIDEOATTRIBS_SYNCEN 0x00000004#define VIDEOATTRIBS_DATAEN 0x00000008#define VIDEOATTRIBS_CSYNC 0x00000010#define VIDEOATTRIBS_VCPOL 0x00000020#define VIDEOATTRIBS_HSPOL 0x00000040#define VIDEOATTRIBS_BLKPOL 0x00000080#define VIDEOATTRIBS_INVCLK 0x00000100#define VIDEOATTRIBS_ACEN 0x00000200#define VIDEOATTRIBS_LCDEN 0x00000400#define VIDEOATTRIBS_RGBEN 0x00000800#define VIDEOATTRIBS_CCIREN 0x00001000#define VIDEOATTRIBS_PIFEN 0x00002000#define VIDEOATTRIBS_INTEN 0x00004000#define VIDEOATTRIBS_INT 0x00008000#define VIDEOATTRIBS_INTRLC 0x00010000#define VIDEOATTRIBS_EQUSER 0x00020000#define VIDEOATTRIBS_DHORZ 0x00040000#define VIDEOATTRIBS_DVERT 0x00080000#define VIDEOATTRIBS_BKPXD 0x00100000#define VIDEOATTRIBS_SDSEL_MASK 0x00600000#define VIDEOATTRIBS_SDSEL_SHIFT 21//-----------------------------------------------------------------------------// HBLANKSTRTSTOP Register Definitions//-----------------------------------------------------------------------------#define HBLANKSTRTSTOP_STRT_MASK 0x07ff0000#define HBLANKSTRTSTOP_STRT_SHIFT 0 #define HBLANKSTRTSTOP_STOP_MASK 0x000007ff#define HBLANKSTRTSTOP_STOP_SHIFT 16 //-----------------------------------------------------------------------------// LINECARRY Register Definitions//-----------------------------------------------------------------------------#define LINECARRY_LCARY_MASK 0x000007ff#define LINECARRY_LCARY_SHIFT 0//-----------------------------------------------------------------------------// BLINKRATE Register Definitons//-----------------------------------------------------------------------------#define BLINKRATE_MASK 0x000000ff//-----------------------------------------------------------------------------// BLINKMASK Register Definitons//-----------------------------------------------------------------------------#define BLINKMASK_MASK 0x00ffffff//-----------------------------------------------------------------------------// VIDSCRNPAGE Register Definitons//-----------------------------------------------------------------------------#define VIDSCRNPAGE_PAGE_MASK 0x0ffffffc//-----------------------------------------------------------------------------// VIDSCRNHPG Register Definitons//-----------------------------------------------------------------------------#define VIDSCRNHPG_MASK 0x0ffffffc//-----------------------------------------------------------------------------// SCRNLINES Register Definitons//-----------------------------------------------------------------------------#define SCRNLINES_MASK 0x000007ff//-----------------------------------------------------------------------------// LINELENGTH Register Definitons//-----------------------------------------------------------------------------#define LINELENGTH_MASK 0x000007ff//-----------------------------------------------------------------------------// VLINESTEP Register Definitons//-----------------------------------------------------------------------------#define VLINESTEP_MASK 0x00000fff//-----------------------------------------------------------------------------// REALITI_SWLOCK Register Definitons
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -