aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/RA8875/ra8875.h
diff options
context:
space:
mode:
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
+