]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hameg-hmo/protocol.h
hameg-hmo: Add SR_CONF_HIGH_RESOLUTION and SR_CONF_PEAK_DETECTION.
[libsigrok.git] / src / hardware / hameg-hmo / protocol.h
index df4a4e4c12f7d3de20bb2319d81cae33c49e745f..2749fb8e7e0c27565d4898dd0ceea2d2984c39b3 100644 (file)
@@ -73,8 +73,8 @@ struct scope_config {
        const uint64_t (*vdivs)[][2];
        const uint8_t num_vdivs;
 
-       const uint8_t num_xdivs;
-       const uint8_t num_ydivs;
+       unsigned int num_xdivs;
+       const unsigned int num_ydivs;
 
        const char *(*scpi_dialect)[];
 };
@@ -108,6 +108,9 @@ struct scope_state {
        int trigger_slope;
        char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT];
 
+       gboolean high_resolution;
+       gboolean peak_detection;
+
        uint64_t sample_rate;
 };