Home
last modified time | relevance | path

Searched refs:qdec_config (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/
Dqdec_mcux.c31 enc_config_t qdec_config; member
61 data->qdec_config.decoderWorkMode = in qdec_mcux_attr_set()
85 val->val1 = data->qdec_config.decoderWorkMode == in qdec_mcux_attr_get()
190 ENC_GetDefaultConfig(&data->qdec_config); \
191 data->qdec_config.decoderWorkMode = int_to_work_mode( \
193 QDEC_SET_COND(n, data->qdec_config.filterCount, filter_count); \
194 QDEC_SET_COND(n, data->qdec_config.filterSamplePeriod, \
197 "periods", data->qdec_config.filterSamplePeriod * \
198 (data->qdec_config.filterCount + 3)); \
199 ENC_Init(config->base, &data->qdec_config); \