23 constexpr auto C2K(
double c ) {
return ( (
double )( c + 273.15 ) ); }
24 constexpr auto K2C(
double k ) {
return ( (
double )( k - 273.15 ) ); }
25 constexpr auto F2K(
double f ) {
return ( (
double )( f * ( 9.0 / 5.0 ) - 459.67 ) ); }
26 constexpr auto K2F(
double k ) {
return ( (
double )( ( k + 459.67 ) * ( 5.0 / 9.0 ) ) ); }
31 constexpr auto TMPCTRL_SD_NUM_OF_READS = 30;
32 constexpr auto TMPCTRL_SD_VOLT_TOLERANCE_TRIALS = 30;
33 constexpr auto TMPCTRL_SD_VOLT_TOLERANCE = 0.005;
34 constexpr auto TMPCTRL_SD_DEG_TOLERANCE = 3.0;
39 constexpr auto TMPCTRL_DT670_COEFF_1 = 0.03;
40 constexpr auto TMPCTRL_DT670_COEFF_2 = 0.0000251;
46 constexpr auto TMPCTRL_SD_ADU_OFFSET = 2045.0;
47 constexpr auto TMPCTRL_SD_ADU_PER_VOLT = 1366.98;
53 constexpr auto TMPCTRL_HG_ADU_OFFSET = -3108.0;
54 constexpr auto TMPCTRL_HG_ADU_PER_VOLT = 7321.0;
73 constexpr auto TMPCTRL_SD_2_12K_VU = 1.680000;
74 constexpr auto TMPCTRL_SD_2_12K_VL = 1.294390;
75 constexpr auto TMPCTRL_SD_2_12K_COUNT = 10;
76 extern double TMPCTRL_SD_2_12K_COEFF[ TMPCTRL_SD_2_12K_COUNT ];
79 constexpr auto TMPCTRL_SD_12_24K_VU = 1.38373;
80 constexpr auto TMPCTRL_SD_12_24K_VL = 1.11230;
81 constexpr auto TMPCTRL_SD_12_24K_COUNT = 11;
82 extern double TMPCTRL_SD_12_24K_COEFF[ TMPCTRL_SD_12_24K_COUNT ];
85 constexpr auto TMPCTRL_SD_24_100K_VU = 1.122751;
86 constexpr auto TMPCTRL_SD_24_100K_VL = 0.909416;
87 constexpr auto TMPCTRL_SD_24_100K_COUNT = 12;
88 extern double TMPCTRL_SD_24_100K_COEFF[ TMPCTRL_SD_24_100K_COUNT ];
91 constexpr auto TMPCTRL_SD_100_475K_VU = 0.999614;
92 constexpr auto TMPCTRL_SD_100_475K_VL = 0.079767;
93 constexpr auto TMPCTRL_SD_100_475K_COUNT = 11;
94 extern double TMPCTRL_SD_100_475K_COEFF[ TMPCTRL_SD_100_475K_COUNT ];
100 constexpr auto TMPCTRL_DT670_COEFF_1_KEY =
"[TMPCTRL_DT670_COEFF_1]";
101 constexpr auto TMPCTRL_DT670_COEFF_2_KEY =
"[TMPCTRL_DT670_COEFF_2]";
102 constexpr auto TMPCTRL_SDADU_OFFSET_KEY =
"[TMPCTRL_SDADU_OFFSET]";
103 constexpr auto TMPCTRL_SDADU_PER_VOLT_KEY =
"[TMPCTRL_SDADU_PER_VOLT]";
104 constexpr auto TMPCTRL_HGADU_OFFSET_KEY =
"[TMPCTRL_HGADU_OFFSET]";
105 constexpr auto TMPCTRL_HGADU_PER_VOLT_KEY =
"[TMPCTRL_HGADU_PER_VOLT]";
106 constexpr auto TMPCTRL_SDNUMBER_OF_READS_KEY =
"[TMPCTRL_SDNUMBER_OF_READS]";
107 constexpr auto TMPCTRL_SDVOLT_TOLERANCE_TRIALS_KEY =
"[TMPCTRL_SDVOLT_TOLERANCE_TRIALS]";
108 constexpr auto TMPCTRL_SDVOLT_TOLERANCE_KEY =
"[TMPCTRL_SDVOLT_TOLERANCE]";
109 constexpr auto TMPCTRL_SDDEG_TOLERANCE_KEY =
"[TMPCTRL_SDDEG_TOLERANCE]";
110 constexpr auto TMPCTRL_SD2_12K_COEFF_KEY =
"[TMPCTRL_SD2_12K_COEFF]";
111 constexpr auto TMPCTRL_SD12_24K_COEFF_KEY =
"[TMPCTRL_SD12_24K_COEFF]";
112 constexpr auto TMPCTRL_SD24_100K_COEFF_KEY =
"[TMPCTRL_SD24_100K_COEFF]";
113 constexpr auto TMPCTRL_SD100_475K_COEFF_KEY =
"[TMPCTRL_SD100_475K_COEFF]";
Definition: TempCtrl.h:61