Fix errors

Qei fix overcount
TOF fix access to data
ADC fix oversample