projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Speed up bit-banged USART code in the AVRISP project.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Common
/
MIDI.h
diff --git
a/LUFA/Drivers/USB/Class/Common/MIDI.h
b/LUFA/Drivers/USB/Class/Common/MIDI.h
index
7dfb0e7
..
08c74cd
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Common/MIDI.h
+++ b/
LUFA/Drivers/USB/Class/Common/MIDI.h
@@
-29,6
+29,12
@@
*/
\r
\r
/** \ingroup Group_USBClassMIDI
\r
*/
\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
* @{
\r
*/
\r
\r
@@
-137,7
+143,7
@@
/** 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
/** 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
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