]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
C++: Add SessionDevice class for devices owned by loaded sessions.
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index 247e41fb88a38fa8614c739932a9f6b8b0bd5679..d6695addbcca951e0dca1aee9ce72f6c9879ed7f 100644 (file)
@@ -101,6 +101,18 @@ struct channel_group_spec {
        uint64_t features;
 };
 
+struct pps_channel {
+       int mq;
+       unsigned int hw_output_idx;
+       char *hwname;
+};
+
+struct pps_channel_instance {
+       int mq;
+       int command;
+       char *prefix;
+};
+
 struct pps_channel_group {
        uint64_t features;
 };
@@ -122,7 +134,6 @@ struct dev_context {
        /* Operational state */
 
        /* Temporary state across callbacks */
-       int state;
        struct sr_channel *cur_channel;
 };