]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Improve sample time estimation, consider hardware pipeline
authorGerhard Sittig <redacted>
Sun, 23 Apr 2017 16:20:44 +0000 (18:20 +0200)
committerUwe Hermann <redacted>
Fri, 26 May 2017 20:47:59 +0000 (22:47 +0200)
commit9a0a606a8215aa7fd41bb72a3653dff7ef54505b
treee027e8e51629b1575f467436bad8c97864feb40f
parenta44b3b3f166e60e1023371f0cf47bbd68182f0bf
asix-sigma: Improve sample time estimation, consider hardware pipeline

Introduce a separate routine which maps sample counts and sample period
to an elapsed sample time after which acquisition shall get stopped.
Add some more time to make sure the most recent captured data has passed
the hardware pipeline and is available for download.

This commit is based on work done by jry@.
src/hardware/asix-sigma/api.c
src/hardware/asix-sigma/protocol.c
src/hardware/asix-sigma/protocol.h