]> sigrok.org Git - libsigrok.git/commit - src/hardware/dslogic/dslogic.c
dslogic: Add support for long captures at high samplerates.
authorDiego Asanza <redacted>
Sun, 8 May 2016 08:59:54 +0000 (10:59 +0200)
committerUwe Hermann <redacted>
Mon, 16 May 2016 16:18:59 +0000 (18:18 +0200)
commita9a9bfaa6a388b288127b90d15bb9e82bbb35c2d
tree7ff2b5f83ed11402472700b1d03608ea1173904e
parentd9a58763d66b761900fdc930d9cd580137ea3a5c
dslogic: Add support for long captures at high samplerates.

To capture more than 16MSamples the hardware run length encoding option
must be enabled, or captured data present errors.

RLE encoding/decoding is done in hardware. Data streamed to the USB interface
is not encoded.

This commit enables RLE encoding for captures longer than 16MSamples.

Signed-off-by: Diego Asanza <redacted>
src/hardware/fx2lafw/dslogic.c
src/hardware/fx2lafw/dslogic.h