Split debug by cpu type.
[bertos.git] / drv / lcd_gfx.h
old mode 100755 (executable)
new mode 100644 (file)
index f22196a..2d872c7
@@ -1,9 +1,34 @@
-/*!
+/**
  * \file
  * <!--
+ * This file is part of BeRTOS.
+ *
+ * Bertos is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ * As a special exception, you may use this file as part of a free software
+ * library without restriction.  Specifically, if other files instantiate
+ * templates or use macros or inline functions from this file, or you compile
+ * this file and link it with other files to produce an executable, this
+ * file does not by itself cause the resulting executable to be covered by
+ * the GNU General Public License.  This exception does not however
+ * invalidate any other reasons why the executable file might be covered by
+ * the GNU General Public License.
+ *
  * Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
  * Copyright 2001 Bernardo Innocenti <bernie@codewiz.org>
- * This file is part of DevLib - See README.devlib for information.
+ *
  * -->
  *
  * \version $Id$
 
 /*#*
  *#* $Log$
- *#* Revision 1.1  2006/01/16 03:50:57  bernie
- *#* Import into DevLib.
- *#*
- *#* Revision 1.13  2005/11/27 22:41:08  bernie
- *#* Remove trailing whitespace.
- *#*
- *#* Revision 1.12  2004/08/29 21:46:11  bernie
- *#* CVSSILENT: Mark CVS log blocks.
+ *#* Revision 1.6  2006/07/19 12:56:25  bernie
+ *#* Convert to new Doxygen style.
  *#*
- *#* Revision 1.11  2004/06/11 12:40:11  customer_pw
- *#* Changes for new board_kf
+ *#* Revision 1.5  2006/04/27 05:40:11  bernie
+ *#* Naming convention fixes; Partial merge from project_grl.
  *#*
- *#* Revision 1.10  2004/03/24 15:37:03  bernie
- *#* Remove Copyright messages from Doxygen output
+ *#* Revision 1.4  2006/02/15 09:13:16  bernie
+ *#* Switch to BITMAP_FMT_PLANAR_V_LSB.
  *#*
- *#* Revision 1.9  2004/02/26 18:48:52  aleph
- *#* Remove generic setting function which live better in levels.c
+ *#* Revision 1.3  2006/02/10 12:33:51  bernie
+ *#* Make emulator display a bit larger.
  *#*
- *#* Revision 1.8  2004/02/11 11:14:35  aleph
- *#* Adeguate lcd_setcontrast to new leveledit callback interface
- *#*
- *#* Revision 1.7  2004/02/10 21:45:13  aleph
- *#* Values for contrast setting are logical ascending (1->10) instead of raw PWM (240->50)
- *#*
- *#* Revision 1.6  2004/02/09 15:52:09  aleph
- *#* Add reasonable min and max level #define for contrast
- *#*
- *#* Revision 1.5  2004/01/13 00:04:10  aleph
- *#* change lcd_clear() to static and minor var/define name enhancements
- *#*
- *#* Revision 1.4  2004/01/07 19:06:48  aleph
- *#* Some LCD bus optmizations and add bitmap rendering funcs
- *#*
- *#* Revision 1.3  2003/12/22 15:27:26  aleph
- *#* Add E2 chip select and some code cosmetic changes
- *#*
- *#* Revision 1.2  2003/12/19 00:20:17  aleph
- *#* Add contrast PWM
- *#*
- *#* Revision 1.1  2003/12/08 03:46:42  aleph
- *#* Add lcd driver
+ *#* Revision 1.2  2006/01/17 22:59:48  bernie
+ *#* Hardcode a different display size.
  *#*
+ *#* Revision 1.1  2006/01/16 03:50:57  bernie
+ *#* Import into DevLib.
  *#*/
 
 #ifndef LCD_GFX_H
@@ -69,8 +69,8 @@
 #define LCD_MIN_PWM 130
 
 /* Display bitmap dims */
-#define LCD_WIDTH 122
-#define LCD_HEIGHT 32
+#define LCD_WIDTH  128
+#define LCD_HEIGHT 64
 
 /* fwd decl */
 struct Bitmap;
@@ -78,7 +78,7 @@ struct Bitmap;
 extern struct Bitmap lcd_bitmap;
 
 void lcd_init(void);
-void lcd_setpwm(int duty);
-void lcd_blit_bitmap(struct Bitmap *bm);
+void lcd_setPwm(int duty);
+void lcd_blitBitmap(struct Bitmap *bm);
 
-#endif // LCD_GFX_H
+#endif /* LCD_GFX_H */