rit128x96: allow to define starting x and y coordinates with rit128x96_blitRaw().
[bertos.git] / bertos / drv / lcd_rit128x96.h
index aaebd48a2ed7aa9d592946cf1c19d4df3e36ed96..d5ae7ca314a70a9d84a477a2f6c40c1138c7439e 100644 (file)
  * -->
  *
  * \brief OLED-RIT-128x96 (P14201) graphic display driver
+ *
+ * $WIZ$ module_name = "lcd_rit128x96"
+ * $WIZ$ module_hw = "bertos/hw/hw_rit128x96.h"
  */
 
 #ifndef LCD_LM3S_H
 #define LCD_LM3S_H
 
-#include <drv/clock_lm3s.h>
-#include <drv/ssi_lm3s.h>
-#include <drv/gpio_lm3s.h>
 #include <gfx/gfx.h> /* Bitmap */
-#include <hw/hw_lcd.h>
+#include "hw/hw_rit128x96.h"
 
 #define LCD_WIDTH      128
 #define LCD_HEIGHT     96
 
-void rit128x96_lcd_blitBitmap(const Bitmap *bm);
-void rit128x96_lcd_on(void);
-void rit128x96_lcd_off(void);
-void rit128x96_lcd_init(void);
+void rit128x96_blitRaw(const uint8_t *data,
+               uint8_t x, uint8_t y, uint8_t width, uint8_t height);
+void rit128x96_blitBitmap(const Bitmap *bm);
+void rit128x96_on(void);
+void rit128x96_off(void);
+void rit128x96_init(void);
 
 #endif /* LCD_LM3S_H */