USB_Host_Shield_2.0/hiduniversal_8cpp_source.html
2021-01-17 16:48:26 +00:00

98 lines
24 KiB
HTML

<!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"/>
<title>USB Host Shield 2.0: hiduniversal.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>
<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.8.13 -->
<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 -->
<!-- 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 class="header">
<div class="headertitle">
<div class="title">hiduniversal.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="hiduniversal_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">/* 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;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hiduniversal_8h.html">hiduniversal.h</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_h_i_d_universal.html#a71b7d8e31a4331071bbc0e3b678cdd3f"> 20</a></span>&#160;uint8_t <a class="code" href="class_h_i_d_universal.html#a71b7d8e31a4331071bbc0e3b678cdd3f">HIDUniversal::Poll</a>() {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; uint8_t rcode = 0;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordflow">if</span>(!<a class="code" href="class_h_i_d_composite.html#a4e1f64150affa87b1b813a988e4f78c8">bPollEnable</a>)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keywordflow">if</span>((int32_t)((uint32_t)millis() - <a class="code" href="class_h_i_d_composite.html#a2321ef1ab62deccdc4c0294dad333b54">qNextPollTime</a>) &gt;= 0<a class="code" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaef31cc6fe9479955961311ee18ac205f">L</a>) {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="class_h_i_d_composite.html#a2321ef1ab62deccdc4c0294dad333b54">qNextPollTime</a> = (uint32_t)millis() + <a class="code" href="class_h_i_d_composite.html#ae1cd12f8f2dc3f6a585f6c90bde24f2b">pollInterval</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; uint8_t buf[<a class="code" href="class_h_i_d_composite.html#a33882712ebd600a16e7e62c87853cea7">constBuffLen</a>];</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="class_h_i_d_composite.html#ac42fb3b1c0ad8019bebbde5e623cf0a1">bNumIface</a>; i++) {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; uint8_t index = <a class="code" href="class_h_i_d_composite.html#a374a34b7f7f94aa1dfb73ca48a5231ce">hidInterfaces</a>[i].<a class="code" href="struct_h_i_d_composite_1_1_h_i_d_interface.html#a7ce696fff257654bff4bed12ebd1a01b">epIndex</a>[<a class="code" href="class_u_s_b_h_i_d.html#a722462978813b2154698516b729e834d">epInterruptInIndex</a>];</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; uint16_t read = (uint16_t)<a class="code" href="class_h_i_d_composite.html#a4101c34c5079bd827953368450140a9a">epInfo</a>[index].maxPktSize;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="class_h_i_d_composite.html#a968d81013f2fe7b3f44953fbe0d3a822">ZeroMemory</a>(<a class="code" href="class_h_i_d_composite.html#a33882712ebd600a16e7e62c87853cea7">constBuffLen</a>, buf);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; uint8_t rcode = <a class="code" href="class_u_s_b_h_i_d.html#abb120ee1258c49b4af0fbd59ae6903f5">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#aead4d2040c641d55176854b236804088">inTransfer</a>(<a class="code" href="class_u_s_b_h_i_d.html#a35fe591ddd550b290d1e88c321617ab6">bAddress</a>, <a class="code" href="class_h_i_d_composite.html#a4101c34c5079bd827953368450140a9a">epInfo</a>[index].epAddr, &amp;read, buf);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">if</span>(rcode) {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">if</span>(rcode != <a class="code" href="max3421e_8h.html#ab44a7968d08016b58d98951059c37076">hrNAK</a>)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="macros_8h.html#a3b6ba9344d4ae0847095896841587862">USBTRACE3</a>(<span class="stringliteral">&quot;(hiduniversal.h) Poll:&quot;</span>, rcode, 0x81);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">return</span> rcode;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; }</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="keywordflow">if</span>(read &gt; <a class="code" href="class_h_i_d_composite.html#a33882712ebd600a16e7e62c87853cea7">constBuffLen</a>)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; read = <a class="code" href="class_h_i_d_composite.html#a33882712ebd600a16e7e62c87853cea7">constBuffLen</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">// TODO: handle read == 0 ? continue like HIDComposite,</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="comment">// return early like in the error case above?</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="comment">// Either way passing an empty buffer to the functions below</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="comment">// probably makes no sense?</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#if 0</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(<a class="code" href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff">PSTR</a>(<span class="stringliteral">&quot;\r\nBuf: &quot;</span>), 0x80);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; read; i++) {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; D_PrintHex&lt;uint8_t &gt; (buf[i], 0x80);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(<a class="code" href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff">PSTR</a>(<span class="stringliteral">&quot; &quot;</span>), 0x80);</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;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(<a class="code" href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff">PSTR</a>(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; ParseHIDData(<span class="keyword">this</span>, <a class="code" href="class_h_i_d_composite.html#abd584015be45fe945f9062c2c5b2a867">bHasReportId</a>, (uint8_t)read, buf);</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"> 65</span>&#160; <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> *prs = <a class="code" href="class_h_i_d_composite.html#a2def47200c98f97f3a3171d50e38f2d0">GetReportParser</a>(((<a class="code" href="class_h_i_d_composite.html#abd584015be45fe945f9062c2c5b2a867">bHasReportId</a>) ? *buf : 0));</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordflow">if</span>(prs)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; prs-&gt;<a class="code" href="class_h_i_d_report_parser.html#af6c4b832fad296860bae406730e792da">Parse</a>(<span class="keyword">this</span>, <a class="code" href="class_h_i_d_composite.html#abd584015be45fe945f9062c2c5b2a867">bHasReportId</a>, (uint8_t)read, buf);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordflow">return</span> rcode;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;}</div><div class="ttc" id="class_u_s_b_h_i_d_html_abb120ee1258c49b4af0fbd59ae6903f5"><div class="ttname"><a href="class_u_s_b_h_i_d.html#abb120ee1258c49b4af0fbd59ae6903f5">USBHID::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00145">usbhid.h:145</a></div></div>
<div class="ttc" id="class_h_i_d_universal_html_a71b7d8e31a4331071bbc0e3b678cdd3f"><div class="ttname"><a href="class_h_i_d_universal.html#a71b7d8e31a4331071bbc0e3b678cdd3f">HIDUniversal::Poll</a></div><div class="ttdeci">uint8_t Poll() override</div><div class="ttdef"><b>Definition:</b> <a href="hiduniversal_8cpp_source.html#l00020">hiduniversal.cpp:20</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a374a34b7f7f94aa1dfb73ca48a5231ce"><div class="ttname"><a href="class_h_i_d_composite.html#a374a34b7f7f94aa1dfb73ca48a5231ce">HIDComposite::hidInterfaces</a></div><div class="ttdeci">HIDInterface hidInterfaces[maxHidInterfaces]</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00064">hidcomposite.h:64</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_abd584015be45fe945f9062c2c5b2a867"><div class="ttname"><a href="class_h_i_d_composite.html#abd584015be45fe945f9062c2c5b2a867">HIDComposite::bHasReportId</a></div><div class="ttdeci">bool bHasReportId</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00069">hidcomposite.h:69</a></div></div>
<div class="ttc" id="struct_h_i_d_composite_1_1_h_i_d_interface_html_a7ce696fff257654bff4bed12ebd1a01b"><div class="ttname"><a href="struct_h_i_d_composite_1_1_h_i_d_interface.html#a7ce696fff257654bff4bed12ebd1a01b">HIDComposite::HIDInterface::epIndex</a></div><div class="ttdeci">uint8_t epIndex[maxEpPerInterface+1]</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00045">hidcomposite.h:45</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a4101c34c5079bd827953368450140a9a"><div class="ttname"><a href="class_h_i_d_composite.html#a4101c34c5079bd827953368450140a9a">HIDComposite::epInfo</a></div><div class="ttdeci">EpInfo epInfo[totalEndpoints]</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00063">hidcomposite.h:63</a></div></div>
<div class="ttc" id="message_8h_html_a27117e124c5d66d5512fe8d494fe6338"><div class="ttname"><a href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a></div><div class="ttdeci">#define Notify(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_ac42fb3b1c0ad8019bebbde5e623cf0a1"><div class="ttname"><a href="class_h_i_d_composite.html#ac42fb3b1c0ad8019bebbde5e623cf0a1">HIDComposite::bNumIface</a></div><div class="ttdeci">uint8_t bNumIface</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00049">hidcomposite.h:49</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a33882712ebd600a16e7e62c87853cea7"><div class="ttname"><a href="class_h_i_d_composite.html#a33882712ebd600a16e7e62c87853cea7">HIDComposite::constBuffLen</a></div><div class="ttdeci">static const uint16_t constBuffLen</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00055">hidcomposite.h:55</a></div></div>
<div class="ttc" id="max3421e_8h_html_ab44a7968d08016b58d98951059c37076"><div class="ttname"><a href="max3421e_8h.html#ab44a7968d08016b58d98951059c37076">hrNAK</a></div><div class="ttdeci">#define hrNAK</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00218">max3421e.h:218</a></div></div>
<div class="ttc" id="class_u_s_b_h_i_d_html_a35fe591ddd550b290d1e88c321617ab6"><div class="ttname"><a href="class_u_s_b_h_i_d.html#a35fe591ddd550b290d1e88c321617ab6">USBHID::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00146">usbhid.h:146</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a968d81013f2fe7b3f44953fbe0d3a822"><div class="ttname"><a href="class_h_i_d_composite.html#a968d81013f2fe7b3f44953fbe0d3a822">HIDComposite::ZeroMemory</a></div><div class="ttdeci">void ZeroMemory(uint8_t len, uint8_t *buf)</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8cpp_source.html#l00364">hidcomposite.cpp:364</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a4e1f64150affa87b1b813a988e4f78c8"><div class="ttname"><a href="class_h_i_d_composite.html#a4e1f64150affa87b1b813a988e4f78c8">HIDComposite::bPollEnable</a></div><div class="ttdeci">bool bPollEnable</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00053">hidcomposite.h:53</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a94f7389d205c78830a5441370d7870fdaef31cc6fe9479955961311ee18ac205f"><div class="ttname"><a href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaef31cc6fe9479955961311ee18ac205f">L</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00102">controllerEnums.h:102</a></div></div>
<div class="ttc" id="class_u_s_b_h_i_d_html_a722462978813b2154698516b729e834d"><div class="ttname"><a href="class_u_s_b_h_i_d.html#a722462978813b2154698516b729e834d">USBHID::epInterruptInIndex</a></div><div class="ttdeci">static const uint8_t epInterruptInIndex</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00149">usbhid.h:149</a></div></div>
<div class="ttc" id="version__helper_8h_html_a73809107539df84eaf01f6a4dea4fbff"><div class="ttname"><a href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff">PSTR</a></div><div class="ttdeci">#define PSTR(str)</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00054">version_helper.h:54</a></div></div>
<div class="ttc" id="hiduniversal_8h_html"><div class="ttname"><a href="hiduniversal_8h.html">hiduniversal.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="class_h_i_d_report_parser_html"><div class="ttname"><a href="class_h_i_d_report_parser.html">HIDReportParser</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00138">usbhid.h:138</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a2def47200c98f97f3a3171d50e38f2d0"><div class="ttname"><a href="class_h_i_d_composite.html#a2def47200c98f97f3a3171d50e38f2d0">HIDComposite::GetReportParser</a></div><div class="ttdeci">HIDReportParser * GetReportParser(uint8_t id)</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8cpp_source.html#l00083">hidcomposite.cpp:83</a></div></div>
<div class="ttc" id="macros_8h_html_a3b6ba9344d4ae0847095896841587862"><div class="ttname"><a href="macros_8h.html#a3b6ba9344d4ae0847095896841587862">USBTRACE3</a></div><div class="ttdeci">#define USBTRACE3(s, r, l)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00085">macros.h:85</a></div></div>
<div class="ttc" id="class_h_i_d_report_parser_html_af6c4b832fad296860bae406730e792da"><div class="ttname"><a href="class_h_i_d_report_parser.html#af6c4b832fad296860bae406730e792da">HIDReportParser::Parse</a></div><div class="ttdeci">virtual void Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)=0</div></div>
<div class="ttc" id="class_h_i_d_composite_html_ae1cd12f8f2dc3f6a585f6c90bde24f2b"><div class="ttname"><a href="class_h_i_d_composite.html#ae1cd12f8f2dc3f6a585f6c90bde24f2b">HIDComposite::pollInterval</a></div><div class="ttdeci">uint8_t pollInterval</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00052">hidcomposite.h:52</a></div></div>
<div class="ttc" id="class_h_i_d_composite_html_a2321ef1ab62deccdc4c0294dad333b54"><div class="ttname"><a href="class_h_i_d_composite.html#a2321ef1ab62deccdc4c0294dad333b54">HIDComposite::qNextPollTime</a></div><div class="ttdeci">uint32_t qNextPollTime</div><div class="ttdef"><b>Definition:</b> <a href="hidcomposite_8h_source.html#l00051">hidcomposite.h:51</a></div></div>
</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
</small></address>
</body>
</html>