mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
changes in gotthard
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@225 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -228,9 +228,9 @@ int setPhaseShiftOnce(){
|
||||
//Checking if it is power on(negative number)
|
||||
if(((reg&0xFFFF0000)>>16)>0){
|
||||
bus_w(addr,0x0); //clear the reg
|
||||
#ifdef VERBOSE
|
||||
//#ifdef VERBOSE
|
||||
printf("Implementing Phase Shift-Reg:%x\n",bus_r(addr));
|
||||
#endif
|
||||
//#endif
|
||||
//phase shift
|
||||
for (i=1;i<PHASE_SHIFT;i++) {
|
||||
bus_w(addr,(INT_RSTN_BIT|ENET_RESETN_BIT|SW1_BIT|PHASE_STEP_BIT));//0x2821
|
||||
|
@ -71,7 +71,7 @@ int init_detector( int b) {
|
||||
testFpga();
|
||||
testRAM();
|
||||
//gotthard specific
|
||||
setPhaseShiftOnce();
|
||||
//setPhaseShiftOnce();
|
||||
setDAQRegister();
|
||||
setSettings(GET_SETTINGS,-1);
|
||||
//Initialization
|
||||
|
Reference in New Issue
Block a user