1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef TEMPERATURE_INCLUDED #define TEMPERATURE_INCLUDED #include <inttypes.h> #ifdef __cplusplus extern "C" { #endif int get_resistance(int64_t vt, int64_t ra); int get_temperature(int res); int get_temp_subrange(short a, short b, int res); #ifdef __cplusplus } #endif #endif /* TEMPERATURE_INCLUDED */