summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/soc/gpio.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-07-28 23:27:12 +0200
committerUros Majstorovic <majstor@majstor.org>2025-07-28 23:27:12 +0200
commit58f41971b1e801ad2fbcea08e5152afa2b18ca73 (patch)
tree51793b55b350f7807d5d1b7e1401b50f402ccc48 /fw/fe310/eos/soc/gpio.h
parentdab5a1fbd188f8f9436df1b3dff6e344c444fc23 (diff)
sys logging added; power management reimplemented; bugfixes;
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);