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

Committer:
frank26080115
Date:
Sun Mar 20 05:38:56 2011 +0000
Revision:
0:bf7b9fba3924

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:bf7b9fba3924 1 /*************************************************************************
frank26080115 0:bf7b9fba3924 2 *
frank26080115 0:bf7b9fba3924 3 *
frank26080115 0:bf7b9fba3924 4 * (c) Copyright IAR Systems 2006
frank26080115 0:bf7b9fba3924 5 *
frank26080115 0:bf7b9fba3924 6 * File name : drv_glcd_cnfg.h
frank26080115 0:bf7b9fba3924 7 * Description : Graphic LCD config file
frank26080115 0:bf7b9fba3924 8 *
frank26080115 0:bf7b9fba3924 9 * History :
frank26080115 0:bf7b9fba3924 10 * 1. Date : December 2, 2006
frank26080115 0:bf7b9fba3924 11 * Author : Stanimir Bonev
frank26080115 0:bf7b9fba3924 12 * Description : Create
frank26080115 0:bf7b9fba3924 13 *
frank26080115 0:bf7b9fba3924 14 * $Revision: 28532 $
frank26080115 0:bf7b9fba3924 15 **************************************************************************/
frank26080115 0:bf7b9fba3924 16
frank26080115 0:bf7b9fba3924 17 #ifndef __DRV_GLCD_CNFG_H
frank26080115 0:bf7b9fba3924 18 #define __DRV_GLCD_CNFG_H
frank26080115 0:bf7b9fba3924 19
frank26080115 0:bf7b9fba3924 20 // GLCD DRV Default setup data
frank26080115 0:bf7b9fba3924 21 // SPI0 default clock
frank26080115 0:bf7b9fba3924 22 #define GLCD_DEF_CLOCK (1000000UL)
frank26080115 0:bf7b9fba3924 23 // SPI0 default data width
frank26080115 0:bf7b9fba3924 24 #define GLCD_DEF_WIDTH 9
frank26080115 0:bf7b9fba3924 25 // Horizontal Size of display [Pixels]
frank26080115 0:bf7b9fba3924 26 #define GLCD_HORIZONTAL_SIZE 132
frank26080115 0:bf7b9fba3924 27 // Vertical Size of display [Pixels]
frank26080115 0:bf7b9fba3924 28 #define GLCD_VERTICAL_SIZE 132
frank26080115 0:bf7b9fba3924 29 // Display On/Off 1/0
frank26080115 0:bf7b9fba3924 30 #define GLCD_DISPLAY_STATE 1
frank26080115 0:bf7b9fba3924 31 // Default Display inversion setting
frank26080115 0:bf7b9fba3924 32 #define GLCD_DEF_DPL_INV 1
frank26080115 0:bf7b9fba3924 33 // Default Display color scheme
frank26080115 0:bf7b9fba3924 34 #define GLCD_DEF_DPL_8_COLOR 0
frank26080115 0:bf7b9fba3924 35 // Default Display Partial mode
frank26080115 0:bf7b9fba3924 36 #define GLCD_DEF_DPL_PARTIAL_MODE 0
frank26080115 0:bf7b9fba3924 37 // Default Display Row direction
frank26080115 0:bf7b9fba3924 38 #define GLCD_DEF_DPL_MY 0
frank26080115 0:bf7b9fba3924 39 // Default Display column direction
frank26080115 0:bf7b9fba3924 40 #define GLCD_DEF_DPL_MX 1
frank26080115 0:bf7b9fba3924 41 // Default Display address direction
frank26080115 0:bf7b9fba3924 42 #define GLCD_DEF_DPL_V 0
frank26080115 0:bf7b9fba3924 43 // Default Display scan direction
frank26080115 0:bf7b9fba3924 44 #define GLCD_DEF_DPL_ML 0
frank26080115 0:bf7b9fba3924 45 // Default Display RGB order
frank26080115 0:bf7b9fba3924 46 #define GLCD_DEF_DPL_RGB_ORD 0
frank26080115 0:bf7b9fba3924 47
frank26080115 0:bf7b9fba3924 48 #endif /* __DRV_GLCD_CNFG_H */