ugfx/drivers/gdisp/SSD1963
Andrew Hannam 07f3483535 Restructure
Create global include file called gfx.h which knows about sub-system
dependancies.
Deprecate Touchscreen (GINPUT touch is now working properly)
Merge Graph into GWIN
Change directory structure to reflect sub-system structure
Many small bugs fixed
Split Nokia6610 gdisp driver into GE8 and GE12 controller versions
Fixed broken demos.
GFX sub-systems are now clearly defined and new ones should be much
easier to add.
2012-12-06 18:45:54 +10:00
..
gdisp_lld_config.h big doxygen update - now it works as it should 2012-11-07 01:47:53 +01:00
gdisp_lld_panel.h SCREEN_WIDTH and SCREEN_HEIGHT renamed to GDISP_SCREEN_WIDTH and GDISP_SCREEN_HEIGHT 2012-10-11 01:41:18 +02:00
gdisp_lld.c Restructure 2012-12-06 18:45:54 +10:00
gdisp_lld.mk Makefile LCD replaced with GFX 2012-10-04 09:09:03 +02:00
readme.txt renamed macros 2012-10-21 01:47:11 +02:00
ssd1963.h docs 2012-11-03 02:23:34 +01:00

To use this driver:

1. Add in your halconf.h:
	a) #define GFX_USE_GDISP	TRUE
	b) Any optional high level driver defines (see gdisp.h) eg: #define GDISP_NEED_MULTITHREAD TRUE
	c) One (only) of:
		#define GDISP_USE_GPIO
		#define GDISP_USE_FSMC
  d) If you want to use DMA (only works with FSMC):
    #define GDISP_USE_DMA
    #define GDISP_DMA_STREAM STM32_DMA2_STREAM6 //You can change the DMA channel according to your needs
    
2. Edit gdisp_lld_panel.h with your panel properties

3. To your makefile add the following lines:
	include $(GFXLIB)/drivers/gdisp/SSD1963/gdisp_lld.mk
  
  
Example FSMC config with DMA:

#define GDISP_SCREEN_WIDTH 480
#define GDISP_SCREEN_HEIGHT 272

#define GDISP_USE_FSMC

#define GDISP_USE_DMA
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6

#if defined(GDISP_USE_GPIO)

    #define GDISP_CMD_PORT GPIOC
    #define GDISP_DATA_PORT GPIOD

    #define GDISP_CS 0
    #define GDISP_RS 1
    #define GDISP_WR 2
    #define GDISP_RD 3
#endif