LUFA Library  120219
MIDIClassHost.h File Reference

Host mode driver for the library USB MIDI Class driver. More...

Data Structures

struct  USB_ClassInfo_MIDI_Host_t
 MIDI Class Host Mode Configuration and State Structure. More...

Enumerations

enum  MIDI_Host_EnumerationFailure_ErrorCodes_t {
  MIDI_ENUMERROR_NoError = 0,
  MIDI_ENUMERROR_InvalidConfigDescriptor = 1,
  MIDI_ENUMERROR_NoCompatibleInterfaceFound = 2,
  MIDI_ENUMERROR_PipeConfigurationFailed = 3
}

Functions

uint8_t MIDI_Host_ConfigurePipes (USB_ClassInfo_MIDI_Host_t *const MIDIInterfaceInfo, uint16_t ConfigDescriptorSize, void *ConfigDescriptorData) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3)
void MIDI_Host_USBTask (USB_ClassInfo_MIDI_Host_t *const MIDIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
uint8_t MIDI_Host_SendEventPacket (USB_ClassInfo_MIDI_Host_t *const MIDIInterfaceInfo, MIDI_EventPacket_t *const Event) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)
uint8_t MIDI_Host_Flush (USB_ClassInfo_MIDI_Host_t *const MIDIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
bool MIDI_Host_ReceiveEventPacket (USB_ClassInfo_MIDI_Host_t *const MIDIInterfaceInfo, MIDI_EventPacket_t *const Event) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)

Detailed Description

Host mode driver for the library USB MIDI Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the USB module driver dispatch header located in LUFA/Drivers/USB.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines