mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
249 lines
11 KiB
HTML
249 lines
11 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>USB Host Shield 2.0: MidiDescParser Class Reference</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>
|
|
<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;">
|
|
<div id="projectname">USB Host Shield 2.0
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- 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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="class_midi_desc_parser-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">MidiDescParser Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for MidiDescParser:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_midi_desc_parser__inherit__graph.png" border="0" usemap="#a_midi_desc_parser_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="a_midi_desc_parser_inherit__map" id="a_midi_desc_parser_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,80,128,107"/>
|
|
<area shape="rect" href="class_u_s_b_read_parser.html" title=" " alt="" coords="5,5,128,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for MidiDescParser:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_midi_desc_parser__coll__graph.png" border="0" usemap="#a_midi_desc_parser_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="a_midi_desc_parser_coll__map" id="a_midi_desc_parser_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="5,80,128,107"/>
|
|
<area shape="rect" href="class_u_s_b_read_parser.html" title=" " alt="" coords="5,5,128,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a73ad6ad9905a7ff130bf5c0f267eb77a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a73ad6ad9905a7ff130bf5c0f267eb77a">MidiDescParser</a> (<a class="el" href="class_usb_midi_config_xtracter.html">UsbMidiConfigXtracter</a> *xtractor, bool modeMidi)</td></tr>
|
|
<tr class="separator:a73ad6ad9905a7ff130bf5c0f267eb77a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a181d16588ff810dfb7a63c31ca68d7b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a181d16588ff810dfb7a63c31ca68d7b1">Parse</a> (const uint16_t len, const uint8_t *pbuf, const uint16_t &offset)</td></tr>
|
|
<tr class="separator:a181d16588ff810dfb7a63c31ca68d7b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b3d13f2deafad928f3ec049d6fb800b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a6b3d13f2deafad928f3ec049d6fb800b">getConfValue</a> ()</td></tr>
|
|
<tr class="separator:a6b3d13f2deafad928f3ec049d6fb800b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab85a5d420aaf4ff4d5e30b54e0ce9309"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#ab85a5d420aaf4ff4d5e30b54e0ce9309">getNumEPs</a> ()</td></tr>
|
|
<tr class="separator:ab85a5d420aaf4ff4d5e30b54e0ce9309"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00053">53</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a73ad6ad9905a7ff130bf5c0f267eb77a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a73ad6ad9905a7ff130bf5c0f267eb77a">◆ </a></span>MidiDescParser()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">MidiDescParser::MidiDescParser </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_usb_midi_config_xtracter.html">UsbMidiConfigXtracter</a> * </td>
|
|
<td class="paramname"><em>xtractor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>modeMidi</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="usbh__midi_8cpp_source.html#l00555">555</a> of file <a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a181d16588ff810dfb7a63c31ca68d7b1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a181d16588ff810dfb7a63c31ca68d7b1">◆ </a></span>Parse()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void MidiDescParser::Parse </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint8_t * </td>
|
|
<td class="paramname"><em>pbuf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"><em>offset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="class_u_s_b_read_parser.html#afdb9cea2a2fe18d26f4ec595b86a7f7c">USBReadParser</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="usbh__midi_8cpp_source.html#l00566">566</a> of file <a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6b3d13f2deafad928f3ec049d6fb800b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b3d13f2deafad928f3ec049d6fb800b">◆ </a></span>getConfValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t MidiDescParser::getConfValue </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00075">75</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab85a5d420aaf4ff4d5e30b54e0ce9309"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab85a5d420aaf4ff4d5e30b54e0ce9309">◆ </a></span>getNumEPs()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t MidiDescParser::getNumEPs </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00076">76</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a></li>
|
|
<li><a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|