X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Flcd_gfx.c;h=6031ca51c4c9fe7564428251c00f81d7f29ad4ac;hb=be5afe05ba0c8a2c885ee9b5a7251ac95d11ac20;hp=2054e41cc1a2a2f75030d95908519e23dddc3cd7;hpb=c4a2aaf58b87121634905fc689312000aec47ef6;p=bertos.git diff --git a/drv/lcd_gfx.c b/drv/lcd_gfx.c old mode 100755 new mode 100644 index 2054e41c..6031ca51 --- a/drv/lcd_gfx.c +++ b/drv/lcd_gfx.c @@ -1,9 +1,34 @@ /** * \file * * * \version $Id$ @@ -16,6 +41,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2006/07/19 12:56:25 bernie + *#* Convert to new Doxygen style. + *#* *#* Revision 1.4 2006/04/27 05:40:11 bernie *#* Naming convention fixes; Partial merge from project_grl. *#* @@ -34,7 +62,7 @@ #include #include -#include +#include #include #include /* BV() */ #include @@ -54,18 +82,18 @@ #if CONFIG_LCD_SOFTINT_REFRESH - /*! Interval between softint driven lcd refresh */ + /** Interval between softint driven lcd refresh */ # define LCD_REFRESH_INTERVAL 20 /* 20ms -> 50fps */ #endif /* CONFIG_LCD_SOFTINT_REFRESH */ -/*! Number of LCD pages */ +/** Number of LCD pages */ #define LCD_PAGES 4 -/*! Width of an LCD page */ +/** Width of an LCD page */ #define LCD_PAGESIZE (LCD_WIDTH / 2) -/*! +/** * \name LCD I/O pins/ports * @{ */ @@ -83,7 +111,7 @@ #define LCD_PE_E2 PE6 /*@}*/ -/*! +/** * \name DB high nibble (DB[4-7]) * @{ */ @@ -94,7 +122,7 @@ #define LCD_DATA_HI_MASK 0xF0 /*@}*/ -/*! +/** * \name DB low nibble (DB[0-3]) * @{ */ @@ -105,7 +133,7 @@ #define LCD_DATA_LO_MASK 0xF0 /*@}*/ -/*! +/** * \name LCD bus control macros * @{ */ @@ -121,7 +149,7 @@ #define LCD_CLR_E(x) (PORTE &= ~(x)) /*@}*/ -/*! +/** * \name Chip select bits for LCD_SET_E() * @{ */ @@ -129,41 +157,41 @@ #define LCDF_E2 (BV(LCD_PE_E2)) /*@}*/ -/*! Read from the LCD data bus (DB[0-7]) */ +/** Read from the LCD data bus (DB[0-7]) */ #define LCD_READ ( \ ((LCD_DATA_LO_PIN & LCD_DATA_LO_MASK) >> LCD_DATA_LO_SHIFT) | \ ((LCD_DATA_HI_PIN & LCD_DATA_HI_MASK) >> LCD_DATA_HI_SHIFT) \ ) -/*! Write to the LCD data bus (DB[0-7]) */ +/** Write to the LCD data bus (DB[0-7]) */ #define LCD_WRITE(d) \ do { \ LCD_DATA_LO_PORT = (LCD_DATA_LO_PORT & ~LCD_DATA_LO_MASK) | (((d)<