diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-10-21 02:11:27 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-10-21 02:11:27 +0200 |
commit | 8b29fb3064c0f9bc5d8ee69a0dd1ae7fc6e71b29 (patch) | |
tree | 90cc01fce092feb04a417392a8da88e650a9a9e0 /drivers | |
parent | 7b277edc592f0acc9971cf45e882a59dffe7a1ad (diff) | |
download | uGFX-8b29fb3064c0f9bc5d8ee69a0dd1ae7fc6e71b29.tar.gz uGFX-8b29fb3064c0f9bc5d8ee69a0dd1ae7fc6e71b29.tar.bz2 uGFX-8b29fb3064c0f9bc5d8ee69a0dd1ae7fc6e71b29.zip |
GPIO interface rename -> http://chibios-gfx.com/blog/96-renamed-gpio-interface
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gdisp/SSD1289/ssd1289_lld.c.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gdisp/SSD1289/ssd1289_lld.c.h b/drivers/gdisp/SSD1289/ssd1289_lld.c.h index 8b7aef15..bb88e9a4 100644 --- a/drivers/gdisp/SSD1289/ssd1289_lld.c.h +++ b/drivers/gdisp/SSD1289/ssd1289_lld.c.h @@ -31,17 +31,17 @@ #define Set_RD palSetPad(GDISP_CMD_PORT, GDISP_RD); #define Clr_RD palClearPad(GDISP_CMD_PORT, GDISP_RD); - extern void lld_lcdWriteGPIO(uint16_t data); - extern uint16_t lld_lcdReadGPIO(void); + extern void gdisp_write_gpio_lld(uint16_t data); + extern uint16_t gdisp_read_gpio_lld(void); static __inline void lld_lcdWriteIndex(uint16_t index) { Clr_RS; Set_RD; - lld_lcdWriteGPIO(index); + gdisp_write_gpio_lld(index); Clr_WR; Set_WR; } static __inline void lld_lcdWriteData(uint16_t data) { Set_RS; - lld_lcdWriteGPIO(data); + gdisp_write_gpio_lld(data); Clr_WR; Set_WR; } static __inline void lld_lcdWriteReg(uint16_t lcdReg,uint16_t lcdRegValue) { @@ -54,7 +54,7 @@ uint16_t value; Set_RS; Set_WR; Clr_RD; - value = lld_lcdReadGPIO(); + value = gdisp_read_gpio_lld(); Set_RD; return value; } @@ -81,7 +81,7 @@ uint16_t i; Set_RS; - for(i = 0; i < size; i++) { lld_lcdWriteGPIO(buffer[i]); Clr_WR; Set_WR; } + for(i = 0; i < size; i++) { gdisp_write_gpio_lld(buffer[i]); Clr_WR; Set_WR; } } static __inline void lld_lcdReadStreamStart(void) { |