aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI9225/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel <info@b-electronics.ch>2016-08-20 14:52:49 +0200
committerGogs <gogs@fake.local>2016-08-20 14:52:49 +0200
commit9d880dbb56bd8ad0d542b12edb0085f3a31029bc (patch)
treef6fe85fb3153b57089f30187fcf0c2d497002b11 /drivers/gdisp/ILI9225/gdisp_lld_config.h
parentea2aeff010fae358d127d6effa118429b91be4d4 (diff)
parentb998c385d8f6e9057bdffbb134e71d2db33f1c12 (diff)
downloaduGFX-9d880dbb56bd8ad0d542b12edb0085f3a31029bc.tar.gz
uGFX-9d880dbb56bd8ad0d542b12edb0085f3a31029bc.tar.bz2
uGFX-9d880dbb56bd8ad0d542b12edb0085f3a31029bc.zip
Merge branch 'ili9225_mr' of olegator77/uGFX into master
Diffstat (limited to 'drivers/gdisp/ILI9225/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/ILI9225/gdisp_lld_config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gdisp/ILI9225/gdisp_lld_config.h b/drivers/gdisp/ILI9225/gdisp_lld_config.h
new file mode 100644
index 00000000..1bad8632
--- /dev/null
+++ b/drivers/gdisp/ILI9225/gdisp_lld_config.h
@@ -0,0 +1,24 @@
+/*
+ * Created by Oleg Gerasimov <ogerasimov@gmail.com>
+ * 10.08.2016
+*/
+
+#ifndef _GDISP_LLD_CONFIG_H
+#define _GDISP_LLD_CONFIG_H
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_HARDWARE_STREAM_WRITE TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+#define GDISP_HARDWARE_STREAM_POS TRUE
+#define GDISP_HARDWARE_FILLS TRUE
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */