some ctb funcs

This commit is contained in:
Erik Frojdh
2019-08-07 18:00:25 +02:00
parent 21046bcae0
commit bba6e1667b
4 changed files with 65 additions and 26 deletions

View File

@ -208,6 +208,30 @@ class Detector {
* @returns detector type as string
*/
Result<std::string> getDetectorTypeAsString(Positions pos = {}) const;
// Erik
/**
* Set LED Enable for CTB
* @param enable true to switch on, false to switch off
*/
void setLEDEnable(bool enable, Positions pos = {});
/**
* Get LED enable for CTB
*/
Result<bool> getLEDEnable(Positions pos = {}) const;
/**
* Set Digital IO Delay CTB
* @param digital IO mask to select the pins
* @param delay delay in ps(1 bit=25ps, max of 775 ps)
*/
void setDigitalIODelay(uint64_t pinMask, int delay, Positions pos = {});
};
} // namespace sls