ugfx/drivers/gdisp/SSD2119
resset e097426338 SSD2119: first working version of driver
It is a mix of barely changed few drivers already present in ChibiOS/GFX
project. No other routines than initialization ones were changed.
Properly displays "basics" demo.

Main features and changes:
- Based on SSD1289 and SSD1121 in FSMC mode.
- Uses FSMC module. Maybe oneday I will make GPIO version.
- LCD backlight PWM input is tied high (no timer yet).
- Added ssd2119.h with SSD2119 registers' addresses.
- Updated set_cursor and set_viewport functions. Not thoroughly tested,
  however.
- Rewritten GDISP_LLD(init)(void) function.
2013-02-05 23:39:48 +01:00
..
gdisp_lld.c SSD2119: first working version of driver 2013-02-05 23:39:48 +01:00
gdisp_lld.mk initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
gdisp_lld_board_embest_dmstf4bb.h SSD2119: first working version of driver 2013-02-05 23:39:48 +01:00
gdisp_lld_board_example.h initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
gdisp_lld_board_example_fsmc.h initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
gdisp_lld_board_firebullstm32f103.h initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
gdisp_lld_config.h initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
readme.txt initial commit: copy sources from SSD1289 2013-01-26 21:53:16 +01:00
ssd2119.h SSD2119: first working version of driver 2013-02-05 23:39:48 +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: GDISP_NEED_MULTITHREAD

	c) If you are not using a known board then create a gdisp_lld_board.h file
		and ensure it is on your include path.
		Use the gdisp_lld_board_example.h or gdisp_lld_board_fsmc.h file as a basis.
		Currently known boards are:
		 	BOARD_FIREBULL_STM32_F103	- GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined

	d) The following are optional - define them if you are not using the defaults below:
		#define GDISP_SCREEN_WIDTH	320
		#define GDISP_SCREEN_HEIGHT	240

2. To your makefile add the following lines:
	include $(GFXLIB)/drivers/gdisp/SSD2119/gdisp_lld.mk