aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1848/board_ssd1848_template.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2016-04-25 14:57:36 +1000
committerinmarket <andrewh@inmarket.com.au>2016-04-25 14:57:36 +1000
commit0a2e251391d40d40baec5dba8463d3c241ca70a5 (patch)
tree6a9bb9cf52e6339fd145535b6fb1a09505774a5f /drivers/gdisp/SSD1848/board_ssd1848_template.h
parentc7fca71070ce7faf73108714faa361c738e0ee19 (diff)
downloaduGFX-0a2e251391d40d40baec5dba8463d3c241ca70a5.tar.gz
uGFX-0a2e251391d40d40baec5dba8463d3c241ca70a5.tar.bz2
uGFX-0a2e251391d40d40baec5dba8463d3c241ca70a5.zip
Add SSD1848 driver by czhou
Diffstat (limited to 'drivers/gdisp/SSD1848/board_ssd1848_template.h')
-rw-r--r--drivers/gdisp/SSD1848/board_ssd1848_template.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/drivers/gdisp/SSD1848/board_ssd1848_template.h b/drivers/gdisp/SSD1848/board_ssd1848_template.h
new file mode 100644
index 00000000..f8081c19
--- /dev/null
+++ b/drivers/gdisp/SSD1848/board_ssd1848_template.h
@@ -0,0 +1,53 @@
+/*
+ * 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 _BOARD_SSD1848_H
+#define _BOARD_SSD1848_H
+
+static void init_board(GDisplay *g) {
+ (void) g;
+}
+
+static void post_init_board(GDisplay *g) {
+ (void) g;
+}
+
+static void setpin_reset(GDisplay *g, bool_t state) {
+ (void) g;
+ (void) state;
+}
+
+static void set_backlight(GDisplay *g, uint8_t percent) {
+ (void) g;
+ (void) percent;
+}
+
+static void acquire_bus(GDisplay *g) {
+ (void) g;
+}
+
+static void release_bus(GDisplay *g) {
+ (void) g;
+}
+
+static void spi_write_cmd(GDisplay *g, uint8_t cmd) {
+ (void) g;
+ (void) cmd;
+}
+
+static void spi_write_data_array(GDisplay *g, uint8_t* datas, size_t length) {
+ (void) g;
+ (void) datas;
+ (void) length;
+}
+
+static void spi_write_data(GDisplay *g, uint8_t data) {
+ (void) g;
+ (void) data;
+}
+
+#endif /* _BOARD_SSD1848_H */