]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/libsigrok.h
new config options: averaging
[libsigrok.git] / include / libsigrok / libsigrok.h
index f05fb47bcc8349f204268d60f5746b3bfc9ce8bc..65e9da80a2db24757fc99697d41ab2f75a8d1f86 100644 (file)
@@ -665,6 +665,15 @@ enum sr_configkey {
        /** The device supports setting trigger slope. */
        SR_CONF_TRIGGER_SLOPE,
 
+       /** The device supports averaging. */
+       SR_CONF_AVERAGING,
+
+       /**
+        * The device supports setting number of samples to be
+        * averaged over.
+        */
+       SR_CONF_AVG_SAMPLES,
+
        /** Trigger source. */
        SR_CONF_TRIGGER_SOURCE,
 
@@ -1043,6 +1052,14 @@ struct sr_dev_driver {
  */
 struct sr_session;
 
+/** Serial port descriptor. */
+struct sr_serial_port {
+       /** The OS dependent name of the serial port. */
+       char *name;
+       /** An end user friendly description for the serial port. */
+       char *description;
+};
+
 #include "proto.h"
 #include "version.h"