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

View File

@ -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;