Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c21 #define FULL_ANGLE 360 macro
24 #define ACC_MAX (INT_MAX / FULL_ANGLE)
25 #define ACC_MIN (INT_MIN / FULL_ANGLE)
94 val->val1 = (acc * FULL_ANGLE) / config->steps; in qdec_nrfx_channel_get()
95 val->val2 = (acc * FULL_ANGLE) - (val->val1 * config->steps); in qdec_nrfx_channel_get()