X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprotocol.h;h=552d5030a0e752f08360442cf22150afb122e9ea;hb=ce7d3578e3b1438ca472abea8b3844c3debd249f;hp=247e41fb88a38fa8614c739932a9f6b8b0bd5679;hpb=478c8d923e026fe2dda707f67336326da635b2eb;p=libsigrok.git diff --git a/src/hardware/scpi-pps/protocol.h b/src/hardware/scpi-pps/protocol.h index 247e41fb..552d5030 100644 --- a/src/hardware/scpi-pps/protocol.h +++ b/src/hardware/scpi-pps/protocol.h @@ -71,9 +71,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; @@ -101,6 +101,18 @@ struct channel_group_spec { uint64_t features; }; +struct pps_channel { + int mq; + unsigned int hw_output_idx; + char *hwname; +}; + +struct pps_channel_instance { + int mq; + int command; + char *prefix; +}; + struct pps_channel_group { uint64_t features; }; @@ -122,7 +134,6 @@ struct dev_context { /* Operational state */ /* Temporary state across callbacks */ - int state; struct sr_channel *cur_channel; };