aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI93xx/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-04-24 22:52:37 +0200
committerJoel Bodenmann <joel@unormal.org>2014-04-24 22:52:37 +0200
commitd76104fefe8b1969945cfcae8f5f9b2be756807c (patch)
treee0c226d9cf6123e09c3963101215df1eac2cbafa /drivers/gdisp/ILI93xx/gdisp_lld_config.h
parentba31d33499d5471027665415bb3ebaf4687a7db1 (diff)
downloaduGFX-d76104fefe8b1969945cfcae8f5f9b2be756807c.tar.gz
uGFX-d76104fefe8b1969945cfcae8f5f9b2be756807c.tar.bz2
uGFX-d76104fefe8b1969945cfcae8f5f9b2be756807c.zip
Added ILI93xx drived by user xlh1460
Diffstat (limited to 'drivers/gdisp/ILI93xx/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/ILI93xx/gdisp_lld_config.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gdisp/ILI93xx/gdisp_lld_config.h b/drivers/gdisp/ILI93xx/gdisp_lld_config.h
new file mode 100644
index 00000000..0fd5ffac
--- /dev/null
+++ b/drivers/gdisp/ILI93xx/gdisp_lld_config.h
@@ -0,0 +1,22 @@
+/*
+ * 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
+
+#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 */