USB_Host_Shield_2.0/hidescriptorparser_8h_source.html

295 lines
55 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01: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.3.1"/>
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/hidescriptorparser.h 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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.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 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.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">hidescriptorparser.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="hidescriptorparser_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>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</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">This software may be distributed and modified under the terms of the GNU</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">on this software must also be made publicly available under the terms of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</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"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</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="preprocessor">#if !defined(__HIDDESCRIPTORPARSER_H__)</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __HIDDESCRIPTORPARSER_H__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="avrpins_8h.html">avrpins.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="max3421e_8h.html">max3421e.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="usbhost_8h.html">usbhost.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="usb__ch9_8h.html">usb_ch9.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_usb_8h.html">Usb.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;=100</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;Arduino.h&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;WProgram.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="printhex_8h.html">printhex.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hexdump_8h.html">hexdump.h</a>&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="message_8h.html">message.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="confdescparser_8h.html">confdescparser.h</a>&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hid_8h.html">hid.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html"> 40</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2"> 43</a></span>&#160; <span class="keyword">typedef</span> void (*<a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a>)(uint16_t usage);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3eff46688f9edbee3a58c43bbf104763">PrintGenericDesktopPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aa316c748b795fbe80cdd2f69e83c7ae4">PrintSimulationControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a938d53101e5ab4e5831276efb298fea9">PrintVRControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3db34bff0d14731df402a20fb67838d9">PrintSportsControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a4e026cfeda7bfe9e07cf247cbcc4a122">PrintGameControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1b5cb93a83e2212319fe30f1a1636478">PrintGenericDeviceControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#af86c8a065849b37590d88f68be85e293">PrintLEDPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a928f2b689012051dfe20e46bd7b21ed3">PrintButtonPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1b0cc07f038faef88431c87065370dce">PrintOrdinalPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#ac01bf8776f485b478c3bb64887e446b4">PrintTelephonyPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a9af1dc144bab9e9864394594be67d2eb">PrintConsumerPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aa62d11cfe404ee51ffd26f13c33800a1">PrintDigitizerPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#af2d133ba2b6b7d5ac3c0db3ffac531d0">PrintAlphanumDisplayPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a17e7613faa695c5d654f1cd6d9262cf4">PrintMedicalInstrumentPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3c160efea3854223f0e171a9d97a07cd">PrintValue</a>(uint8_t *p, uint8_t len);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1af970b456e54342e15a88ffd98ca6cc">PrintByteValue</a>(uint8_t data);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aef5ef3133e573ff3bdcc7861e8ebc921">PrintItemTitle</a>(uint8_t prefix);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aa8e343a9f6e9472b560200a6f419ab0d"> 65</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#aa8e343a9f6e9472b560200a6f419ab0d">usagePageTitles0</a>[];</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a87993b99219dc77a65520fa505846621"> 66</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a87993b99219dc77a65520fa505846621">usagePageTitles1</a>[]; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a85848eb36e6d9abcf55ee3d5ee4b6d8f"> 67</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a85848eb36e6d9abcf55ee3d5ee4b6d8f">genDesktopTitles0</a>[]; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a114114834f8b0647981672ce47bd1e2a"> 68</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a114114834f8b0647981672ce47bd1e2a">genDesktopTitles1</a>[]; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a09da2bc8abd56ff3a087dfaa60d1eaae"> 69</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a09da2bc8abd56ff3a087dfaa60d1eaae">genDesktopTitles2</a>[]; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a03b1e473142159105afb9333e5855dde"> 70</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a03b1e473142159105afb9333e5855dde">genDesktopTitles3</a>[]; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a607252abb59ac54fbfa3745303696910"> 71</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a607252abb59ac54fbfa3745303696910">genDesktopTitles4</a>[]; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac1e1d4825d3eb46d8d0f8554a942c4c9"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ac1e1d4825d3eb46d8d0f8554a942c4c9">simuTitles0</a>[]; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a22093c092141a4cf2f6f514b30913697"> 73</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a22093c092141a4cf2f6f514b30913697">simuTitles1</a>[]; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#abe5d9b9739cc8439f8bc0f2e9d797afc"> 74</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#abe5d9b9739cc8439f8bc0f2e9d797afc">simuTitles2</a>[]; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a1a5cbeddba7a0f1dda3d61f388da5f80"> 75</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a1a5cbeddba7a0f1dda3d61f388da5f80">vrTitles0</a>[];</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae451c78e2745012c1de54f8b95a76a6b"> 76</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ae451c78e2745012c1de54f8b95a76a6b">vrTitles1</a>[];</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a87b428c3535791d43f76e8332dacff3b"> 77</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a87b428c3535791d43f76e8332dacff3b">sportsCtrlTitles0</a>[];</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a8aa0fe2f7f668eb740419a0fb498e2bd"> 78</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a8aa0fe2f7f668eb740419a0fb498e2bd">sportsCtrlTitles1</a>[];</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a48422f54c5e8ad6297a0d87b75ec80d2"> 79</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a48422f54c5e8ad6297a0d87b75ec80d2">sportsCtrlTitles2</a>[];</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a63e4a90b00614d8fd5a2bdc4cb022088"> 80</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a63e4a90b00614d8fd5a2bdc4cb022088">gameTitles0</a>[];</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a555da251d25f431655b13823253a6980"> 81</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a555da251d25f431655b13823253a6980">gameTitles1</a>[];</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9414f50704aa781c3435258c9cd69b5f"> 82</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a9414f50704aa781c3435258c9cd69b5f">genDevCtrlTitles</a>[];</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a0837d6d27bc9450a5aa25c1372e5d52c"> 83</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a0837d6d27bc9450a5aa25c1372e5d52c">ledTitles</a>[];</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ad6de64276cd5b3772e1c3d58d94d1db3"> 84</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ad6de64276cd5b3772e1c3d58d94d1db3">telTitles0</a>[]; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4732c0ccdc3a4da54468d20669a12c65"> 85</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a4732c0ccdc3a4da54468d20669a12c65">telTitles1</a>[]; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac749aa1429537b859be1bac8c286bae0"> 86</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ac749aa1429537b859be1bac8c286bae0">telTitles2</a>[]; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a0b3793cc4738613fea681bc2b3561308"> 87</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a0b3793cc4738613fea681bc2b3561308">telTitles3</a>[]; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5117a2d3fb7c77e84f62eb6c96d34353"> 88</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a5117a2d3fb7c77e84f62eb6c96d34353">telTitles4</a>[]; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a034498cbb71cf97d3d70940b749daf60"> 89</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a034498cbb71cf97d3d70940b749daf60">telTitles5</a>[];</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ade9bead7a2b2a8953fb9891e424029cd"> 90</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ade9bead7a2b2a8953fb9891e424029cd">consTitles0</a>[];</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae356352eb61d5d6c0d45cc9581cf3e10"> 91</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ae356352eb61d5d6c0d45cc9581cf3e10">consTitles1</a>[];</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a88eed3c1d8e503de1ede94a5afb74948"> 92</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a88eed3c1d8e503de1ede94a5afb74948">consTitles2</a>[];</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a014b8b6d365a9ab837cd79f3c9ad2bd0"> 93</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a014b8b6d365a9ab837cd79f3c9ad2bd0">consTitles3</a>[];</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3d99581f39f7f865d4744bdc5aed29d1"> 94</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a3d99581f39f7f865d4744bdc5aed29d1">consTitles4</a>[];</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aa3b0cee1b1668d72838983f2ea399e26"> 95</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#aa3b0cee1b1668d72838983f2ea399e26">consTitles5</a>[];</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a93c9f75a0a11f87bd46b287f444069f8"> 96</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a93c9f75a0a11f87bd46b287f444069f8">consTitles6</a>[];</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a2e4918c072eff0c79a83af04ec39b22c"> 97</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a2e4918c072eff0c79a83af04ec39b22c">consTitles7</a>[];</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9c69db59537b11409f98e8b25beff1f6"> 98</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a9c69db59537b11409f98e8b25beff1f6">consTitles8</a>[];</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac745f0383e222dad57c92eed44c824fb"> 99</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ac745f0383e222dad57c92eed44c824fb">consTitles9</a>[];</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5b26f67b5cf0c17424790f32d03a939e"> 100</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a5b26f67b5cf0c17424790f32d03a939e">consTitlesA</a>[];</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ad63ddfcc68dc75f134aee309231f5781"> 101</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ad63ddfcc68dc75f134aee309231f5781">consTitlesB</a>[];</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a792fb401f66911c8367fc8c230b86477"> 102</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a792fb401f66911c8367fc8c230b86477">consTitlesC</a>[];</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae0b8c8f1c01623d364f4bf4fc89833ae"> 103</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ae0b8c8f1c01623d364f4bf4fc89833ae">consTitlesD</a>[];</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9910214ef3b80da9568a2dcbbf44c76b"> 104</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a9910214ef3b80da9568a2dcbbf44c76b">consTitlesE</a>[];</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a70b95d54a31b34cfe34e819b0588033a"> 105</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a70b95d54a31b34cfe34e819b0588033a">digitTitles0</a>[];</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aef41a75863222f4b14875f5942dd163f"> 106</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#aef41a75863222f4b14875f5942dd163f">digitTitles1</a>[];</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aeb34385239ef492842f190a0e35ebfef"> 107</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#aeb34385239ef492842f190a0e35ebfef">digitTitles2</a>[];</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3e2e30f8480a9448da0633ed6d623f19"> 108</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a3e2e30f8480a9448da0633ed6d623f19">aplphanumTitles0</a>[];</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a27178d2579a6aa1fdf8651c7284c75ee"> 109</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a27178d2579a6aa1fdf8651c7284c75ee">aplphanumTitles1</a>[];</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#abe5eceaf541346851947c28905e41f9c"> 110</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#abe5eceaf541346851947c28905e41f9c">aplphanumTitles2</a>[];</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a14075968a384ab0777c4e7db05800746"> 111</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a14075968a384ab0777c4e7db05800746">medInstrTitles0</a>[];</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a19eb27105e06eb4532452c5f151cc1f0"> 112</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#a19eb27105e06eb4532452c5f151cc1f0">medInstrTitles1</a>[];</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ad53084b1c38acb18ab181d3b51748624"> 113</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ad53084b1c38acb18ab181d3b51748624">medInstrTitles2</a>[];</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aeb004941f8a012631e0abade31eedde7"> 114</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#aeb004941f8a012631e0abade31eedde7">medInstrTitles3</a>[];</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ab40581d3ed22ec9d242bae87aeee8811"> 115</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="class_report_desc_parser_base.html#ab40581d3ed22ec9d242bae87aeee8811">medInstrTitles4</a>[];</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#af91679187bb24d185979b3ec045c215b"> 118</a></span>&#160; <span class="keyword">static</span> <a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a> <a class="code" href="class_report_desc_parser_base.html#af91679187bb24d185979b3ec045c215b">usagePageFunctions</a>[];</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9"> 120</a></span>&#160; <a class="code" href="struct_multi_value_buffer.html">MultiValueBuffer</a> <a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206"> 121</a></span>&#160; <a class="code" href="class_multi_byte_value_parser.html">MultiByteValueParser</a> <a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206">valParser</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23"> 122</a></span>&#160; <a class="code" href="class_byte_skipper.html">ByteSkipper</a> <a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23">theSkipper</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13"> 123</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13">varBuffer</a>[<span class="keyword">sizeof</span>(<a class="code" href="struct_u_s_b___c_o_n_f_i_g_u_r_a_t_i_o_n___d_e_s_c_r_i_p_t_o_r.html">USB_CONFIGURATION_DESCRIPTOR</a>)]; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25"> 125</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25">itemParseState</a>; <span class="comment">// Item parser state variable</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab"> 126</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab">itemSize</a>; <span class="comment">// Item size</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d"> 127</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d">itemPrefix</a>; <span class="comment">// Item prefix (first byte)</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247"> 128</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247">rptSize</a>; <span class="comment">// Report Size</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14"> 129</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14">rptCount</a>; <span class="comment">// Report Count</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aa5223ad6eb8be8c7fb53a98d4ddde594"> 131</a></span>&#160; uint16_t <a class="code" href="class_report_desc_parser_base.html#aa5223ad6eb8be8c7fb53a98d4ddde594">totalSize</a>; <span class="comment">// Report size in bits</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_report_desc_parser_base.html#ac1d6c015d9a2527bb2044e9a96fcaaf9">ParseItem</a>(uint8_t **pp, uint16_t *pcntdn);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452"> 135</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a> <a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452">pfUsage</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a789ad1fbd8437296627412a2b4a255a3">PrintUsagePage</a>(uint16_t page);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a42fbc8fbccaf67eab88bd98b8d3bdd3f">SetUsagePage</a>(uint16_t page);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a607a81ff9d8f282298533a1dbf10f8e1"> 141</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#a607a81ff9d8f282298533a1dbf10f8e1">ReportDescParserBase</a>() :</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25">itemParseState</a>(0),</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab">itemSize</a>(0), </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d">itemPrefix</a>(0),</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247">rptSize</a>(0),</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14">rptCount</a>(0),</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452">pfUsage</a>(NULL)</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; {</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>.<a class="code" href="struct_multi_value_buffer.html#a3b5ab6facf7b6b872029ed3be0de4c1e">pValue</a> = <a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13">varBuffer</a>; </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206">valParser</a>.<a class="code" href="class_multi_byte_value_parser.html#a9bd52b4e180d68dbb8f97c059250f4c3">Initialize</a>(&amp;<a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23">theSkipper</a>.<a class="code" href="class_byte_skipper.html#a274a09686d5535e11961d2ccf38ffa08">Initialize</a>(&amp;<a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; };</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a7ecd266cbbbc18460ab8823651225e6b">Parse</a>(<span class="keyword">const</span> uint16_t len, <span class="keyword">const</span> uint8_t *pbuf, <span class="keyword">const</span> uint16_t &amp;offset);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keyword">enum</span> </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; {</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47cab24601408ad7a26379df557dab8f073a"> 158</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47cab24601408ad7a26379df557dab8f073a">enErrorSuccess</a> = 0</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47ca36c789b01edcb0e3bd8fc74ad6450975"> 159</a></span>&#160; , <a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47ca36c789b01edcb0e3bd8fc74ad6450975">enErrorIncomplete</a> <span class="comment">// value or record is partialy read in buffer</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47caf987a827c15a079e71ad438be18366d4"> 160</a></span>&#160; , <a class="code" href="class_report_desc_parser_base.html#a7d76bc2c7b1e93537bd0321c568dc47caf987a827c15a079e71ad438be18366d4">enErrorBufferTooSmall</a></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; };</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;};</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_report_desc_parser.html"> 164</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser.html">ReportDescParser</a> : <span class="keyword">public</span> <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;{</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;};</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_report_desc_parser2.html"> 168</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser2.html">ReportDescParser2</a> : <span class="keyword">public</span> <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;{</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; uint8_t rptId; <span class="comment">// Report ID</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; uint8_t useMin; <span class="comment">// Usage Minimum</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; uint8_t useMax; <span class="comment">// Usage Maximum</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; uint8_t fieldCount; <span class="comment">// Number of field being currently processed</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> OnInputItem(uint8_t itm); <span class="comment">// Method which is called every time Input item is found</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; uint8_t *pBuf; <span class="comment">// Report buffer pointer</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; uint8_t bLen; <span class="comment">// Report length</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_report_desc_parser2.html#a84242b62a5d202b5d2d6fe26809bc0e2">ParseItem</a>(uint8_t **pp, uint16_t *pcntdn);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="code" href="class_report_desc_parser2.html#a6ee7a47ffbc5c2905506c10039fcfaff"> 184</a></span>&#160; <a class="code" href="class_report_desc_parser2.html#a6ee7a47ffbc5c2905506c10039fcfaff">ReportDescParser2</a>(uint16_t len, uint8_t *pbuf) : </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a>(), bLen(len), pBuf(pbuf), rptId(0), useMin(0), useMax(0), fieldCount(0)</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; {};</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;};</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_universal_report_parser.html"> 189</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_universal_report_parser.html">UniversalReportParser</a> : <span class="keyword">public</span> <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;{</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_universal_report_parser.html#a7b88d36949e3823cd80b3c7cece3d67e">Parse</a>(<a class="code" href="class_h_i_d.html">HID</a> *hid, <span class="keywordtype">bool</span> is_rpt_id, uint8_t len, uint8_t *buf);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;};</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="preprocessor">#endif // __HIDDESCRIPTORPARSER_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2013-02-05 20:02:12 +01:00
Generated on Tue Feb 5 2013 19:53:21 for USB_Host_Shield_2.0 by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>