Quadrature decoder configuration struct. More...
Quadrature decoder configuration struct.
QDEC configuration.
Definition at line 364 of file periph_cpu_common.h.
#include <periph_cpu_common.h>
Data Fields | |
| gpio_t | a_pin | 
| GPIO Pin for phase A.  | |
| gpio_t | b_pin | 
| GPIO Pin for phase B.  | |
| gpio_t | led_pin | 
| LED GPIO, GPIO_UNDEF to disable.  | |
| uint8_t | sample_period | 
| Sample period used, e.g.  More... | |
| bool | debounce_filter | 
| Enable/disable debounce filter.  | |
| 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  | |
| uint8_t qdec_conf_t::sample_period | 
Sample period used, e.g.
QDEC_SAMPLEPER_SAMPLEPER_128us
Definition at line 368 of file periph_cpu_common.h.