Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1244 int64_t micro_rad_s = rad->val1 * 1000000LL + rad->val2; in sensor_rad_to_degrees() local
1246 if (micro_rad_s > 0) { in sensor_rad_to_degrees()
1247 return (micro_rad_s * 180LL + SENSOR_PI / 2) / SENSOR_PI; in sensor_rad_to_degrees()
1249 return (micro_rad_s * 180LL - SENSOR_PI / 2) / SENSOR_PI; in sensor_rad_to_degrees()
1278 int64_t micro_rad_s = rad->val1 * 1000000LL + rad->val2; in sensor_rad_to_10udegrees() local
1280 return (micro_rad_s * 180LL * 100000LL) / SENSOR_PI; in sensor_rad_to_10udegrees()