📄 ui_s0724.h
字号:
#include "sysdef.h"
#ifndef _UI_S0724_H
#define _UI_S0724_H
#ifdef __IAR_SYSTEMS_ASM
#define REG02_EMHiPageReg 0x02
#define DisplayOnReg 0xaf
#define LCMRST_GIO_EN_REG 0xee //GPIO_A1 (Output)
#define LCMRST_GIO_DATA_REG 0xee
#define LCMRST_SET_BIT 0x02
#define LCMRST_CLR_BIT 0xfd
#define LCMA0_GIO_EN_REG 0xee //GPIO_C2 (Output)
#define LCMA0_GIO_DATA_REG 0xee
#define LCMA0_SET_BIT 0x04
#define LCMA0_CLR_BIT 0xfb
//#define LCMBL_GIO_EN_REG 0xf0 //GPIO_B4 (Output)
//#define LCMBL_GIO_DATA_REG 0xf2
//#define LCMBL_SET_BIT 0x10
//#define LCMBl_CLR_BIT 0xef
#define A0_GIO_DATA_REG LCMA0_GIO_DATA_REG
#define A0_SET_BIT LCMA0_SET_BIT
#define A0_CLR_BIT LCMA0_CLR_BIT
#define DisplaySuppPage 04
#define Displaylength 128
//若是GIOC时 对MFP的填写相当于空操作;对于MFP DATA,是用来和读出数据相与的;
//BIT定义中,为1时表示此BIT有用到。
//对于串行接口的做法,可以不采用读入相与(或),在写出的方式,直接写出。
#endif /* __IAR_SYSTEMS_ASM */
#endif /* _UI_S0724_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -