summaryrefslogtreecommitdiff
path: root/gpio/gpio.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-09-05 17:43:52 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-09-05 17:44:18 +0200
commit2d1ff52bffaa8bcc9c59d9369074859c66a9dc75 (patch)
treeb66d6dc7e32a1488db7d377677900c7216bdbfeb /gpio/gpio.h
parent242eafc266dc8b138f832d0dddb27afe5e901bb1 (diff)
Added F1 support to GPIO code.
Diffstat (limited to 'gpio/gpio.h')
-rw-r--r--gpio/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpio/gpio.h b/gpio/gpio.h
index 324950e..ef7186f 100644
--- a/gpio/gpio.h
+++ b/gpio/gpio.h
@@ -28,6 +28,7 @@ struct GPIO_t {
static GPIO_t& GPIOA = *(GPIO_t*)0x40010800;
static GPIO_t& GPIOB = *(GPIO_t*)0x40010c00;
static GPIO_t& GPIOC = *(GPIO_t*)0x40011000;
+static GPIO_t& GPIOD = *(GPIO_t*)0x40011400;
#elif defined(STM32F4)
static GPIO_t& GPIOA = *(GPIO_t*)0x40020000;
static GPIO_t& GPIOB = *(GPIO_t*)0x40020400;