00001 #ifndef __PANEL_H 00002 #define __PANEL_H 00003 00004 #define LCD_WIDTH 320 00005 #define LCD_HEIGHT 240 00006 00007 #define SSD1928_RESET 25 00008 //#define SSD1928_SPENB 26 00009 //#define SSD1928_SPDA 24 00010 //#define SSD1928_SPCK 21 00011 00012 00013 extern void LCD_SetReg(int reg, int data); 00014 extern void LCD_Init(void); 00015 00016 UINT32 SSD1928Init(void); 00017 void ssd192X_lcd_init(UINT32 startaddr, INT32 linewidth, INT32 bpp, INT32 orient, INT32 rgb); 00018 void calcHdpAndDiff(INT32 bpp, int *hdp, int *diff); 00019 void setHdpAndDiff(INT32 bpp); 00020 00021 #endif //#ifndef __PANEL_H 00022