diff options
author | mobyfab <mobyfab@free.fr> | 2013-04-04 16:47:47 +0200 |
---|---|---|
committer | mobyfab <mobyfab@free.fr> | 2013-04-04 16:47:47 +0200 |
commit | 348868ceceabe5089d6be7eca094e4c7dbded27b (patch) | |
tree | 6d3eb9c3615e0ec20b94fe166f12991fb8e8bd8e /drivers/gdisp/SSD1963/ssd1963.h | |
parent | 17a17421b4d10f460f8d15fa7508a587207e1448 (diff) | |
download | uGFX-348868ceceabe5089d6be7eca094e4c7dbded27b.tar.gz uGFX-348868ceceabe5089d6be7eca094e4c7dbded27b.tar.bz2 uGFX-348868ceceabe5089d6be7eca094e4c7dbded27b.zip |
Fixed SSD1963 Driver to work with latest GDISP.
Diffstat (limited to 'drivers/gdisp/SSD1963/ssd1963.h')
-rw-r--r-- | drivers/gdisp/SSD1963/ssd1963.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gdisp/SSD1963/ssd1963.h b/drivers/gdisp/SSD1963/ssd1963.h index a80c7998..a56c142b 100644 --- a/drivers/gdisp/SSD1963/ssd1963.h +++ b/drivers/gdisp/SSD1963/ssd1963.h @@ -23,23 +23,6 @@ #include "gdisp_lld_panel.h" -#if defined(GDISP_USE_GPIO) - #define Set_CS palSetPad(GDISP_CMD_PORT, GDISP_CS); - #define Clr_CS palClearPad(GDISP_CMD_PORT, GDISP_CS); - #define Set_RS palSetPad(GDISP_CMD_PORT, GDISP_RS); - #define Clr_RS palClearPad(GDISP_CMD_PORT, GDISP_RS); - #define Set_WR palSetPad(GDISP_CMD_PORT, GDISP_WR); - #define Clr_WR palClearPad(GDISP_CMD_PORT, GDISP_WR); - #define Set_RD palSetPad(GDISP_CMD_PORT, GDISP_RD); - #define Clr_RD palClearPad(GDISP_CMD_PORT, GDISP_RD); -#endif - -#if defined(GDISP_USE_FSMC) - /* Using FSMC A16 as RS */ - #define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */ - #define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */ -#endif - #define mHIGH(x) (x >> 8) #define mLOW(x) (x & 0xFF) |