aboutsummaryrefslogtreecommitdiff
path: root/src/gpio.rs
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-24 19:42:05 -0700
committerChristian Cunningham <cc@localhost>2022-08-24 19:42:05 -0700
commit7f3d7d9ce9818078b6a4616b4c31a28e2868397b (patch)
tree9d9a0ba47c997d87f0cca5da37c70642d9ed2b4d /src/gpio.rs
parentbb56af20ed036bed8d9d2f8bf68376ce4d55e79a (diff)
GPIO constants in a new mdoule
Diffstat (limited to 'src/gpio.rs')
-rw-r--r--src/gpio.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpio.rs b/src/gpio.rs
new file mode 100644
index 0000000..5af665b
--- /dev/null
+++ b/src/gpio.rs
@@ -0,0 +1,4 @@
+/// GPIO Register
+pub const GPPUD: u32 = 0x3F200094;
+/// GPIO Clock 0 Register
+pub const GPPUDCLK0: u32 = 0x3F200098;