X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok.h.in;h=091eb3cfebed35fc37efd1f852e960e0767da354;hb=8489264f1e3ef07ba8f1143ed62fa88d90980f94;hp=4dff80808429a8284a5f0a9b46f59da6c320e4f7;hpb=45edd0b204b4166f2f590bf130b97ff90896a99f;p=libsigrok.git diff --git a/sigrok.h.in b/sigrok.h.in index 4dff8080..091eb3cf 100644 --- a/sigrok.h.in +++ b/sigrok.h.in @@ -304,12 +304,25 @@ enum { /** The device can act as an oscilloscope. */ SR_HWCAP_OSCILLOSCOPE, - /*--- Device types --------------------------------------------------*/ + /** The device can act as a multimeter. */ + SR_HWCAP_MULTIMETER, - /** The device is demo device. */ + /** The device is a demo device. */ SR_HWCAP_DEMO_DEV, - /*--- Device options ------------------------------------------------*/ + + /*--- Device communication ------------------------------------------*/ + /** Some drivers cannot detect the exact model they're talking to. */ + SR_HWCAP_MODEL, + + /** Specification on how to connect to a device */ + SR_HWCAP_CONN, + + /** Serial communication spec: e.g. 8n1 */ + SR_HWCAP_SERIALCOMM, + + + /*--- Device configuration ------------------------------------------*/ /** The device supports setting/changing its samplerate. */ SR_HWCAP_SAMPLERATE, @@ -352,6 +365,7 @@ enum { /** Coupling. */ SR_HWCAP_COUPLING, + /*--- Special stuff -------------------------------------------------*/ /* TODO: Better description. */ @@ -366,6 +380,7 @@ enum { /** The device supports setting the number of probes. */ SR_HWCAP_CAPTURE_NUM_PROBES, + /*--- Acquisition modes ---------------------------------------------*/ /**