|
NTC_THERMISTOR Driver 0.1.0
API reference
|
Files | |
| ntc_thermistor.hpp | |
| NTC thermistor driver: the one header to include. | |
| ntc_thermistor_adc_interface.hpp | |
The ADC port of the NTC thermistor driver: the CRTP base and the AdcPort concept. | |
| ntc_thermistor_conversion.hpp | |
From an ADC code to a temperature: the divider, the curve, the bound, and the helpers around them. Pure functions of a Config and a code; no port, no state. | |
| ntc_thermistor_detail.hpp | |
| Compile-time helpers of the NTC_THERMISTOR driver: typed integer literals, exact hook matching and enumeration checks. | |
| ntc_thermistor_kconfig.hpp | |
Optional ESP-IDF layer: a Config built from the CONFIG_NTC_THERMISTOR_* Kconfig options. | |
| ntc_thermistor_math.hpp | |
| Integer arithmetic of the NTC thermistor driver: a binary logarithm, rounded division and saturating multiplication, with no libm and no floating point. | |
| ntc_thermistor_presets.hpp | |
Example curves as data. The driver includes this header nowhere: a preset is a convenience, and a part is added by writing a Curve, never by changing the driver. | |
| ntc_thermistor_types.hpp | |
Public types of the NTC thermistor driver: errors, Result<T>, the curve and the configuration, the reading, and Validate(). | |