Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / drv / lcd_ili9225.h
index 13e013017a3d8b96d2bef2fc750a632b5bb960a0..3be2f41fb0ec6225c41e599ca9b42a814dc25674 100644 (file)
  *
  * -->
  *
- * \brief ILI9225B 176x220 graphic driver
+ * \brief ILI9225B 4 wire interface graphic driver
  *
  * $WIZ$ module_name = "lcd_ili9225"
  * $WIZ$ module_hw = "bertos/hw/hw_ili9225.h"
+ * $WIZ$ module_depends = "timer", "kfile"
  */
 
 #ifndef LCD_ILI9225_H
 
 #define LCD_WIDTH          176
 #define LCD_HEIGHT         220
-#define LCD_BACKLIGHT_MAX  15
 
 // Fwd decl
-struct Serial;
+struct KFile;
 
-void lcd_ili9225_init(struct Serial *spi);
+void lcd_ili9225_init(struct KFile *spi);
 void lcd_ili9225_on(void);
 void lcd_ili9225_off(void);
-void lcd_ili9225_backlight(unsigned level);
 void lcd_ili9225_blitRaw(const uint8_t *data,
                uint8_t x, uint8_t y, uint8_t width, uint8_t height);
 void lcd_ili9225_blitBitmap(const Bitmap *bm);
+void lcd_ili9225_blitBitmap24(int x, int y, int width, int height, const char *bmp);
 
 #endif /* LCD_ILI9225_H */