X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;h=11ee28347c19165add79ce3c4955ee79739c497d;hb=038e65c1178b11323676194fcf921749364d704c;hp=3b251ed1d16aef4d1863168b6f061328e9ad1d44;hpb=4276ca94b607b97dba44a8a6413426a31ff9df47;p=libsigrok.git diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index 3b251ed1..11ee2834 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -78,6 +78,8 @@ #define LA2016_THR_VOLTAGE_MIN 0.40 #define LA2016_THR_VOLTAGE_MAX 4.00 +/* Properties related to the layout of capture data downloads. */ +#define TRANSFER_PACKET_LENGTH 16 #define LA2016_NUM_SAMPLES_MAX (UINT64_C(10 * 1000 * 1000 * 1000)) /* Maximum device capabilities. May differ between models. */ @@ -129,6 +131,7 @@ struct dev_context { gboolean trigger_involved; gboolean completion_seen; gboolean download_finished; + uint32_t packets_per_chunk; struct capture_info { uint32_t n_rep_packets; uint32_t n_rep_packets_before_trigger;