Searched refs:SENSOR_CHAN_ROTATION (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/tests/boards/nrf/qdec/src/ |
D | main.c | 20 .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/ |
D | qdec_mcux.c | 48 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/ |
D | qdec_stm32.c | 50 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/ |
D | pcnt_esp32.c | 86 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/ |
D | qdec_nrfx.c | 69 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/ |
D | main.c | 102 rc = sensor_channel_get(dev, SENSOR_CHAN_ROTATION, &val);
|
/Zephyr-latest/drivers/sensor/ams/ams_as5600/ |
D | ams_as5600.c | 60 if (chan == SENSOR_CHAN_ROTATION) { in as5600_get()
|
/Zephyr-latest/drivers/sensor/qdec_sam/ |
D | qdec_sam.c | 56 if (chan == SENSOR_CHAN_ROTATION) { in qdec_sam_get()
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170.c | 327 case SENSOR_CHAN_ROTATION: in tmag5170_sample_fetch() 429 case SENSOR_CHAN_ROTATION: in tmag5170_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/tmag5273/ |
D | tmag5273.c | 611 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/ |
D | qdec_nxp_s32.c | 116 case SENSOR_CHAN_ROTATION: in qdec_s32_ch_get()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 145 SENSOR_CHAN_ROTATION, enumerator
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 85 [SENSOR_CHAN_ROTATION] = "rotation",
|