USB_ClassInfo_MIDI_Host_t Struct Reference
[MIDI Class Host Mode Driver]

#include <MIDI.h>

Data Fields

struct {
   uint8_t   DataINPipeNumber
   bool   DataINPipeDoubleBank
   uint8_t   DataOUTPipeNumber
   bool   DataOUTPipeDoubleBank
Config
struct {
   bool   IsActive
   uint16_t   DataINPipeSize
   uint16_t   DataOUTPipeSize
State

Detailed Description

Class state structure. An instance of this structure should be made within the user application, and passed to each of the MIDI class driver functions as the MIDIInterfaceInfo parameter. This stores each MIDI interface's configuration and state information.


Field Documentation

Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.

Pipe number of the MIDI interface's streaming IN data pipe

Size in bytes of the MIDI Streaming Data interface's IN data pipe

Indicates if the MIDI interface's IN data pipe should use double banking Pipe number of the MIDI interface's streaming OUT data pipe

Size in bytes of the MIDI Streaming Data interface's OUT data pipe

Indicates if the current interface instance is connected to an attached device, valid after MIDI_Host_ConfigurePipes() is called and the Host state machine is in the Configured state

State data for the USB class interface within the device. All elements in this section may be set to initial values, but may also be ignored to default to sane values when the interface is enumerated.


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2