/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/ |
D | qdec_nrfx.c | 37 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 …]
|
D | Kconfig | 5 bool "Nordic QDEC nrfx driver" 16 Enable support for nrfx QDEC driver for nRF MCU series.
|
/Zephyr-latest/tests/boards/nrf/qdec/ |
D | testcase.yaml | 18 drivers.sensor.qdec: 22 - qdec 23 drivers.sensor.qdec.pm_runtime: 27 - qdec
|
/Zephyr-latest/samples/sensor/qdec/boards/ |
D | nucleo_f401re.overlay | 11 qdec0 = &qdec; 18 qdec: qdec {
|
/Zephyr-latest/samples/sensor/qdec/ |
D | README.rst | 1 .. zephyr:code-sample:: qdec 34 qdec0 = &qdec; 41 qdec: qdec {
|
/Zephyr-latest/dts/bindings/sensor/ |
D | atmel,sam-tc-qdec.yaml | 3 description: Atmel SAM Timer Counter (TC) QDEC mode 5 compatible: "atmel,sam-tc-qdec"
|
D | nordic,nrf-qdec.yaml | 4 description: Nordic nRF quadrature decoder (QDEC) node 6 compatible: "nordic,nrf-qdec" 26 The enable pin to use, to enable a connected QDEC device
|
D | nxp,s32-qdec.yaml | 7 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.
|
D | nxp,mcux-qdec.yaml | 4 description: NXP MCUX QDEC 6 compatible: "nxp,mcux-qdec"
|
/Zephyr-latest/drivers/sensor/qdec_sam/ |
D | qdec_sam.c | 10 * @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, \
|
D | Kconfig | 8 bool "Atmel SAM QDEC driver"
|
/Zephyr-latest/tests/boards/nrf/qdec/src/ |
D | main.c | 163 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/ |
D | gpio-qdec.yaml | 5 GPIO based QDEC input device 17 qdec { 18 compatible = "gpio-qdec"; 27 compatible: "gpio-qdec"
|
/Zephyr-latest/drivers/sensor/st/qdec_stm32/ |
D | qdec_stm32.c | 10 * @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, \
|
D | Kconfig | 6 bool "STM32 QDEC driver"
|
/Zephyr-latest/boards/native/nrf_bsim/ |
D | nrf5340bsim_nrf5340_cpuapp.dts | 37 /delete-property/ qdec-0; 38 /delete-property/ qdec-1; 77 /delete-node/ qdec@33000; 78 /delete-node/ qdec@34000;
|
D | nrf52_bsim.dts | 33 /delete-property/ qdec-0; 52 /delete-node/ qdec@40012000;
|
D | nrf54l15bsim_nrf54l15_cpuapp.dts | 48 /delete-node/ qdec@e0000; 49 /delete-node/ qdec@e1000;
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.gpio_qdec | 5 bool "GPIO based QDEC input driver"
|
/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/ |
D | Kconfig | 5 bool "NXP QDEC MCUX driver"
|
/Zephyr-latest/boards/atmel/sam/sam_e70_xplained/ |
D | sam_e70_xplained-common.dtsi | 215 qdec0: qdec { 222 qdec1: qdec { 229 qdec2: qdec { 236 qdec3: qdec {
|
/Zephyr-latest/samples/subsys/display/lvgl/boards/ |
D | native_posix.overlay | 15 qdec { 16 compatible = "gpio-qdec";
|
/Zephyr-latest/dts/arm/atmel/ |
D | same70.dtsi | 358 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/ |
D | stm32f4.dtsi | 340 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/ |
D | qdec_nxp_s32.c | 169 /* 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, \
|