Home
last modified time | relevance | path

Searched full:qdec (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c37 nrfx_qdec_t qdec; member
73 nrfx_qdec_accumulators_read(&config->qdec, &acc, &accdbl); in qdec_nrfx_sample_fetch()
199 nrfx_qdec_disable(&config->qdec); in qdec_pm_suspend()
211 nrfx_qdec_enable(&config->qdec); in qdec_pm_resume()
241 nerr = nrfx_qdec_init(&config->qdec, &config->config, qdec_nrfx_event_handler, (void *)dev); in qdec_nrfx_init()
255 #define QDEC(idx) DT_NODELABEL(qdec##idx) macro
256 #define QDEC_PROP(idx, prop) DT_PROP(QDEC(idx), prop)
259 NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP(QDEC(idx)); \
261 "Wrong QDEC"#idx" steps setting in dts. Only positive number valid"); \
263 "Wrong QDEC"#idx" steps setting in dts. Overflow possible"); \
[all …]
DKconfig5 bool "Nordic QDEC nrfx driver"
16 Enable support for nrfx QDEC driver for nRF MCU series.
/Zephyr-latest/tests/boards/nrf/qdec/
Dtestcase.yaml18 drivers.sensor.qdec:
22 - qdec
23 drivers.sensor.qdec.pm_runtime:
27 - qdec
/Zephyr-latest/samples/sensor/qdec/boards/
Dnucleo_f401re.overlay11 qdec0 = &qdec;
18 qdec: qdec {
/Zephyr-latest/samples/sensor/qdec/
DREADME.rst1 .. zephyr:code-sample:: qdec
34 qdec0 = &qdec;
41 qdec: qdec {
/Zephyr-latest/dts/bindings/sensor/
Datmel,sam-tc-qdec.yaml3 description: Atmel SAM Timer Counter (TC) QDEC mode
5 compatible: "atmel,sam-tc-qdec"
Dnordic,nrf-qdec.yaml4 description: Nordic nRF quadrature decoder (QDEC) node
6 compatible: "nordic,nrf-qdec"
26 The enable pin to use, to enable a connected QDEC device
Dnxp,s32-qdec.yaml7 The sensor qdec application can be used for testing this driver.
15 compatible = "nxp,qdec-s32";
43 compatible: "nxp,qdec-s32"
112 This is the array containing 2 emios channel TypeG numbers used by the qdec.
Dnxp,mcux-qdec.yaml4 description: NXP MCUX QDEC
6 compatible: "nxp,mcux-qdec"
/Zephyr-latest/drivers/sensor/qdec_sam/
Dqdec_sam.c10 * @brief Atmel SAM MCU family Quadrature Decoder (QDEC/TC) driver.
86 /* Enable QDEC in Position Mode*/ in qdec_sam_configure()
127 static const struct qdec_sam_dev_cfg qdec##n##_sam_config = { \
133 static struct qdec_sam_dev_data qdec##n##_sam_data; \
136 &qdec##n##_sam_data, &qdec##n##_sam_config, \
DKconfig8 bool "Atmel SAM QDEC driver"
/Zephyr-latest/tests/boards/nrf/qdec/src/
Dmain.c163 zassert_true(rc == 0, "qdec handler should be triggered (%d)", rc); in ZTEST()
176 zassert_true(rc == -EAGAIN, "qdec handler should not be triggered (%d)", rc); in ZTEST()
190 zassert_true(rc == -EAGAIN, "qdec handler should not be triggered (%d)", rc); in ZTEST()
223 zassert_true(rc == 0, "qdec handler should be triggered (%d)", rc); in ZTEST()
231 TC_PRINT("QDEC reading: %d\n", val.val1); in ZTEST()
232 zassert_true(val.val1 != 0, "No readings from QDEC"); in ZTEST()
274 * @brief QDEC readings tests
276 * Valid reading from QDEC base on simulated signal
299 * Confirm getting empty reading from QDEC
343 * Confirm getting readings from QDEC
[all …]
/Zephyr-latest/dts/bindings/input/
Dgpio-qdec.yaml5 GPIO based QDEC input device
17 qdec {
18 compatible = "gpio-qdec";
27 compatible: "gpio-qdec"
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
Dqdec_stm32.c10 * @brief STM32 family Quadrature Decoder (QDEC) driver.
149 static const struct qdec_stm32_dev_cfg qdec##n##_stm32_config = { \
160 static struct qdec_stm32_dev_data qdec##n##_stm32_data; \
162 SENSOR_DEVICE_DT_INST_DEFINE(n, qdec_stm32_initialize, NULL, &qdec##n##_stm32_data, \
163 &qdec##n##_stm32_config, POST_KERNEL, \
DKconfig6 bool "STM32 QDEC driver"
/Zephyr-latest/boards/native/nrf_bsim/
Dnrf5340bsim_nrf5340_cpuapp.dts37 /delete-property/ qdec-0;
38 /delete-property/ qdec-1;
77 /delete-node/ qdec@33000;
78 /delete-node/ qdec@34000;
Dnrf52_bsim.dts33 /delete-property/ qdec-0;
52 /delete-node/ qdec@40012000;
Dnrf54l15bsim_nrf54l15_cpuapp.dts48 /delete-node/ qdec@e0000;
49 /delete-node/ qdec@e1000;
/Zephyr-latest/drivers/input/
DKconfig.gpio_qdec5 bool "GPIO based QDEC input driver"
/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/
DKconfig5 bool "NXP QDEC MCUX driver"
/Zephyr-latest/boards/atmel/sam/sam_e70_xplained/
Dsam_e70_xplained-common.dtsi215 qdec0: qdec {
222 qdec1: qdec {
229 qdec2: qdec {
236 qdec3: qdec {
/Zephyr-latest/samples/subsys/display/lvgl/boards/
Dnative_posix.overlay15 qdec {
16 compatible = "gpio-qdec";
/Zephyr-latest/dts/arm/atmel/
Dsame70.dtsi358 qdec {
359 compatible = "atmel,sam-tc-qdec";
375 qdec {
376 compatible = "atmel,sam-tc-qdec";
392 qdec {
393 compatible = "atmel,sam-tc-qdec";
409 qdec {
410 compatible = "atmel,sam-tc-qdec";
/Zephyr-latest/dts/arm/st/f4/
Dstm32f4.dtsi340 qdec {
341 compatible = "st,stm32-qdec";
368 qdec {
369 compatible = "st,stm32-qdec";
396 qdec {
397 compatible = "st,stm32-qdec";
424 qdec {
425 compatible = "st,stm32-qdec";
452 qdec {
453 compatible = "st,stm32-qdec";
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
Dqdec_nxp_s32.c169 /* Initialize the positions of the eMios hw channels used for QDEC in qdec_s32_initialize()
170 * to be beyond the eMios pwm hw channels. Currently only pwm and qdec in qdec_s32_initialize()
171 * are using the eMios channels so qdec ones are the last two. in qdec_s32_initialize()
208 static void qdec##n##_emios_overflow_count_cw_callback(void) \
213 static void qdec##n##_emios_overflow_count_ccw_callback(void) \
443 .emios_cw_overflow_cb = &qdec##n##_emios_overflow_count_cw_callback, \
444 .emios_ccw_overflow_cb = &qdec##n##_emios_overflow_count_ccw_callback, \

123