unsigned int max_current;
unsigned int max_voltage;
unsigned int max_power;
+ unsigned int current_digits;
+ unsigned int voltage_digits;
};
struct dev_context {
const struct rdtech_dps_model *model;
struct sr_sw_limits limits;
GMutex rw_mutex;
+ double current_multiplier;
+ double voltage_multiplier;
+ gboolean actual_ovp_state;
+ gboolean actual_ocp_state;
+ uint16_t actual_regulation_state;
+ uint16_t actual_output_state;
};
enum rdtech_dps_register {