diff lcd.h @ 7:9404b9869c27

Make the LCD panel work (timings, GPIOE clock needs to be on, etc) Factor out LCD init (needs more work)
author Daniel O'Connor <darius@dons.net.au>
date Sun, 22 Jan 2012 17:10:51 +1030
parents efa2c22266e3
children 58d76cf522ff
line wrap: on
line diff
--- a/lcd.h	Sat Jan 14 11:42:24 2012 +1030
+++ b/lcd.h	Sun Jan 22 17:10:51 2012 +1030
@@ -6,7 +6,10 @@
 uint16_t	LCD_RD_Reg(uint16_t index);
 uint16_t	LCD_RD_Data(int first);
 void		LCD_WR_Data(uint16_t val);
+void		LCD_WR_StartData(uint16_t x, uint16_t y);
+void		Delay(__IO uint32_t nCount);
 
+/* Touch controller (TSC2046N) defines */
 /* Mode/channel select defines */
 #define TP_READ_SEL(chan, mode, ref, pd) (0x80 | (((chan) & 0x07) << 4) | (((mode) & 0x01) << 3) | (((ref) & 0x01) << 2) | ((pd) & 0x03))