aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/HX8347D/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-05-21 00:13:22 +0200
committerJoel Bodenmann <joel@unormal.org>2013-05-21 00:13:22 +0200
commit86951a8b2ff976e7b8eaa47f6b62347ab71260e8 (patch)
treed4bb8c03803f7ca23749b0f5af1367dcc12b394e /drivers/gdisp/HX8347D/gdisp_lld_config.h
parent8d5fa39dd9b1f7f4016841e69b9e9b9e3772b2f5 (diff)
downloaduGFX-86951a8b2ff976e7b8eaa47f6b62347ab71260e8.tar.gz
uGFX-86951a8b2ff976e7b8eaa47f6b62347ab71260e8.tar.bz2
uGFX-86951a8b2ff976e7b8eaa47f6b62347ab71260e8.zip
Added HX8347D driver by the user Eddie
Diffstat (limited to 'drivers/gdisp/HX8347D/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/HX8347D/gdisp_lld_config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/gdisp/HX8347D/gdisp_lld_config.h b/drivers/gdisp/HX8347D/gdisp_lld_config.h
new file mode 100644
index 00000000..b8bf853f
--- /dev/null
+++ b/drivers/gdisp/HX8347D/gdisp_lld_config.h
@@ -0,0 +1,39 @@
+/*
+ * This file is subject to the terms of the GFX License, v1.0. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://chibios-gfx.com/license.html
+ */
+
+/**
+ * @file drivers/gdisp/HX8347D/gdisp_lld_config.h
+ * @brief GDISP Graphic Driver subsystem low level driver header for the HX8347D display.
+ *
+ * @addtogroup GDISP
+ * @{
+ */
+
+#ifndef _GDISP_LLD_CONFIG_H
+#define _GDISP_LLD_CONFIG_H
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_DRIVER_NAME "HX8347D"
+
+#define GDISP_HARDWARE_CLEARS TRUE
+#define GDISP_HARDWARE_FILLS TRUE
+#define GDISP_HARDWARE_BITFILLS TRUE
+#define GDISP_HARDWARE_SCROLL FALSE
+#define GDISP_HARDWARE_PIXELREAD FALSE
+#define GDISP_HARDWARE_CONTROL TRUE
+
+#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */
+/** @} */