mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
119 lines
46 KiB
HTML
119 lines
46 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.11"/>
|
|
<title>USB Host Shield 2.0: usbhid.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/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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.11 -->
|
|
<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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</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">usbhid.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="usbhid_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"></span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">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> <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> <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> <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> <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> <span class="comment">the GPL2 ("Copyleft").</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">Contact information</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">-------------------</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">Circuits At Home, LTD</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">Web : http://www.circuitsathome.com</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">e-mail : support@circuitsathome.com</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#if !defined(__USBHID_H__)</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __USBHID_H__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="hidusagestr_8h.html">hidusagestr.h</a>"</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aeeb08a8b14bc04296f1c839872abc8af"> 23</a></span> <span class="preprocessor">#define MAX_REPORT_PARSERS 2</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a9901c86718db1fefe5d116aa254361cf"> 24</a></span> <span class="preprocessor">#define HID_MAX_HID_CLASS_DESCRIPTORS 5</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a80a14b35dd7216f368201bbdc1cb101c"> 26</a></span> <span class="preprocessor">#define DATA_SIZE_MASK 0x03</span></div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aff17a6771d3319ab64930cd2b937d6cf"> 27</a></span> <span class="preprocessor">#define TYPE_MASK 0x0C</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a5bf2f9f7270f2a399d2a2621fc111fef"> 28</a></span> <span class="preprocessor">#define TAG_MASK 0xF0</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ac4c40e44b6ef0e020230df304a75f8c7"> 30</a></span> <span class="preprocessor">#define DATA_SIZE_0 0x00</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a81e8f549407197122ec10d84b8c42794"> 31</a></span> <span class="preprocessor">#define DATA_SIZE_1 0x01</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="usbhid_8h.html#afe89ca0c78d174017905ca74606e7917"> 32</a></span> <span class="preprocessor">#define DATA_SIZE_2 0x02</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a6fa5c717ec22c6281adf163d0dc4a1fb"> 33</a></span> <span class="preprocessor">#define DATA_SIZE_4 0x03</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ae10440ac2324170ae0b1d3b0e3aa767f"> 35</a></span> <span class="preprocessor">#define TYPE_MAIN 0x00</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a765b65914273505c0f53f4aff43a8124"> 36</a></span> <span class="preprocessor">#define TYPE_GLOBAL 0x04</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a2520712de518edfc55a2897ecf7faaec"> 37</a></span> <span class="preprocessor">#define TYPE_LOCAL 0x08</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a967854f388f55aaadfa5a07967e338a8"> 39</a></span> <span class="preprocessor">#define TAG_MAIN_INPUT 0x80</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a8d2abc629c107c06d019529822536057"> 40</a></span> <span class="preprocessor">#define TAG_MAIN_OUTPUT 0x90</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aa03120f934f69e4e543e42ecc2c48542"> 41</a></span> <span class="preprocessor">#define TAG_MAIN_COLLECTION 0xA0</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="usbhid_8h.html#add8764d1be0e197bf0014add5cd0e5c3"> 42</a></span> <span class="preprocessor">#define TAG_MAIN_FEATURE 0xB0</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ae3646aed7eada251138358475fc07568"> 43</a></span> <span class="preprocessor">#define TAG_MAIN_ENDCOLLECTION 0xC0</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a97f5f77e22b386e3c1bd6db9152d8f10"> 45</a></span> <span class="preprocessor">#define TAG_GLOBAL_USAGEPAGE 0x00</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="usbhid_8h.html#afc4b9bd4728c551a2632bdb8adc6726b"> 46</a></span> <span class="preprocessor">#define TAG_GLOBAL_LOGICALMIN 0x10</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ab626df6886a8a1fb2e9fcaf7cbce5f46"> 47</a></span> <span class="preprocessor">#define TAG_GLOBAL_LOGICALMAX 0x20</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a4cd6b210dc464605163af1a3e1965ab6"> 48</a></span> <span class="preprocessor">#define TAG_GLOBAL_PHYSMIN 0x30</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a166b5d338fee5bc456fad49a4f0130f4"> 49</a></span> <span class="preprocessor">#define TAG_GLOBAL_PHYSMAX 0x40</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aac7c7c715577b60dfc5cdf8c44f561ee"> 50</a></span> <span class="preprocessor">#define TAG_GLOBAL_UNITEXP 0x50</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aa7b5cfc69c6bf86a11181ce7d57ad307"> 51</a></span> <span class="preprocessor">#define TAG_GLOBAL_UNIT 0x60</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a337c4f4bdeeb44713eb218380b53c829"> 52</a></span> <span class="preprocessor">#define TAG_GLOBAL_REPORTSIZE 0x70</span></div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a1c175bc4e216046159a2848456496e4f"> 53</a></span> <span class="preprocessor">#define TAG_GLOBAL_REPORTID 0x80</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a06b93bdd561b801f45b29014a5fda1b6"> 54</a></span> <span class="preprocessor">#define TAG_GLOBAL_REPORTCOUNT 0x90</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a55fe29097369768aaf9d5b27d39e11e3"> 55</a></span> <span class="preprocessor">#define TAG_GLOBAL_PUSH 0xA0</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aeae2d9a0a91e33d97a49285f8cc6294c"> 56</a></span> <span class="preprocessor">#define TAG_GLOBAL_POP 0xB0</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a69cf38b0d771c29c23b533de1235ef80"> 58</a></span> <span class="preprocessor">#define TAG_LOCAL_USAGE 0x00</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ae6b21bd3b0804cf4afcbc982658238e4"> 59</a></span> <span class="preprocessor">#define TAG_LOCAL_USAGEMIN 0x10</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ab80d05a68a36596bfd81e87cb7aa14d2"> 60</a></span> <span class="preprocessor">#define TAG_LOCAL_USAGEMAX 0x20</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">/* HID requests */</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a5bd4ea095da29635414952894bd527f5"> 63</a></span> <span class="preprocessor">#define bmREQ_HID_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a2b422a95d6f43756111dea6b6a9230ff"> 64</a></span> <span class="preprocessor">#define bmREQ_HID_IN USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aa229af682766d2ae86d69e7219894232"> 65</a></span> <span class="preprocessor">#define bmREQ_HID_REPORT USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_INTERFACE</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">/* HID constants. Not part of chapter 9 */</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/* Class-Specific Requests */</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a73dbc093cd8c096054332fde410cd9ed"> 69</a></span> <span class="preprocessor">#define HID_REQUEST_GET_REPORT 0x01</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a83087478087d308095e2d40225e3bc8d"> 70</a></span> <span class="preprocessor">#define HID_REQUEST_GET_IDLE 0x02</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a5a5af41fcad0684bb2a1f69ffa053521"> 71</a></span> <span class="preprocessor">#define HID_REQUEST_GET_PROTOCOL 0x03</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 72</a></span> <span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ad5c09f0330516b99cfd6e125ca5a877b"> 73</a></span> <span class="preprocessor">#define HID_REQUEST_SET_IDLE 0x0A</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a98e797920e119fe3e77d9d4181750b42"> 74</a></span> <span class="preprocessor">#define HID_REQUEST_SET_PROTOCOL 0x0B</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment">/* Class Descriptor Types */</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a90140ca7ead37fd62faeb395f0942a67"> 77</a></span> <span class="preprocessor">#define HID_DESCRIPTOR_HID 0x21</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a0e317fe63190a7be08676fcc92258902"> 78</a></span> <span class="preprocessor">#define HID_DESCRIPTOR_REPORT 0x22</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a4c0f76c9856d874ad38fe898aa753d28"> 79</a></span> <span class="preprocessor">#define HID_DESRIPTOR_PHY 0x23</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment">/* Protocol Selection */</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a624a087c75fbb1c89b4e37371dfd5713"> 82</a></span> <span class="preprocessor">#define USB_HID_BOOT_PROTOCOL 0x00</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a5153bc7974af5cfead6daea72b8b2f6a"> 83</a></span> <span class="preprocessor">#define HID_RPT_PROTOCOL 0x01</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">/* HID Interface Class Code */</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="usbhid_8h.html#af5c77c554d065e04ff5b343c05a53fe6"> 86</a></span> <span class="preprocessor">#define HID_INTF 0x03</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">/* HID Interface Class SubClass Codes */</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="usbhid_8h.html#af36d3643d6fb5f552eac19c356d9baf0"> 89</a></span> <span class="preprocessor">#define HID_BOOT_INTF_SUBCLASS 0x01</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">/* HID Interface Class Protocol Codes */</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a30451214596073364b36950539ce45fe"> 92</a></span> <span class="preprocessor">#define USB_HID_PROTOCOL_NONE 0x00</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ad19f323d7585e5a41cc4f8125447552b"> 93</a></span> <span class="preprocessor">#define USB_HID_PROTOCOL_KEYBOARD 0x01</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a538d261ce3c8526071211fdbde1a67ec"> 94</a></span> <span class="preprocessor">#define USB_HID_PROTOCOL_MOUSE 0x02</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a9a71248c522943951b5af70ec9c14c02"> 96</a></span> <span class="preprocessor">#define HID_ITEM_TYPE_MAIN 0</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a8e56e8090f1af7aae473e8a8b6832fb8"> 97</a></span> <span class="preprocessor">#define HID_ITEM_TYPE_GLOBAL 1</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a0bfb0e326d9a01072c029cba788d6456"> 98</a></span> <span class="preprocessor">#define HID_ITEM_TYPE_LOCAL 2</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ae492b86b9ff1e40dfcccc904e9a30a13"> 99</a></span> <span class="preprocessor">#define HID_ITEM_TYPE_RESERVED 3</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a574c9762fdcc2eea83be135ae54a52a1"> 101</a></span> <span class="preprocessor">#define HID_LONG_ITEM_PREFIX 0xfe // Long item prefix value</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a0c5cd5d30f7be0479ac6dbcb5e41f99a"> 103</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_TAG 0xfc // Main item tag mask</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ab0c161ec8da9a2d5b4234efc6e66e1ab"> 105</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_INPUT 0x80 // Main item Input tag value</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a16de52cc993408e12b019895d9676812"> 106</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_OUTPUT 0x90 // Main item Output tag value</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a814680d5ac9f4928107ef8e551ea2a0f"> 107</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_FEATURE 0xb0 // Main item Feature tag value</span></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a457b69fda34dfaa82e266bd93f094e13"> 108</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_COLLECTION 0xa0 // Main item Collection tag value</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a31f12a2a73c8fb9303e8d05fe35dbdae"> 109</a></span> <span class="preprocessor">#define bmHID_MAIN_ITEM_END_COLLECTION 0xce // Main item End Collection tag value</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a11681fe3d0edf3f376786e301bc77ac1"> 111</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_PHYSICAL 0</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="usbhid_8h.html#af406e4017fe65e288e3be1f4d9a77348"> 112</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_APPLICATION 1</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a6fc76c6d37f89a2ac571e1c76bf19ae0"> 113</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_LOGICAL 2</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="usbhid_8h.html#aa9a82c8196c0fe8ba4a891c9d9126e3e"> 114</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_REPORT 3</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="usbhid_8h.html#a9a69ff65a363bb0ef246c9f840312edf"> 115</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_NAMED_ARRAY 4</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="usbhid_8h.html#af6e75ab2e524eafad8f6481ba5b3f1b2"> 116</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_USAGE_SWITCH 5</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="usbhid_8h.html#ac9a63c95debeb34fc5ea25921d93c099"> 117</a></span> <span class="preprocessor">#define HID_MAIN_ITEM_COLLECTION_USAGE_MODIFIER 6</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_hid_item_prefix.html"> 119</a></span> <span class="keyword">struct </span><a class="code" href="struct_hid_item_prefix.html">HidItemPrefix</a> {</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="struct_hid_item_prefix.html#a4b0af0a3d7ac50bdbedcd5fae929200d"> 120</a></span>  uint8_t <a class="code" href="struct_hid_item_prefix.html#a4b0af0a3d7ac50bdbedcd5fae929200d">bSize</a> : 2;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="struct_hid_item_prefix.html#a16874c73fdb809e4c46407ca83684927"> 121</a></span>  uint8_t <a class="code" href="struct_hid_item_prefix.html#a16874c73fdb809e4c46407ca83684927">bType</a> : 2;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_hid_item_prefix.html#a9c8a256ca8e493adfce8772445fef01e"> 122</a></span>  uint8_t <a class="code" href="struct_hid_item_prefix.html#a9c8a256ca8e493adfce8772445fef01e">bTag</a> : 4;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html"> 125</a></span> <span class="keyword">struct </span><a class="code" href="struct_main_item_i_o_feature.html">MainItemIOFeature</a> {</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#a5d578c79399be5da63790c7396fc5336"> 126</a></span>  uint8_t bmIsConstantOrData : 1;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#adaf8eafeb85f6aff94e211601e76ee8f"> 127</a></span>  uint8_t bmIsArrayOrVariable : 1;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#aeb93d03989043229774d2a6832e48628"> 128</a></span>  uint8_t bmIsRelativeOrAbsolute : 1;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#a7acdfbb4a6b53046205cccae67fa26d4"> 129</a></span>  uint8_t bmIsWrapOrNoWrap : 1;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#abbe00a271ed4f5200399dd2ec5d18795"> 130</a></span>  uint8_t bmIsNonLonearOrLinear : 1;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#afd8eca62fe742513103795799d960d01"> 131</a></span>  uint8_t bmIsNoPreferedOrPrefered : 1;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#a9673a5c3415a2f43b488aa32181b1f4c"> 132</a></span>  uint8_t bmIsNullOrNoNull : 1;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="struct_main_item_i_o_feature.html#aaa20e71b24fe2de818a85b0cbdcba33e"> 133</a></span>  uint8_t bmIsVolatileOrNonVolatile : 1;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> };</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="keyword">class </span><a class="code" href="class_u_s_b_h_i_d.html">USBHID</a>;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_h_i_d_report_parser.html"> 138</a></span> <span class="keyword">class </span><a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Parse(<a class="code" href="class_u_s_b_h_i_d.html">USBHID</a> *hid, <span class="keywordtype">bool</span> is_rpt_id, uint8_t len, uint8_t *buf) = 0;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> };</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html"> 143</a></span> <span class="keyword">class </span><a class="code" href="class_u_s_b_h_i_d.html">USBHID</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a>, <span class="keyword">public</span> <a class="code" href="class_usb_config_xtracter.html">UsbConfigXtracter</a> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#abb120ee1258c49b4af0fbd59ae6903f5"> 145</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_u_s_b_h_i_d.html#abb120ee1258c49b4af0fbd59ae6903f5">pUsb</a>; <span class="comment">// USB class instance pointer</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a35fe591ddd550b290d1e88c321617ab6"> 146</a></span>  uint8_t <a class="code" href="class_u_s_b_h_i_d.html#a35fe591ddd550b290d1e88c321617ab6">bAddress</a>; <span class="comment">// address</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a722462978813b2154698516b729e834d"> 149</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t epInterruptInIndex = 1; <span class="comment">// InterruptIN endpoint index</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#af9ae556d2a7a03309db403e45eab96e8"> 150</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t epInterruptOutIndex = 2; <span class="comment">// InterruptOUT endpoint index</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a6a47b8c02d90076852e079acfb62ae46"> 152</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t maxHidInterfaces = 3;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a7cd9a3226f72cc965dcac27c3bd25ed9"> 153</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t maxEpPerInterface = 2;</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a17c4235f411847c34c77977bbd3e3324"> 154</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="hidboot_8h.html#aa1e198c16d2e9fad0e5c025e801f2fae">totalEndpoints</a> = (maxHidInterfaces * maxEpPerInterface + 1); <span class="comment">// We need to make room for the control endpoint</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">void</span> PrintEndpointDescriptor(<span class="keyword">const</span> <a class="code" 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>* ep_ptr);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span> PrintHidDescriptor(<span class="keyword">const</span> <a class="code" href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html">USB_HID_DESCRIPTOR</a> *pDesc);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a4be1a2ac35ac7c4babca78b8148116ec"> 159</a></span>  <span class="keyword">virtual</span> <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a>* <a class="code" href="class_u_s_b_h_i_d.html#a4be1a2ac35ac7c4babca78b8148116ec">GetReportParser</a>(uint8_t <span class="keywordtype">id</span> __attribute__((unused))) {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a2d8aa4af4c7d0470d6643fa94e9b39dd"> 165</a></span>  <a class="code" href="class_u_s_b_h_i_d.html#a2d8aa4af4c7d0470d6643fa94e9b39dd">USBHID</a>(<a class="code" href="class_u_s_b.html">USB</a> *pusb) : pUsb(pusb) {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  };</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#ad90bc410a083495a4ddefc2000f67dbd"> 168</a></span>  <span class="keyword">const</span> <a class="code" href="class_u_s_b.html">USB</a>* <a class="code" href="class_u_s_b_h_i_d.html#ad90bc410a083495a4ddefc2000f67dbd">GetUsb</a>() {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> pUsb;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  };</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_u_s_b_h_i_d.html#a17a732bbb37d8f21181d02d515f40499"> 172</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_u_s_b_h_i_d.html#a17a732bbb37d8f21181d02d515f40499">SetReportParser</a>(uint8_t <span class="keywordtype">id</span> __attribute__((unused)), <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> *prs __attribute__((unused))) {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  };</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  uint8_t SetProtocol(uint8_t iface, uint8_t protocol);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  uint8_t GetProtocol(uint8_t iface, uint8_t* dataptr);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  uint8_t GetIdle(uint8_t iface, uint8_t reportID, uint8_t* dataptr);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  uint8_t SetIdle(uint8_t iface, uint8_t reportID, uint8_t duration);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  uint8_t GetReportDescr(uint16_t wIndex, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *parser = NULL);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  uint8_t GetHidDescr(uint8_t ep, uint16_t nbytes, uint8_t* dataptr);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  uint8_t GetReport(uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t* dataptr);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  uint8_t SetReport(uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t* dataptr);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> };</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor">#endif // __USBHID_H__</span></div><div class="ttc" id="class_u_s_b_h_i_d_html"><div class="ttname"><a href="class_u_s_b_h_i_d.html">USBHID</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00143">usbhid.h:143</a></div></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="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="class_u_s_b_device_config_html"><div class="ttname"><a href="class_u_s_b_device_config.html">USBDeviceConfig</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00134">UsbCore.h:134</a></div></div>
|
|
<div class="ttc" id="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
|
|
<div class="ttc" id="struct_hid_item_prefix_html_a9c8a256ca8e493adfce8772445fef01e"><div class="ttname"><a href="struct_hid_item_prefix.html#a9c8a256ca8e493adfce8772445fef01e">HidItemPrefix::bTag</a></div><div class="ttdeci">uint8_t bTag</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00122">usbhid.h:122</a></div></div>
|
|
<div class="ttc" id="struct_hid_item_prefix_html_a16874c73fdb809e4c46407ca83684927"><div class="ttname"><a href="struct_hid_item_prefix.html#a16874c73fdb809e4c46407ca83684927">HidItemPrefix::bType</a></div><div class="ttdeci">uint8_t bType</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00121">usbhid.h:121</a></div></div>
|
|
<div class="ttc" id="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html">USB_HID_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00158">usb_ch9.h:158</a></div></div>
|
|
<div class="ttc" id="struct_hid_item_prefix_html_a4b0af0a3d7ac50bdbedcd5fae929200d"><div class="ttname"><a href="struct_hid_item_prefix.html#a4b0af0a3d7ac50bdbedcd5fae929200d">HidItemPrefix::bSize</a></div><div class="ttdeci">uint8_t bSize</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00120">usbhid.h:120</a></div></div>
|
|
<div class="ttc" id="class_u_s_b_h_i_d_html_ad90bc410a083495a4ddefc2000f67dbd"><div class="ttname"><a href="class_u_s_b_h_i_d.html#ad90bc410a083495a4ddefc2000f67dbd">USBHID::GetUsb</a></div><div class="ttdeci">const USB * GetUsb()</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00168">usbhid.h:168</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="hidusagestr_8h_html"><div class="ttname"><a href="hidusagestr_8h.html">hidusagestr.h</a></div></div>
|
|
<div class="ttc" id="class_u_s_b_h_i_d_html_a2d8aa4af4c7d0470d6643fa94e9b39dd"><div class="ttname"><a href="class_u_s_b_h_i_d.html#a2d8aa4af4c7d0470d6643fa94e9b39dd">USBHID::USBHID</a></div><div class="ttdeci">USBHID(USB *pusb)</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00165">usbhid.h:165</a></div></div>
|
|
<div class="ttc" id="class_u_s_b_read_parser_html"><div class="ttname"><a href="class_u_s_b_read_parser.html">USBReadParser</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00205">UsbCore.h:205</a></div></div>
|
|
<div class="ttc" id="class_usb_config_xtracter_html"><div class="ttname"><a href="class_usb_config_xtracter.html">UsbConfigXtracter</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00030">confdescparser.h:30</a></div></div>
|
|
<div class="ttc" id="hidboot_8h_html_aa1e198c16d2e9fad0e5c025e801f2fae"><div class="ttname"><a href="hidboot_8h.html#aa1e198c16d2e9fad0e5c025e801f2fae">totalEndpoints</a></div><div class="ttdeci">#define totalEndpoints(p)</div><div class="ttdef"><b>Definition:</b> <a href="hidboot_8h_source.html#l00033">hidboot.h:33</a></div></div>
|
|
<div class="ttc" id="struct_hid_item_prefix_html"><div class="ttname"><a href="struct_hid_item_prefix.html">HidItemPrefix</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00119">usbhid.h:119</a></div></div>
|
|
<div class="ttc" id="struct_main_item_i_o_feature_html"><div class="ttname"><a href="struct_main_item_i_o_feature.html">MainItemIOFeature</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00125">usbhid.h:125</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_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>
|
|
<div class="ttc" id="class_u_s_b_h_i_d_html_a17a732bbb37d8f21181d02d515f40499"><div class="ttname"><a href="class_u_s_b_h_i_d.html#a17a732bbb37d8f21181d02d515f40499">USBHID::SetReportParser</a></div><div class="ttdeci">virtual bool SetReportParser(uint8_t id, HIDReportParser *prs)</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00172">usbhid.h:172</a></div></div>
|
|
<div class="ttc" id="class_u_s_b_h_i_d_html_a4be1a2ac35ac7c4babca78b8148116ec"><div class="ttname"><a href="class_u_s_b_h_i_d.html#a4be1a2ac35ac7c4babca78b8148116ec">USBHID::GetReportParser</a></div><div class="ttdeci">virtual HIDReportParser * GetReportParser(uint8_t id)</div><div class="ttdef"><b>Definition:</b> <a href="usbhid_8h_source.html#l00159">usbhid.h:159</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|