![]() |
LibDriver NTC
|
driver ntc basic source file More...
#include "driver_ntc_basic.h"Go to the source code of this file.
Functions | |
| uint8_t | ntc_basic_init (ntc_circuit_t circuit, float r_fixed_ohm) |
| basic example init | |
| uint8_t | ntc_basic_deinit (void) |
| basic example deinit | |
| uint8_t | ntc_basic_set_algorithm_beta_formula (float beta, float r25_ohm) |
| basic example set algorithm beta formula | |
| uint8_t | ntc_basic_set_algorithm_steinhart_hart (double a, double b, double c) |
| basic example set algorithm steinhart hart | |
| uint8_t | ntc_basic_set_algorithm_lookup_table (const ntc_table_t *table, uint16_t table_len) |
| basic example set algorithm lookup table | |
| uint8_t | ntc_basic_set_filter_none (void) |
| basic example set filter none | |
| uint8_t | ntc_basic_set_filter_first_order_lag (float alpha) |
| basic example set filter first order lag | |
| uint8_t | ntc_basic_set_filter_median (uint16_t length) |
| basic example set filter median | |
| uint8_t | ntc_basic_set_filter_anti_spike_average (uint16_t length) |
| basic example set filter anti spike average | |
| uint8_t | ntc_basic_set_filter_moving_average (uint16_t length) |
| basic example set filter moving average | |
| uint8_t | ntc_basic_set_filter_weighted_moving_average (float *weight, uint16_t length) |
| basic example set filter weighted moving average | |
| uint8_t | ntc_basic_set_filter_limiting (float degrees_celsius) |
| basic example set filter limiting | |
| uint8_t | ntc_basic_set_filter_kalman (float q_process_noise_covariance, float r_measurement_noise_covariance, float p_estimation_error_covariance, float x_estimated_value) |
| basic example set filter kalman | |
| uint8_t | ntc_basic_reset_filter (void) |
| basic example reset filter | |
| uint8_t | ntc_basic_read (float *degrees_celsius) |
| basic example read | |
| uint8_t | ntc_basic_calculate_temperature (float ohm, float *degrees_celsius) |
| basic calculate temperature | |
| uint8_t | ntc_basic_calculate_temperature_with_filter (float *ohm, uint16_t len, float *degrees_celsius) |
| basic calculate temperature with filter | |
driver ntc basic source file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2026/05/31 | 1.0 | Shifeng Li | first upload |
Definition in file driver_ntc_basic.c.