![]() |
LibDriver NTC
|
ntc handle structure definition More...
#include <driver_ntc.h>
Data Fields | |
| uint8_t(* | adc_init )(uint32_t *vcc_counter) |
| uint8_t(* | adc_deinit )(void) |
| uint8_t(* | adc_read )(uint32_t *counter, uint16_t len) |
| void(* | delay_ms )(uint32_t ms) |
| void(* | debug_print )(const char *const fmt,...) |
| uint8_t | inited |
| uint8_t | circuit |
| uint32_t | vcc_counter |
| float | r_fixed_ohm |
| uint8_t | algorithm |
| float | beta |
| float | r25_ohm |
| double | a |
| double | b |
| double | c |
| const ntc_table_t * | table |
| uint16_t | table_len |
| uint8_t | filter |
| uint32_t | buf [NTC_FILTER_BUFFER_SIZE] |
| float | buf_flt [NTC_FILTER_BUFFER_SIZE] |
| float | cache_flt [NTC_FILTER_BUFFER_SIZE] |
| float | param_flt [NTC_FILTER_BUFFER_SIZE] |
| uint16_t | filter_len |
| uint16_t | filter_pointer |
ntc handle structure definition
Definition at line 113 of file driver_ntc.h.
| double a |
stein-hart hart a
Definition at line 127 of file driver_ntc.h.
| uint8_t(* adc_deinit) (void) |
pointer to an adc_deinit function address
Definition at line 116 of file driver_ntc.h.
| uint8_t(* adc_init) (uint32_t *vcc_counter) |
pointer to an adc_init function address
Definition at line 115 of file driver_ntc.h.
| uint8_t(* adc_read) (uint32_t *counter, uint16_t len) |
pointer to an adc_read function address
Definition at line 117 of file driver_ntc.h.
| uint8_t algorithm |
algorithm
Definition at line 124 of file driver_ntc.h.
| double b |
stein-hart hart b
Definition at line 128 of file driver_ntc.h.
| float beta |
beta formula beta value of ntc
Definition at line 125 of file driver_ntc.h.
| uint32_t buf[NTC_FILTER_BUFFER_SIZE] |
buffer
Definition at line 133 of file driver_ntc.h.
| float buf_flt[NTC_FILTER_BUFFER_SIZE] |
buffer float
Definition at line 134 of file driver_ntc.h.
| double c |
stein-hart hart c
Definition at line 129 of file driver_ntc.h.
| float cache_flt[NTC_FILTER_BUFFER_SIZE] |
cache float
Definition at line 135 of file driver_ntc.h.
| uint8_t circuit |
circuit
Definition at line 121 of file driver_ntc.h.
| void(* debug_print) (const char *const fmt,...) |
pointer to a debug_print function address
Definition at line 119 of file driver_ntc.h.
| void(* delay_ms) (uint32_t ms) |
pointer to a delay_ms function address
Definition at line 118 of file driver_ntc.h.
| uint8_t filter |
filter
Definition at line 132 of file driver_ntc.h.
| uint16_t filter_len |
filter buffer length
Definition at line 137 of file driver_ntc.h.
| uint16_t filter_pointer |
filter pointer
Definition at line 138 of file driver_ntc.h.
| uint8_t inited |
inited flag
Definition at line 120 of file driver_ntc.h.
| float param_flt[NTC_FILTER_BUFFER_SIZE] |
param float
Definition at line 136 of file driver_ntc.h.
| float r25_ohm |
beta formula 25C resistor value of ntc
Definition at line 126 of file driver_ntc.h.
| float r_fixed_ohm |
r fixed in ohm
Definition at line 123 of file driver_ntc.h.
| const ntc_table_t* table |
pointer to a ntc table
Definition at line 130 of file driver_ntc.h.
| uint16_t table_len |
table length
Definition at line 131 of file driver_ntc.h.
| uint32_t vcc_counter |
vcc counter
Definition at line 122 of file driver_ntc.h.