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

📄 tft_lcd.h

📁 此案例为ARM2131+flash+QVGAtft+按键的读写显示控制程序
💻 H
字号:
/****************************************Copyright (c)**************************************************
**                               Beijing Visionox Technology  Co.,LTD.
**                                      
**                                 For TFT_demo 
**
**--------------File Info-------------------------------------------------------------------------------
** File Name: config.h
** Last modified Date:  2007-03-08
** Last Version: 1.0
** Descriptions: For TFT Head File
**
**------------------------------------------------------------------------------------------------------
** Created By: Alan Dong
** Created date:   2007-03-08** Version: 1.0
** Descriptions: First version
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:			 	
**						used P1[23:16] to be the D[7:0] 	of TFT_LCD&NAND_FLASH
**					   	used P0[23:16] to be the D[15:8] 	of TFT_LCD
**					BTW P0.0 --TXD0
**						P0.1 --RXD0
**
**						P0.4 --SD_CLK
**						P0.5 --SD_DO
**						P0.6 --SD_DI
**						P0.8 --SD_CS
**						P0.10--SD_DETECT
**
**						P0.7 --KEY_UP		SW3 on the pcb
**						P0.9 --KEY_DOWN		SW4 on the pcb
**						P0.12--WR
**						P0.13--RD
**						P0.14--ISP
**						P0.15--LED_BL
**
**						P0.26--TFT_CS		
**						P0.27--TFT_RS
**						P0.28--TFT_RES
**						P0.29--NAND_CS
**						P0.30--NAND_CLE
**						P0.31--NAND_ALE
**
**						P1.24--LED_FLASH	D3  on the pcb
**						P1.25--NAND_R/B
**						
**
********************************************************************************************************/
#ifndef __TFT_S04A_H 
#define __TFT_S04A_H

#define TFT_DL			(0xFF<<16)
#define TFT_DH			(0xFF<<16)
#define NAND_DATA		(0xFF<<16)

#define TFT_CS 			(1<<26)
#define TFT_RS			(1<<27)
#define TFT_RES			(1<<28)
#define TFT_WR			(1<<25)
//#define TFT_RD			(1<<13)

#define NAND_CS			(1<<29)
#define NAND_CLE		(1<<30)
#define NAND_ALE		(1<<31)
#define NAND_RB			(1<<25)
#define NAND_WR			(1<<12)
#define NAND_RD			(1<<13)



#endif
/*********************************************************************************************************
**                            End Of File
********************************************************************************************************/

⌨️ 快捷键说明

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