|
NTC Thermistor Driver
API reference
|
NTC thermistor reading structure. More...
#include <ntc_types.hpp>
Public Attributes | |
| float | temperature_celsius |
| Temperature in Celsius. | |
| float | temperature_fahrenheit |
| Temperature in Fahrenheit. | |
| float | temperature_kelvin |
| Temperature in Kelvin. | |
| float | resistance_ohms |
| Thermistor resistance (ohms) | |
| float | voltage_volts |
| Voltage across thermistor (V) | |
| uint32_t | adc_raw_value |
| Raw ADC value. | |
| uint64_t | timestamp_us |
| Timestamp (microseconds) | |
| NtcError | error |
| Error code. | |
| bool | is_valid |
| Whether reading is valid. | |
| float | accuracy_celsius |
| Estimated accuracy (°C) | |
NTC thermistor reading structure.
Complete temperature reading information including all temperature units, raw ADC values, resistance, voltage, and error status.
| float ntc_reading_t::accuracy_celsius |
Estimated accuracy (°C)
| uint32_t ntc_reading_t::adc_raw_value |
Raw ADC value.
| NtcError ntc_reading_t::error |
Error code.
| bool ntc_reading_t::is_valid |
Whether reading is valid.
| float ntc_reading_t::resistance_ohms |
Thermistor resistance (ohms)
| float ntc_reading_t::temperature_celsius |
Temperature in Celsius.
| float ntc_reading_t::temperature_fahrenheit |
Temperature in Fahrenheit.
| float ntc_reading_t::temperature_kelvin |
Temperature in Kelvin.
| uint64_t ntc_reading_t::timestamp_us |
Timestamp (microseconds)
| float ntc_reading_t::voltage_volts |
Voltage across thermistor (V)