From c250b4c3248572246ca103b85148c29bcfef8732 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 5 Nov 2010 11:07:04 +0000 Subject: [PATCH] Add lcd foldback implementation. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4510 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/hw/hw_lcd.h | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 bertos/hw/hw_lcd.h diff --git a/bertos/hw/hw_lcd.h b/bertos/hw/hw_lcd.h new file mode 100644 index 00000000..e6657dd0 --- /dev/null +++ b/bertos/hw/hw_lcd.h @@ -0,0 +1,65 @@ +/** + * \file + * + * + * \brief Atmel SAM3N-EK testcase + * + * \author Luca Ottaviano + * \author Daniele Basile + */ + +#ifndef HW_LCD_H +#define HW_LCD_H + +#warning FIXME: This is an example implementation, you must implement it + +#include + +#include +#include + +#define LCD_BACKLIGHT_MAX // Max backlight level +#define LCD_BACKLIGHT_PIN // Port C +#define LCD_SPICLOCK // Minimum cycle len = 80 ns according specs + + +#define LCD_BACKLIGHT_LEVEL_UP() do { /* Implement me! */ } while(0) + + +INLINE void lcd_setBacklight(uint8_t level) +{ + (void)level; + /* Implement me! */ +} + +#define LCD_BACKLIGHT_INIT() do { /* Implement me! */ } while(0) + +#endif /* HW_LCD_H */ -- 2.25.1