diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-04-22 23:38:31 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-04-22 23:38:31 +0200 |
commit | f204350c8b4007f78fe27026740d519ab360dedf (patch) | |
tree | 4d04e92d90ce9e74b9ab96e94f831c5b9409737f /gpio | |
parent | e520cc2d4b856658d338a5fcb8ecd65699b41c38 (diff) |
Add InputPull mode for F1.
Diffstat (limited to 'gpio')
-rw-r--r-- | gpio/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpio/gpio.h b/gpio/gpio.h index 8eb2eea..8a47a46 100644 --- a/gpio/gpio.h +++ b/gpio/gpio.h @@ -41,6 +41,7 @@ class GPIO_t { enum Mode { #if defined(STM32F1) Input = 0x4, + InputPull = 0x8, Output = 0x3, AF = 0xb, Analog = 0x0, @@ -203,6 +204,7 @@ static GPIO_t GPIOA(0x40010800); static GPIO_t GPIOB(0x40010c00); static GPIO_t GPIOC(0x40011000); static GPIO_t GPIOD(0x40011400); +static GPIO_t GPIOE(0x40011800); #elif defined(STM32F3) static GPIO_t GPIOA(0x48000000); static GPIO_t GPIOB(0x48000400); |