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

📄 dev_lcd_ep7312.h

📁 这是Skyeye 0.9 版本的源代码
💻 H
字号:
/*
	dev_lcd_ep7312.h - skyeye EP7312 lcd controllor simulation
	Copyright (C) 2003 - 2005 Skyeye Develop Group
	for help please send mail to <skyeye-developer@lists.gro.clinux.org>
	
	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 
 
*/
/*
 * 06/23/2005   initial version
 *		walimis <wlm@student.dlut.edu.cn> 
 * */
#ifndef __DEV_LCD_EP7312_H_
#define __DEV_LCD_EP7312_H_


#define VBUFSIZ 0x00001fff	/* Video buffer size (bits/128-1) */
#define LINELEN 0x0007e000	/* Line length (pix/16-1) */
#define LINELEN_SHIFT   13
#define PIXPSC  0x01f80000	/* Pixel prescale (526628/pixels-1) */
#define PIXPSC_SHIFT    19
#define ACPSC   0x3e000000	/* AC prescale */
#define ACPSC_SHIFT     25
#define GSEN    0x40000000	/* Grayscale enable (0: monochrome) */
#define GSMD    0x80000000	/* Grayscale mode (0: 2 bit, 1: 4 bit) */

typedef struct lcd_ep7312_io
{
  u32 lcdcon;
} lcd_ep7312_io_t;


#endif //_DEV_LCD_EP7312_H_

⌨️ 快捷键说明

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