X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fmanson-hcs-3xxx%2Fprotocol.h;fp=hardware%2Fmanson-hcs-3xxx%2Fprotocol.h;h=b4441d070658d65f23187a6556492bb2703be536;hb=5437a0adae74091bb4cd2243a39bd94f7ae73e1f;hp=f5cd77f89a5211472645bc2331e3d27508d3d147;hpb=a9cf203593b1a8f28624d4dcb5eed2bd7f152a00;p=libsigrok.git diff --git a/hardware/manson-hcs-3xxx/protocol.h b/hardware/manson-hcs-3xxx/protocol.h index f5cd77f8..b4441d07 100644 --- a/hardware/manson-hcs-3xxx/protocol.h +++ b/hardware/manson-hcs-3xxx/protocol.h @@ -78,9 +78,11 @@ struct dev_context { void *cb_data; float current; /**< Last current value [A] read from device. */ - float current_max; /**< Output current set */ + float current_max; /**< Output current set. */ + float current_max_device;/**< Device-provided maximum output current. */ float voltage; /**< Last voltage value [V] read from device. */ - float voltage_max; /**< Output voltage set */ + float voltage_max; /**< Output voltage set. */ + float voltage_max_device;/**< Device-provided maximum output voltage. */ gboolean cc_mode; /**< Device is in constant current mode (otherwise constant voltage). */ gboolean output_enabled; /**< Is the output enabled? */