aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/PCF8812/gdisp_lld_config.h
diff options
context:
space:
mode:
authorp.shamray <pshampay@gmail.com>2014-06-12 11:05:53 +0300
committerp.shamray <pshampay@gmail.com>2014-06-12 11:05:53 +0300
commitf3870ce44130516ee7a898685c53ddf48d47d8cd (patch)
treec5289c801f2c9b8baf13b0fb74a590358e08504a /drivers/gdisp/PCF8812/gdisp_lld_config.h
parent2127c61eeeea920ba79923bc6f29a1e2de80d61d (diff)
downloaduGFX-f3870ce44130516ee7a898685c53ddf48d47d8cd.tar.gz
uGFX-f3870ce44130516ee7a898685c53ddf48d47d8cd.tar.bz2
uGFX-f3870ce44130516ee7a898685c53ddf48d47d8cd.zip
first commit PCF8812 driver
Diffstat (limited to 'drivers/gdisp/PCF8812/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/PCF8812/gdisp_lld_config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gdisp/PCF8812/gdisp_lld_config.h b/drivers/gdisp/PCF8812/gdisp_lld_config.h
new file mode 100644
index 00000000..f95fc178
--- /dev/null
+++ b/drivers/gdisp/PCF8812/gdisp_lld_config.h
@@ -0,0 +1,25 @@
+/*
+ * 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
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */