Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.c78 int64_t micro_rad = (int64_t)sensor_value_to_micro(val); in gyro_sensor_value_to_q31() local
79 int64_t micro_deg = micro_rad * 180000000LL / SENSOR_PI; in gyro_sensor_value_to_q31()
89 int64_t micro_rad = micro_deg * SENSOR_PI / 180000000LL; in gyro_q31_to_sensor_value() local
91 sensor_value_from_micro(val, micro_rad); in gyro_q31_to_sensor_value()
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
Dfxas21002.c192 int32_t micro_rad; in fxas21002_convert() local
197 micro_rad = (raw * 1091) >> range; in fxas21002_convert()
199 val->val1 = micro_rad / 1000000; in fxas21002_convert()
200 val->val2 = micro_rad % 1000000; in fxas21002_convert()