hw functions for the SOLID slow control
Dependents: S_SCTRL_e_test SPItest sscm
Diff: S_SCTRL_SM1_hwfunct.h
- Revision:
- 14:ee02872b282b
- Parent:
- 13:3d82f8e27414
- Child:
- 16:6bbb6bb0678a
diff -r 3d82f8e27414 -r ee02872b282b S_SCTRL_SM1_hwfunct.h --- a/S_SCTRL_SM1_hwfunct.h Wed Nov 19 23:17:57 2014 +0000 +++ b/S_SCTRL_SM1_hwfunct.h Sun Dec 07 22:38:07 2014 +0000 @@ -2,7 +2,7 @@ #define S_SCTRL_SM1_hwfunct_H -#define HW_LIB_HDR_VERSION "1.32" +#define HW_LIB_HDR_VERSION "1.33" /* hardware functions * ver 1.0 @@ -10,7 +10,7 @@ * ver 1.20 added serialnr read * ver 1.31 added CAL line lvl function * ver 1.32 added bias2dac voltage and dac2bias - + * ver 1.33 removed bias2dac voltage and dac2bias */ typedef struct { // BI-SPI @@ -66,7 +66,5 @@ // @PARAM calline , 0 fire both ( processor minimum delay , 1 for CAL signal 1& 3, 2 for CAL signal 2&4 // @PARAM level if level = 1 CAL signal is set to active else set to deactive void set_cal_line(HWlines hwl, int calline ,int level ); -// calculates the value of the DAC voltage given a bias voltage -float Bias2Dac(float biasvolt); -float Dac2Bias(float dacvolt); + #endif \ No newline at end of file