2. Patioctrl uint64 t (#766)

* when dbit list is enabled, the size of data in zmq stream is changed to only the digital bits enabled size. now fixed to also include analog size

* allowing to set 0xffffffffffffffff to pat io control. prevously was used to do a get. fixed also for pat bit mask and pat mask
This commit is contained in:
2023-06-15 09:30:52 +02:00
committed by GitHub
parent 6f50707cfb
commit 3f9ec695db
12 changed files with 60 additions and 25 deletions

View File

@ -2492,12 +2492,11 @@ Pattern Module::getPattern() {
void Module::loadDefaultPattern() { sendToDetector(F_LOAD_DEFAULT_PATTERN); }
uint64_t Module::getPatternIOControl() const {
return sendToDetector<uint64_t>(F_SET_PATTERN_IO_CONTROL,
int64_t(GET_FLAG));
return sendToDetector<uint64_t>(F_GET_PATTERN_IO_CONTROL);
}
void Module::setPatternIOControl(uint64_t word) {
sendToDetector<uint64_t>(F_SET_PATTERN_IO_CONTROL, word);
sendToDetector(F_SET_PATTERN_IO_CONTROL, word, nullptr);
}
uint64_t Module::getPatternWord(int addr) const {