LibDriver NTC
Loading...
Searching...
No Matches
ntc test driver function

ntc test driver modules More...

Collaboration diagram for ntc test driver function:

Functions

uint8_t ntc_read_beta_formula_test (ntc_circuit_t circuit, float r_fixed_ohm, float beta, float r25_ohm, ntc_filter_t filter, uint32_t times)
 read beta formula test
uint8_t ntc_read_steinhart_hart_test (ntc_circuit_t circuit, float r_fixed_ohm, double a, double b, double c, ntc_filter_t filter, uint32_t times)
 read steinhart hart test
uint8_t ntc_read_lookup_table_test (ntc_circuit_t circuit, float r_fixed_ohm, const ntc_table_t *table, uint16_t table_len, ntc_filter_t filter, uint32_t times)
 read lookup table test

Detailed Description

ntc test driver modules

Function Documentation

◆ ntc_read_beta_formula_test()

uint8_t ntc_read_beta_formula_test ( ntc_circuit_t circuit,
float r_fixed_ohm,
float beta,
float r25_ohm,
ntc_filter_t filter,
uint32_t times )

read beta formula test

Parameters
[in]circuitntc circuit
[in]r_fixed_ohmfixed resistor in ohm
[in]betabeta value
[in]r25_ohmr25 ohm
[in]filterntc filter
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 54 of file driver_ntc_read_test.c.

Here is the call graph for this function:

◆ ntc_read_lookup_table_test()

uint8_t ntc_read_lookup_table_test ( ntc_circuit_t circuit,
float r_fixed_ohm,
const ntc_table_t * table,
uint16_t table_len,
ntc_filter_t filter,
uint32_t times )

read lookup table test

Parameters
[in]circuitntc circuit
[in]r_fixed_ohmfixed resistor in ohm
[in]*tablepointer to a ntc table buffer
[in]table_lentable length
[in]filterntc filter
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 808 of file driver_ntc_read_test.c.

Here is the call graph for this function:

◆ ntc_read_steinhart_hart_test()

uint8_t ntc_read_steinhart_hart_test ( ntc_circuit_t circuit,
float r_fixed_ohm,
double a,
double b,
double c,
ntc_filter_t filter,
uint32_t times )

read steinhart hart test

Parameters
[in]circuitntc circuit
[in]r_fixed_ohmfixed resistor in ohm
[in]aparam a
[in]bparam b
[in]cparam c
[in]filterntc filter
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 436 of file driver_ntc_read_test.c.

Here is the call graph for this function: