📄 drv_glcd_cnfg.h
字号:
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : drv_glcd_cnfg.h
* Description : Graphic LCD config file
*
* History :
* 1. Date : December 2, 2006
* Author : Stanimir Bonev
* Description : Create
*
* $Revision: 1.1 $
**************************************************************************/
#include "arm_comm.h"
#ifndef __DRV_GLCD_CNFG_H
#define __DRV_GLCD_CNFG_H
// GLCD DRV Default setup data
// SPI0 default clock
#define GLCD_DEF_CLOCK (1MHZ)
// SPI0 default data width
#define GLCD_DEF_WIDTH 9
// Horizontal Size of display [Pixels]
#define GLCD_HORIZONTAL_SIZE 132
// Vertical Size of display [Pixels]
#define GLCD_VERTICAL_SIZE 132
// Display On/Off 1/0
#define GLCD_DISPLAY_STATE 1
// Default Display inversion setting
#define GLCD_DEF_DPL_INV 1
// Default Display color scheme
#define GLCD_DEF_DPL_8_COLOR 0
// Default Display Partial mode
#define GLCD_DEF_DPL_PARTIAL_MODE 0
// Default Display Row direction
#define GLCD_DEF_DPL_MY 0
// Default Display column direction
#define GLCD_DEF_DPL_MX 1
// Default Display address direction
#define GLCD_DEF_DPL_V 0
// Default Display scan direction
#define GLCD_DEF_DPL_ML 0
// Default Display RGB order
#define GLCD_DEF_DPL_RGB_ORD 0
#endif /* __DRV_GLCD_CNFG_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -