/** Self test mode. */
SR_CONF_TEST_MODE,
+ /**
+ * Over-power protection (OPP) feature
+ * @arg type: boolean
+ * @arg get: @b true if currently enabled
+ * @arg set: enable/disable
+ */
+ SR_CONF_OVER_POWER_PROTECTION_ENABLED,
+
+ /**
+ * Over-power protection (OPP) active
+ * @arg type: boolean
+ * @arg get: @b true if device has activated OPP, i.e. the current power
+ * exceeds the over-power protection threshold.
+ */
+ SR_CONF_OVER_POWER_PROTECTION_ACTIVE,
+
+ /**
+ * Over-power protection (OPP) threshold
+ * @arg type: double (current)
+ * @arg get: get current threshold
+ * @arg set: set new threshold
+ */
+ SR_CONF_OVER_POWER_PROTECTION_THRESHOLD,
+
+ /**
+ * Current Resistance.
+ * @arg type: double
+ * @arg get: get measured resistance
+ */
+ SR_CONF_RESISTANCE,
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
};
{SR_CONF_TEST_MODE, SR_T_STRING, "test_mode",
"Test mode", NULL},
+ {SR_CONF_OVER_POWER_PROTECTION_ENABLED, SR_T_BOOL, "opp_enabled",
+ "Over-power protection enabled", NULL},
+ {SR_CONF_OVER_POWER_PROTECTION_ACTIVE, SR_T_BOOL, "opp_active",
+ "Over-power protection active", NULL},
+ {SR_CONF_OVER_POWER_PROTECTION_THRESHOLD, SR_T_FLOAT, "opp_threshold",
+ "Over-power protection threshold", NULL},
+
+ {SR_CONF_RESISTANCE, SR_T_FLOAT, "resistance",
+ "Resistance", NULL},
ALL_ZERO
};