Closed krmpotic closed 1 year ago
The polarity bit is available on mTCA, VME and PCIe starting from 0205 firmware.
This is tested and works. Let me know if I should change something.
There is actually no duplication taking place. I'm using the $(P) "base record name prefix" macro not the $(SN) "scaler record name" one.
By default the prescalers are aligned by the falling edge. This can be changed by toggling the prescaler polarity bit (bit 15 in Control Register).
Where would be a good place to put the corresponding records?