fixed fpgaversion etc register problems

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@109 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-01-18 18:00:37 +00:00
parent 302a70d59b
commit b7bb5a961b
5 changed files with 25 additions and 29 deletions

View File

@ -13,8 +13,6 @@
#define MULTI_PURPOSE_REG 0x94<<11
#define DUMMY_REG 0x13<<11
#define FIX_PATT_REG 0x45<<11
#define FPGA_VERSION_REG 0x47<<11
#define CONTROL_REG 0x5d<<11
#define STATUS_REG 0x5e<<11
@ -98,7 +96,8 @@
#define SHIFTMOD 2
#define SHIFTFIFO 9
#define FIX_PATT_REG 0x96<<11
#define FPGA_VERSION_REG 0x95<<11
/* values defined for FPGA */
#define MCSNUM 0x0
@ -223,8 +222,8 @@
#define INT_RSTN_OFFSET 13
#define DIGITAL_TEST_BIT 0x00004000
#define DIGITAL_TEST_OFFSET 14
#define CHANGE_AT_POWER_ON_BIT 0x00008000
#define CHANGE_AT_POWER_ON_OFFSET 15
//#define CHANGE_AT_POWER_ON_BIT 0x00008000
//#define CHANGE_AT_POWER_ON_OFFSET 15
/* settings/conf gain register */