1# Copyright (c) 2022 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: Generic NTC Thermistor 5 6include: [sensor-device.yaml] 7 8properties: 9 io-channels: 10 required: true 11 description: | 12 ADC IO channel connected to this NTC thermistor. 13 14 pullup-uv: 15 type: int 16 description: | 17 The pullup voltage microvoltage in the circuit. 18 If not specified, it is assumed that the pullup voltage is VDD. Therefore, 19 the specified ADC IO channel must be configured so that VDD is used as the 20 reference voltage. 21 22 pullup-ohm: 23 type: int 24 description: | 25 The pullup resistance in the circuit. 26 27 pulldown-ohm: 28 type: int 29 description: | 30 The pulldown resistance in the circuit. 31 32 connected-positive: 33 type: boolean 34 description: | 35 Indicates how the thermistor is connected in series with a pull-up and/or 36 a pull-down resistor. If this flag is NOT specified, the thermistor is 37 assumed to be connected-ground, which usually means a pull-down resistance 38 of zero but complex arrangements are possible. 39