]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
input/vcd: Remove debug output from inner loops.
[libsigrok.git] / libsigrok.h
index 7fc48cfdede3a1e8f46e5282b463048f44d20470..cda125c5bd0b481cb5bb65e4fe2026cb697bccb9 100644 (file)
@@ -607,8 +607,7 @@ enum {
 
 /** Information on single probe. */
 struct sr_probe {
-       /** Number of probes, starting at 0. @deprecated The index field
-        * will go: use g_slist_length(sdi->probes) instead. */
+       /** Number of probes, starting at 0. */
        int index;
        /** Probe type (SR_PROBE_LOGIC, ...) */
        int type;
@@ -834,6 +833,9 @@ enum {
        /** Over-current protection (OCP) */
        SR_CONF_OVER_CURRENT_PROTECTION,
 
+       /** Choice of clock edge for external clock ("r" or "f"). */
+       SR_CONF_CLOCK_EDGE,
+
        /*--- Special stuff -------------------------------------------------*/
 
        /** Scan options supported by the driver. */
@@ -975,6 +977,9 @@ struct sr_dev_driver {
        int (*config_set) (int id, GVariant *data,
                        const struct sr_dev_inst *sdi,
                        const struct sr_probe_group *probe_group);
+       int (*config_probe_set) (const struct sr_dev_inst *sdi,
+                       struct sr_probe *probe, unsigned int changes);
+       int (*config_commit) (const struct sr_dev_inst *sdi);
        int (*config_list) (int info_id, GVariant **data,
                        const struct sr_dev_inst *sdi,
                        const struct sr_probe_group *probe_group);