aboutsummaryrefslogtreecommitdiff
path: root/VexRiscvSocSoftware/libs/gpio.h
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@hs-augsburg.de>2022-07-25 17:55:39 +0200
committerFriedrich Beckmann <friedrich.beckmann@hs-augsburg.de>2022-07-25 17:55:39 +0200
commit3fff6023602822531efdae30bc8ebf862967f1ef (patch)
tree16028102b8d850f8ab3115d28a8539ca6bc5f51d /VexRiscvSocSoftware/libs/gpio.h
Initial Commit
Diffstat (limited to 'VexRiscvSocSoftware/libs/gpio.h')
-rwxr-xr-xVexRiscvSocSoftware/libs/gpio.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/VexRiscvSocSoftware/libs/gpio.h b/VexRiscvSocSoftware/libs/gpio.h
new file mode 100755
index 0000000..34348fe
--- /dev/null
+++ b/VexRiscvSocSoftware/libs/gpio.h
@@ -0,0 +1,15 @@
+#ifndef GPIO_H_
+#define GPIO_H_
+
+
+typedef struct
+{
+ volatile uint32_t INPUT;
+ volatile uint32_t OUTPUT;
+ volatile uint32_t OUTPUT_ENABLE;
+} Gpio_Reg;
+
+
+#endif /* GPIO_H_ */
+
+