From 3b9aa493e4442a3d33222440b39110f9006230db Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 20 Apr 2009 09:47:08 +0000 Subject: [PATCH] Fix LCD configuration. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2563 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_lcd.h | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/bertos/cfg/cfg_lcd.h b/bertos/cfg/cfg_lcd.h index 14db789e..903ae9aa 100644 --- a/bertos/cfg/cfg_lcd.h +++ b/bertos/cfg/cfg_lcd.h @@ -40,14 +40,32 @@ #ifndef CFG_LCD_H #define CFG_LCD_H -/// Number bit for lcd bus +/** + * Use 4 bit addressing mode. + * $WIZ$ type = "boolean" + */ #define CONFIG_LCD_4BIT 0 -/// TODO: +/** + * Use a table to speed up LCD memory addressing. + * This will use about 100 bytes of RAM. + * $WIZ$ type = "boolean" + */ #define CONFIG_LCD_ADDRESS_FAST 1 -#define CONFIG_LCD_SOFTINT_REFRESH 0 ///< LCD setting for 32122A (AVR implementation) -#define CONFIG_LCD_WAIT 1 ///< LCD setting for 32122A (AVR implementation) +/** + * LCD setting for 32122A (AVR implementation). + * $WIZ$ type = "boolean" + * $WIZ$ supports = "avr and False" + */ +#define CONFIG_LCD_SOFTINT_REFRESH 0 + +/** + * LCD setting for 32122A (AVR implementation). + * $WIZ$ type = "boolean" + * $WIZ$ supports = "avr and False" + */ +#define CONFIG_LCD_WAIT 1 #endif /* CFG_LCD_H */ -- 2.25.1