diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-22 15:30:46 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-26 16:50:31 -0400 |
commit | 30b2d02c01baae1bb21c8e32a2ff646b01c555cb (patch) | |
tree | 0009ac1cb4a94ce86734ee088dd90060fa8256e4 /libmaple | |
parent | 556aea4bc76da127ac2aaf2655af1fe5cbc19bd2 (diff) | |
download | librambutan-30b2d02c01baae1bb21c8e32a2ff646b01c555cb.tar.gz librambutan-30b2d02c01baae1bb21c8e32a2ff646b01c555cb.zip |
stm32f1: gpio.h: Add another hack mode macro.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f1/include/series/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/stm32f1/include/series/gpio.h b/libmaple/stm32f1/include/series/gpio.h index 2f96a08..aecf911 100644 --- a/libmaple/stm32f1/include/series/gpio.h +++ b/libmaple/stm32f1/include/series/gpio.h @@ -137,6 +137,7 @@ typedef enum gpio_pin_mode { /* Hacks for F2: */ #define GPIO_MODE_ANALOG GPIO_INPUT_ANALOG +#define GPIO_MODE_OUTPUT GPIO_OUTPUT_PP /* * AFIO register map |