X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.h;fp=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.h;h=cdfc3681c031aa8937a64c331425ad667c44414e;hp=8a1ded823900e7ae41c194f355d1a73b5f07fb15;hb=6f479a0a72492b2a28344de04776733b19fdbaa9;hpb=f88c73732cbef5dad58788d1555bd66742001192 diff --git a/src/hardware/saleae-logic16/protocol.h b/src/hardware/saleae-logic16/protocol.h index 8a1ded82..cdfc3681 100644 --- a/src/hardware/saleae-logic16/protocol.h +++ b/src/hardware/saleae-logic16/protocol.h @@ -35,8 +35,16 @@ enum voltage_range { VOLTAGE_RANGE_5_V, /* 5V logic */ }; +enum fpga_variant { + FPGA_VARIANT_ORIGINAL, + FPGA_VARIANT_MCUPRO /* mcupro clone v4.6 with Actel FPGA */ +}; + /** Private, per-device-instance driver context. */ struct dev_context { + /** Distinguishing between original Logic16 and clones */ + enum fpga_variant fpga_variant; + /* * Since we can't keep track of a Logic16 device after upgrading * the firmware (it renumerates into a different device address