⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcddef.h

📁 44b0x开发板源代码
💻 H
字号:
#include "..\inc\def.h"
#include "..\inc\usb\bitops.h"
#ifdef __BIG_ENDIAN
	#define Data_Port				(*(volatile U8*)0x08000080)//old DVK is 0x02000001
	#define Comm_Port				(*(volatile U8*)0x08000000)//old DVK is 0x02000000
#else //Little Endian
	#define Data_Port				(*(volatile U8*)0x08000080)//old DVK is 0x02000001
	#define Comm_Port				(*(volatile U8*)0x08000000)//old DVK is 0x02000000
#endif
// The following is Status bit define //
#define LCD_Busy		BIT7	//The device is busy when internal operation or reset. Any instruction is rejected until BUSY goes Low.
													//0: chip is active, 1: chip is being busy.
#define LCD_ADC			BIT6	//Indicates the relationship between RAM column address and segment driver.
													//0: reverse direction (SEG132 

⌨️ 快捷键说明

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