21#ifndef PERIPH_CPU_QDEC_H
22#define PERIPH_CPU_QDEC_H
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.
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.