X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hardware%2Fmanson-hcs-3xxx%2Fprotocol.h;h=f5cd77f89a5211472645bc2331e3d27508d3d147;hb=a9cf203593b1a8f28624d4dcb5eed2bd7f152a00;hp=cbed952de648f2351140252f48610f0be5812023;hpb=9740d9bf8c257e714d937602a10b8d81a7762d4e;p=libsigrok.git diff --git a/hardware/manson-hcs-3xxx/protocol.h b/hardware/manson-hcs-3xxx/protocol.h index cbed952d..f5cd77f8 100644 --- a/hardware/manson-hcs-3xxx/protocol.h +++ b/hardware/manson-hcs-3xxx/protocol.h @@ -77,8 +77,10 @@ struct dev_context { void *cb_data; - float voltage; /**< Last voltage value [V] read from device. */ float current; /**< Last current value [A] read from device. */ + float current_max; /**< Output current set */ + float voltage; /**< Last voltage value [V] read from device. */ + float voltage_max; /**< Output voltage set */ gboolean cc_mode; /**< Device is in constant current mode (otherwise constant voltage). */ gboolean output_enabled; /**< Is the output enabled? */