|
stm32f103
|
#include <cstdint>#include <utility>#include <stm32f10x_gpio.h>

Go to the source code of this file.
Typedefs | |
| using | Pin = std::pair< GPIO_TypeDef *, uint16_t > |
| Type definition for a single pin. More... | |
| using Pin = std::pair<GPIO_TypeDef*, uint16_t> |
Type definition for a single pin.
You can initialize a pin using `` Pin myPin{ GPIOA, GPIO_Pin_1 } ``` For more pin definitions you may refer to stm32f10x_gpio.h