1 #ifndef STM32F103_LIB_BUTTON_H_
2 #define STM32F103_LIB_BUTTON_H_
13 #if !defined(LIB_USE_BUTTON) || LIB_USE_BUTTON < 1
14 #error "This configuration is not specified to use this library"
15 #endif // !defined(LIB_USE_BUTTON) || LIB_USE_BUTTON < 1
56 std::unique_ptr<GPIO> gpio_ =
nullptr;
std::pair< GPIO_TypeDef *, uint16_t > Pin
Type definition for a single pin.
Definition: util.h:16
HAL implementation for GPIO pins.
Definition: gpio.h:12