GPIO CPU definitions for the STM32 family.
#define QDEC_CHAN
All STM QDEC timers have 2 capture channels.
gpio_af_t
Override alternative GPIO mode options.
uint8_t cc_chan
capture compare channel used
gpio_t pin
GPIO pin mapped to this channel.
Quadrature decoder configuration struct.
uint32_t max
Maximum counter value.
qdec_chan_t chan[QDEC_CHAN]
channel mapping, set to {GPIO_UNDEF, 0} if not used
uint8_t irqn
global IRQ channel
gpio_af_t af
alternate function used
uint32_t rcc_mask
bit in clock enable register
TIM_TypeDef * dev
Timer used.