qdec_conf_t Struct Reference

QDEC configuration. More...

Detailed Description

QDEC configuration.

Definition at line 511 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

TIM_TypeDef * dev
 Timer used.
uint32_t max
 Maximum counter value.
uint32_t rcc_mask
 bit in clock enable register
qdec_chan_t chan [QDEC_CHAN]
 channel mapping, set to {GPIO_UNDEF, 0} if not used
gpio_af_t af
 alternate function used
uint8_t bus
 APB bus.
uint8_t irqn
 global IRQ channel

The documentation for this struct was generated from the following file: