lcdconf_s3c44b0x_c8_c320x240.h
来自「嵌入式系统设计与开发实例详解--基于ARM的应用(采用ARM7TDMI内核的、三」· C头文件 代码 · 共 60 行
H
60 行
/*********************************************************************************************************** uC/GUI* Universal graphic software for embedded applications** (c) Copyright 2002, Micrium Inc., Weston, FL* (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH** 礐/GUI is protected by international copyright laws. Knowledge of the* source code may not be used to write a similar product. This file may* only be used in accordance with a license and should not be redistributed* in any way. We appreciate your understanding and fairness.*----------------------------------------------------------------------File : LCDConf_S3C44B0X_C320x240.hPurpose : configuration file ----------------------------------------------------------------------*/#ifndef LCDCONF_S3C44B0X_C8_C320X240_H#define LCDCONF_S3C44B0X_C8_C320X240_H/*********************************************************************** General configuration of LCD************************************************************************/#define LCD_XSIZE (320) /* X-resolution of LCD, Logical coor. */#define LCD_YSIZE (240) /* Y-resolution of LCD, Logical coor. */#define LCD_BITSPERPIXEL (8)#define LCD_CONTROLLER 44//-------------------------------//?#define LCD_FIXEDPALETTE 332#define LCD_SWAP_RB 1//#undef LCD_PHYSCOLORS#define LCD_NUM_DISPLAY 1//-------------------------------//?/*********************************************************************** Full bus configuration************************************************************************/#define LCD_READ_MEM(base,Off) *((U8*) (base+((U32)(Off))))#define LCD_WRITE_MEM(base,Off,data) *((U8*) (base+((U32)(Off))))=data//used for pixel option#define LCD_READ_REG(Off) //*((volatile U16*)(0xc1ffe0+(((U16)(Off))<<1)))#define LCD_WRITE_REG(Off,data) //*((volatile U16*)(0xc1ffe0+(((U16)(Off))<<1)))=data#define LCD_ON()#define LCD_OFF()#endif /* LCDCONF_S3C44B0X_C8_C320X240_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?