|
NTC Thermistor Driver
API reference
|
Lookup table implementation for NTC thermistor temperature conversion. More...
#include "ntc_lookup_table.hpp"#include "ntc_types.hpp"#include <algorithm>#include <array>#include <cmath>Namespaces | |
| namespace | NTC |
Functions | |
| const ntc_lookup_table_t * | NTC::GetNtcLookupTable (int ntc_type) noexcept |
| Get lookup table for NTC type. | |
| bool | NTC::FindTemperatureFromLookupTable (const ntc_lookup_table_t *table, float resistance_ohms, float *temperature_celsius) noexcept |
| Find temperature using lookup table. | |
| bool | NTC::FindResistanceFromLookupTable (const ntc_lookup_table_t *table, float temperature_celsius, float *resistance_ohms) noexcept |
| Find resistance using lookup table. | |
| bool | NTC::InterpolateLookupEntries (const ntc_lookup_entry_t &entry1, const ntc_lookup_entry_t &entry2, float resistance_ohms, float *temperature_celsius) noexcept |
| Interpolate between two lookup table entries. | |
| bool | NTC::BinarySearchLookupTable (const ntc_lookup_table_t *table, float resistance_ohms, size_t *lower_index, size_t *upper_index) noexcept |
| Binary search in lookup table. | |
| bool | NTC::ValidateLookupTable (const ntc_lookup_table_t *table) noexcept |
| Validate lookup table. | |
| void | NTC::GetLookupTableStats (const ntc_lookup_table_t *table, float *min_resistance, float *max_resistance, float *min_temperature, float *max_temperature, size_t *entry_count) noexcept |
| Get lookup table statistics. | |
| const ntc_lookup_table_t * | NTC::GetNtcG163Jft103Ft1sLookupTable () noexcept |
| Get NTCG163JFT103FT1S lookup table. | |
| const ntc_lookup_table_t * | NTC::GetNtcG164Jf103Ft1sLookupTable () noexcept |
| Get NTCG164JF103FT1S lookup table. | |
| const ntc_lookup_table_t * | NTC::GetNtcG163Jf103Ft1sLookupTable () noexcept |
| Get NTCG163JF103FT1S lookup table. | |
Lookup table implementation for NTC thermistor temperature conversion.