]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
scpi-pps: Add support for SR_CONF_OVER_CURRENT_PROTECTION_DELAY
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index 279977f1d3de106b94d3787a126258f0f87bc071..b75feb2ec2a1d0fcc75abe445ac5671aa60985f9 100644 (file)
@@ -66,6 +66,8 @@ enum pps_scpi_cmds {
        SCPI_CMD_GET_OVER_CURRENT_PROTECTION_ACTIVE,
        SCPI_CMD_GET_OVER_CURRENT_PROTECTION_THRESHOLD,
        SCPI_CMD_SET_OVER_CURRENT_PROTECTION_THRESHOLD,
+       SCPI_CMD_GET_OVER_CURRENT_PROTECTION_DELAY,
+       SCPI_CMD_SET_OVER_CURRENT_PROTECTION_DELAY,
 };
 
 /* Defines the SCPI dialect */
@@ -121,6 +123,7 @@ struct channel_spec {
        double frequency[5];
        double ovp[5];
        double ocp[5];
+       double ocp_delay[5];
 };
 
 struct channel_group_spec {