mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
deploy: 9184254b87
This commit is contained in:
parent
089f105bfc
commit
3c6920e949
3 changed files with 6 additions and 6 deletions
|
@ -69,7 +69,7 @@ $(function() {
|
||||||
<a href="usbh__midi_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
<a href="usbh__midi_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
||||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *******************************************************************************</span></div>
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *******************************************************************************</span></div>
|
||||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
|
||||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2012-2021 Yuuichi Akagawa</span></div>
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2012-2022 Yuuichi Akagawa</span></div>
|
||||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
|
||||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
|
||||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
|
||||||
|
@ -421,7 +421,7 @@ $(function() {
|
||||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
|
||||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
|
||||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
|
||||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">return</span> <a class="code" href="class_u_s_b_h___m_i_d_i.html#ae72b2c1cbd89e25b60833add4de15153">getMsgSizeFromCin</a>(cin);</div>
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">return</span> <a class="code" href="class_u_s_b_h___m_i_d_i.html#ae72b2c1cbd89e25b60833add4de15153">getMsgSizeFromCin</a>(cin & 0x0f);</div>
|
||||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> }</div>
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> }</div>
|
||||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
|
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
|
||||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment">/* Send data to MIDI device */</span></div>
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment">/* Send data to MIDI device */</span></div>
|
||||||
|
|
|
@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
|
||||||
</table><table class="memberdecls">
|
</table><table class="memberdecls">
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
Macros</h2></td></tr>
|
Macros</h2></td></tr>
|
||||||
<tr class="memitem:aedbb874461f06ee82661c00de153c126"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126">USBH_MIDI_VERSION</a>   600</td></tr>
|
<tr class="memitem:aedbb874461f06ee82661c00de153c126"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126">USBH_MIDI_VERSION</a>   601</td></tr>
|
||||||
<tr class="separator:aedbb874461f06ee82661c00de153c126"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:aedbb874461f06ee82661c00de153c126"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a209d19007c615d3f300a5d3717776a45"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45">MIDI_MAX_ENDPOINTS</a>   3</td></tr>
|
<tr class="memitem:a209d19007c615d3f300a5d3717776a45"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45">MIDI_MAX_ENDPOINTS</a>   3</td></tr>
|
||||||
<tr class="separator:a209d19007c615d3f300a5d3717776a45"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a209d19007c615d3f300a5d3717776a45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
@ -135,7 +135,7 @@ Variables</h2></td></tr>
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
<table class="memname">
|
<table class="memname">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="memname">#define USBH_MIDI_VERSION   600</td>
|
<td class="memname">#define USBH_MIDI_VERSION   601</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
|
|
|
@ -69,7 +69,7 @@ $(function() {
|
||||||
<a href="usbh__midi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
<a href="usbh__midi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
||||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *******************************************************************************</span></div>
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *******************************************************************************</span></div>
|
||||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
|
||||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2012-2021 Yuuichi Akagawa</span></div>
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2012-2022 Yuuichi Akagawa</span></div>
|
||||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
|
||||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
|
||||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
|
||||||
|
@ -96,7 +96,7 @@ $(function() {
|
||||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define _USBH_MIDI_H_</span></div>
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define _USBH_MIDI_H_</span></div>
|
||||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126"> 31</a></span> <span class="preprocessor">#define USBH_MIDI_VERSION 600</span></div>
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126"> 31</a></span> <span class="preprocessor">#define USBH_MIDI_VERSION 601</span></div>
|
||||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45"> 32</a></span> <span class="preprocessor">#define MIDI_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN(MIDI), bulk_OUT(MIDI)</span></div>
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45"> 32</a></span> <span class="preprocessor">#define MIDI_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN(MIDI), bulk_OUT(MIDI)</span></div>
|
||||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a071b718fc63564ff2ae0b8b8d8e638fc"> 33</a></span> <span class="preprocessor">#define USB_SUBCLASS_MIDISTREAMING 3</span></div>
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a071b718fc63564ff2ae0b8b8d8e638fc"> 33</a></span> <span class="preprocessor">#define USB_SUBCLASS_MIDISTREAMING 3</span></div>
|
||||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a0cb5d0be715a42f36440b29eaa728c58"> 34</a></span> <span class="preprocessor">#define MIDI_EVENT_PACKET_SIZE 64</span></div>
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a0cb5d0be715a42f36440b29eaa728c58"> 34</a></span> <span class="preprocessor">#define MIDI_EVENT_PACKET_SIZE 64</span></div>
|
||||||
|
|
Loading…
Reference in a new issue