Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170.c215 uint16_t chan_reading, in tmag5170_convert_magn_reading_to_gauss() argument
241 int64_t result = chan_reading - ((chan_reading & 0x8000) << 1); in tmag5170_convert_magn_reading_to_gauss()
259 uint16_t chan_reading) in tmag5170_convert_temp_reading_to_celsius() argument
261 int32_t result = chan_reading - TMAG5170_T_ADC_T0; in tmag5170_convert_temp_reading_to_celsius()
270 uint16_t chan_reading) in tmag5170_covert_angle_reading_to_degrees() argument
275 output->val1 = chan_reading >> 4; in tmag5170_covert_angle_reading_to_degrees()
276 output->val2 = ((chan_reading & 0xF) * 1000000) / 16; in tmag5170_covert_angle_reading_to_degrees()