nrfx 3.3
Data Fields
nrfy_qdec_config_t Struct Reference

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
 

Detailed Description

QDEC configuration structure.

Field Documentation

◆ dbfen

bool nrfy_qdec_config_t::dbfen

State of debouncing filter.

◆ ledpol

nrf_qdec_ledpol_t nrfy_qdec_config_t::ledpol

Active LED polarity.

◆ ledpre

uint32_t nrfy_qdec_config_t::ledpre

Time (in microseconds) how long LED is switched on before sampling.

◆ pins

nrfy_qdec_pins_t nrfy_qdec_config_t::pins

Pin configuration structure.

◆ reportper

nrf_qdec_reportper_t nrfy_qdec_config_t::reportper

Report period in samples.

◆ sampleper

nrf_qdec_sampleper_t nrfy_qdec_config_t::sampleper

Sampling period in microseconds.

◆ skip_psel_cfg

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.

Note
When both GPIO configuration and pin selection are to be skipped, the structure fields that specify pins can be omitted, as they are ignored anyway.

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

Documentation feedback | Developer Zone | Subscribe | Updated