📄 const.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 + -