stm32f103
|
Configuration for an individual GPIO pin. More...
#include <gpio.h>
Public Attributes | |
Pin | pin |
GPIO Pin to enable and initialize. More... | |
GPIOMode_TypeDef | mode |
GPIO Mode. More... | |
GPIOSpeed_TypeDef | speed = GPIO_Speed_50MHz |
GPIO output maximum frequency. More... | |
uint32_t | rcc = 0 |
Reset and Clock Control (RCC). More... | |
Configuration for an individual GPIO pin.
GPIOMode_TypeDef GPIO::Config::mode |
GPIO Mode.
See documentation for GPIOMode_TypeDef.
uint32_t GPIO::Config::rcc = 0 |
Reset and Clock Control (RCC).
Extra RCC configurations you want to enable eg. RCC_APB2Periph_AFIO
Refer to stm32f10x_rcc.h for more RCC definitions.
GPIOSpeed_TypeDef GPIO::Config::speed = GPIO_Speed_50MHz |
GPIO output maximum frequency.
See documentation for GPIOSpeed_TypeDef.