Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.c25 static const uint16_t iis2iclx_odr_map[] = {0, 12, 26, 52, 104, 208, 416, 833, variable
32 for (i = 0; i < ARRAY_SIZE(iis2iclx_odr_map); i++) { in iis2iclx_freq_to_odr_val()
33 if (freq <= iis2iclx_odr_map[i]) { in iis2iclx_freq_to_odr_val()
44 if (odr < ARRAY_SIZE(iis2iclx_odr_map)) { in iis2iclx_odr_to_freq_val()
45 return iis2iclx_odr_map[odr]; in iis2iclx_odr_to_freq_val()
49 return iis2iclx_odr_map[ARRAY_SIZE(iis2iclx_odr_map) - 1]; in iis2iclx_odr_to_freq_val()