libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
midi.h File Reference
#include <stdint.h>
Include dependency graph for midi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  usb_midi_header_descriptor
 
struct  usb_midi_in_jack_descriptor
 
struct  usb_midi_out_jack_descriptor_head
 
struct  usb_midi_out_jack_descriptor_body
 
struct  usb_midi_out_jack_descriptor_tail
 
struct  usb_midi_out_jack_descriptor
 
struct  usb_midi_element_descriptor_head
 
struct  usb_midi_element_descriptor_body
 
struct  usb_midi_element_descriptor_tail
 
struct  usb_midi_element_descriptor
 
struct  usb_midi_endpoint_descriptor_head
 
struct  usb_midi_endpoint_descriptor_body
 
struct  usb_midi_endpoint_descriptor
 

Macros

#define USB_MIDI_SUBTYPE_MS_DESCRIPTOR_UNDEFINED   0x00
 
#define USB_MIDI_SUBTYPE_MS_HEADER   0x01
 
#define USB_MIDI_SUBTYPE_MIDI_IN_JACK   0x02
 
#define USB_MIDI_SUBTYPE_MIDI_OUT_JACK   0x03
 
#define USB_MIDI_SUBTYPE_MIDI_ELEMENT   0x04
 
#define USB_MIDI_SUBTYPE_DESCRIPTOR_UNDEFINED   0x00
 
#define USB_MIDI_SUBTYPE_MS_GENERAL   0x01
 
#define USB_MIDI_JACK_TYPE_UNDEFINED   0x00
 
#define USB_MIDI_JACK_TYPE_EMBEDDED   0x01
 
#define USB_MIDI_JACK_TYPE_EXTERNAL   0x02
 
#define USB_MIDI_EP_CONTROL_UNDEFINED   0x00
 
#define USB_MIDI_ASSOCIATION_CONTROL   0x01