From: batt Date: Mon, 20 Apr 2009 09:47:08 +0000 (+0000) Subject: Fix LCD configuration. X-Git-Tag: 2.1.0~119 X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=commitdiff_plain;h=3b9aa493e4442a3d33222440b39110f9006230db Fix LCD configuration. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2563 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */