mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10:42 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
commit
35c7e46d60
Binary file not shown.
@ -249,15 +249,15 @@ u_int16_t getHardwareVersionNumber() {
|
|||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
return bus_r(MCB_SERIAL_NO_REG);
|
return ((bus_r(MCB_SERIAL_NO_REG) & MCB_SERIAL_NO_VRSN_MSK) >>
|
||||||
|
MCB_SERIAL_NO_VRSN_OFST);
|
||||||
}
|
}
|
||||||
|
|
||||||
u_int32_t getDetectorNumber() {
|
u_int32_t getDetectorNumber() {
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
return ((bus_r(MCB_SERIAL_NO_REG) & MCB_SERIAL_NO_VRSN_MSK) >>
|
return bus_r(MCB_SERIAL_NO_REG);
|
||||||
MCB_SERIAL_NO_VRSN_OFST);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u_int64_t getDetectorMAC() {
|
u_int64_t getDetectorMAC() {
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
#define APIJUNGFRAU 0x200810
|
#define APIJUNGFRAU 0x200810
|
||||||
#define APIMOENCH 0x200810
|
#define APIMOENCH 0x200810
|
||||||
#define APIEIGER 0x200831
|
#define APIEIGER 0x200831
|
||||||
#define APIMYTHEN3 0x200901
|
|
||||||
#define APIGOTTHARD2 0x200902
|
#define APIGOTTHARD2 0x200902
|
||||||
|
#define APIMYTHEN3 0x200903
|
||||||
|
Loading…
x
Reference in New Issue
Block a user