Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor_calc.c64 int sample_value_max) in ntc_get_ohm_of_thermistor() argument
72 if (sample_value >= sample_value_max) { in ntc_get_ohm_of_thermistor()
77 ohm = cfg->pulldown_ohm * (sample_value_max - sample_value) / sample_value; in ntc_get_ohm_of_thermistor()
79 ohm = cfg->pullup_ohm * sample_value / (sample_value_max - sample_value); in ntc_get_ohm_of_thermistor()
Dntc_thermistor.h51 int sample_value_max);