Searched refs:tmp112_set_threshold (Results 1 – 1 of 1) sorted by relevance
| /drivers/sensor/ti/tmp112/ |
| A D | tmp112.c | 61 static int tmp112_set_threshold(const struct device *dev, uint8_t reg, int64_t micro_c) in tmp112_set_threshold() function 151 return tmp112_set_threshold(dev, TMP112_REG_TLOW, sensor_value_to_micro(val)); in tmp112_attr_set() 154 return tmp112_set_threshold(dev, TMP112_REG_THIGH, sensor_value_to_micro(val)); in tmp112_attr_set() 222 ret = tmp112_set_threshold(dev, TMP112_REG_TLOW, cfg->t_low_micro_c); in tmp112_init() 228 ret = tmp112_set_threshold(dev, TMP112_REG_THIGH, cfg->t_high_micro_c); in tmp112_init()
|
Completed in 11 milliseconds