aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1322/gdisp_lld_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2017-09-11 18:19:12 +1000
committerinmarket <andrewh@inmarket.com.au>2017-09-11 18:19:12 +1000
commit77994258c003552ebe5d05d78ab20150a0684649 (patch)
treeb8a8be2fe90341998afa59d716cc0e5786df8a67 /drivers/gdisp/SSD1322/gdisp_lld_config.h
parent9b52fee21371fbfccdcee1b268b13fead41fb588 (diff)
downloaduGFX-77994258c003552ebe5d05d78ab20150a0684649.tar.gz
uGFX-77994258c003552ebe5d05d78ab20150a0684649.tar.bz2
uGFX-77994258c003552ebe5d05d78ab20150a0684649.zip
Add SSD1322 driver. Thanks to Andrey_13 (but with modifications)
Diffstat (limited to 'drivers/gdisp/SSD1322/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/SSD1322/gdisp_lld_config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gdisp/SSD1322/gdisp_lld_config.h b/drivers/gdisp/SSD1322/gdisp_lld_config.h
new file mode 100644
index 00000000..8ede4bc6
--- /dev/null
+++ b/drivers/gdisp/SSD1322/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_FLUSH TRUE // This controller requires flushing
+#define GDISP_HARDWARE_DRAWPIXEL TRUE
+#define GDISP_HARDWARE_PIXELREAD TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_GRAY16
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */