QDEC configuration structure. More...
#include <nrfy_qdec.h>
Data Fields | |
nrf_qdec_reportper_t | reportper |
nrf_qdec_sampleper_t | sampleper |
nrfy_qdec_pins_t | pins |
uint32_t | ledpre |
nrf_qdec_ledpol_t | ledpol |
bool | dbfen |
bool | skip_psel_cfg |
QDEC configuration structure.
bool nrfy_qdec_config_t::dbfen |
State of debouncing filter.
nrf_qdec_ledpol_t nrfy_qdec_config_t::ledpol |
Active LED polarity.
uint32_t nrfy_qdec_config_t::ledpre |
Time (in microseconds) how long LED is switched on before sampling.
nrfy_qdec_pins_t nrfy_qdec_config_t::pins |
Pin configuration structure.
nrf_qdec_reportper_t nrfy_qdec_config_t::reportper |
Report period in samples.
nrf_qdec_sampleper_t nrfy_qdec_config_t::sampleper |
Sampling period in microseconds.
bool nrfy_qdec_config_t::skip_psel_cfg |
Skip pin selection configuration. When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.