aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/gpio.h
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-08-25 22:57:46 -0400
committerbnewbold <bnewbold@robocracy.org>2010-08-25 22:57:46 -0400
commit12c351d0561d1f9d4e017bbd3f847906f93b0df7 (patch)
tree8a1275bdee83faf5365f2982dcbf2a3c4a27f1d2 /libmaple/gpio.h
parent0a6a19cf7625c0badb3bae30ad23605b39883357 (diff)
downloadlibrambutan-12c351d0561d1f9d4e017bbd3f847906f93b0df7.tar.gz
librambutan-12c351d0561d1f9d4e017bbd3f847906f93b0df7.zip
inital portability work
Diffstat (limited to 'libmaple/gpio.h')
-rw-r--r--libmaple/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/gpio.h b/libmaple/gpio.h
index 74320e6..d1d0050 100644
--- a/libmaple/gpio.h
+++ b/libmaple/gpio.h
@@ -48,6 +48,9 @@
#define GPIOB_BASE (GPIO_Port*)0x40010C00
#define GPIOC_BASE (GPIO_Port*)0x40011000
#define GPIOD_BASE (GPIO_Port*)0x40011400
+#define GPIOE_BASE (GPIO_Port*)0x40011800 // High-density devices only
+#define GPIOF_BASE (GPIO_Port*)0x40011C00 // High-density devices only
+#define GPIOG_BASE (GPIO_Port*)0x40012000 // High-density devices only
#define GPIO_SPEED_50MHZ (0x3)