X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32VLDiscovery%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_lcd_32122a.h;fp=boards%2Fstm32VLDiscovery%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_lcd_32122a.h;h=5a9b3ca79c95e66b400ba322c4dc4d26ce35ee2a;hb=150b803365687c36d4ff94c65b089a4e91425a65;hp=0000000000000000000000000000000000000000;hpb=3439fb1587a2ad75977d02233e52c7b68c20a6cd;p=bertos.git diff --git a/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_lcd_32122a.h b/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_lcd_32122a.h new file mode 100644 index 00000000..5a9b3ca7 --- /dev/null +++ b/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_lcd_32122a.h @@ -0,0 +1,63 @@ +/** + * \file + * + * + * \brief Displaytech 32122A LCD driver configuration file. + * + * \author Bernie Innocenti + * \author Stefano Fedrigo + * + */ +#ifndef CFG_LCD_32122A_H +#define CFG_LCD_32122A_H + +/** + * Enable soft interrupt to refresh the LCD. + * $WIZ$ type = "boolean" + */ +#define CONFIG_LCD_SOFTINT_REFRESH 0 + +/** + * Enable wait macro when display is busy. + * $WIZ$ type = "boolean" + */ +#define CONFIG_LCD_WAIT 0 + +/** + * Display refresh time 32122a. + * $WIZ$ type = "int" + * $WIZ$ min = 0 + */ +#define CONFIG_LCD_REFRESH 100 + +#endif /* CFG_LCD_32122A_H */ +