mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@668 951219d9-93cf-4727-9268-0efd64621fa3
39 lines
735 B
C
39 lines
735 B
C
/*
|
|
* slsDetectorServer_defs.h
|
|
*
|
|
* Created on: Jan 24, 2013
|
|
* Author: l_maliakal_d
|
|
*/
|
|
|
|
#ifndef SLSDETECTORSERVER_DEFS_H_
|
|
#define SLSDETECTORSERVER_DEFS_H_
|
|
|
|
#include "sls_detector_defs.h"
|
|
#include <stdint.h>
|
|
|
|
#define GOODBYE -200
|
|
|
|
|
|
|
|
#define FIRMWAREREV 0xcaba //temporary should be in firmware
|
|
|
|
/* examples*/
|
|
/*
|
|
#define NCHAN 256*256
|
|
#define NCHIP 4*1
|
|
#define NDAC 16
|
|
#define NADC 0
|
|
#define NMAXMODX 1
|
|
#define NMAXMODY 1
|
|
#define NMAXMOD NMAXMODX*NMAXMODY
|
|
#define NCHANS NCHAN*NCHIP*NMAXMOD
|
|
#define NDACS NDAC*NMAXMOD
|
|
|
|
|
|
#define DYNAMIC_RANGE 32
|
|
*/
|
|
|
|
enum detDacIndex{SVP,VTR,VRF,VRS,SVN,VTGSTV,VCMP_LL,VCMP_LR,CAL,VCMP_RL,RXB_RB,RXB_LB,VCMP_RR,VCP,VCN,VIS};
|
|
|
|
#endif /* SLSDETECTORSERVER_DEFS_H_ */
|