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? */