Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor.c25 const struct ntc_config ntc_cfg; member
51 if (cfg->ntc_cfg.pullup_mv) { in ntc_thermistor_sample_fetch()
56 data->sample_val_max = cfg->ntc_cfg.pullup_mv; in ntc_thermistor_sample_fetch()
78 ohm = ntc_get_ohm_of_thermistor(&cfg->ntc_cfg, data->sample_val, in ntc_thermistor_channel_get()
80 temp = ntc_get_temp_mc(&cfg->ntc_cfg.type, ohm); in ntc_thermistor_channel_get()
144 .ntc_cfg = \