X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fnorma-dmm%2Fprotocol.h;h=9891741ee88e0101b34be1bf51deb37c316f7ec2;hp=bec6107046b51e0a11f5f66a6e7aca1b973c1f78;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c diff --git a/src/hardware/norma-dmm/protocol.h b/src/hardware/norma-dmm/protocol.h index bec61070..9891741e 100644 --- a/src/hardware/norma-dmm/protocol.h +++ b/src/hardware/norma-dmm/protocol.h @@ -28,14 +28,6 @@ #include #include "libsigrok-internal.h" -/** - * @file - * - * Norma DM9x0/Siemens B102x DMMs driver. - * - * @internal - */ - #define LOG_PREFIX "norma-dmm" #define NMADMM_BUFSIZE 256 @@ -57,21 +49,16 @@ struct nmadmm_req { /** Strings for requests. */ extern const struct nmadmm_req nmadmm_requests[]; -/** Private, per-device-instance driver context. */ struct dev_context { - /* Model-specific information */ int type; /**< DM9x0, e.g. 5 = DM950 */ - /* Acquisition settings */ struct sr_sw_limits limits; - /* Operational state */ int last_req; /**< Last request. */ int64_t req_sent_at; /**< Request sent. */ gboolean last_req_pending; /**< Last request not answered yet. */ int lowbatt; /**< Low battery. 1=low, 2=critical. */ - /* Temporary state across callbacks */ uint8_t buf[NMADMM_BUFSIZE]; /**< Buffer for read callback */ int buflen; /**< Data len in buf */ };