aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/PCD8544/gdisp_lld_config.h
diff options
context:
space:
mode:
authorroot <root@ps-pc.(none)>2014-07-09 22:01:59 +0300
committerroot <root@ps-pc.(none)>2014-07-09 22:01:59 +0300
commita3de59d7ad7a62ae80331e0fbf0c72398a18d2ee (patch)
tree4fa814e24dd72a2d17c3668acb47c0aaf4610e76 /drivers/gdisp/PCD8544/gdisp_lld_config.h
parentddeeacea0e31ee6d2dad798b6a5f79bbd548b8b9 (diff)
downloaduGFX-a3de59d7ad7a62ae80331e0fbf0c72398a18d2ee.tar.gz
uGFX-a3de59d7ad7a62ae80331e0fbf0c72398a18d2ee.tar.bz2
uGFX-a3de59d7ad7a62ae80331e0fbf0c72398a18d2ee.zip
first commit
Diffstat (limited to 'drivers/gdisp/PCD8544/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/PCD8544/gdisp_lld_config.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gdisp/PCD8544/gdisp_lld_config.h b/drivers/gdisp/PCD8544/gdisp_lld_config.h
new file mode 100644
index 00000000..6ad8a571
--- /dev/null
+++ b/drivers/gdisp/PCD8544/gdisp_lld_config.h
@@ -0,0 +1,28 @@
+/*
+ * 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_FLUSH TRUE // This controller requires flushing
+#define GDISP_HARDWARE_DRAWPIXEL TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+
+// Set this to your frame buffer pixel format.
+#ifndef GDISP_LLD_PIXELFORMAT
+ #define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+#endif
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */