aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ST7565/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-09-15 00:32:57 +0200
committerJoel Bodenmann <joel@unormal.org>2013-09-15 00:32:57 +0200
commitbf3761e0f2f4096081602238642d2393bfe5842f (patch)
treea0c886b721969fd9947213e2f749eda2a5573938 /drivers/gdisp/ST7565/gdisp_lld_config.h
parent439426667990b90f76f759ae8f993215c16770cd (diff)
downloaduGFX-bf3761e0f2f4096081602238642d2393bfe5842f.tar.gz
uGFX-bf3761e0f2f4096081602238642d2393bfe5842f.tar.bz2
uGFX-bf3761e0f2f4096081602238642d2393bfe5842f.zip
Added ST7565 driver by user sam0737
Diffstat (limited to 'drivers/gdisp/ST7565/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/ST7565/gdisp_lld_config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/gdisp/ST7565/gdisp_lld_config.h b/drivers/gdisp/ST7565/gdisp_lld_config.h
new file mode 100644
index 00000000..8d26a0aa
--- /dev/null
+++ b/drivers/gdisp/ST7565/gdisp_lld_config.h
@@ -0,0 +1,29 @@
+/*
+ * 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_DRIVER_NAME "ST7565"
+
+#define GDISP_HARDWARE_CONTROL TRUE
+
+#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+
+#define GDISP_CONTROL_LLD_FLUSH (GDISP_CONTROL_LLD + 1)
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */
+/** @} */
+