aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI9341/gdisp_lld_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-10-28 10:48:09 +1000
committerinmarket <andrewh@inmarket.com.au>2013-10-28 10:48:09 +1000
commit9e5ed28f98e7b0b3dbd46df7a62568dbaffab92a (patch)
tree4c700436e1d78f576d5e79a74a7b69b6e2742639 /drivers/gdisp/ILI9341/gdisp_lld_config.h
parent26f4bec2be1ebfc8edf66d33cb8edb04d3b1049a (diff)
downloaduGFX-9e5ed28f98e7b0b3dbd46df7a62568dbaffab92a.tar.gz
uGFX-9e5ed28f98e7b0b3dbd46df7a62568dbaffab92a.tar.bz2
uGFX-9e5ed28f98e7b0b3dbd46df7a62568dbaffab92a.zip
New ILI9341 driver - not working fully yet (some display issues)
Diffstat (limited to 'drivers/gdisp/ILI9341/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/ILI9341/gdisp_lld_config.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/gdisp/ILI9341/gdisp_lld_config.h b/drivers/gdisp/ILI9341/gdisp_lld_config.h
new file mode 100644
index 00000000..8246934d
--- /dev/null
+++ b/drivers/gdisp/ILI9341/gdisp_lld_config.h
@@ -0,0 +1,36 @@
+/*
+ * 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
+ */
+
+/**
+ * @file drivers/gdisp/ILI9481/gdisp_lld_config.h
+ * @brief GDISP Graphics Driver subsystem low level driver source for
+ * the ILI9481 and compatible HVGA display
+ *
+ * @addtogroup GDISP
+ * @{
+ */
+
+#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_STREAM_READ TRUE
+//#define GDISP_HARDWARE_STREAM_POS TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+
+#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */
+/** @} */