lcdconf.h

来自「lpc2478+ucosII+ucgui源码」· C头文件 代码 · 共 66 行

H
66
字号
/*
*********************************************************************************************************
*                                                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_6963_M1_M240x128.h
Purpose     : Internal sample configuration file
----------------------------------------------------------------------
*/

#ifndef LCDCONF_H
#define LCDCONF_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_CONTROLLER     (-1)
#define LCD_BITSPERPIXEL   (16)


//unsigned   short    Bmp[38400];
/*********************************************************************
*
*                   Simple bus configuration
*
**********************************************************************
*/
/* L
void LCD_WRITE_A1(int )	  ;
void LCD_WRITE_A0(int )		;
char LCD_READ_A1(void)	;
#define LCD_WRITE_A1(Byte) LCD_X_Write01(Byte)
#define LCD_WRITE_A0(Byte) LCD_X_Write00(Byte)
#define LCD_READ_A1()      LCD_X_Read01()

#endif CDCONF_H */


void LCD_WRITE_A0(int);
void LCD_WRITE_A1(int);
unsigned char LCD_READ_A1(void);
#define LCD_WRITE_A1(int) LCD_X_Write01(int)
#define LCD_WRITE_A0(int) LCD_X_Write00(int)
#define LCD_READ_A1(void) LCD_X_Read01(void)
#endif 





⌨️ 快捷键说明

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