33 #define __INCLUDE_FROM_USB_DRIVER
34 #include "../../Core/USBMode.h"
36 #if defined(USB_CAN_BE_HOST)
38 #define __INCLUDE_FROM_MIDI_DRIVER
39 #define __INCLUDE_FROM_MIDI_HOST_C
43 uint16_t ConfigDescriptorSize,
44 void* ConfigDescriptorData)
51 memset(&MIDIInterfaceInfo->
State, 0x00,
sizeof(MIDIInterfaceInfo->
State));
56 while (!(DataINEndpoint) || !(DataOUTEndpoint))
58 if (!(MIDIInterface) ||
70 DataINEndpoint =
NULL;
71 DataOUTEndpoint =
NULL;
79 DataINEndpoint = EndpointData;
81 DataOUTEndpoint = EndpointData;
95 EndpointAddress = DataINEndpoint->EndpointAddress;
105 EndpointAddress = DataOUTEndpoint->EndpointAddress;
157 uint8_t EndpointType = (Endpoint->Attributes &
EP_TYPE_MASK);
175 #if !defined(NO_CLASS_DRIVER_AUTOFLUSH)