X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrok.h;h=2f7047a426119ef1a4a909792c8244e138e46cce;hb=f6a21fa50c3276eab4aacf61cae4ecfb16a98e73;hp=5d3d93457901d3eed256576767a0bf31010083a2;hpb=8417ebad122cfade0f9ae6db6cbd8e7249156753;p=libsigrok.git diff --git a/libsigrok.h b/libsigrok.h index 5d3d9345..2f7047a4 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -701,6 +701,21 @@ enum { /** The device supports setting the number of probes. */ SR_CONF_CAPTURE_NUM_PROBES, + /** Power off the device. */ + SR_CONF_POWER_OFF, + + /** Data source for acquisition. If not present, acquisition from + * the device is always "live", i.e. acquisition starts when the + * frontend asks and the results are sent out as soon as possible. + * + * If present, it indicates that either the device has no live + * acquisition capability (for example a pure data logger), or + * there is a choice. sr_config_list() returns those choices. + * + * In any case if a device has live acquisition capabilities, it + * is always the default. */ + SR_CONF_DATA_SOURCE, + /*--- Acquisition modes ---------------------------------------------*/ /**