aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1963/readme.txt
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-09-29 20:56:30 +0200
committerJoel Bodenmann <joel@unormal.org>2012-09-29 20:56:30 +0200
commit30d03a620ce505fb91c5875d8185cd6d81f27b35 (patch)
tree01959f06640647d0b38bf131ea4914a21a9f860c /drivers/gdisp/SSD1963/readme.txt
parent70a168df5963d6a83f0c1893c707b42d60236f2a (diff)
downloaduGFX-30d03a620ce505fb91c5875d8185cd6d81f27b35.tar.gz
uGFX-30d03a620ce505fb91c5875d8185cd6d81f27b35.tar.bz2
uGFX-30d03a620ce505fb91c5875d8185cd6d81f27b35.zip
replaced every LCD_XXX macro with GDISP_XXX
Diffstat (limited to 'drivers/gdisp/SSD1963/readme.txt')
-rw-r--r--drivers/gdisp/SSD1963/readme.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/gdisp/SSD1963/readme.txt b/drivers/gdisp/SSD1963/readme.txt
index 8654d4a1..960d9a0c 100644
--- a/drivers/gdisp/SSD1963/readme.txt
+++ b/drivers/gdisp/SSD1963/readme.txt
@@ -4,11 +4,11 @@ To use this driver:
a) #define HAL_USE_GDISP TRUE
b) Any optional high level driver defines (see gdisp.h) eg: #define GDISP_NEED_MULTITHREAD TRUE
c) One (only) of:
- #define LCD_USE_GPIO
- #define LCD_USE_FSMC
+ #define GDISP_USE_GPIO
+ #define GDISP_USE_FSMC
d) If you want to use DMA (only works with FSMC):
- #define LCD_USE_DMA
- #define LCD_DMA_STREAM STM32_DMA2_STREAM6 //You can change the DMA channel according to your needs
+ #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
@@ -21,18 +21,18 @@ Example FSMC config with DMA:
#define SCREEN_WIDTH 480
#define SCREEN_HEIGHT 272
-#define LCD_USE_FSMC
+#define GDISP_USE_FSMC
-#define LCD_USE_DMA
-#define LCD_DMA_STREAM STM32_DMA2_STREAM6
+#define GDISP_USE_DMA
+#define GDISP_DMA_STREAM STM32_DMA2_STREAM6
-#if defined(LCD_USE_GPIO)
+#if defined(GDISP_USE_GPIO)
- #define LCD_CMD_PORT GPIOC
- #define LCD_DATA_PORT GPIOD
+ #define GDISP_CMD_PORT GPIOC
+ #define GDISP_DATA_PORT GPIOD
- #define LCD_CS 0
- #define LCD_RS 1
- #define LCD_WR 2
- #define LCD_RD 3
+ #define GDISP_CS 0
+ #define GDISP_RS 1
+ #define GDISP_WR 2
+ #define GDISP_RD 3
#endif