From f204350c8b4007f78fe27026740d519ab360dedf Mon Sep 17 00:00:00 2001
From: Vegard Storheil Eriksen <zyp@jvnv.net>
Date: Wed, 22 Apr 2015 23:38:31 +0200
Subject: Add InputPull mode for F1.

---
 gpio/gpio.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gpio')

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);
-- 
cgit v1.2.3