]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/protocol.h
Replace 'probe' with 'channel' in most places.
[libsigrok.git] / hardware / openbench-logic-sniffer / protocol.h
index 9d3b2e54ee790babe09295ba96e1916031a90211..111ac69f2dfd3987b8f7a5811df14c3a7d1e5988 100644 (file)
@@ -70,7 +70,7 @@
 /* Private, per-device-instance driver context. */
 struct dev_context {
        /* Fixed device settings */
-       int max_probes;
+       int max_channels;
        uint32_t max_samples;
        uint32_t max_samplerate;
        uint32_t protocol_version;
@@ -81,7 +81,7 @@ struct dev_context {
        uint64_t limit_samples;
        int capture_ratio;
        int trigger_at;
-       uint32_t probe_mask;
+       uint32_t channel_mask;
        uint32_t trigger_mask[4];
        uint32_t trigger_value[4];
        int num_stages;
@@ -103,13 +103,13 @@ struct dev_context {
 };
 
 
-SR_PRIV extern const char *ols_probe_names[NUM_PROBES + 1];
+SR_PRIV extern const char *ols_channel_names[NUM_PROBES + 1];
 
 SR_PRIV int send_shortcommand(struct sr_serial_dev_inst *serial,
                uint8_t command);
 SR_PRIV int send_longcommand(struct sr_serial_dev_inst *serial,
                uint8_t command, uint8_t *data);
-SR_PRIV int ols_configure_probes(const struct sr_dev_inst *sdi);
+SR_PRIV int ols_configure_channels(const struct sr_dev_inst *sdi);
 SR_PRIV struct dev_context *ols_dev_new(void);
 SR_PRIV struct sr_dev_inst *get_metadata(struct sr_serial_dev_inst *serial);
 SR_PRIV int ols_set_samplerate(const struct sr_dev_inst *sdi,