From 8e18cc30e240293a9bb7024a5e0d75232ce81dab Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 1 Apr 2015 00:29:18 +1000 Subject: First cut SSD1351 driver --- drivers/gdisp/SSD1351/board_SSD1351_template.h | 60 ++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 drivers/gdisp/SSD1351/board_SSD1351_template.h (limited to 'drivers/gdisp/SSD1351/board_SSD1351_template.h') diff --git a/drivers/gdisp/SSD1351/board_SSD1351_template.h b/drivers/gdisp/SSD1351/board_SSD1351_template.h new file mode 100644 index 00000000..e28ce23a --- /dev/null +++ b/drivers/gdisp/SSD1351/board_SSD1351_template.h @@ -0,0 +1,60 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +#ifndef _GDISP_LLD_BOARD_H +#define _GDISP_LLD_BOARD_H + +static inline void init_board(GDisplay *g) { + (void) g; +} + +static inline void post_init_board(GDisplay *g) { + (void) g; +} + +static inline void setpin_reset(GDisplay *g, bool_t state) { + (void) g; + (void) state; +} + +static inline void set_backlight(GDisplay *g, uint8_t percent) { + (void) g; + (void) percent; +} + +static inline void acquire_bus(GDisplay *g) { + (void) g; +} + +static inline void release_bus(GDisplay *g) { + (void) g; +} + +static inline void write_cmd(GDisplay *g, uint8_t index) { + (void) g; + (void) index; +} + +static inline void write_data(GDisplay *g, uint8_t data) { + (void) g; + (void) data; +} + +static inline void setreadmode(GDisplay *g) { + (void) g; +} + +static inline void setwritemode(GDisplay *g) { + (void) g; +} + +static inline uint16_t read_data(GDisplay *g) { + (void) g; + return 0; +} + +#endif /* _GDISP_LLD_BOARD_H */ -- cgit v1.2.3