summaryrefslogtreecommitdiff
path: root/software/shared/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'software/shared/gpio.h')
-rw-r--r--software/shared/gpio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/software/shared/gpio.h b/software/shared/gpio.h
new file mode 100644
index 0000000..ed48255
--- /dev/null
+++ b/software/shared/gpio.h
@@ -0,0 +1,10 @@
+// See LICENSE for license details.
+
+#ifndef SIFIVE_GPIO_H
+#define SIFIVE_GPIO_H
+
+#define GPIO_IN_OFFSET 0
+#define GPIO_OUT_OFFSET 0
+#define GPIO_TRI_OFFSET 4
+
+#endif