X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fsd_fat%2Fcfg%2Fcfg_lcd.h;fp=boards%2Fat91sam7x-ek%2Fexamples%2Fsd_fat%2Fcfg%2Fcfg_lcd.h;h=903ae9aad7c65a417a74992866be80ae56e79178;hb=ea12a07185cfa16b2a37d39ec7bdaf988b283c0c;hp=0000000000000000000000000000000000000000;hpb=0c218b3a5f1ef761db3f8a9139f6b4fa05d2cf9d;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_lcd.h b/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_lcd.h new file mode 100644 index 00000000..903ae9aa --- /dev/null +++ b/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_lcd.h @@ -0,0 +1,72 @@ +/** + * \file + * + * + * \brief Configuration file for lcd display module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_LCD_H +#define CFG_LCD_H + +/** + * Use 4 bit addressing mode. + * $WIZ$ type = "boolean" + */ +#define CONFIG_LCD_4BIT 0 + +/** + * 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 + +/** + * 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 */ +