* added api in detector class for adcvpp, taken out of dac list
This commit is contained in:
Dhanya Thattil authored and GitHub committed 2022-10-20 10:58:56 +02:00
1 parent af300e0276
commit b7cdfbb4d2
8 files changed
+65 -14

No files matched your search

@@ -1585,6 +1585,14 @@ class Detector {
*/
void setVoltage(defs::dacIndex index, int value, Positions pos = {});
/**
* [CTB][Moench] Options: [0- 4] or [1V, 1.14V, 1.33V, 1.6V, 2V]
*/
Result<int> getADCVpp(bool mV = false, Positions pos = {}) const;
/** [CTB][Moench] */
void setADCVpp(int value, bool mV = false, Positions pos = {});
/** [CTB][Moench] */
Result<uint32_t> getADCEnableMask(Positions pos = {}) const;