X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;h=30efc8626ab9fb94da75a63fd33200a82204668a;hb=396af5ad7d607085ba597b2318769127df58799e;hp=da48ce9a65ee484198a051823282dfadf474ee49;hpb=e131be0ac34c36e374b78db9d01b8ef0e91eaed7;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h index da48ce9a..30efc862 100644 --- a/src/hardware/hameg-hmo/protocol.h +++ b/src/hardware/hameg-hmo/protocol.h @@ -29,7 +29,7 @@ #define LOG_PREFIX "hameg-hmo" #define MAX_INSTRUMENT_VERSIONS 10 -#define MAX_COMMAND_SIZE 48 +#define MAX_COMMAND_SIZE 128 #define MAX_ANALOG_CHANNEL_COUNT 4 #define MAX_DIGITAL_CHANNEL_COUNT 16 #define MAX_DIGITAL_GROUP_COUNT 2 @@ -57,6 +57,7 @@ struct scope_config { const char *(*logic_threshold)[]; const uint8_t num_logic_threshold; + const gboolean logic_threshold_for_pod; const char *(*trigger_sources)[]; const uint8_t num_trigger_sources; @@ -103,6 +104,8 @@ struct scope_state { int trigger_source; int trigger_slope; + char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT]; + uint64_t sample_rate; };