Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170.c219 uint16_t max_range_mt = 0U; in tmag5170_convert_magn_reading_to_gauss() local
222 max_range_mt = 50U; in tmag5170_convert_magn_reading_to_gauss()
224 max_range_mt = 25U; in tmag5170_convert_magn_reading_to_gauss()
226 max_range_mt = 100U; in tmag5170_convert_magn_reading_to_gauss()
232 max_range_mt *= TMAG5170_MAX_RANGE_EXTEND_FACTOR; in tmag5170_convert_magn_reading_to_gauss()
235 max_range_mt *= 2U; in tmag5170_convert_magn_reading_to_gauss()
238 uint32_t max_range_gauss = max_range_mt * TMAG5170_MT_TO_GAUSS_RATIO; in tmag5170_convert_magn_reading_to_gauss()