aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/R61505U/board_R61505U_template.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-17 18:17:34 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-17 18:17:34 +1000
commit0d982a55785c189764dd51ec86a073e440e9d863 (patch)
treed439ca5cdeaf1e2261d191efdbdd5378269e3ec3 /drivers/gdisp/R61505U/board_R61505U_template.h
parent1d4d9b4c9492f25744ffd6b798101e7a875562bb (diff)
downloaduGFX-0d982a55785c189764dd51ec86a073e440e9d863.tar.gz
uGFX-0d982a55785c189764dd51ec86a073e440e9d863.tar.bz2
uGFX-0d982a55785c189764dd51ec86a073e440e9d863.zip
trunet contributed R61505U gdisp driver
Diffstat (limited to 'drivers/gdisp/R61505U/board_R61505U_template.h')
-rw-r--r--drivers/gdisp/R61505U/board_R61505U_template.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/drivers/gdisp/R61505U/board_R61505U_template.h b/drivers/gdisp/R61505U/board_R61505U_template.h
new file mode 100644
index 00000000..a4787730
--- /dev/null
+++ b/drivers/gdisp/R61505U/board_R61505U_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_index(GDisplay *g, uint16_t index) {
+ (void) g;
+ (void) index;
+}
+
+static inline void write_data(GDisplay *g, uint16_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 */