These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers drv_glcd_cnfg.h Source File

drv_glcd_cnfg.h

00001 /*************************************************************************
00002  *
00003  *
00004  *    (c) Copyright IAR Systems 2006
00005  *
00006  *    File name   : drv_glcd_cnfg.h
00007  *    Description : Graphic LCD config file
00008  *
00009  *    History :
00010  *    1. Date        : December 2, 2006
00011  *       Author      : Stanimir Bonev
00012  *       Description : Create
00013  *
00014  *    $Revision: 28532 $
00015  **************************************************************************/
00016 
00017 #ifndef  __DRV_GLCD_CNFG_H
00018 #define  __DRV_GLCD_CNFG_H
00019 
00020 // GLCD DRV Default setup data
00021 // SPI0 default clock
00022 #define GLCD_DEF_CLOCK            (1000000UL)
00023 // SPI0 default data width
00024 #define GLCD_DEF_WIDTH             9
00025 // Horizontal Size of display [Pixels]
00026 #define GLCD_HORIZONTAL_SIZE       132
00027 // Vertical Size of display [Pixels]
00028 #define GLCD_VERTICAL_SIZE           132
00029 // Display On/Off 1/0
00030 #define GLCD_DISPLAY_STATE         1
00031 // Default Display inversion setting
00032 #define GLCD_DEF_DPL_INV           1
00033 // Default Display color scheme
00034 #define GLCD_DEF_DPL_8_COLOR       0
00035 // Default Display Partial mode
00036 #define GLCD_DEF_DPL_PARTIAL_MODE  0
00037 // Default Display Row direction
00038 #define GLCD_DEF_DPL_MY            0
00039 // Default Display column direction
00040 #define GLCD_DEF_DPL_MX            1
00041 // Default Display address direction
00042 #define GLCD_DEF_DPL_V             0
00043 // Default Display scan direction
00044 #define GLCD_DEF_DPL_ML            0
00045 // Default Display RGB order
00046 #define GLCD_DEF_DPL_RGB_ORD       0
00047 
00048 #endif  /* __DRV_GLCD_CNFG_H */