mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
setbit and clear bit moved to slsdet, readreg, writereg,setbit,clearbit in multi cannot give -1, instead api gives error if checked
This commit is contained in:
@ -519,6 +519,30 @@ class slsDetectorUtils : public slsDetectorActions, public postProcessing {
|
||||
DO NOT USE!!! ONLY EXPERT USER!!!
|
||||
*/
|
||||
virtual int readRegister(int addr)=0;
|
||||
|
||||
|
||||
/**
|
||||
sets a bit in a register
|
||||
\param addr address
|
||||
\param n nth bit ranging from 0 to 31
|
||||
\returns current register value
|
||||
|
||||
DO NOT USE!!! ONLY EXPERT USER!!!
|
||||
*/
|
||||
virtual int setBit(int addr, int n)=0;
|
||||
|
||||
|
||||
/**
|
||||
clear a bit in a register
|
||||
\param addr address
|
||||
\param n nth bit ranging from 0 to 31
|
||||
\returns current register value
|
||||
|
||||
DO NOT USE!!! ONLY EXPERT USER!!!
|
||||
*/
|
||||
virtual int clearBit(int addr, int n)=0;
|
||||
|
||||
|
||||
/**
|
||||
Returns the IP of the last client connecting to the detector
|
||||
*/
|
||||
|
Reference in New Issue
Block a user