X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrok.h;h=17d7fc17d7a5249dff9d11c585ec95891bb596d9;hb=ef1020f9cba528b542968b32fe662241e96e6119;hp=a22b6d18d6a0f37eb1817c5082bf1d942e8caa9c;hpb=d5c5ea2a29d1a7063e26327b87fa820dc1babd16;p=libsigrok.git diff --git a/libsigrok.h b/libsigrok.h index a22b6d18..17d7fc17 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -216,6 +216,10 @@ enum { * represented as the fraction of number of particles of the substance. */ SR_UNIT_CONCENTRATION, + SR_UNIT_REVOLUTIONS_PER_MINUTE, + SR_UNIT_VOLT_AMPERE, + SR_UNIT_WATT, + SR_UNIT_WATT_HOUR, }; /** Values for sr_datafeed_analog.flags. */ @@ -582,6 +586,9 @@ enum { /** The device can measure humidity. */ SR_CONF_HYGROMETER, + /** The device can measure energy consumption. */ + SR_CONF_ENERGYMETER, + /*--- Driver scan options -------------------------------------------*/ /**