diff options
Diffstat (limited to 'libmaple/stm32f1/include')
-rw-r--r-- | libmaple/stm32f1/include/series/gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/stm32f1/include/series/gpio.h b/libmaple/stm32f1/include/series/gpio.h index ec4a39c..2f96a08 100644 --- a/libmaple/stm32f1/include/series/gpio.h +++ b/libmaple/stm32f1/include/series/gpio.h @@ -135,6 +135,9 @@ typedef enum gpio_pin_mode { GPIO_INPUT_PU, /* (treated a special case, for ODR twiddling) */ } gpio_pin_mode; +/* Hacks for F2: */ +#define GPIO_MODE_ANALOG GPIO_INPUT_ANALOG + /* * AFIO register map */ |