summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/soc/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/soc/gpio.h')
-rw-r--r--fw/fe310/eos/soc/gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/fe310/eos/soc/gpio.h b/fw/fe310/eos/soc/gpio.h
new file mode 100644
index 0000000..2ba5787
--- /dev/null
+++ b/fw/fe310/eos/soc/gpio.h
@@ -0,0 +1,5 @@
+#include <stdint.h>
+
+int eos_gpio_get(uint32_t reg, int pin);
+void eos_gpio_set(uint32_t reg, int pin);
+void eos_gpio_clear(uint32_t reg, int pin);