USB_Host_Shield_2.0/usbh__midi_8cpp_source.html

156 lines
148 KiB
HTML
Raw Normal View History

2016-04-19 18:16:46 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2016-04-19 18:16:46 +02:00
<title>USB Host Shield 2.0: usbh_midi.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
2016-04-19 18:16:46 +02:00
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2016-04-19 18:16:46 +02:00
<div id="projectname">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
2016-04-19 18:16:46 +02:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
2016-04-19 18:16:46 +02:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
2016-04-19 18:16:46 +02:00
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">usbh_midi.cpp</div> </div>
</div><!--header-->
<div class="contents">
<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>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *******************************************************************************</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<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>&#160;<span class="comment"> * Copyright (c) 2012-2018 Yuuichi Akagawa</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<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>&#160;<span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * for use with USB Host Shield 2.0 from Circuitsathome.com</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * https://github.com/felis/USB_Host_Shield_2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> *******************************************************************************</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * (at your option) any later version.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> *******************************************************************************</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="com
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00048">address.h:48</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00090">address.h:90</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aa5506d9556605493d25492ab1f2fe2a8"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aa5506d9556605493d25492ab1f2fe2a8">USBH_MIDI::SendSysEx</a></div><div class="ttdeci">uint8_t SendSysEx(uint8_t *dataptr, uint16_t datasize, uint8_t nCable=0)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00573">usbh_midi.cpp:573</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_ac8b7d0994df1a059ccf6be62dd84cc9e"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#ac8b7d0994df1a059ccf6be62dd84cc9e">USBH_MIDI::epDataInIndexVSP</a></div><div class="ttdeci">static const uint8_t epDataInIndexVSP</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00044">usbh_midi.h:44</a></div></div>
<div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00086">address.h:86</a></div></div>
<div class="ttc" id="_usb_core_8h_html_af192c59cafe2192ad802b22e6dbc077d"><div class="ttname"><a href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a></div><div class="ttdeci">#define USB_ERROR_EPINFO_IS_NULL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00096">UsbCore.h:96</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a16cc26804628e2ea32513b4cce1aa7c3"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a16cc26804628e2ea32513b4cce1aa7c3">USBH_MIDI::bTransferTypeMask</a></div><div class="ttdeci">uint8_t bTransferTypeMask</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00055">usbh_midi.h:55</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aad25eeebfe8741afa7a242ec398c846e"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">USBH_MIDI::readPtr</a></div><div class="ttdeci">uint8_t readPtr</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00060">usbh_midi.h:60</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_ep_info_html_a3a5b1c017a034cd9e06e76729e727c46"><div class="ttname"><a href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">EpInfo::bmNakPower</a></div><div class="ttdeci">uint8_t bmNakPower</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00049">address.h:49</a></div></div>
<div class="ttc" id="struct_usb_device_html"><div class="ttname"><a href="struct_usb_device.html">UsbDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00082">address.h:82</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_adb10f3867c2171603faa37af3e9fd210"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#adb10f3867c2171603faa37af3e9fd210">USBH_MIDI::RecvData</a></div><div class="ttdeci">uint8_t RecvData(uint16_t *bytes_rcvd, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00374">usbh_midi.cpp:374</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00148">usb_ch9.h:148</a></div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a95cd9669dee9cab375a7c5e62284a01b"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a95cd9669dee9cab375a7c5e62284a01b">USB_ENDPOINT_DESCRIPTOR::bInterval</a></div><div class="ttdeci">uint8_t bInterval</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00154">usb_ch9.h:154</a></div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a55263a9cc9dc17abc37226ac8a471ad0"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a55263a9cc9dc17abc37226ac8a471ad0">USB_ENDPOINT_DESCRIPTOR::bLength</a></div><div class="ttdeci">uint8_t bLength</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00149">usb_ch9.h:149</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aa578074365d77bb3e41063a18625dfe3"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aa578074365d77bb3e41063a18625dfe3">USBH_MIDI::vid</a></div><div class="ttdeci">uint16_t vid</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00054">usbh_midi.h:54</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00840">Usb.cpp:840</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a9c8d149a823d2b8d1c3579f0f445cf19"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a9c8d149a823d2b8d1c3579f0f445cf19">USBH_MIDI::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00108">usbh_midi.cpp:108</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_ac3f574f82929eedc3386195f9a941203"><div class="ttname"><a href="usb__ch9_8h.html#ac3f574f82929eedc3386195f9a941203">USB_DESCRIPTOR_ENDPOINT</a></div><div class="ttdeci">#define USB_DESCRIPTOR_ENDPOINT</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00074">usb_ch9.h:74</a></div></div>
<div class="ttc" id="usbh__midi_8h_html_a071b718fc63564ff2ae0b8b8d8e638fc"><div class="ttname"><a href="usbh__midi_8h.html#a071b718fc63564ff2ae0b8b8d8e638fc">USB_SUBCLASS_MIDISTREAMING</a></div><div class="ttdeci">#define USB_SUBCLASS_MIDISTREAMING</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00033">usbh_midi.h:33</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_af0c14d1bc7f60e8191b07bcca0c20c84"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#af0c14d1bc7f60e8191b07bcca0c20c84">USBH_MIDI::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00048">usbh_midi.h:48</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a3005d70999cbf2339c55bcdd6fc77bff"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a3005d70999cbf2339c55bcdd6fc77bff">USBH_MIDI::SendRawData</a></div><div class="ttdeci">uint8_t SendRawData(uint16_t bytes_send, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00631">usbh_midi.cpp:631</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_ab3b9ea78a331449802e4ce5a5a9c7f18"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#ab3b9ea78a331449802e4ce5a5a9c7f18">USBH_MIDI::countSysExDataSize</a></div><div class="ttdeci">uint16_t countSysExDataSize(uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00549">usbh_midi.cpp:549</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_address_pool_html_a15fde13223dcb1da89305ad229763562"><div class="ttname"><a href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">AddressPool::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)=0</div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a42685ed17f731d3c8e3062d1e1b52f78"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a42685ed17f731d3c8e3062d1e1b52f78">USBH_MIDI::epDataOutIndexVSP</a></div><div class="ttdeci">static const uint8_t epDataOutIndexVSP</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00045">usbh_midi.h:45</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_aa17b365c4eb8bd2f6a4d4e4fb5f881c7"><div class="ttname"><a href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a></div><div class="ttdeci">#define USB_DESCRIPTOR_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00071">usb_ch9.h:71</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aa9f6790ed10bec5fc5a9ebfc43dacfeb"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aa9f6790ed10bec5fc5a9ebfc43dacfeb">USBH_MIDI::setupDeviceSpecific</a></div><div class="ttdeci">void setupDeviceSpecific()</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00352">usbh_midi.cpp:352</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00152">usb_ch9.h:152</a></div></div>
<div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00084">macros.h:84</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00831">Usb.cpp:831</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_ab8b2dd096df7159ce8a09a19812307ca"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#ab8b2dd096df7159ce8a09a19812307ca">USBH_MIDI::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00051">usbh_midi.h:51</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aef410de857fd657d467b0406d29f4aed"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aef410de857fd657d467b0406d29f4aed">USBH_MIDI::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00049">usbh_midi.h:49</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00039">address.h:39</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aaf7ec77f0d8cefff1316ae049747e2a7"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aaf7ec77f0d8cefff1316ae049747e2a7">USBH_MIDI::pid</a></div><div class="ttdeci">uint16_t pid</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00054">usbh_midi.h:54</a></div></div>
<div class="ttc" id="class_u_s_b_html_affbc018973a588995457d535b0ac7ee7"><div class="ttname"><a href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">USB::outTransfer</a></div><div class="ttdeci">uint8_t outTransfer(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00303">Usb.cpp:303</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a912c417424d6f21cf1afbf524c418eb5"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a912c417424d6f21cf1afbf524c418eb5">USBH_MIDI::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00341">usbh_midi.cpp:341</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_af9f74895deb356da3d1915d9eac24aca"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#af9f74895deb356da3d1915d9eac24aca">USBH_MIDI::RecvRawData</a></div><div class="ttdeci">uint8_t RecvRawData(uint8_t *outBuf)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00428">usbh_midi.cpp:428</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_af34105fa6bd0029d9c6b73d85f7853c6"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af34105fa6bd0029d9c6b73d85f7853c6">USB_ENDPOINT_DESCRIPTOR::wMaxPacketSize</a></div><div class="ttdeci">uint16_t wMaxPacketSize</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00153">usb_ch9.h:153</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_ac1b1bcdd6bd4e8c5a65052e914e028d5"><div class="ttname"><a href="usb__ch9_8h.html#ac1b1bcdd6bd4e8c5a65052e914e028d5">bmUSB_TRANSFER_TYPE</a></div><div class="ttdeci">#define bmUSB_TRANSFER_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00094">usb_ch9.h:94</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a8785f84db1be6b0b5da34cd91a1b6138"><div class="ttname"><a href="_usb_core_8h.html#a8785f84db1be6b0b5da34cd91a1b6138">USB_CLASS_AUDIO</a></div><div class="ttdeci">#define USB_CLASS_AUDIO</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00070">UsbCore.h:70</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a59bedc39ad72d9a11ce040fda96e92ed"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a59bedc39ad72d9a11ce040fda96e92ed">USBH_MIDI::isMidiFound</a></div><div class="ttdeci">bool isMidiFound</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00053">usbh_midi.h:53</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a345bc9669e1627eae5d2663560813797"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a345bc9669e1627eae5d2663560813797">USBH_MIDI::bPollEnable</a></div><div class="ttdeci">bool bPollEnable</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00052">usbh_midi.h:52</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a7dbec24b0f8fe85c713f3de55fba9f83"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a7dbec24b0f8fe85c713f3de55fba9f83">USBH_MIDI::USBH_MIDI</a></div><div class="ttdeci">USBH_MIDI(USB *p)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00087">usbh_midi.cpp:87</a></div></div>
<div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a23fbb539d72d10a6cb12efedf7d3457c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a23fbb539d72d10a6cb12efedf7d3457c">USB_ENDPOINT_DESCRIPTOR::bEndpointAddress</a></div><div class="ttdeci">uint8_t bEndpointAddress</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00151">usb_ch9.h:151</a></div></div>
<div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00047">address.h:47</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00098">UsbCore.h:98</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_af39d036ab903a96b9d4d56b879555d6c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af39d036ab903a96b9d4d56b879555d6c">USB_ENDPOINT_DESCRIPTOR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00150">usb_ch9.h:150</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a08afe33201b6e679b1c2236da699126e"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a08afe33201b6e679b1c2236da699126e">USBH_MIDI::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00042">usbh_midi.h:42</a></div></div>
<div class="ttc" id="usbh__midi_8h_html_a0cb5d0be715a42f36440b29eaa728c58"><div class="ttname"><a href="usbh__midi_8h.html#a0cb5d0be715a42f36440b29eaa728c58">MIDI_EVENT_PACKET_SIZE</a></div><div class="ttdeci">#define MIDI_EVENT_PACKET_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00035">usbh_midi.h:35</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a8218ae22033b7d2120df75cfe696070e"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a8218ae22033b7d2120df75cfe696070e">USBH_MIDI::lookupMsgSize</a></div><div class="ttdeci">uint8_t lookupMsgSize(uint8_t midiMsg, uint8_t cin=0)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00498">usbh_midi.cpp:498</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="address_8h_html_a660e8da9c1167a8450aef91c5c03761d"><div class="ttname"><a href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a></div><div class="ttdeci">#define USB_NAK_NOWAIT</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00036">address.h:36</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aa84131af42cd34c3d62763a7b3f07d2f"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">USBH_MIDI::recvBuf</a></div><div class="ttdeci">uint8_t recvBuf[MIDI_EVENT_PACKET_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00059">usbh_midi.h:59</a></div></div>
<div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00095">UsbCore.h:95</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="usbh__midi_8h_html_ac62d581ae088d3699a4f39672ac2ff51"><div class="ttname"><a href="usbh__midi_8h.html#ac62d581ae088d3699a4f39672ac2ff51">MIDI_MAX_SYSEX_SIZE</a></div><div class="ttdeci">#define MIDI_MAX_SYSEX_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00036">usbh_midi.h:36</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a441bf3b7bcd3ad8ca4e18f68fd03404c"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a441bf3b7bcd3ad8ca4e18f68fd03404c">USBH_MIDI::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00050">usbh_midi.h:50</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_ac947c1e0feea5cc9387c35bbd9bde961"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#ac947c1e0feea5cc9387c35bbd9bde961">USBH_MIDI::epInfo</a></div><div class="ttdeci">EpInfo epInfo[MIDI_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00057">usbh_midi.h:57</a></div></div>
<div class="ttc" id="usbh__midi_8h_html"><div class="ttname"><a href="usbh__midi_8h.html">usbh_midi.h</a></div></div>
<div class="ttc" id="class_u_s_b_html_aead4d2040c641d55176854b236804088"><div class="ttname"><a href="class_u_s_b.html#aead4d2040c641d55176854b236804088">USB::inTransfer</a></div><div class="ttdeci">uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data, uint8_t bInterval=0)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00209">Usb.cpp:209</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a15370eb665cdded5514e69ca58d9f39d"><div class="ttname"><a href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00093">UsbCore.h:93</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_ab85f9e0da16ffe3ee9809aa27023c94c"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#ab85f9e0da16ffe3ee9809aa27023c94c">USBH_MIDI::extractSysExData</a></div><div class="ttdeci">uint8_t extractSysExData(uint8_t *p, uint8_t *buf)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00637">usbh_midi.cpp:637</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a65fd836d11336cce737ec1bdb1d5d4f3"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a65fd836d11336cce737ec1bdb1d5d4f3">USBH_MIDI::SendData</a></div><div class="ttdeci">uint8_t SendData(uint8_t *dataptr, uint8_t nCable=0)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00434">usbh_midi.cpp:434</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_a2a2e35a5ce5ffc8605837de2587db740"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#a2a2e35a5ce5ffc8605837de2587db740">USBH_MIDI::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00043">usbh_midi.h:43</a></div></div>
<div class="ttc" id="usbh__midi_8h_html_a209d19007c615d3f300a5d3717776a45"><div class="ttname"><a href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45">MIDI_MAX_ENDPOINTS</a></div><div class="ttdeci">#define MIDI_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00032">usbh_midi.h:32</a></div></div>
<div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div>
<div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00226">UsbCore.h:226</a></div></div>
<div class="ttc" id="class_u_s_b_h___m_i_d_i_html_aabe63c64fbcee52e7c724d489cd19394"><div class="ttname"><a href="class_u_s_b_h___m_i_d_i.html#aabe63c64fbcee52e7c724d489cd19394">USBH_MIDI::parseConfigDescr</a></div><div class="ttdeci">uint8_t parseConfigDescr(uint8_t addr, uint8_t conf)</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8cpp_source.html#l00260">usbh_midi.cpp:260</a></div></div>
<div class="ttc" id="class_u_s_b_html"><div class="ttname"><a href="class_u_s_b.html">USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00210">UsbCore.h:210</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="usb__ch9_8h_html_a54c90d3ca8c3f7911d9d8cb17f59d939"><div class="ttname"><a href="usb__ch9_8h.html#a54c90d3ca8c3f7911d9d8cb17f59d939">USB_TRANSFER_TYPE_BULK</a></div><div class="ttdeci">#define USB_TRANSFER_TYPE_BULK</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00092">usb_ch9.h:92</a></div></div>
<div class="ttc" id="usbh__midi_8h_html_ad6a6e2474df4bc904baaea690d3d81ad"><div class="ttname"><a href="usbh__midi_8h.html#ad6a6e2474df4bc904baaea690d3d81ad">DESC_BUFF_SIZE</a></div><div class="ttdeci">#define DESC_BUFF_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="usbh__midi_8h_source.html#l00034">usbh_midi.h:34</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3f66bf622590413ef2e1864f93a3e0d2"><div class="ttname"><a href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">USB::RegisterDeviceClass</a></div><div class="ttdeci">uint8_t RegisterDeviceClass(USBDeviceConfig *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00230">UsbCore.h:230</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="printhex_8h_html_a87dd4758587ab680b721b0bffde8c3b8"><div class="ttname"><a href="printhex_8h.html#a87dd4758587ab680b721b0bffde8c3b8">D_PrintHex</a></div><div class="ttdeci">void D_PrintHex(T val, int lvl)</div><div class="ttdef"><b>Definition:</b> <a href="printhex_8h_source.html#l00076">printhex.h:76</a></div></div>
<div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00082">macros.h:82</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00796">Usb.cpp:796</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="usb__ch9_8h_html_a5856eef11136823c671407f77cc5d254"><div class="ttname"><a href="usb__ch9_8h.html#a5856eef11136823c671407f77cc5d254">USB_DESCRIPTOR_INTERFACE</a></div><div class="ttdeci">#define USB_DESCRIPTOR_INTERFACE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00073">usb_ch9.h:73</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00105">usb_ch9.h:105</a></div></div>
2016-04-19 18:16:46 +02:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
2016-04-19 18:16:46 +02:00
</small></address>
</body>
</html>