hw functions for the SOLID slow control
Dependents: S_SCTRL_e_test SPItest sscm
Diff: S_SCTRL_SM1_hwfunct.cpp
- Revision:
- 14:ee02872b282b
- Parent:
- 13:3d82f8e27414
- Child:
- 16:6bbb6bb0678a
diff -r 3d82f8e27414 -r ee02872b282b S_SCTRL_SM1_hwfunct.cpp --- a/S_SCTRL_SM1_hwfunct.cpp Wed Nov 19 23:17:57 2014 +0000 +++ b/S_SCTRL_SM1_hwfunct.cpp Sun Dec 07 22:38:07 2014 +0000 @@ -6,6 +6,7 @@ * ver 1.30 added CAL puls function * ver 1.31 added CAL line lvl function * ver 1.32 added bias2dac voltage and dac2bias + * ver 1.33 removed bias2dac voltage and dac2bias */ #include "mbed.h" @@ -13,7 +14,7 @@ #include "S_SCTRL_SM1_hwfunct.h" -#define HW_LIB_SRC_VERSION "1.32" +#define HW_LIB_SRC_VERSION "1.33" #define MAXLIBVERCHAR 100 // max char for lib version @@ -193,6 +194,3 @@ return snr; } - -float Bias2Dac(float biasvolt){ return biasvolt/26.35507246 ; /* no correct implementation */ }; -float Dac2Bias(float dacvolt) { return dacvolt*26.35507246; /* no correct implementation */ }; \ No newline at end of file