417 float r_measurement_noise_covariance,
418 float p_estimation_error_covariance,
419 float x_estimated_value)
432 q_process_noise_covariance,
433 r_measurement_noise_covariance,
434 p_estimation_error_covariance,
driver ntc basic header file
uint8_t ntc_read_temperature(ntc_handle_t *handle, float *ohm, float *degrees_celsius)
read temperature
uint8_t ntc_set_algorithm_steinhart_hart(ntc_handle_t *handle, double a, double b, double c)
set algorithm steinhart hart
uint8_t ntc_set_circuit(ntc_handle_t *handle, ntc_circuit_t circuit)
set circuit
uint8_t ntc_load_algorithm_lookup_table(ntc_handle_t *handle, const ntc_table_t *table, uint16_t table_len)
load algorithm lookup table
uint8_t ntc_set_algorithm(ntc_handle_t *handle, ntc_algorithm_t algorithm)
set algorithm
uint8_t ntc_set_algorithm_beta_formula_r25_ohm(ntc_handle_t *handle, float r25_ohm)
set algorithm beta formula r25 ohm
uint8_t ntc_init(ntc_handle_t *handle)
initialize the chip
ntc_circuit_t
ntc circuit enumeration definition
uint8_t ntc_calculate_temperature_with_filter(ntc_handle_t *handle, float *ohm, uint16_t len, float *degrees_celsius)
calculate temperature with filter
uint8_t ntc_set_algorithm_beta_formula_beta_value(ntc_handle_t *handle, float beta)
set algorithm beta formula beta value
struct ntc_handle_s ntc_handle_t
ntc handle structure definition
uint8_t ntc_deinit(ntc_handle_t *handle)
close the chip
struct ntc_table_s ntc_table_t
ntc table structure definition
uint8_t ntc_calculate_temperature(ntc_handle_t *handle, float ohm, float *degrees_celsius)
calculate temperature
uint8_t ntc_set_circuit_fixed_resistor(ntc_handle_t *handle, float r_fixed_ohm)
set circuit fixed resistor
@ NTC_FILTER_ANTI_SPIKE_AVERAGE
@ NTC_FILTER_FIRST_ORDER_LAG
@ NTC_FILTER_MOVING_AVERAGE
@ NTC_FILTER_WEIGHTED_MOVING_AVERAGE
@ NTC_ALGORITHM_LOOKUP_TABLE
@ NTC_ALGORITHM_BETA_FORMULA
@ NTC_ALGORITHM_STEINHART_HART
uint8_t ntc_basic_set_filter_none(void)
basic example set filter none
uint8_t ntc_basic_reset_filter(void)
basic example reset filter
uint8_t ntc_basic_set_filter_anti_spike_average(uint16_t length)
basic example set filter anti spike average
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_init(ntc_circuit_t circuit, float r_fixed_ohm)
basic example init
uint8_t ntc_basic_read(float *degrees_celsius)
basic example read
uint8_t ntc_basic_set_filter_limiting(float degrees_celsius)
basic example set filter limiting
uint8_t ntc_basic_deinit(void)
basic example deinit
uint8_t ntc_basic_set_algorithm_steinhart_hart(double a, double b, double c)
basic example set algorithm steinhart hart
uint8_t ntc_basic_calculate_temperature_with_filter(float *ohm, uint16_t len, float *degrees_celsius)
basic calculate temperature with filter
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_set_filter_moving_average(uint16_t length)
basic example set filter moving average
uint8_t ntc_basic_set_filter_first_order_lag(float alpha)
basic example set filter first order lag
uint8_t ntc_basic_set_algorithm_beta_formula(float beta, float r25_ohm)
basic example set algorithm beta formula
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_median(uint16_t length)
basic example set filter median
uint8_t ntc_basic_calculate_temperature(float ohm, float *degrees_celsius)
basic calculate temperature
uint8_t ntc_set_filter_first_order_lag(ntc_handle_t *handle, float alpha)
set filter first order lag
uint8_t ntc_set_filter_moving_average_length(ntc_handle_t *handle, uint16_t length)
set filter moving average length
uint8_t ntc_set_filter_limiting(ntc_handle_t *handle, float degrees_celsius)
set filter limiting
uint8_t ntc_set_filter_median_length(ntc_handle_t *handle, uint16_t length)
set filter median length
uint8_t ntc_reset_filter(ntc_handle_t *handle)
reset the filter
uint8_t ntc_set_filter_anti_spike_average_length(ntc_handle_t *handle, uint16_t length)
set filter anti spike average length
uint8_t ntc_set_filter(ntc_handle_t *handle, ntc_filter_t filter)
set filter
uint8_t ntc_set_filter_kalman(ntc_handle_t *handle, float q_process_noise_covariance, float r_measurement_noise_covariance, float p_estimation_error_covariance, float x_estimated_value)
set filter kalman
uint8_t ntc_set_filter_weighted_moving_average_length(ntc_handle_t *handle, float *weight, uint16_t length)
set filter weighted moving average length
uint8_t ntc_interface_adc_init(uint32_t *vcc_counter)
interface adc init
uint8_t ntc_interface_adc_deinit(void)
interface adc deinit
uint8_t ntc_interface_adc_read(uint32_t *counter, uint16_t len)
interface adc read
void ntc_interface_debug_print(const char *const fmt,...)
interface print format data
void ntc_interface_delay_ms(uint32_t ms)
interface delay ms
#define DRIVER_NTC_LINK_ADC_DEINIT(HANDLE, FUC)
link adc_deinit function
#define DRIVER_NTC_LINK_ADC_INIT(HANDLE, FUC)
link adc_init function
#define DRIVER_NTC_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_NTC_LINK_INIT(HANDLE, STRUCTURE)
initialize ntc_handle_t structure
#define DRIVER_NTC_LINK_ADC_READ(HANDLE, FUC)
link adc_read function
#define DRIVER_NTC_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function