aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/R61505U/gdisp_lld_config.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/gdisp_lld_config.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/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/R61505U/gdisp_lld_config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gdisp/R61505U/gdisp_lld_config.h b/drivers/gdisp/R61505U/gdisp_lld_config.h
new file mode 100644
index 00000000..04834079
--- /dev/null
+++ b/drivers/gdisp/R61505U/gdisp_lld_config.h
@@ -0,0 +1,26 @@
+/*
+ * 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_CONFIG_H
+#define GDISP_LLD_CONFIG_H
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_HARDWARE_STREAM_WRITE TRUE
+#define GDISP_HARDWARE_STREAM_READ TRUE
+//#define GDISP_HARDWARE_STREAM_POS TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */