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

📄 const.h

📁 一个操作系统源代码 用于嵌入式设备 在Vc++环境下仿真 成功移植到多款处理器上
💻 H
字号:
#ifndef	HARD_H
#define	HARD_H


//#define	DICTIONARY_EXIST
#define	SOLIVE
//#define	SANBAO

//#define SOLIVE_8_BIT
#define SOLIVE_16_BIT

//#define	INTEL_FLASH_8BIT
#define	INTEL_FLASH_16BIT

#define	FLASH_16M
//#define FLASH_32M
//#define	FLASH_TOP_BOOT
//#define	FLASH_BOTTOM_BOOT

//#define	SOLIVE_EXTRA_2M_SRAM
//#define	SOLIVE_EXTRA_4M_SRAM
#endif


#ifndef	CONST_H
#define CONST_H

#ifdef  SOLIVE_8_BIT
#define	FLASH_BASE	0x800000
#define	FLASH_CSGBA	0x0400
#endif
#ifdef  SOLIVE_16_BIT
#define	FLASH_BASE	0x800000
#define	FLASH_CSGBA	0x0400
#endif

#define PLLCR_ENABLE	0x2400
#define PLLCR_DISABLE	0x2408


#define FIRST_YEAR	1910
#define LAST_YEAR	2030
#define ESP			0.001
#define	PDA_OK		1
#define	PDA_ERROR	0

#define	TIME_OUT_LEN	 30

#define	LCD_WIDTH		160
#define	LCD_HEIGHT		240
#define	T_LCD_WIDTH		240
#define	T_LCD_HEIGHT	160

#define PEN_ENABLE		0
#define	PEN_DISABLE		1

#endif /* endif of CONST_H */

⌨️ 快捷键说明

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