ui_s0724.h

来自「ATJ2091N 54版源程序」· C头文件 代码 · 共 43 行

H
43
字号
#include "sysdef.h"#ifndef _UI_S7565_H#define _UI_S7565_H#ifdef __IAR_SYSTEMS_ASM#define REG02_EMHiPageReg	0x02#define Displaylength		128 #define DisplaySuppPage     0x04 //#define LCM_GIO_EN_REGISTER	0x8d	//GPIO_K[7..2] enable register(bit2 = 0:disable/1:enable)//#define LCM_GIO_DISABLE		0xfb	//bit2 = 0 : disable GPIO_K[7..2] port//#define LCM_GIO_ENABLE		0x04	//bit2 = 1 : enable GPIO_K[7..2] port//////#define A0_GIO_EN_REG		0x8e    //GIOK5//#define A0_GIO_DATA_REG		0x8f//#define A0_SET_BIT          0x20            //#define A0_CLR_BIT          0xdf////#define RST_GIO_EN_REG		0x8e    //GIOK6//#define RST_GIO_DATA_REG	0x8f//#define RST_SET_BIT         0x40//#define RST_CLR_BIT         0xbf#define A0_GIO_EN_REG           0xf5    //GIOD4#define A0_GIO_DATA_REG         0xf7#define A0_SET_BIT		0x10            #define A0_CLR_BIT		0xef#define RST_GIO_EN_REG        	0xf5    //GIOD5#define RST_GIO_DATA_REG       	0xf7#define RST_SET_BIT             0x20#define RST_CLR_BIT           	0xdf#define CE_EN_BIT           0x18    //0x10:ce2 enable 0x18:ce3 enable#endif /* __IAR_SYSTEMS_ASM */#endif /* _UI_S7565_H */

⌨️ 快捷键说明

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