changed the adc sync val

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@562 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-05-17 07:37:06 +00:00
parent 9693169bcd
commit 95b76ffa9a
3 changed files with 7 additions and 7 deletions

View File

@ -267,11 +267,11 @@ int cleanFifo(){
//only for start up
if(!reg) reg = ADCSYNC_VAL;
//88 3 32214
// 88 3 02111
if (ROI_flag==0) {
val=reg | ADCSYNC_CLEAN_FIFO_BITS | TOKEN_RESTART_DELAY;
bus_w(addr,val);
//88032214
// 88 0 02111
val=reg | TOKEN_RESTART_DELAY;
bus_w(addr,val);
}

View File

@ -41,7 +41,7 @@
#define ALLFIFO 0xffff
#define ADCSYNC_VAL 0x32214
#define ADCSYNC_VAL 0x02111
#define TOKEN_RESTART_DELAY 0x88000000
#define TOKEN_RESTART_DELAY_ROI 0x1b000000
#define TOKEN_TIMING_REV1 0x1f16