]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
Add protocol parser for FS9721_LP3/FS9721B.
[libsigrok.git] / libsigrok-internal.h
index 563605720c16b769bdce9abc11cb7c9b48ce9a41..f491a3d1e9bf01a65126e3141512f165bc5c286a 100644 (file)
 #include <libusb.h>
 #endif
 
+/**
+ * @file
+ *
+ * libsigrok private header file, only to be used internally.
+ */
+
 /*--- Macros ----------------------------------------------------------------*/
 
 #ifndef ARRAY_SIZE
@@ -90,8 +96,8 @@ SR_PRIV struct sr_probe *sr_probe_new(int index, int type,
 SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status,
                const char *vendor, const char *model, const char *version);
 SR_PRIV void sr_dev_inst_free(struct sr_dev_inst *sdi);
-#ifdef HAVE_LIBUSB_1_0
 
+#ifdef HAVE_LIBUSB_1_0
 /* USB-specific instances */
 SR_PRIV struct sr_usb_dev_inst *sr_usb_dev_inst_new(uint8_t bus,
                uint8_t address, struct libusb_device_handle *hdl);
@@ -140,4 +146,14 @@ SR_PRIV int ezusb_upload_firmware(libusb_device *dev, int configuration,
                                  const char *filename);
 #endif
 
+/*--- hardware/common/dmm/fs9922.c ------------------------------------------*/
+
+SR_PRIV int sr_dmm_parse_fs9922(const uint8_t *buf, float *floatval,
+                               struct sr_datafeed_analog *analog);
+
+/*--- hardware/common/dmm/fs9721.c ------------------------------------------*/
+
+SR_PRIV int sr_dmm_parse_fs9721(const uint8_t *buf, float *floatval,
+                               struct sr_datafeed_analog *analog);
+
 #endif