]> sigrok.org Git - libsigrok.git/commit - src/libsigrok-internal.h
feed queue: add scaling, MQ and unit to analog feed submission
authorGerhard Sittig <redacted>
Sun, 5 Mar 2023 12:38:28 +0000 (13:38 +0100)
committerGerhard Sittig <redacted>
Sun, 5 Mar 2023 15:52:41 +0000 (16:52 +0100)
commit43e6f7a7798f579c97f34f77c586a4962a41c29a
tree5860c3d90726757ad5fd1a40047475a5a794df0a
parentb7721913feb5f4dfdbbe0ad60dd6cf931757998b
feed queue: add scaling, MQ and unit to analog feed submission

Allow for the analog data to scale during submission, and pass caller
specified MQ including flags and units to the sigrok session. Using
these specs is optional, default behaviour is backwards compatible.
Accumulated data gets flushed before the configuration changes. This
allows the migration of binary helper using drivers to feed queue.
src/input/feed_queue.c
src/libsigrok-internal.h