X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffx2lafw%2Fdslogic.h;h=6cb827d3e211bf79d830fcae7aad86d252d86eae;hb=a9a9bfaa6a388b288127b90d15bb9e82bbb35c2d;hp=15068ec90106ffbc9f1d2ba95d7d944abbb03cda;hpb=3fc3fbe46e472a1466085bb2498d8d9b469d63f8;p=libsigrok.git diff --git a/src/hardware/fx2lafw/dslogic.h b/src/hardware/fx2lafw/dslogic.h index 15068ec9..6cb827d3 100644 --- a/src/hardware/fx2lafw/dslogic.h +++ b/src/hardware/fx2lafw/dslogic.h @@ -35,6 +35,9 @@ #define DS_START_FLAGS_SAMPLE_WIDE (1 << 5) #define DS_START_FLAGS_MODE_LA (1 << 4) +/* enable rle to capture more samples than this limit */ +#define DS_MAX_LOGIC_DEPTH 16000000 + enum dslogic_operation_modes { DS_OP_NORMAL, DS_OP_INTERNAL_TEST, @@ -47,6 +50,11 @@ enum { DS_VOLTAGE_RANGE_5_V, /* 5V logic */ }; +enum{ + DS_EDGE_RISING, + DS_EDGE_FALLING +}; + struct dslogic_version { uint8_t major; uint8_t minor;