THM1176InstrumentManager  1.0
Qt Object abstraction for Metrolab THM1176
USBTMCPrivate.h File Reference
Include dependency graph for USBTMCPrivate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define R8(x)   ((unsigned)((const U8*)(x))[0])
 Memory access macros. More...
 
#define RB16(x)
 
#define RL16(x)
 
#define RB16S(x)
 
#define RL16S(x)
 
#define RB32(x)
 
#define RL32(x)
 
#define RB32S(x)
 
#define RL32S(x)
 
#define RB64(x)
 
#define RL64(x)
 
#define RL64S(x)
 
#define RBFL(x)   ((union { uint32_t u; float f; }) { .u = RB32(x) }.f)
 
#define RLFL(x)   ((union { uint32_t u; float f; }) { .u = RL32(x) }.f)
 
#define W8(p, x)   do { ((U8*)(p))[0] = (U8) (x); } while (0)
 
#define WB16(p, x)
 
#define WL16(p, x)
 
#define WB32(p, x)
 
#define WL32(p, x)
 
#define WBFL(p, x)   WB32(p, (union { uint32_t u; float f; }) { .f = x }.u)
 
#define WLFL(p, x)   WL32(p, (union { uint32_t u; float f; }) { .f = x }.u)
 

Enumerations

enum  {
  INITIATE_ABORT_BULK_OUT = 1, CHECK_ABORT_BULK_OUT_STATUS = 2, INITIATE_ABORT_BULK_IN = 3, CHECK_ABORT_BULK_IN_STATUS = 4,
  INITIATE_CLEAR = 5, CHECK_CLEAR_STATUS = 6, GET_CAPABILITIES = 7, INDICATOR_PULSE = 64,
  READ_STATUS_BYTE = 128, REN_CONTROL = 160, GO_TO_LOCAL = 161, LOCAL_LOCKOUT = 162
}
 
enum  {
  USBTMC_STATUS_SUCCESS = 0x01, USBTMC_STATUS_PENDING = 0x02, USBTMC_STATUS_INTERRUPT_IN_BUSY = 0x20, USBTMC_STATUS_FAILED = 0x80,
  USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS = 0x81, USBTMC_STATUS_SPLIT_NOT_IN_PROGRESS = 0x82, USBTMC_STATUS_SPLIT_IN_PROGRESS = 0x83
}
 
enum  USBTMCError {
  USBTMC_ERROR_FIND_RESRC_BAD_FILTER = 1, USBTMC_ERROR_FIND_RESRC_NO_USBTMC_USB488, USBTMC_ERROR_GET_RESRC_NOT_FOUND, USBTMC_ERROR_WRITE_INVALID_TRANSFER_COUNT,
  USBTMC_ERROR_READ_INVALID_BUFFER_FOR_APPEND, USBTMC_ERROR_READ_INVALID_HEADER, USBTMC_ERROR_READ_WRONG_MSG_SIZE, USBTMC_ERROR_CLEAR_RESPONSE_ERROR,
  USBTMC_ERROR_CLEAR_BULKIN_RESPONSE_ERROR, USBTMC_ERROR_CLEAR_BULKOUT_RESPONSE_ERROR, USBTMC_ERROR_READSTB_CONTROL_RESPONSE_ERROR, USBTMC_ERROR_READSTB_INTERRUPT_RESPONSE_ERROR,
  USBTMC_ERROR_INSTRUMENT_LOCKED, USBTMC_ERROR_DEVICE_NOT_OPEN
}
 Error codes. Complementary to libusb errors (0 to -99). More...
 

Variables

static const U8 SUBCLASS_USBTMC = 0x03
 Constants for USBTMC and USB488. More...
 
static const U8 USBTMC_USB488 = 0x01
 
static const I32 USB_MAX_PORT_DEPTH = 7
 
static const U16 USB_CONTROL_ENDPOINT_NUMBER = 0
 
static const U32 USB_DESCRIPTOR_STRING_LENGTH = 256
 
static const U8 USBTMC_BM_REQUEST_TYPE_IN_CLS_IF = 0xA1
 
static const U8 USBTMC_BM_REQUEST_TYPE_IN_CLS_EP = 0xA2
 
static const U16 USBTMC_READ_BUFFER_SIZE = 256
 
static const U16 USBTMC_READSTB_CTRL_RESP_LENGTH = 3
 
static const U16 USBTMC_READSTB_INTR_RESP_LENGTH = 2
 
static const U16 USBTMC_INITIATE_CLEAR_RESP_LENGTH = 1
 
static const U16 USBTMC_CHECK_CLEAR_STATUS_RESP_LENGTH = 2
 
static const U32 USBTMC_CHECK_CLEAR_STATUS_INTERVAL = 10
 
static const U16 USBTMC_INITIATE_ABORT_BULKIN_RESP_LENGTH = 2
 
static const U16 USBTMC_CHECK_ABORT_BULKIN_STATUS_RESP_LENGTH = 8
 
static const U16 USBTMC_INITIATE_ABORT_BULKOUT_RESP_LENGTH = 2
 
static const U16 USBTMC_CHECK_ABORT_BULKOUT_STATUS_RESP_LENGTH = 8
 
static const U8 USBTMC_INT_CAP_LISTEN_ONLY = 0x01
 
static const U8 USBTMC_INT_CAP_TALK_ONLY = 0x02
 
static const U8 USBTMC_INT_CAP_INDICATOR = 0x04
 
static const U8 USBTMC_DEV_CAP_TERMCHAR = 0x01
 
static const U8 USB488_DEV_CAP_DT1 = 0x01
 
static const U8 USB488_DEV_CAP_RL1 = 0x02
 
static const U8 USB488_DEV_CAP_SR1 = 0x04
 
static const U8 USB488_DEV_CAP_SCPI = 0x08
 
static const I32 USBTMC_BULK_HEADER_SIZE = 12
 
static const I32 USBTMC_BULK_MIN_BUFFER_SIZE = 64
 
static const I32 USBTMC_BULK_TRIGGER_MSG_SIZE = 12
 
static const U8 DEV_DEP_MSG_OUT = 1
 
static const U8 REQUEST_DEV_DEP_MSG_IN = 2
 
static const U8 DEV_DEP_MSG_IN = 2
 
static const U8 TRIGGER = 128
 
static const U8 EOM = 0x01
 
static const U8 TERM_CHAR_ENABLED = 0x02
 
static const U8 BULKIN_FIFO_BYTES = 0x01
 
static const char * USBTMC_ERROR_EXPLANATION []
 Error explanations. More...
 

Macro Definition Documentation

◆ R8

#define R8 (   x)    ((unsigned)((const U8*)(x))[0])

Memory access macros.

Read a 8 bits unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 140 of file USBTMCPrivate.h.

◆ RB16

#define RB16 (   x)
Value:
(((unsigned)((const U8*)(x))[0] << 8) | \
(unsigned)((const U8*)(x))[1])

Read a 16 bits big endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 147 of file USBTMCPrivate.h.

◆ RB16S

#define RB16S (   x)
Value:
((int16_t) \
(((unsigned)((const U8*)(x))[0] << 8) | \
(unsigned)((const U8*)(x))[1]))

Read a 16 bits big endian signed integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding signed integer

Definition at line 163 of file USBTMCPrivate.h.

◆ RB32

#define RB32 (   x)
Value:
(((unsigned)((const U8*)(x))[0] << 24) | \
((unsigned)((const U8*)(x))[1] << 16) | \
((unsigned)((const U8*)(x))[2] << 8) | \
(unsigned)((const U8*)(x))[3])

Read a 32 bits big endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 181 of file USBTMCPrivate.h.

◆ RB32S

#define RB32S (   x)
Value:
((int32_t) \
(((unsigned)((const U8*)(x))[0] << 24) | \
((unsigned)((const U8*)(x))[1] << 16) | \
((unsigned)((const U8*)(x))[2] << 8) | \
(unsigned)((const U8*)(x))[3]))

Read a 32 bits big endian signed integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding signed integer

Definition at line 201 of file USBTMCPrivate.h.

◆ RB64

#define RB64 (   x)
Value:
(((uint64_t)((const U8*)(x))[0] << 56) | \
((uint64_t)((const U8*)(x))[1] << 48) | \
((uint64_t)((const U8*)(x))[2] << 40) | \
((uint64_t)((const U8*)(x))[3] << 32) | \
((uint64_t)((const U8*)(x))[4] << 24) | \
((uint64_t)((const U8*)(x))[5] << 16) | \
((uint64_t)((const U8*)(x))[6] << 8) | \
(uint64_t)((const U8*)(x))[7])

Read a 64 bits big endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 223 of file USBTMCPrivate.h.

◆ RBFL

#define RBFL (   x)    ((union { uint32_t u; float f; }) { .u = RB32(x) }.f)

Read a 32 bits big endian float out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding float

Definition at line 266 of file USBTMCPrivate.h.

◆ RL16

#define RL16 (   x)
Value:
(((unsigned)((const U8*)(x))[1] << 8) | \
(unsigned)((const U8*)(x))[0])

Read a 16 bits little endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 155 of file USBTMCPrivate.h.

◆ RL16S

#define RL16S (   x)
Value:
((int16_t) \
(((unsigned)((const U8*)(x))[1] << 8) | \
(unsigned)((const U8*)(x))[0]))

Read a 16 bits little endian signed integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding signed integer

Definition at line 172 of file USBTMCPrivate.h.

◆ RL32

#define RL32 (   x)
Value:
(((unsigned)((const U8*)(x))[3] << 24) | \
((unsigned)((const U8*)(x))[2] << 16) | \
((unsigned)((const U8*)(x))[1] << 8) | \
(unsigned)((const U8*)(x))[0])

Read a 32 bits little endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 191 of file USBTMCPrivate.h.

◆ RL32S

#define RL32S (   x)
Value:
((int32_t) \
(((unsigned)((const U8*)(x))[3] << 24) | \
((unsigned)((const U8*)(x))[2] << 16) | \
((unsigned)((const U8*)(x))[1] << 8) | \
(unsigned)((const U8*)(x))[0]))

Read a 32 bits little endian signed integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding signed integer

Definition at line 212 of file USBTMCPrivate.h.

◆ RL64

#define RL64 (   x)
Value:
(((uint64_t)((const U8*)(x))[7] << 56) | \
((uint64_t)((const U8*)(x))[6] << 48) | \
((uint64_t)((const U8*)(x))[5] << 40) | \
((uint64_t)((const U8*)(x))[4] << 32) | \
((uint64_t)((const U8*)(x))[3] << 24) | \
((uint64_t)((const U8*)(x))[2] << 16) | \
((uint64_t)((const U8*)(x))[1] << 8) | \
(uint64_t)((const U8*)(x))[0])

Read a 64 bits little endian unsigned integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 237 of file USBTMCPrivate.h.

◆ RL64S

#define RL64S (   x)
Value:
((int64_t) \
(((uint64_t)((const U8*)(x))[7] << 56) | \
((uint64_t)((const U8*)(x))[6] << 48) | \
((uint64_t)((const U8*)(x))[5] << 40) | \
((uint64_t)((const U8*)(x))[4] << 32) | \
((uint64_t)((const U8*)(x))[3] << 24) | \
((uint64_t)((const U8*)(x))[2] << 16) | \
((uint64_t)((const U8*)(x))[1] << 8) | \
(uint64_t)((const U8*)(x))[0]))

Read a 64 bits little endian signed integer out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding unsigned integer

Definition at line 251 of file USBTMCPrivate.h.

◆ RLFL

#define RLFL (   x)    ((union { uint32_t u; float f; }) { .u = RL32(x) }.f)

Read a 32 bits little endian float out of memory.

Parameters
xa pointer to the input memory
Returns
the corresponding float

Definition at line 273 of file USBTMCPrivate.h.

◆ W8

#define W8 (   p,
 
)    do { ((U8*)(p))[0] = (U8) (x); } while (0)

Write a 8 bits unsigned integer to memory.

Parameters
pa pointer to the output memory
xthe input unsigned integer

Definition at line 280 of file USBTMCPrivate.h.

◆ WB16

#define WB16 (   p,
 
)
Value:
do { ((U8*)(p))[1] = (U8) (x); \
((U8*)(p))[0] = (U8)((x)>>8); } while (0)

Write a 16 bits unsigned integer to memory stored as big endian.

Parameters
pa pointer to the output memory
xthe input unsigned integer

Definition at line 287 of file USBTMCPrivate.h.

◆ WB32

#define WB32 (   p,
 
)
Value:
do { ((U8*)(p))[3] = (U8) (x); \
((U8*)(p))[2] = (U8)((x)>>8); \
((U8*)(p))[1] = (U8)((x)>>16); \
((U8*)(p))[0] = (U8)((x)>>24); } while (0)

Write a 32 bits unsigned integer to memory stored as big endian.

Parameters
pa pointer to the output memory
xthe input unsigned integer

Definition at line 303 of file USBTMCPrivate.h.

◆ WBFL

#define WBFL (   p,
 
)    WB32(p, (union { uint32_t u; float f; }) { .f = x }.u)

Write a 32 bits float to memory stored as big endian.

Parameters
pa pointer to the output memory
xthe input float

Definition at line 323 of file USBTMCPrivate.h.

◆ WL16

#define WL16 (   p,
 
)
Value:
do { ((U8*)(p))[0] = (U8) (x); \
((U8*)(p))[1] = (U8)((x)>>8); } while (0)

Write a 16 bits unsigned integer to memory stored as little endian.

Parameters
pa pointer to the output memory
xthe input unsigned integer

Definition at line 295 of file USBTMCPrivate.h.

◆ WL32

#define WL32 (   p,
 
)
Value:
do { ((U8*)(p))[0] = (U8) (x); \
((U8*)(p))[1] = (U8)((x)>>8); \
((U8*)(p))[2] = (U8)((x)>>16); \
((U8*)(p))[3] = (U8)((x)>>24); } while (0)

Write a 32 bits unsigned integer to memory stored as little endian.

Parameters
pa pointer to the output memory
xthe input unsigned integer

Definition at line 313 of file USBTMCPrivate.h.

◆ WLFL

#define WLFL (   p,
 
)    WL32(p, (union { uint32_t u; float f; }) { .f = x }.u)

Write a 32 bits float to memory stored as little endian.

Parameters
pa pointer to the output memory
xthe input float

Definition at line 330 of file USBTMCPrivate.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INITIATE_ABORT_BULK_OUT 
CHECK_ABORT_BULK_OUT_STATUS 
INITIATE_ABORT_BULK_IN 
CHECK_ABORT_BULK_IN_STATUS 
INITIATE_CLEAR 
CHECK_CLEAR_STATUS 
GET_CAPABILITIES 
INDICATOR_PULSE 
READ_STATUS_BYTE 
REN_CONTROL 
GO_TO_LOCAL 
LOCAL_LOCKOUT 

Definition at line 17 of file USBTMCPrivate.h.

◆ anonymous enum

anonymous enum
Enumerator
USBTMC_STATUS_SUCCESS 
USBTMC_STATUS_PENDING 
USBTMC_STATUS_INTERRUPT_IN_BUSY 
USBTMC_STATUS_FAILED 
USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS 
USBTMC_STATUS_SPLIT_NOT_IN_PROGRESS 
USBTMC_STATUS_SPLIT_IN_PROGRESS 

Definition at line 52 of file USBTMCPrivate.h.

◆ USBTMCError

Error codes. Complementary to libusb errors (0 to -99).

Enumerator
USBTMC_ERROR_FIND_RESRC_BAD_FILTER 
USBTMC_ERROR_FIND_RESRC_NO_USBTMC_USB488 
USBTMC_ERROR_GET_RESRC_NOT_FOUND 
USBTMC_ERROR_WRITE_INVALID_TRANSFER_COUNT 
USBTMC_ERROR_READ_INVALID_BUFFER_FOR_APPEND 
USBTMC_ERROR_READ_INVALID_HEADER 
USBTMC_ERROR_READ_WRONG_MSG_SIZE 
USBTMC_ERROR_CLEAR_RESPONSE_ERROR 
USBTMC_ERROR_CLEAR_BULKIN_RESPONSE_ERROR 
USBTMC_ERROR_CLEAR_BULKOUT_RESPONSE_ERROR 
USBTMC_ERROR_READSTB_CONTROL_RESPONSE_ERROR 
USBTMC_ERROR_READSTB_INTERRUPT_RESPONSE_ERROR 
USBTMC_ERROR_INSTRUMENT_LOCKED 
USBTMC_ERROR_DEVICE_NOT_OPEN 

Definition at line 95 of file USBTMCPrivate.h.

Variable Documentation

◆ BULKIN_FIFO_BYTES

const U8 BULKIN_FIFO_BYTES = 0x01
static

Definition at line 91 of file USBTMCPrivate.h.

◆ DEV_DEP_MSG_IN

const U8 DEV_DEP_MSG_IN = 2
static

Definition at line 83 of file USBTMCPrivate.h.

◆ DEV_DEP_MSG_OUT

const U8 DEV_DEP_MSG_OUT = 1
static

Definition at line 81 of file USBTMCPrivate.h.

◆ EOM

const U8 EOM = 0x01
static

Definition at line 87 of file USBTMCPrivate.h.

◆ REQUEST_DEV_DEP_MSG_IN

const U8 REQUEST_DEV_DEP_MSG_IN = 2
static

Definition at line 82 of file USBTMCPrivate.h.

◆ SUBCLASS_USBTMC

const U8 SUBCLASS_USBTMC = 0x03
static

Constants for USBTMC and USB488.

Definition at line 13 of file USBTMCPrivate.h.

◆ TERM_CHAR_ENABLED

const U8 TERM_CHAR_ENABLED = 0x02
static

Definition at line 88 of file USBTMCPrivate.h.

◆ TRIGGER

const U8 TRIGGER = 128
static

Definition at line 84 of file USBTMCPrivate.h.

◆ USB488_DEV_CAP_DT1

const U8 USB488_DEV_CAP_DT1 = 0x01
static

Definition at line 70 of file USBTMCPrivate.h.

◆ USB488_DEV_CAP_RL1

const U8 USB488_DEV_CAP_RL1 = 0x02
static

Definition at line 71 of file USBTMCPrivate.h.

◆ USB488_DEV_CAP_SCPI

const U8 USB488_DEV_CAP_SCPI = 0x08
static

Definition at line 73 of file USBTMCPrivate.h.

◆ USB488_DEV_CAP_SR1

const U8 USB488_DEV_CAP_SR1 = 0x04
static

Definition at line 72 of file USBTMCPrivate.h.

◆ USB_CONTROL_ENDPOINT_NUMBER

const U16 USB_CONTROL_ENDPOINT_NUMBER = 0
static

Definition at line 36 of file USBTMCPrivate.h.

◆ USB_DESCRIPTOR_STRING_LENGTH

const U32 USB_DESCRIPTOR_STRING_LENGTH = 256
static

Definition at line 37 of file USBTMCPrivate.h.

◆ USB_MAX_PORT_DEPTH

const I32 USB_MAX_PORT_DEPTH = 7
static

Definition at line 35 of file USBTMCPrivate.h.

◆ USBTMC_BM_REQUEST_TYPE_IN_CLS_EP

const U8 USBTMC_BM_REQUEST_TYPE_IN_CLS_EP = 0xA2
static

Definition at line 39 of file USBTMCPrivate.h.

◆ USBTMC_BM_REQUEST_TYPE_IN_CLS_IF

const U8 USBTMC_BM_REQUEST_TYPE_IN_CLS_IF = 0xA1
static

Definition at line 38 of file USBTMCPrivate.h.

◆ USBTMC_BULK_HEADER_SIZE

const I32 USBTMC_BULK_HEADER_SIZE = 12
static

Definition at line 76 of file USBTMCPrivate.h.

◆ USBTMC_BULK_MIN_BUFFER_SIZE

const I32 USBTMC_BULK_MIN_BUFFER_SIZE = 64
static

Definition at line 77 of file USBTMCPrivate.h.

◆ USBTMC_BULK_TRIGGER_MSG_SIZE

const I32 USBTMC_BULK_TRIGGER_MSG_SIZE = 12
static

Definition at line 78 of file USBTMCPrivate.h.

◆ USBTMC_CHECK_ABORT_BULKIN_STATUS_RESP_LENGTH

const U16 USBTMC_CHECK_ABORT_BULKIN_STATUS_RESP_LENGTH = 8
static

Definition at line 47 of file USBTMCPrivate.h.

◆ USBTMC_CHECK_ABORT_BULKOUT_STATUS_RESP_LENGTH

const U16 USBTMC_CHECK_ABORT_BULKOUT_STATUS_RESP_LENGTH = 8
static

Definition at line 49 of file USBTMCPrivate.h.

◆ USBTMC_CHECK_CLEAR_STATUS_INTERVAL

const U32 USBTMC_CHECK_CLEAR_STATUS_INTERVAL = 10
static

Definition at line 45 of file USBTMCPrivate.h.

◆ USBTMC_CHECK_CLEAR_STATUS_RESP_LENGTH

const U16 USBTMC_CHECK_CLEAR_STATUS_RESP_LENGTH = 2
static

Definition at line 44 of file USBTMCPrivate.h.

◆ USBTMC_DEV_CAP_TERMCHAR

const U8 USBTMC_DEV_CAP_TERMCHAR = 0x01
static

Definition at line 68 of file USBTMCPrivate.h.

◆ USBTMC_ERROR_EXPLANATION

const char* USBTMC_ERROR_EXPLANATION[]
static
Initial value:
=
{
"USBTMC: Success",
"USBTMC FindResources: Invalid filter",
"USBTMC FindResources: Failed to find USBTMC-USB488 interface",
"USBTMC GetDeviceListEntry: Resource not found",
"USBTMC Write: invalid transfer count",
"USBTMC Read: Buffer is invalid for append read (no room for read header)",
"USBTMC Read: Read header is invalid",
"USBTMC Read: Message size is wrong",
"USBTMC Clear: Response error",
"USBTMC Clear BulkIn: Response error",
"USBTMC Clear BulkOut: Response error",
"USBTMC ReadSTB: Control endpoint response error",
"USBTMC ReadSTB: Interrupt endpoint response error",
"USBTMC: Instrument is locked by someone else",
"USBTMC: Instrument is not open"
}

Error explanations.

Definition at line 114 of file USBTMCPrivate.h.

◆ USBTMC_INITIATE_ABORT_BULKIN_RESP_LENGTH

const U16 USBTMC_INITIATE_ABORT_BULKIN_RESP_LENGTH = 2
static

Definition at line 46 of file USBTMCPrivate.h.

◆ USBTMC_INITIATE_ABORT_BULKOUT_RESP_LENGTH

const U16 USBTMC_INITIATE_ABORT_BULKOUT_RESP_LENGTH = 2
static

Definition at line 48 of file USBTMCPrivate.h.

◆ USBTMC_INITIATE_CLEAR_RESP_LENGTH

const U16 USBTMC_INITIATE_CLEAR_RESP_LENGTH = 1
static

Definition at line 43 of file USBTMCPrivate.h.

◆ USBTMC_INT_CAP_INDICATOR

const U8 USBTMC_INT_CAP_INDICATOR = 0x04
static

Definition at line 66 of file USBTMCPrivate.h.

◆ USBTMC_INT_CAP_LISTEN_ONLY

const U8 USBTMC_INT_CAP_LISTEN_ONLY = 0x01
static

Definition at line 64 of file USBTMCPrivate.h.

◆ USBTMC_INT_CAP_TALK_ONLY

const U8 USBTMC_INT_CAP_TALK_ONLY = 0x02
static

Definition at line 65 of file USBTMCPrivate.h.

◆ USBTMC_READ_BUFFER_SIZE

const U16 USBTMC_READ_BUFFER_SIZE = 256
static

Definition at line 40 of file USBTMCPrivate.h.

◆ USBTMC_READSTB_CTRL_RESP_LENGTH

const U16 USBTMC_READSTB_CTRL_RESP_LENGTH = 3
static

Definition at line 41 of file USBTMCPrivate.h.

◆ USBTMC_READSTB_INTR_RESP_LENGTH

const U16 USBTMC_READSTB_INTR_RESP_LENGTH = 2
static

Definition at line 42 of file USBTMCPrivate.h.

◆ USBTMC_USB488

const U8 USBTMC_USB488 = 0x01
static

Definition at line 14 of file USBTMCPrivate.h.

U8
unsigned char U8
Unsigned byte.
Definition: OSDefines.h:30