diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-31 17:17:57 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-31 17:17:57 -0400 |
commit | e03d58f4dab4176514924baa3a1ff430bf5819b8 (patch) | |
tree | b5c8269c34ab3bb4da0f7c52dea7049966753fb3 /libmaple/gpio.h | |
parent | 01c38f5567bf624413d901c2b287e63cdccd03a6 (diff) | |
download | librambutan-e03d58f4dab4176514924baa3a1ff430bf5819b8.tar.gz librambutan-e03d58f4dab4176514924baa3a1ff430bf5819b8.zip |
Further wirish portability progress
Sort of ugly changes. Compiles but untested.
Diffstat (limited to 'libmaple/gpio.h')
-rw-r--r-- | libmaple/gpio.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmaple/gpio.h b/libmaple/gpio.h index d1d0050..9099c9b 100644 --- a/libmaple/gpio.h +++ b/libmaple/gpio.h @@ -44,13 +44,13 @@ * - After reset, the alternate functions are not active and IO prts * are set to Input Floating mode */ -#define GPIOA_BASE (GPIO_Port*)0x40010800 -#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 GPIOA_BASE (GPIO_Port*)0x40010800 +#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) |