X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprotocol.h;h=597ed09f48bccb046d7f63108e90552f84d74222;hb=53a81803e416946c2d85edfc15b50d5a1926b1a9;hp=d6695addbcca951e0dca1aee9ce72f6c9879ed7f;hpb=01b0257aefc10874012e9bc066802a2c3a308801;p=libsigrok.git diff --git a/src/hardware/scpi-pps/protocol.h b/src/hardware/scpi-pps/protocol.h index d6695add..597ed09f 100644 --- a/src/hardware/scpi-pps/protocol.h +++ b/src/hardware/scpi-pps/protocol.h @@ -37,17 +37,21 @@ enum pps_scpi_cmds { SCPI_CMD_GET_CURRENT_MAX, SCPI_CMD_SET_CURRENT_MAX, SCPI_CMD_GET_OUTPUT_ENABLED, - SCPI_CMD_SET_OUTPUT_ENABLED, + SCPI_CMD_SET_OUTPUT_ENABLE, + SCPI_CMD_SET_OUTPUT_DISABLE, SCPI_CMD_GET_OUTPUT_REGULATION, SCPI_CMD_GET_OVER_TEMPERATURE_PROTECTION, - SCPI_CMD_SET_OVER_TEMPERATURE_PROTECTION, + SCPI_CMD_SET_OVER_TEMPERATURE_PROTECTION_ENABLE, + SCPI_CMD_SET_OVER_TEMPERATURE_PROTECTION_DISABLE, SCPI_CMD_GET_OVER_VOLTAGE_PROTECTION_ENABLED, - SCPI_CMD_SET_OVER_VOLTAGE_PROTECTION_ENABLED, + SCPI_CMD_SET_OVER_VOLTAGE_PROTECTION_ENABLE, + SCPI_CMD_SET_OVER_VOLTAGE_PROTECTION_DISABLE, SCPI_CMD_GET_OVER_VOLTAGE_PROTECTION_ACTIVE, SCPI_CMD_GET_OVER_VOLTAGE_PROTECTION_THRESHOLD, SCPI_CMD_SET_OVER_VOLTAGE_PROTECTION_THRESHOLD, SCPI_CMD_GET_OVER_CURRENT_PROTECTION_ENABLED, - SCPI_CMD_SET_OVER_CURRENT_PROTECTION_ENABLED, + SCPI_CMD_SET_OVER_CURRENT_PROTECTION_ENABLE, + SCPI_CMD_SET_OVER_CURRENT_PROTECTION_DISABLE, SCPI_CMD_GET_OVER_CURRENT_PROTECTION_ACTIVE, SCPI_CMD_GET_OVER_CURRENT_PROTECTION_THRESHOLD, SCPI_CMD_SET_OVER_CURRENT_PROTECTION_THRESHOLD, @@ -71,9 +75,9 @@ struct scpi_pps { char *vendor; char *model; uint64_t features; - const int32_t *devopts; + const uint32_t *devopts; unsigned int num_devopts; - const int32_t *devopts_cg; + const uint32_t *devopts_cg; unsigned int num_devopts_cg; struct channel_spec *channels; unsigned int num_channels;