📄 lcdconf.h
字号:
/*
*********************************************************************************************************
* 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_1375_C8_C320x240.h
Purpose : Sample configuration file
----------------------------------------------------------------------
*/
/*
----------------------------------------------------------------------
File : LCDConf.h
Purpose : S3C44B0X的lcd控制器的头文件
Data : 2003-7-14 13:08
----------------------------------------------------------------------
**********************************************************************
*/
#ifndef LCDCONF_H
#define LCDCONF_H
//lcd颜色数,必须定义,LCDMONO(单色),LCDG4(四级灰度),LCDG16(16级灰度)
#define LCDG16
#define LCD_XSIZE 240 /* X-resolution of LCD, Logical coor. */
#define LCD_YSIZE 160 /* Y-resolution of LCD, Logical coor. */
#define LCD_BITSPERPIXEL (4)
#define LCD_CONTROLLER 0
#define SCR_XSIZE 240
#define SCR_YSIZE 160
//#define LCD_FIXEDPALETTE 1
#define M5D(n) ((n) & 0x1fffff)
#define ARRAY_SIZE_G16 (SCR_XSIZE/2*SCR_YSIZE)
#define MVAL (13)
#define CLKVAL_G16 (10)
#define MVAL_USED 0
#define HOZVAL_G16 (LCD_XSIZE/4-1)
#define LINEVAL_G16 (LCD_YSIZE-1)
#endif /* LCDCONF_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -