Remove dependancies from the LowLevel demos to the ClassDriver demos, since the use...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / MIDI.h
index 8b68480..96b23ef 100644 (file)
  *    - LUFA/Drivers/USB/Class/Host/MIDI.c\r
  *\r
  *  \section Module Description\r
- *  Functions, macros, variables, enums and types related to the management of USB MIDI Class interfaces\r
- *  within a USB device. Note that the MIDI class is actually a special case of the regular Audio class,\r
- *  thus this module depends on structure definitions from the \ref Group_USBClassAudioDevice class driver module.\r
+ *  MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device\r
+ *  and Host USB modes. User applications can use this class driver instead of implementing the MIDI class manuall\r
+ *  via the low-level LUFA APIs.\r
+ *\r
+ *  This module is designed to simplify the user code by exposing only the required interface needed to interace with\r
+ *  Hosts or Devices using the USB MIDI Class.\r
+ *\r
+ *  \note The USB MIDI class is actually a special case of the regular Audio class, thus this module depends on\r
+ *        structure definitions from the \ref Group_USBClassAudioDevice class driver module.\r
  *\r
  *  @{\r
  */\r
        /* Includes: */\r
                #include "../HighLevel/USBMode.h"\r
 \r
+               #if defined(NO_STREAM_CALLBACKS)\r
+                       #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.\r
+               #endif\r
+\r
                #if defined(USB_CAN_BE_DEVICE)\r
                        #include "Device/MIDI.h"\r
                #endif\r
-               \r
+\r
                #if defined(USB_CAN_BE_HOST)\r
                        #include "Host/MIDI.h"\r
                #endif\r