Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/nrf/qdec/src/
Dmain.c20 .chan = SENSOR_CHAN_ROTATION};
118 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val); in qenc_emulate_verify_reading()
134 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val); in qenc_emulate_verify_reading()
213 qdec_trigger.chan = SENSOR_CHAN_ROTATION; in ZTEST()
228 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val); in ZTEST()
257 qdec_trigger.chan = SENSOR_CHAN_ROTATION; in ZTEST()
320 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val); in ZTEST()
330 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val); in ZTEST()
364 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val_first); in ZTEST()
371 rc = sensor_channel_get(qdec_dev, SENSOR_CHAN_ROTATION, &val_second); in ZTEST()
[all …]
/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/
Dqdec_mcux.c48 if (ch != SENSOR_CHAN_ROTATION) { in qdec_mcux_attr_set()
76 if (ch != SENSOR_CHAN_ROTATION) { in qdec_mcux_attr_get()
116 case SENSOR_CHAN_ROTATION: in qdec_mcux_ch_get()
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
Dqdec_stm32.c50 if ((chan != SENSOR_CHAN_ALL) && (chan != SENSOR_CHAN_ROTATION)) { in qdec_stm32_fetch()
69 if (chan == SENSOR_CHAN_ROTATION) { in qdec_stm32_get()
/Zephyr-latest/drivers/sensor/espressif/pcnt_esp32/
Dpcnt_esp32.c86 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_ROTATION) { in pcnt_esp32_sample_fetch()
112 if (chan == SENSOR_CHAN_ROTATION) { in pcnt_esp32_channel_get()
233 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_ROTATION) { in pcnt_esp32_attr_set()
255 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_ROTATION) { in pcnt_esp32_attr_get()
333 if ((trig->chan != SENSOR_CHAN_ALL) && (trig->chan != SENSOR_CHAN_ROTATION)) { in pcnt_esp32_trigger_set()
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c69 if ((chan != SENSOR_CHAN_ALL) && (chan != SENSOR_CHAN_ROTATION)) { in qdec_nrfx_sample_fetch()
101 if (chan != SENSOR_CHAN_ROTATION) { in qdec_nrfx_channel_get()
131 (trig->chan != SENSOR_CHAN_ROTATION)) { in qdec_nrfx_trigger_set()
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c102 rc = sensor_channel_get(dev, SENSOR_CHAN_ROTATION, &val);
/Zephyr-latest/drivers/sensor/ams/ams_as5600/
Dams_as5600.c60 if (chan == SENSOR_CHAN_ROTATION) { in as5600_get()
/Zephyr-latest/drivers/sensor/qdec_sam/
Dqdec_sam.c56 if (chan == SENSOR_CHAN_ROTATION) { in qdec_sam_get()
/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170.c327 case SENSOR_CHAN_ROTATION: in tmag5170_sample_fetch()
429 case SENSOR_CHAN_ROTATION: in tmag5170_channel_get()
/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.c611 case SENSOR_CHAN_ROTATION: in tmag5273_sample_fetch()
736 if (all_angle_magnitude || (chan == SENSOR_CHAN_ROTATION)) { in tmag5273_sample_fetch()
868 if (all_calc_ch || ((uint16_t)chan == SENSOR_CHAN_ROTATION)) { in tmag5273_channel_get()
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
Dqdec_nxp_s32.c116 case SENSOR_CHAN_ROTATION: in qdec_s32_ch_get()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h145 SENSOR_CHAN_ROTATION, enumerator
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c85 [SENSOR_CHAN_ROTATION] = "rotation",