32 #define QDEC_CHAN           (2U) 
   51 #ifdef CPU_FAM_STM32F1 
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.