]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
Add config keys for upcoming RF demodulator drivers.
[libsigrok.git] / libsigrok.h
index f546183e48915f3355c1a20a28f6797a26c13067..caa13757c32a9923976524a840c19cf64e025f1e 100644 (file)
@@ -303,7 +303,14 @@ enum {
        SR_MQFLAG_AVG = 0x40000,
 };
 
-/** sigrok context (opaque). @see sr_init(), sr_exit(). */
+/**
+ * @struct sr_context
+ * Opaque structure representing a libsigrok context.
+ *
+ * None of the fields of this structure are meant to be accessed directly.
+ *
+ * @see sr_init(), sr_exit().
+ */
 struct sr_context;
 
 /** Packet in a sigrok data feed. */
@@ -672,6 +679,9 @@ enum {
        /** The device can measure energy consumption. */
        SR_CONF_ENERGYMETER,
 
+       /** The device can demodulate signals. */
+       SR_CONF_DEMODULATOR,
+
        /*--- Driver scan options -------------------------------------------*/
 
        /**
@@ -784,6 +794,12 @@ enum {
         */
        SR_CONF_SWAP,
 
+        /** Center frequency.
+         * The input signal is downmixed by this frequency before the ADC
+         * anti-aliasing filter.
+         */
+        SR_CONF_CENTER_FREQUENCY,
+
        /*--- Special stuff -------------------------------------------------*/
 
        /** Scan options supported by the driver. */
@@ -948,6 +964,8 @@ struct sr_dev_driver {
 };
 
 /**
+ * @struct sr_session
+ *
  * Opaque data structure representing a libsigrok session. None of the fields
  * of this structure are meant to be accessed directly.
  */