mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
WIP, doc
This commit is contained in:
@ -1206,7 +1206,7 @@ class Detector {
|
||||
/** [CTB] */
|
||||
Result<defs::readoutMode> getReadoutMode(Positions pos = {}) const;
|
||||
|
||||
/** [CTB] Options: ANALOG_ONLY = 0, DIGITAL_ONLY = 1, ANALOG_AND_DIGITAL */
|
||||
/** [CTB] Options: ANALOG_ONLY, DIGITAL_ONLY, ANALOG_AND_DIGITAL */
|
||||
void setReadoutMode(defs::readoutMode value, Positions pos = {});
|
||||
|
||||
/** [CTB] */
|
||||
@ -1444,10 +1444,12 @@ class Detector {
|
||||
const std::string &hostname,
|
||||
const std::string &fname, Positions pos = {});
|
||||
|
||||
/** Advanced user Function! */
|
||||
/** Advanced user Function! \n
|
||||
* [Eiger] Address is +0x100 for only left, +0x200 for only right. */
|
||||
Result<uint32_t> readRegister(uint32_t addr, Positions pos = {}) const;
|
||||
|
||||
/** Advanced user Function! */
|
||||
/** Advanced user Function! \n
|
||||
* [Eiger] Address is +0x100 for only left, +0x200 for only right. */
|
||||
void writeRegister(uint32_t addr, uint32_t val, Positions pos = {});
|
||||
|
||||
/** Advanced user Function! */
|
||||
|
@ -1312,8 +1312,8 @@ std::string CmdProxy::RateCorrection(int action) {
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[n_rate (in ns)]\n\t[Eiger] Dead time correction constant in "
|
||||
"ns. -1 will set to default tau of settings. 0 will unset rate "
|
||||
"correction."
|
||||
"ns. -1 will set to default tau of settings from trimbit file. 0 "
|
||||
"will unset rate correction."
|
||||
<< '\n';
|
||||
} else if (action == defs::GET_ACTION) {
|
||||
if (!args.empty()) {
|
||||
@ -2509,7 +2509,8 @@ std::string CmdProxy::Register(int action) {
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[address] [32 bit value]\n\tReads/writes to a 32 bit register "
|
||||
"in hex.\n\t[Eiger] +0x100 for only left, +0x200 for only right"
|
||||
"in hex. Advanced Function!\n\t[Eiger] +0x100 for only left, "
|
||||
"+0x200 for only right."
|
||||
<< '\n';
|
||||
} else if (action == defs::GET_ACTION) {
|
||||
if (args.size() != 1) {
|
||||
|
Reference in New Issue
Block a user