Zephyr's NTC thermistor driver reads the ADC on demand, which is not possible while the ADC is continuously sampled by the DAQ driver. The new sensor driver calculates the temperature from the filtered reading of a DAQ channel using the beta equation. The DAQ channel is referenced via phandle, the pull-up resistor, the nominal resistance and the beta value are configured in the devicetree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
370 B
Plaintext
12 lines
370 B
Plaintext
# Copyright (c) The Libre Solar Project Contributors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config DAQ_NTC_THERMISTOR
|
|
bool "NTC thermistor measured via DAQ"
|
|
default y
|
|
depends on DT_HAS_LIBRESOLAR_DAQ_NTC_THERMISTOR_ENABLED
|
|
depends on DAQ
|
|
help
|
|
Enable driver for NTC thermistors measured via a channel of the data acquisition (DAQ)
|
|
driver.
|