*/\r
\r
/** \ingroup Group_USBClassDrivers\r
- * @defgroup Group_USBClassMIDI MIDI Device Class Driver - LUFA/Drivers/Class/MIDI.h\r
+ * @defgroup Group_USBClassMIDI MIDI Class Driver - LUFA/Drivers/Class/MIDI.h\r
*\r
* \section Sec_Dependencies Module Source Dependencies\r
* The following files must be built with any user project that uses this module:\r
* - 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 manually\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 interface 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