aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/RA8875/ra8875.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-06-22 03:09:45 +0200
committerJoel Bodenmann <joel@unormal.org>2013-06-22 03:09:45 +0200
commit6107cd79180603660374c626da15e70ac4f26a5e (patch)
tree298be8a4a4f9f43470dddf0f8e222d2b0914c21a /drivers/gdisp/RA8875/ra8875.h
parent1f7a9166d51c94b3a729bac6dd1db38e7b2868f8 (diff)
downloaduGFX-6107cd79180603660374c626da15e70ac4f26a5e.tar.gz
uGFX-6107cd79180603660374c626da15e70ac4f26a5e.tar.bz2
uGFX-6107cd79180603660374c626da15e70ac4f26a5e.zip
Added RA8875 GDISP driver
Diffstat (limited to 'drivers/gdisp/RA8875/ra8875.h')
-rw-r--r--drivers/gdisp/RA8875/ra8875.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gdisp/RA8875/ra8875.h b/drivers/gdisp/RA8875/ra8875.h
new file mode 100644
index 00000000..7c25cf42
--- /dev/null
+++ b/drivers/gdisp/RA8875/ra8875.h
@@ -0,0 +1,18 @@
+/*
+ * 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://chibios-gfx.com/license.html
+ */
+
+#ifndef RA8875_H
+#define RA8875_H
+
+#define mHIGH(x) (x >> 8)
+#define mLOW(x) (x & 0xFF)
+
+#define RA8875_WRITE_MEMORY_START 0x0002
+#define RA8875_READ_MEMORY_START 0x0002
+
+#endif
+