28#ifndef CLASS_USBTMC_USBTMC_DEVICE_H_
29#define CLASS_USBTMC_USBTMC_DEVICE_H_
34#if !defined(CFG_TUD_USBTMC_ENABLE_488)
35#define CFG_TUD_USBTMC_ENABLE_488 (1)
51#if (CFG_TUD_USBTMC_ENABLE_488)
57void tud_usbtmc_open_cb(uint8_t interface_id);
61bool tud_usbtmc_msg_data_cb(
void *data,
size_t len,
bool transfer_complete);
62void tud_usbtmc_bulkOut_clearFeature_cb(
void);
65bool tud_usbtmc_msgBulkIn_complete_cb(
void);
66void tud_usbtmc_bulkIn_clearFeature_cb(
void);
68bool tud_usbtmc_initiate_abort_bulk_in_cb(uint8_t *tmcResult);
69bool tud_usbtmc_initiate_abort_bulk_out_cb(uint8_t *tmcResult);
70bool tud_usbtmc_initiate_clear_cb(uint8_t *tmcResult);
79#if (CFG_TUD_USBTMC_ENABLE_488)
80uint8_t tud_usbtmc_get_stb_cb(uint8_t *tmcResult);
92bool tud_usbtmc_transmit_dev_msg_data(
93 const void * data,
size_t len,
94 bool endOfMessage,
bool usingTermChar);
96bool tud_usbtmc_start_bus_read(
void);
102void usbtmcd_reset_cb(uint8_t rhport);
103bool usbtmcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes);
105void usbtmcd_init_cb(
void);
AUDIO Channel Cluster Descriptor (4.1)
Definition audio.h:647