LibDriver NTC
Loading...
Searching...
No Matches
ntc_handle_s Struct Reference

ntc handle structure definition More...

#include <driver_ntc.h>

Collaboration diagram for ntc_handle_s:
[legend]

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_ttable
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

Detailed Description

ntc handle structure definition

Definition at line 113 of file driver_ntc.h.

Field Documentation

◆ a

double a

stein-hart hart a

Definition at line 127 of file driver_ntc.h.

◆ adc_deinit

uint8_t(* adc_deinit) (void)

pointer to an adc_deinit function address

Definition at line 116 of file driver_ntc.h.

◆ adc_init

uint8_t(* adc_init) (uint32_t *vcc_counter)

pointer to an adc_init function address

Definition at line 115 of file driver_ntc.h.

◆ adc_read

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.

◆ algorithm

uint8_t algorithm

algorithm

Definition at line 124 of file driver_ntc.h.

◆ b

double b

stein-hart hart b

Definition at line 128 of file driver_ntc.h.

◆ beta

float beta

beta formula beta value of ntc

Definition at line 125 of file driver_ntc.h.

◆ buf

uint32_t buf[NTC_FILTER_BUFFER_SIZE]

buffer

Definition at line 133 of file driver_ntc.h.

◆ buf_flt

float buf_flt[NTC_FILTER_BUFFER_SIZE]

buffer float

Definition at line 134 of file driver_ntc.h.

◆ c

double c

stein-hart hart c

Definition at line 129 of file driver_ntc.h.

◆ cache_flt

float cache_flt[NTC_FILTER_BUFFER_SIZE]

cache float

Definition at line 135 of file driver_ntc.h.

◆ circuit

uint8_t circuit

circuit

Definition at line 121 of file driver_ntc.h.

◆ debug_print

void(* debug_print) (const char *const fmt,...)

pointer to a debug_print function address

Definition at line 119 of file driver_ntc.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

pointer to a delay_ms function address

Definition at line 118 of file driver_ntc.h.

◆ filter

uint8_t filter

filter

Definition at line 132 of file driver_ntc.h.

◆ filter_len

uint16_t filter_len

filter buffer length

Definition at line 137 of file driver_ntc.h.

◆ filter_pointer

uint16_t filter_pointer

filter pointer

Definition at line 138 of file driver_ntc.h.

◆ inited

uint8_t inited

inited flag

Definition at line 120 of file driver_ntc.h.

◆ param_flt

float param_flt[NTC_FILTER_BUFFER_SIZE]

param float

Definition at line 136 of file driver_ntc.h.

◆ r25_ohm

float r25_ohm

beta formula 25C resistor value of ntc

Definition at line 126 of file driver_ntc.h.

◆ r_fixed_ohm

float r_fixed_ohm

r fixed in ohm

Definition at line 123 of file driver_ntc.h.

◆ table

const ntc_table_t* table

pointer to a ntc table

Definition at line 130 of file driver_ntc.h.

◆ table_len

uint16_t table_len

table length

Definition at line 131 of file driver_ntc.h.

◆ vcc_counter

uint32_t vcc_counter

vcc counter

Definition at line 122 of file driver_ntc.h.


The documentation for this struct was generated from the following file: