hw functions for the SOLID slow control
Dependents: S_SCTRL_e_test SPItest sscm
Diff: S_SCTRL_SM1_hwfunct.h
- Revision:
- 11:0416cf017b7a
- Parent:
- 10:1cae1504a800
- Child:
- 12:467def75b457
diff -r 1cae1504a800 -r 0416cf017b7a S_SCTRL_SM1_hwfunct.h --- a/S_SCTRL_SM1_hwfunct.h Sun Oct 05 17:11:18 2014 +0000 +++ b/S_SCTRL_SM1_hwfunct.h Tue Oct 14 17:05:20 2014 +0000 @@ -53,5 +53,12 @@ void setdefault(HWlines hwl ) ; char* hwfunct_lib_version(); // returns this lib version info int get_serialnr(HWlines *hwlines ); // get the electronic serial nr of the board + +// generate a cal pulse, duration 10us +// no connector selection parameter as these signals a common for both connectors +// @PARAM HWlines structure of the hardware line +// @PARAM calline , 0 fire both ( processor minimum delay , 1 for CAL signal 1& 3, 2 for CAL signal 2&4 +void toggle_cal(HWlines hwl, int calline); + #endif \ No newline at end of file