/* Support for future devices with this protocol. */
};
+enum korad_quirks_flag {
+ KORAD_QUIRK_NONE = 0,
+ KORAD_QUIRK_LABPS_OVP_EN = 1UL << 0,
+ KORAD_QUIRK_ALL = (1UL << 1) - 1,
+};
+
/* Information on single model */
struct korad_kaxxxxp_model {
int model_id; /**< Model info */
const char *name; /**< Model name */
const char *id; /**< Model ID, as delivered by interface */
int channels; /**< Number of channels */
- double voltage[3]; /**< Min, max, step */
- double current[3]; /**< Min, max, step */
+ const double *voltage; /**< References: Min, max, step */
+ const double *current; /**< References: Min, max, step */
+ enum korad_quirks_flag quirks;
};
/* Reply targets */