Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605_setup.c51 int icm42605_set_odr(const struct device *dev, uint16_t a_rate, uint16_t g_rate) in icm42605_set_odr() argument
57 if (a_rate > 8000 || g_rate > 8000 || in icm42605_set_odr()
58 a_rate < 1 || g_rate < 12) { in icm42605_set_odr()
71 if (a_rate > 4000) { in icm42605_set_odr()
73 } else if (a_rate > 2000) { in icm42605_set_odr()
75 } else if (a_rate > 1000) { in icm42605_set_odr()
77 } else if (a_rate > 500) { in icm42605_set_odr()
79 } else if (a_rate > 200) { in icm42605_set_odr()
81 } else if (a_rate > 100) { in icm42605_set_odr()
83 } else if (a_rate > 50) { in icm42605_set_odr()
[all …]
Dicm42605_setup.h17 int icm42605_set_odr(const struct device *dev, int a_rate, int g_rate);