20#if defined(ARDUINO_ARCH_MBED) && !defined(ARDUINO_ARCH_MBED_RP2040)
22#include "PluggableUSBMIDI.hpp"
30 static const uint8_t string_iinterface_descriptor[] {
33 'A', 0,
'u', 0,
'd', 0,
'i', 0,
'o', 0
36 return string_iinterface_descriptor;
44 const uint8_t wmaxpkt_L = (
PacketSize >> 0) & 0xFF;
45 const uint8_t wmaxpkt_M = (
PacketSize >> 8) & 0xFF;
48 uint8_t config_descriptor_temp[] {
50 0x09, 0x02, 0x65, 0x00, 0x02, 0x01, 0x00, 0xc0, 0x50,
53 0x09, 0x04, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00,
54 0x09, 0x24, 0x01, 0x00, 0x01, 0x09, 0x00, 0x01, 0x01,
55 0x09, 0x04, 0x01, 0x00, 0x02, 0x01, 0x03, 0x00, 0x00,
56 0x07, 0x24, 0x01, 0x00, 0x01, 0x41, 0x00,
59 0x06, 0x24, 0x02, 0x01, 0x01, 0x00,
60 0x06, 0x24, 0x02, 0x02, 0x02, 0x00,
63 0x09, 0x24, 0x03, 0x01, 0x03, 0x01, 0x02, 0x01, 0x00,
64 0x09, 0x24, 0x03, 0x02, 0x06, 0x01, 0x01, 0x01, 0x00,
77 0x05, 0x25, 0x01, 0x01, 0x01,
90 0x05, 0x25, 0x01, 0x01, 0x03,
94 "Descriptor size error");
96 sizeof(config_descriptor_temp));
#define BEGIN_CS_NAMESPACE
static constexpr uint32_t PacketSize
USB packet size.
uint8_t config_descriptor[0x65]
const uint8_t * configuration_desc(uint8_t index) override
const uint8_t * string_iinterface_desc() override