previous version moench added dacs

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@560 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-05-16 12:12:33 +00:00
parent 05f290bcff
commit 3754d61fa1
4 changed files with 4 additions and 0 deletions

View File

@ -261,6 +261,7 @@ int cleanFifo(){
printf("Cleaning FIFO\n"); printf("Cleaning FIFO\n");
addr=ADC_SYNC_REG; addr=ADC_SYNC_REG;
reg = bus_r(addr) & CLEAN_FIFO_MASK; reg = bus_r(addr) & CLEAN_FIFO_MASK;
//only for start up //only for start up

View File

@ -15,6 +15,7 @@
#include "firmware_funcs.h" #include "firmware_funcs.h"
#include "mcb_funcs.h" #include "mcb_funcs.h"
/* global variables */ /* global variables */
#undef DEBUG #undef DEBUG
#undef DEBUGOUT #undef DEBUGOUT

View File

@ -229,6 +229,7 @@
#define EXT_RO_TRIG_OUT_FALLING 0xC #define EXT_RO_TRIG_OUT_FALLING 0xC
/* for temperature register */ /* for temperature register */
#define T1_CLK_BIT 0x00000001 #define T1_CLK_BIT 0x00000001
#define T1_CS_BIT 0x00000002 #define T1_CS_BIT 0x00000002

View File

@ -15,6 +15,7 @@
#define CONTROL_REG 0x24<<11 #define CONTROL_REG 0x24<<11
// Global variables // Global variables
int (*flist[256])(int); int (*flist[256])(int);