]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h
add new HWCAP patternmode
[libsigrok.git] / sigrok.h
index 9a22cb0ef15799b82eb6a149e467506de0e5c9d1..1b4552ca0740f0dfe37522a52593cc4a292e1926 100644 (file)
--- a/sigrok.h
+++ b/sigrok.h
@@ -213,10 +213,16 @@ extern GSList *devices;
 /* Hardware plugin capabilities */
 enum {
        HWCAP_DUMMY,             /* Used to terminate lists */
+       /* device classes */
        HWCAP_LOGIC_ANALYZER,
+
+       /* device options */
        HWCAP_SAMPLERATE,        /* Change samplerate */
        HWCAP_PROBECONFIG,       /* Configure probe mask */
        HWCAP_CAPTURE_RATIO,     /* Set pre/post-trigger capture ratio */
+       HWCAP_PATTERN_MODE,      /* Pattern generator mode */
+
+       /* acquisition modes */
        HWCAP_LIMIT_MSEC,        /* Set a time limit for sample acquisition */
        HWCAP_LIMIT_SAMPLES,     /* Set a limit on number of samples */
        HWCAP_CONTINUOUS,
@@ -289,6 +295,8 @@ enum {
        DI_TRIGGER_TYPES,
        /* The currently set samplerate in Hz (uint64_t) */
        DI_CUR_SAMPLERATE,
+       /* Supported pattern generator modes */
+       DI_PATTERNMODES,
 };
 
 /*