]> sigrok.org Git - libsigrok.git/commit
asix-sigma: concentrate parameters for sample memory interpretation
authorGerhard Sittig <redacted>
Wed, 13 May 2020 05:53:04 +0000 (07:53 +0200)
committerGerhard Sittig <redacted>
Sun, 31 May 2020 21:44:09 +0000 (23:44 +0200)
commitde4c29fa9116fcd007b136ec550d81b40b3d3989
treec4cecaf6cf45eec31b38d94edec7220f299a7e16
parentea57157d0d2e17e418463cf8e4f25453e5b903d7
asix-sigma: concentrate parameters for sample memory interpretation

Create a sub struct in the device context which keeps those parameters
which are related to sample memory interpretation. Which also obsoletes
the 'state' struct and only leaves the 'state' enum as a remainder.

Use the "samples per event" condition instead of the samplerate when
extracting a number of samples from an event's storage. Rename the
de-interleaving routines to better reflect their purpose.
src/hardware/asix-sigma/api.c
src/hardware/asix-sigma/protocol.c
src/hardware/asix-sigma/protocol.h