*/\r
\r
/** \ingroup Group_USBClassMIDI\r
+ * @defgroup Group_USBClassMIDICommon Common Class Definitions\r
+ *\r
+ * \section Module Description\r
+ * Constants, Types and Enum definitions that are common to both Device and Host modes for the USB\r
+ * MIDI Class.\r
+ *\r
* @{\r
*/\r
\r
/** Type define for a USB MIDI event packet, used to encapsulate sent and received MIDI messages from a USB MIDI interface. */\r
typedef struct\r
{\r
- unsigned char Command : 4; /**< MIDI command being sent or received in the event packet */\r
+ unsigned char Command : 4; /**< Upper nibble of the MIDI command being sent or received in the event packet */\r
unsigned char CableNumber : 4; /**< Virtual cable number of the event being sent or received in the given MIDI interface */\r
\r
uint8_t Data1; /**< First byte of data in the MIDI event */\r