Updated documentation

BTHID library was added and some other changes
This commit is contained in:
Kristian Lauszus 2013-11-25 00:46:52 +01:00
parent a85adeb3dd
commit 6399eca8e4
218 changed files with 9725 additions and 6661 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.bak *.bak
*.zip *.zip
*.rar *.rar
build/

File diff suppressed because it is too large Load diff

View file

@ -105,7 +105,7 @@ This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent"> <div class="dyncontent">
<div class="center"><img src="_b_t_d_8h__dep__incl.png" border="0" usemap="#_b_t_d_8hdep" alt=""/></div> <div class="center"><img src="_b_t_d_8h__dep__incl.png" border="0" usemap="#_b_t_d_8hdep" alt=""/></div>
<map name="_b_t_d_8hdep" id="_b_t_d_8hdep"> <map name="_b_t_d_8hdep" id="_b_t_d_8hdep">
<area shape="rect" id="node2" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,83,77,111"/><area shape="rect" id="node3" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="102,83,175,111"/><area shape="rect" id="node5" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="199,83,256,111"/><area shape="rect" id="node7" href="_wii_8h.html" title="Wii.h" alt="" coords="288,83,339,111"/><area shape="rect" id="node4" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="80,161,167,189"/><area shape="rect" id="node6" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="192,161,263,189"/><area shape="rect" id="node8" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="287,161,352,189"/></map> <area shape="rect" id="node2" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,83,77,111"/><area shape="rect" id="node3" href="_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="102,83,175,111"/><area shape="rect" id="node5" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="199,83,272,111"/><area shape="rect" id="node7" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="303,83,360,111"/><area shape="rect" id="node9" href="_wii_8h.html" title="Wii.h" alt="" coords="399,83,449,111"/><area shape="rect" id="node4" href="_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="78,161,164,189"/><area shape="rect" id="node6" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="188,161,275,189"/><area shape="rect" id="node8" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="300,161,371,189"/><area shape="rect" id="node10" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="395,161,460,189"/></map>
</div> </div>
</div> </div>
<p><a href="_b_t_d_8h_source.html">Go to the source code of this file.</a></p> <p><a href="_b_t_d_8h_source.html">Go to the source code of this file.</a></p>
@ -151,14 +151,14 @@ Macros</h2></td></tr>
<tr class="separator:a8f1d666addd0c2bba7602fbd7a692228"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a8f1d666addd0c2bba7602fbd7a692228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1939cc2e06b3185be07a93c1ac7a10e1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1">HCI_SET_NAME_STATE</a>&#160;&#160;&#160;5</td></tr> <tr class="memitem:a1939cc2e06b3185be07a93c1ac7a10e1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1">HCI_SET_NAME_STATE</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:a1939cc2e06b3185be07a93c1ac7a10e1"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a1939cc2e06b3185be07a93c1ac7a10e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36daee23c5d0f4276e6eb32f3fd79124"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124">HCI_CHECK_WII_SERVICE</a>&#160;&#160;&#160;6</td></tr> <tr class="memitem:a2c060a7be42c5c4c57990cacec0b45f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a2c060a7be42c5c4c57990cacec0b45f5">HCI_CHECK_DEVICE_SERVICE</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a36daee23c5d0f4276e6eb32f3fd79124"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a2c060a7be42c5c4c57990cacec0b45f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09fa39bcefd3255f8ef762034e45679e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e">HCI_INQUIRY_STATE</a>&#160;&#160;&#160;7</td></tr> <tr class="memitem:a09fa39bcefd3255f8ef762034e45679e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e">HCI_INQUIRY_STATE</a>&#160;&#160;&#160;7</td></tr>
<tr class="separator:a09fa39bcefd3255f8ef762034e45679e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a09fa39bcefd3255f8ef762034e45679e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2733141c8dae8cd14f78b11b21d58ebb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a2733141c8dae8cd14f78b11b21d58ebb">HCI_CONNECT_WII_STATE</a>&#160;&#160;&#160;8</td></tr> <tr class="memitem:a19b8f48838cdb9ca7db043878f1c11fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a19b8f48838cdb9ca7db043878f1c11fa">HCI_CONNECT_DEVICE_STATE</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:a2733141c8dae8cd14f78b11b21d58ebb"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a19b8f48838cdb9ca7db043878f1c11fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad497b58476b921e620f05791fa864f04"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ad497b58476b921e620f05791fa864f04">HCI_CONNECTED_WII_STATE</a>&#160;&#160;&#160;9</td></tr> <tr class="memitem:ab7fc323aab10c0fb1339e1c660fdd15d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ab7fc323aab10c0fb1339e1c660fdd15d">HCI_CONNECTED_DEVICE_STATE</a>&#160;&#160;&#160;9</td></tr>
<tr class="separator:ad497b58476b921e620f05791fa864f04"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ab7fc323aab10c0fb1339e1c660fdd15d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9b6954b4bb6c19a9d25242869d5ddf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#acc9b6954b4bb6c19a9d25242869d5ddf">HCI_SCANNING_STATE</a>&#160;&#160;&#160;10</td></tr> <tr class="memitem:acc9b6954b4bb6c19a9d25242869d5ddf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#acc9b6954b4bb6c19a9d25242869d5ddf">HCI_SCANNING_STATE</a>&#160;&#160;&#160;10</td></tr>
<tr class="separator:acc9b6954b4bb6c19a9d25242869d5ddf"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:acc9b6954b4bb6c19a9d25242869d5ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bfcf6e1a0a044aba26d728fb0c6a17a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a">HCI_CONNECT_IN_STATE</a>&#160;&#160;&#160;11</td></tr> <tr class="memitem:a8bfcf6e1a0a044aba26d728fb0c6a17a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a">HCI_CONNECT_IN_STATE</a>&#160;&#160;&#160;11</td></tr>
@ -187,8 +187,8 @@ Macros</h2></td></tr>
<tr class="separator:aabbf8a2ed694a2dc4d4e60fd389c44dd"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aabbf8a2ed694a2dc4d4e60fd389c44dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3b1f616c1e885e697806f0167b73e8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e">HCI_FLAG_READ_VERSION</a>&#160;&#160;&#160;0x40</td></tr> <tr class="memitem:ab3b1f616c1e885e697806f0167b73e8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e">HCI_FLAG_READ_VERSION</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="separator:ab3b1f616c1e885e697806f0167b73e8e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ab3b1f616c1e885e697806f0167b73e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa991873698787cf45d26efaa370f34e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2">HCI_FLAG_WII_FOUND</a>&#160;&#160;&#160;0x80</td></tr> <tr class="memitem:a5ac3c55b54eff968d2327185a7e644ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a5ac3c55b54eff968d2327185a7e644ba">HCI_FLAG_DEVICE_FOUND</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="separator:aa991873698787cf45d26efaa370f34e2"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a5ac3c55b54eff968d2327185a7e644ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad14762241e9195fc9a3b0a69ef1ab7f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3">HCI_FLAG_CONNECT_EVENT</a>&#160;&#160;&#160;0x100</td></tr> <tr class="memitem:ad14762241e9195fc9a3b0a69ef1ab7f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3">HCI_FLAG_CONNECT_EVENT</a>&#160;&#160;&#160;0x100</td></tr>
<tr class="separator:ad14762241e9195fc9a3b0a69ef1ab7f3"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ad14762241e9195fc9a3b0a69ef1ab7f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cc765dd92016efe6eaeff535a5193c1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a9cc765dd92016efe6eaeff535a5193c1">hci_cmd_complete</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01">HCI_FLAG_CMD_COMPLETE</a>)</td></tr> <tr class="memitem:a9cc765dd92016efe6eaeff535a5193c1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a9cc765dd92016efe6eaeff535a5193c1">hci_cmd_complete</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01">HCI_FLAG_CMD_COMPLETE</a>)</td></tr>
@ -205,8 +205,8 @@ Macros</h2></td></tr>
<tr class="separator:afc5a7e103eb1301c12aa35af25cc8293"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:afc5a7e103eb1301c12aa35af25cc8293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad205c180970335a666dfe5081b55ade4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4">hci_read_version_complete</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e">HCI_FLAG_READ_VERSION</a>)</td></tr> <tr class="memitem:ad205c180970335a666dfe5081b55ade4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4">hci_read_version_complete</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e">HCI_FLAG_READ_VERSION</a>)</td></tr>
<tr class="separator:ad205c180970335a666dfe5081b55ade4"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ad205c180970335a666dfe5081b55ade4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa12b77df715652f4735cb6620cd595a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#aa12b77df715652f4735cb6620cd595a4">hci_wii_found</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2">HCI_FLAG_WII_FOUND</a>)</td></tr> <tr class="memitem:a40e9a109cbfeb621a5e94e3802b31af7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a40e9a109cbfeb621a5e94e3802b31af7">hci_device_found</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#a5ac3c55b54eff968d2327185a7e644ba">HCI_FLAG_DEVICE_FOUND</a>)</td></tr>
<tr class="separator:aa12b77df715652f4735cb6620cd595a4"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a40e9a109cbfeb621a5e94e3802b31af7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ae66a6caad9105b8e7658189dcfa7b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b">hci_connect_event</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3">HCI_FLAG_CONNECT_EVENT</a>)</td></tr> <tr class="memitem:a11ae66a6caad9105b8e7658189dcfa7b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b">hci_connect_event</a>&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3">HCI_FLAG_CONNECT_EVENT</a>)</td></tr>
<tr class="separator:a11ae66a6caad9105b8e7658189dcfa7b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a11ae66a6caad9105b8e7658189dcfa7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c6ca5696adeab36258b3b0c58d804e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a4c6ca5696adeab36258b3b0c58d804e0">EV_INQUIRY_COMPLETE</a>&#160;&#160;&#160;0x01</td></tr> <tr class="memitem:a4c6ca5696adeab36258b3b0c58d804e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a4c6ca5696adeab36258b3b0c58d804e0">EV_INQUIRY_COMPLETE</a>&#160;&#160;&#160;0x01</td></tr>
@ -291,6 +291,8 @@ Macros</h2></td></tr>
<tr class="separator:aee41c4878894db24e7ad8cd6246595cd"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aee41c4878894db24e7ad8cd6246595cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2222709eed4c8af293e881ea36f599b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>&#160;&#160;&#160;4</td></tr> <tr class="memitem:a2222709eed4c8af293e881ea36f599b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a2222709eed4c8af293e881ea36f599b0"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a2222709eed4c8af293e881ea36f599b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table> </table>
<h2 class="groupheader">Macro Definition Documentation</h2> <h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a5bb06f989db583d290ba79642d37c514"></a> <a class="anchor" id="a5bb06f989db583d290ba79642d37c514"></a>
@ -517,12 +519,12 @@ Macros</h2></td></tr>
</div> </div>
</div> </div>
<a class="anchor" id="a36daee23c5d0f4276e6eb32f3fd79124"></a> <a class="anchor" id="a2c060a7be42c5c4c57990cacec0b45f5"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">#define HCI_CHECK_WII_SERVICE&#160;&#160;&#160;6</td> <td class="memname">#define HCI_CHECK_DEVICE_SERVICE&#160;&#160;&#160;6</td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
@ -545,12 +547,12 @@ Macros</h2></td></tr>
</div> </div>
</div> </div>
<a class="anchor" id="a2733141c8dae8cd14f78b11b21d58ebb"></a> <a class="anchor" id="a19b8f48838cdb9ca7db043878f1c11fa"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">#define HCI_CONNECT_WII_STATE&#160;&#160;&#160;8</td> <td class="memname">#define HCI_CONNECT_DEVICE_STATE&#160;&#160;&#160;8</td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
@ -559,12 +561,12 @@ Macros</h2></td></tr>
</div> </div>
</div> </div>
<a class="anchor" id="ad497b58476b921e620f05791fa864f04"></a> <a class="anchor" id="ab7fc323aab10c0fb1339e1c660fdd15d"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">#define HCI_CONNECTED_WII_STATE&#160;&#160;&#160;9</td> <td class="memname">#define HCI_CONNECTED_DEVICE_STATE&#160;&#160;&#160;9</td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
@ -769,12 +771,12 @@ Macros</h2></td></tr>
</div> </div>
</div> </div>
<a class="anchor" id="aa991873698787cf45d26efaa370f34e2"></a> <a class="anchor" id="a5ac3c55b54eff968d2327185a7e644ba"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">#define HCI_FLAG_WII_FOUND&#160;&#160;&#160;0x80</td> <td class="memname">#define HCI_FLAG_DEVICE_FOUND&#160;&#160;&#160;0x80</td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
@ -895,12 +897,12 @@ Macros</h2></td></tr>
</div> </div>
</div> </div>
<a class="anchor" id="aa12b77df715652f4735cb6620cd595a4"></a> <a class="anchor" id="a40e9a109cbfeb621a5e94e3802b31af7"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">#define hci_wii_found&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2">HCI_FLAG_WII_FOUND</a>)</td> <td class="memname">#define hci_device_found&#160;&#160;&#160;(hci_event_flag &amp; <a class="el" href="_b_t_d_8h.html#a5ac3c55b54eff968d2327185a7e644ba">HCI_FLAG_DEVICE_FOUND</a>)</td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
@ -1495,6 +1497,20 @@ Macros</h2></td></tr>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00134">134</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00134">134</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8f0b5b0dedaf5c25c4887f03ebfdd425"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PAIR&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00136">136</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
</div><!-- contents --> </div><!-- contents -->

View file

@ -1,9 +1,11 @@
<map id="BTD.h" name="BTD.h"> <map id="BTD.h" name="BTD.h">
<area shape="rect" id="node2" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,83,77,111"/> <area shape="rect" id="node2" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,83,77,111"/>
<area shape="rect" id="node3" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="102,83,175,111"/> <area shape="rect" id="node3" href="$_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="102,83,175,111"/>
<area shape="rect" id="node5" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="199,83,256,111"/> <area shape="rect" id="node5" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="199,83,272,111"/>
<area shape="rect" id="node7" href="$_wii_8h.html" title="Wii.h" alt="" coords="288,83,339,111"/> <area shape="rect" id="node7" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="303,83,360,111"/>
<area shape="rect" id="node4" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="80,161,167,189"/> <area shape="rect" id="node9" href="$_wii_8h.html" title="Wii.h" alt="" coords="399,83,449,111"/>
<area shape="rect" id="node6" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="192,161,263,189"/> <area shape="rect" id="node4" href="$_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="78,161,164,189"/>
<area shape="rect" id="node8" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="287,161,352,189"/> <area shape="rect" id="node6" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="188,161,275,189"/>
<area shape="rect" id="node8" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="300,161,371,189"/>
<area shape="rect" id="node10" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="395,161,460,189"/>
</map> </map>

View file

@ -1 +1 @@
5aff5061ed5b75641b5314699a5d7713 733ffa9984cd5bf95cd4137ba4b743af

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -130,25 +130,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">/* Bluetooth HCI states for hci_task() */</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">/* Bluetooth HCI states for hci_task() */</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ac2b910cd6cc87c7bac09617815a1ee9a"> 42</a></span>&#160;<span class="preprocessor">#define HCI_INIT_STATE 0</span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ac2b910cd6cc87c7bac09617815a1ee9a"> 42</a></span>&#160;<span class="preprocessor">#define HCI_INIT_STATE 0</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#af3a7567dba1a0a7ed4272324d7684440"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_RESET_STATE 1</span></div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#af3a7567dba1a0a7ed4272324d7684440"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_RESET_STATE 1</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa4e852587db5ad51c6c5cfb8e9d4f002"> 44</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CLASS_STATE 2</span></div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa4e852587db5ad51c6c5cfb8e9d4f002"> 44</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CLASS_STATE 2</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a86fd72d2518d27c02c15af635b55fc8f"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_BDADDR_STATE 3</span></div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a86fd72d2518d27c02c15af635b55fc8f"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_BDADDR_STATE 3</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8f1d666addd0c2bba7602fbd7a692228"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_LOCAL_VERSION_STATE 4</span></div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8f1d666addd0c2bba7602fbd7a692228"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_LOCAL_VERSION_STATE 4</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1"> 47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_SET_NAME_STATE 5</span></div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1"> 47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_SET_NAME_STATE 5</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124"> 48</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CHECK_WII_SERVICE 6</span></div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2c060a7be42c5c4c57990cacec0b45f5"> 48</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CHECK_DEVICE_SERVICE 6</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e"> 50</a></span>&#160;<span class="preprocessor">#define HCI_INQUIRY_STATE 7 // These three states are only used if it should pair and connect to a Wii controller</span></div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e"> 50</a></span>&#160;<span class="preprocessor">#define HCI_INQUIRY_STATE 7 // These three states are only used if it should pair and connect to a Wii controller</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2733141c8dae8cd14f78b11b21d58ebb"> 51</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_WII_STATE 8</span></div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a19b8f48838cdb9ca7db043878f1c11fa"> 51</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_DEVICE_STATE 8</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad497b58476b921e620f05791fa864f04"> 52</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_WII_STATE 9</span></div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ab7fc323aab10c0fb1339e1c660fdd15d"> 52</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_DEVICE_STATE 9</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#acc9b6954b4bb6c19a9d25242869d5ddf"> 54</a></span>&#160;<span class="preprocessor">#define HCI_SCANNING_STATE 10</span></div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#acc9b6954b4bb6c19a9d25242869d5ddf"> 54</a></span>&#160;<span class="preprocessor">#define HCI_SCANNING_STATE 10</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a"> 55</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_IN_STATE 11</span></div> <div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a"> 55</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_IN_STATE 11</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a4bad48092981dffe97edb052f5ae08bd"> 56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_REMOTE_NAME_STATE 12</span></div> <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a4bad48092981dffe97edb052f5ae08bd"> 56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_REMOTE_NAME_STATE 12</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ae0a16d1cc0142186a20379b5c68bd1e0"> 57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_STATE 13</span></div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ae0a16d1cc0142186a20379b5c68bd1e0"> 57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_STATE 13</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad3500c7116f1bb564011dac09a387a5c"> 58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DISABLE_SCAN_STATE 14</span></div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad3500c7116f1bb564011dac09a387a5c"> 58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DISABLE_SCAN_STATE 14</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a20fc1ebfc3da8e048f6afe53330e6b8f"> 59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DONE_STATE 15</span></div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a20fc1ebfc3da8e048f6afe53330e6b8f"> 59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DONE_STATE 15</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a31398eae2e433d1b7b39ea3d6d07cdd0"> 60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DISCONNECT_STATE 16</span></div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a31398eae2e433d1b7b39ea3d6d07cdd0"> 60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_DISCONNECT_STATE 16</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/* HCI event flags*/</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/* HCI event flags*/</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01"> 63</a></span>&#160;<span class="preprocessor">#define HCI_FLAG_CMD_COMPLETE 0x01</span></div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01"> 63</a></span>&#160;<span class="preprocessor">#define HCI_FLAG_CMD_COMPLETE 0x01</span></div>
@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a0e8a8ce5838e265c1732795bf8822043"> 67</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_INCOMING_REQUEST 0x10</span></div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a0e8a8ce5838e265c1732795bf8822043"> 67</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_INCOMING_REQUEST 0x10</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aabbf8a2ed694a2dc4d4e60fd389c44dd"> 68</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_BDADDR 0x20</span></div> <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aabbf8a2ed694a2dc4d4e60fd389c44dd"> 68</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_BDADDR 0x20</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e"> 69</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_VERSION 0x40</span></div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e"> 69</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_VERSION 0x40</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2"> 70</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_WII_FOUND 0x80</span></div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a5ac3c55b54eff968d2327185a7e644ba"> 70</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_DEVICE_FOUND 0x80</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3"> 71</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONNECT_EVENT 0x100</span></div> <div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3"> 71</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONNECT_EVENT 0x100</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment">/*Macros for HCI event flag tests */</span></div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment">/*Macros for HCI event flag tests */</span></div>
@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aeb3a24db49f8158f85b928385e28d83a"> 78</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_incoming_connect_request (hci_event_flag &amp; HCI_FLAG_INCOMING_REQUEST)</span></div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aeb3a24db49f8158f85b928385e28d83a"> 78</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_incoming_connect_request (hci_event_flag &amp; HCI_FLAG_INCOMING_REQUEST)</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#afc5a7e103eb1301c12aa35af25cc8293"> 79</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_read_bdaddr_complete (hci_event_flag &amp; HCI_FLAG_READ_BDADDR)</span></div> <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#afc5a7e103eb1301c12aa35af25cc8293"> 79</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_read_bdaddr_complete (hci_event_flag &amp; HCI_FLAG_READ_BDADDR)</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4"> 80</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_read_version_complete (hci_event_flag &amp; HCI_FLAG_READ_VERSION)</span></div> <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4"> 80</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_read_version_complete (hci_event_flag &amp; HCI_FLAG_READ_VERSION)</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa12b77df715652f4735cb6620cd595a4"> 81</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_wii_found (hci_event_flag &amp; HCI_FLAG_WII_FOUND)</span></div> <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a40e9a109cbfeb621a5e94e3802b31af7"> 81</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_device_found (hci_event_flag &amp; HCI_FLAG_DEVICE_FOUND)</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b"> 82</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_connect_event (hci_event_flag &amp; HCI_FLAG_CONNECT_EVENT)</span></div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b"> 82</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define hci_connect_event (hci_event_flag &amp; HCI_FLAG_CONNECT_EVENT)</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="comment">/* HCI Events managed */</span></div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="comment">/* HCI Events managed */</span></div>
@ -224,242 +224,263 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd"> 133</a></span>&#160;<span class="preprocessor">#define BTD_MAX_ENDPOINTS 4</span></div> <div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd"> 133</a></span>&#160;<span class="preprocessor">#define BTD_MAX_ENDPOINTS 4</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0"> 134</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BTD_NUMSERVICES 4 // Max number of Bluetooth services - if you need more than four simply increase this number</span></div> <div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0"> 134</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BTD_NUMSERVICES 4 // Max number of Bluetooth services - if you need more than four simply increase this number</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_bluetooth_service.html"> 137</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div> <div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 136</a></span>&#160;<span class="preprocessor">#define PAIR 1</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">ACLData</a>(uint8_t* <a class="code" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">ACLData</a>);</div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_bluetooth_service.html"> 139</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">Run</a>();</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="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">Reset</a>();</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">ACLData</a>(uint8_t* <a class="code" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">ACLData</a>);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">Run</a>();</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;};</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">Reset</a>();</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_b_t_d.html"> 156</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_b_t_d.html">BTD</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="l00152"></a><span class="lineno"> 152</span>&#160;};</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="class_b_t_d.html#a5f07597fe15a2b917cce405fe87f2981">BTD</a>(<a class="code" href="class_u_s_b.html">USB</a> *p);</div> <div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="class_b_t_d.html"> 158</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_b_t_d.html">BTD</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="l00163"></a><span class="lineno"> 163</span>&#160;</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="class_b_t_d.html#a5f07597fe15a2b917cce405fe87f2981">BTD</a>(<a class="code" href="class_u_s_b.html">USB</a> *p);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>();</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">Poll</a>();</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>();</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3"> 196</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a>() {</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">Poll</a>();</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; };</div> <div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3"> 198</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a>() {</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8"> 204</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a>() {</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; };</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; };</div> <div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8"> 206</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a>() {</div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e"> 212</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">DEVCLASSOK</a>(uint8_t klass) { <span class="keywordflow">return</span> (klass == <a class="code" href="_usb_core_8h.html#afce880b09049d7105f8e68ff36d9ad17">USB_CLASS_WIRELESS_CTRL</a>); }</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; };</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21"> 221</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div> <div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e"> 214</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">DEVCLASSOK</a>(uint8_t klass) { <span class="keywordflow">return</span> (klass == <a class="code" href="_usb_core_8h.html#afce880b09049d7105f8e68ff36d9ad17">USB_CLASS_WIRELESS_CTRL</a>); }</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">return</span> ((vid == <a class="code" href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> || vid == <a class="code" href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d">IOGEAR_GBU521_VID</a>) &amp;&amp; (pid == <a class="code" href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a> || pid == <a class="code" href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a> || pid == <a class="code" href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a> || pid == <a class="code" href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad">IOGEAR_GBU521_PID</a>));</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; };</div> <div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21"> 223</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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);</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">if</span> (vid == <a class="code" href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d">IOGEAR_GBU521_VID</a> &amp;&amp; pid == <a class="code" href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad">IOGEAR_GBU521_PID</a>)</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da"> 239</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>() {</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++)</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[0] != 0x00 || <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[1] != 0x00 || <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[2] != 0x00 || <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[3] != 0x00 || <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[4] != 0x00 || <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[5] != 0x00) { <span class="comment">// Check if Bluetooth address is set</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">if</span>(btService[i])</div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">if</span> (vid == <a class="code" href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> &amp;&amp; (pid == <a class="code" href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a> || pid == <a class="code" href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a> || pid == <a class="code" href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a>))</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; btService[i]-&gt;<a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; };</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73"> 250</a></span>&#160; int8_t <a class="code" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(<a class="code" href="class_bluetooth_service.html">BluetoothService</a> *pService) {</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; };</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++) {</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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);</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">if</span>(!btService[i]) {</div> <div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da"> 247</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>() {</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; btService[i] = pService;</div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++)</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">return</span> i; <span class="comment">// Return ID</span></div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">if</span>(btService[i])</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; }</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; btService[i]-&gt;<a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; }</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; };</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordflow">return</span> -1; <span class="comment">// ErrorregisterServiceClass</span></div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; };</div> <div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73"> 258</a></span>&#160; int8_t <a class="code" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(<a class="code" href="class_bluetooth_service.html">BluetoothService</a> *pService) {</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++) {</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">HCI_Command</a>(uint8_t* data, uint16_t nbytes);</div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keywordflow">if</span>(!btService[i]) {</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">hci_reset</a>();</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; btService[i] = pService;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#acb94a629477d85cebd16a9c5ecd4a8b3">hci_read_bdaddr</a>();</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">return</span> i; <span class="comment">// Return ID</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae2ba215b6942f4131e4c5fdef2771e22">hci_read_local_version_information</a>();</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; }</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a9a6747d58951f53389922d80e25b886c">hci_set_local_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; }</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">hci_write_scan_enable</a>();</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordflow">return</span> -1; <span class="comment">// ErrorregisterServiceClass</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">hci_write_scan_disable</a>();</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; };</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a8767529bd203c549348a38ac9c6682b3">hci_remote_name</a>();</div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">hci_accept_connection</a>();</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">HCI_Command</a>(uint8_t* data, uint16_t nbytes);</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(uint16_t handle);</div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">hci_reset</a>();</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a70047b0f624c3f0ef29f8b76b8a34938">hci_pin_code_request_reply</a>();</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#acb94a629477d85cebd16a9c5ecd4a8b3">hci_read_bdaddr</a>();</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7114d2cb62aa413e5ecb25c45c76832b">hci_pin_code_negative_request_reply</a>();</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae2ba215b6942f4131e4c5fdef2771e22">hci_read_local_version_information</a>();</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#af4d28b9c1a3b9688a1871610caee2cfc">hci_link_key_request_negative_reply</a>();</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a9a6747d58951f53389922d80e25b886c">hci_set_local_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">hci_authentication_request</a>();</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">hci_write_scan_enable</a>();</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>();</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">hci_write_scan_disable</a>();</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a45ffbc7a40bbb763b0ece907c3dfc9ff">hci_inquiry_cancel</a>();</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a8767529bd203c549348a38ac9c6682b3">hci_remote_name</a>();</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>();</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">hci_accept_connection</a>();</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a>();</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(uint16_t handle);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a>(uint16_t handle, uint8_t* data, uint8_t nbytes, uint8_t channelLow = 0x01, uint8_t channelHigh = 0x00);</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a70047b0f624c3f0ef29f8b76b8a34938">hci_pin_code_request_reply</a>();</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(uint16_t handle, uint8_t rxid, uint8_t* scid, uint16_t psm);</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7114d2cb62aa413e5ecb25c45c76832b">hci_pin_code_negative_request_reply</a>();</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid, uint8_t result);</div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#af4d28b9c1a3b9688a1871610caee2cfc">hci_link_key_request_negative_reply</a>();</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid);</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">hci_authentication_request</a>();</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(uint16_t handle, uint8_t rxid, uint8_t* scid);</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>();</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid);</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a45ffbc7a40bbb763b0ece907c3dfc9ff">hci_inquiry_cancel</a>();</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid);</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>();</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">l2cap_information_response</a>(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh);</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>(uint8_t *bdaddr);</div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737"> 383</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a>;</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a>();</div>
<div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594"> 385</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a>;</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a>(uint16_t handle, uint8_t* data, uint8_t nbytes, uint8_t channelLow = 0x01, uint8_t channelHigh = 0x00);</div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590"> 387</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a>;</div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(uint16_t handle, uint8_t rxid, uint8_t* scid, uint16_t psm);</div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74"> 389</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a>;</div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid, uint8_t result);</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;</div> <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid);</div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9"> 392</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a>;</div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(uint16_t handle, uint8_t rxid, uint8_t* scid);</div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c"> 394</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a>;</div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid);</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(uint16_t handle, uint8_t rxid, uint8_t* dcid, uint8_t* scid);</div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a"> 397</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[6];</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">l2cap_information_response</a>(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh);</div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98"> 399</a></span>&#160; uint16_t <a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>;</div> <div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737"> 396</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a>;</div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182"> 401</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a>[6];</div> <div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594"> 398</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a>;</div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e"> 403</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a>[30];</div> <div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590"> 400</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a>;</div>
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea"> 409</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a>;</div> <div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74"> 402</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a>;</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;</div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c"> 412</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>() {</div> <div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9"> 405</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a>;</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c"> 407</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a>;</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; hci_state = <a class="code" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124">HCI_CHECK_WII_SERVICE</a>;</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;</div>
<div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e"> 415</a></span>&#160; };</div> <div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a"> 410</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[6];</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a>;</div> <div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98"> 412</a></span>&#160; uint16_t <a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>;</div>
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee"> 419</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a>;</div> <div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182"> 414</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a>[6];</div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 421</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a>;</div> <div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e"> 416</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a>[30];</div>
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 423</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a>;</div> <div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea"> 422</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a>;</div>
<div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583"> 425</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a>;</div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160;</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160;</div> <div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c"> 425</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>() {</div>
<div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd"> 431</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>() {</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <span class="keywordflow">return</span> pollInterval;</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; hci_state = <a class="code" href="_b_t_d_8h.html#a2c060a7be42c5c4c57990cacec0b45f5">HCI_CHECK_DEVICE_SERVICE</a>;</div>
<div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 433</a></span>&#160; };</div> <div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e"> 428</a></span>&#160; };</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;</div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a>;</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;<span class="keyword">protected</span>:</div> <div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee"> 432</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a>;</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a>;</div> <div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 434</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a>;</div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 439</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div> <div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 436</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a>;</div>
<div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 441</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a>[<a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>];</div> <div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583"> 438</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a>;</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;</div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;</div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 444</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>;</div> <div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328"> 441</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">pairWithHID</a>() {</div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 446</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; <a class="code" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 448</a></span>&#160; uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; hci_state = <a class="code" href="_b_t_d_8h.html#a2c060a7be42c5c4c57990cacec0b45f5">HCI_CHECK_DEVICE_SERVICE</a>;</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;</div> <div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8"> 444</a></span>&#160; };</div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 451</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD_CONTROL_PIPE</a>;</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a>;</div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 453</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD_EVENT_PIPE</a>;</div> <div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a"> 448</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a>;</div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 455</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD_DATAIN_PIPE</a>;</div> <div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e"> 450</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a>;</div>
<div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 457</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD_DATAOUT_PIPE</a>;</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;</div> <div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd"> 456</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>() {</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(<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="l00457"></a><span class="lineno"> 457</span>&#160; <span class="keywordflow">return</span> pollInterval;</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;</div> <div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 458</a></span>&#160; };</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160;</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; <span class="keywordtype">void</span> clearAllVariables(); <span class="comment">// Set all variables, endpoint structs etc. to default values</span></div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; <a class="code" href="class_bluetooth_service.html">BluetoothService</a>* btService[<a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>];</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a>;</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160;</div> <div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 464</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; uint16_t PID, VID; <span class="comment">// PID and VID of device connected</span></div> <div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 466</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a>[<a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160;</div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160;</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div> <div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 469</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>;</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; uint8_t pollInterval;</div> <div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 471</a></span>&#160; uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;</div> <div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 473</a></span>&#160; uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; <span class="comment">/* Variables used by high level HCI task */</span></div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160;</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div> <div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 476</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD_CONTROL_PIPE</a>;</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div> <div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 478</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD_EVENT_PIPE</a>;</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; uint8_t hci_num_reset_loops; <span class="comment">// this value indicate how many times it should read before trying to reset</span></div> <div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 480</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD_DATAIN_PIPE</a>;</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div> <div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 482</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD_DATAOUT_PIPE</a>;</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; uint8_t inquiry_counter;</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160;</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;</div> <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(<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="l00481"></a><span class="lineno"> 481</span>&#160; uint8_t hcibuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">//General purpose buffer for hci data</span></div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">//General purpose buffer for l2cap in data</span></div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; uint8_t l2capoutbuf[14]; <span class="comment">//General purpose buffer for l2cap out data</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160;</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; <span class="comment">/* State machines */</span></div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</span></div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;</div> <div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div> <div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div> <div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; <span class="keywordtype">void</span> clearAllVariables(); <span class="comment">// Set all variables, endpoint structs etc. to default values</span></div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div> <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; <a class="code" href="class_bluetooth_service.html">BluetoothService</a>* btService[<a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>];</div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160;};</div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160;</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; uint16_t PID, VID; <span class="comment">// PID and VID of device connected</span></div>
<div class="ttc" id="class_b_t_d_html_a0d82870f7eef8c27c33e6f5989d7a4dd"><div class="ttname"><a href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD::BTD_DATAOUT_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_DATAOUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00457">BTD.h:457</a></div></div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div>
<div class="ttc" id="class_b_t_d_html_a4dc8f94fe85028f3d54f13dde1e5b4ee"><div class="ttname"><a href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">BTD::incomingWii</a></div><div class="ttdeci">bool incomingWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00419">BTD.h:419</a></div></div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div>
<div class="ttc" id="class_b_t_d_html_ae7066ea743f8907708db945ebef3ad76"><div class="ttname"><a href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">BTD::hci_connect</a></div><div class="ttdeci">void hci_connect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00972">BTD.cpp:972</a></div></div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; uint8_t pollInterval;</div>
<div class="ttc" id="class_b_t_d_html_a893dd35932821cddda7e482a1904af66"><div class="ttname"><a href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">BTD::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00446">BTD.h:446</a></div></div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;</div>
<div class="ttc" id="class_b_t_d_html_a0359c0c158c864c27319810cbd1534f9"><div class="ttname"><a href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">BTD::btdName</a></div><div class="ttdeci">const char * btdName</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00392">BTD.h:392</a></div></div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160; <span class="comment">/* Variables used by high level HCI task */</span></div>
<div class="ttc" id="class_b_t_d_html_ae6f942eabd29257bc4896e5f263275b6"><div class="ttname"><a href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">BTD::hci_reset</a></div><div class="ttdeci">void hci_reset()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00856">BTD.cpp:856</a></div></div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div>
<div class="ttc" id="class_b_t_d_html_a7d34c62b1d561679dea5cd27356b38a7"><div class="ttname"><a href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">BTD::l2cap_connection_response</a></div><div class="ttdeci">void l2cap_connection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01157">BTD.cpp:1157</a></div></div> <div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
<div class="ttc" id="class_b_t_d_html_a55cf412a2053972a353b1ab964ca9d3e"><div class="ttname"><a href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">BTD::l2cap_connection_request</a></div><div class="ttdeci">void l2cap_connection_request(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01144">BTD.cpp:1144</a></div></div> <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; uint8_t hci_num_reset_loops; <span class="comment">// this value indicate how many times it should read before trying to reset</span></div>
<div class="ttc" id="class_b_t_d_html_af5e5b085cec1da5c83c75e80e95b3590"><div class="ttname"><a href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">BTD::sdpConnectionClaimed</a></div><div class="ttdeci">bool sdpConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00387">BTD.h:387</a></div></div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
<div class="ttc" id="_b_t_d_8h_html_a36daee23c5d0f4276e6eb32f3fd79124"><div class="ttname"><a href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124">HCI_CHECK_WII_SERVICE</a></div><div class="ttdeci">#define HCI_CHECK_WII_SERVICE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00048">BTD.h:48</a></div></div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; uint8_t inquiry_counter;</div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;</div>
<div class="ttc" id="class_b_t_d_html_a8760371377c1ba08292b6cc71824754e"><div class="ttname"><a href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">BTD::DEVCLASSOK</a></div><div class="ttdeci">virtual boolean DEVCLASSOK(uint8_t klass)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00212">BTD.h:212</a></div></div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; uint8_t hcibuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">//General purpose buffer for hci data</span></div>
<div class="ttc" id="class_b_t_d_html_ac7053ef7ac690be3afbbdd985b163f10"><div class="ttname"><a href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">BTD::l2cap_disconnection_request</a></div><div class="ttdeci">void l2cap_disconnection_request(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01210">BTD.cpp:1210</a></div></div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">//General purpose buffer for l2cap in data</span></div>
<div class="ttc" id="class_b_t_d_html_a9e5a34242007b64cd6a226cfd1901e74"><div class="ttname"><a href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">BTD::rfcommConnectionClaimed</a></div><div class="ttdeci">bool rfcommConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00389">BTD.h:389</a></div></div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160; uint8_t l2capoutbuf[14]; <span class="comment">//General purpose buffer for l2cap out data</span></div>
<div class="ttc" id="class_b_t_d_html_addaddee110af23a3195ad56f631e69ea"><div class="ttname"><a href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">BTD::hci_version</a></div><div class="ttdeci">uint8_t hci_version</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00409">BTD.h:409</a></div></div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;</div>
<div class="ttc" id="class_b_t_d_html_a678f2c995553ce6a9f48f9b59f2f1555"><div class="ttname"><a href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">BTD::hci_inquiry</a></div><div class="ttdeci">void hci_inquiry()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00950">BTD.cpp:950</a></div></div> <div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160; <span class="comment">/* State machines */</span></div>
<div class="ttc" id="class_b_t_d_html_a24166c9b308925eeb2f635fae43ca5ec"><div class="ttname"><a href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD::BTD_EVENT_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_EVENT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00453">BTD.h:453</a></div></div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160; <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</span></div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160;};</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_b_t_d_html_a0d82870f7eef8c27c33e6f5989d7a4dd"><div class="ttname"><a href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD::BTD_DATAOUT_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_DATAOUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00482">BTD.h:482</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4dc8f94fe85028f3d54f13dde1e5b4ee"><div class="ttname"><a href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">BTD::incomingWii</a></div><div class="ttdeci">bool incomingWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00432">BTD.h:432</a></div></div>
<div class="ttc" id="class_b_t_d_html_ae7066ea743f8907708db945ebef3ad76"><div class="ttname"><a href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">BTD::hci_connect</a></div><div class="ttdeci">void hci_connect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01033">BTD.cpp:1033</a></div></div>
<div class="ttc" id="class_b_t_d_html_a893dd35932821cddda7e482a1904af66"><div class="ttname"><a href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">BTD::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00471">BTD.h:471</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0359c0c158c864c27319810cbd1534f9"><div class="ttname"><a href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">BTD::btdName</a></div><div class="ttdeci">const char * btdName</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00405">BTD.h:405</a></div></div>
<div class="ttc" id="class_b_t_d_html_ae6f942eabd29257bc4896e5f263275b6"><div class="ttname"><a href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">BTD::hci_reset</a></div><div class="ttdeci">void hci_reset()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00917">BTD.cpp:917</a></div></div>
<div class="ttc" id="class_b_t_d_html_a7d34c62b1d561679dea5cd27356b38a7"><div class="ttname"><a href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">BTD::l2cap_connection_response</a></div><div class="ttdeci">void l2cap_connection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01222">BTD.cpp:1222</a></div></div>
<div class="ttc" id="class_b_t_d_html_a55cf412a2053972a353b1ab964ca9d3e"><div class="ttname"><a href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">BTD::l2cap_connection_request</a></div><div class="ttdeci">void l2cap_connection_request(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01209">BTD.cpp:1209</a></div></div>
<div class="ttc" id="class_b_t_d_html_af5e5b085cec1da5c83c75e80e95b3590"><div class="ttname"><a href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">BTD::sdpConnectionClaimed</a></div><div class="ttdeci">bool sdpConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00400">BTD.h:400</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_b_t_d_html_a8760371377c1ba08292b6cc71824754e"><div class="ttname"><a href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">BTD::DEVCLASSOK</a></div><div class="ttdeci">virtual boolean DEVCLASSOK(uint8_t klass)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00214">BTD.h:214</a></div></div>
<div class="ttc" id="class_b_t_d_html_ac7053ef7ac690be3afbbdd985b163f10"><div class="ttname"><a href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">BTD::l2cap_disconnection_request</a></div><div class="ttdeci">void l2cap_disconnection_request(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01275">BTD.cpp:1275</a></div></div>
<div class="ttc" id="class_b_t_d_html_a9e5a34242007b64cd6a226cfd1901e74"><div class="ttname"><a href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">BTD::rfcommConnectionClaimed</a></div><div class="ttdeci">bool rfcommConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00402">BTD.h:402</a></div></div>
<div class="ttc" id="class_b_t_d_html_addaddee110af23a3195ad56f631e69ea"><div class="ttname"><a href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">BTD::hci_version</a></div><div class="ttdeci">uint8_t hci_version</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00422">BTD.h:422</a></div></div>
<div class="ttc" id="class_b_t_d_html_a678f2c995553ce6a9f48f9b59f2f1555"><div class="ttname"><a href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">BTD::hci_inquiry</a></div><div class="ttdeci">void hci_inquiry()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01011">BTD.cpp:1011</a></div></div>
<div class="ttc" id="class_b_t_d_html_a24166c9b308925eeb2f635fae43ca5ec"><div class="ttname"><a href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD::BTD_EVENT_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_EVENT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00478">BTD.h:478</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00027">BTD.h:27</a></div></div> <div class="ttc" id="_b_t_d_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00027">BTD.h:27</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#l00141">usb_ch9.h:141</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#l00141">usb_ch9.h:141</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><div class="ttname"><a href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">BTD::pairWithWii</a></div><div class="ttdeci">bool pairWithWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00421">BTD.h:421</a></div></div> <div class="ttc" id="class_b_t_d_html_a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><div class="ttname"><a href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">BTD::pairWithWii</a></div><div class="ttdeci">bool pairWithWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00434">BTD.h:434</a></div></div>
<div class="ttc" id="class_b_t_d_html_aff59ab45d917406141ae0c9c79047f08"><div class="ttname"><a href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">BTD::hci_write_scan_disable</a></div><div class="ttdeci">void hci_write_scan_disable()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00878">BTD.cpp:878</a></div></div> <div class="ttc" id="class_b_t_d_html_aff59ab45d917406141ae0c9c79047f08"><div class="ttname"><a href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">BTD::hci_write_scan_disable</a></div><div class="ttdeci">void hci_write_scan_disable()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00939">BTD.cpp:939</a></div></div>
<div class="ttc" id="class_b_t_d_html_a23928cd0e5711a2433aec763cfa55773"><div class="ttname"><a href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">BTD::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00314">BTD.cpp:314</a></div></div> <div class="ttc" id="class_b_t_d_html_a23928cd0e5711a2433aec763cfa55773"><div class="ttname"><a href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">BTD::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00318">BTD.cpp:318</a></div></div>
<div class="ttc" id="class_b_t_d_html_aecdd9d00fc9c12bb3677ed213a6687c3"><div class="ttname"><a href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">BTD::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00196">BTD.h:196</a></div></div> <div class="ttc" id="class_b_t_d_html_aecdd9d00fc9c12bb3677ed213a6687c3"><div class="ttname"><a href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">BTD::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00198">BTD.h:198</a></div></div>
<div class="ttc" id="class_b_t_d_html_a215cb939c01ed3ff56db37841224546c"><div class="ttname"><a href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">BTD::btdPin</a></div><div class="ttdeci">const char * btdPin</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00394">BTD.h:394</a></div></div> <div class="ttc" id="class_b_t_d_html_a215cb939c01ed3ff56db37841224546c"><div class="ttname"><a href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">BTD::btdPin</a></div><div class="ttdeci">const char * btdPin</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00407">BTD.h:407</a></div></div>
<div class="ttc" id="class_b_t_d_html_a3aea445b2349e99ef057db1a4ffdd9dc"><div class="ttname"><a href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">BTD::motionPlusInside</a></div><div class="ttdeci">bool motionPlusInside</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00423">BTD.h:423</a></div></div> <div class="ttc" id="class_b_t_d_html_a3aea445b2349e99ef057db1a4ffdd9dc"><div class="ttname"><a href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">BTD::motionPlusInside</a></div><div class="ttdeci">bool motionPlusInside</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00436">BTD.h:436</a></div></div>
<div class="ttc" id="class_b_t_d_html_a8767529bd203c549348a38ac9c6682b3"><div class="ttname"><a href="class_b_t_d.html#a8767529bd203c549348a38ac9c6682b3">BTD::hci_remote_name</a></div><div class="ttdeci">void hci_remote_name()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00919">BTD.cpp:919</a></div></div> <div class="ttc" id="class_b_t_d_html_a8767529bd203c549348a38ac9c6682b3"><div class="ttname"><a href="class_b_t_d.html#a8767529bd203c549348a38ac9c6682b3">BTD::hci_remote_name</a></div><div class="ttdeci">void hci_remote_name()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00980">BTD.cpp:980</a></div></div>
<div class="ttc" id="class_b_t_d_html_aede42d995c384c238fd49d728df01e4e"><div class="ttname"><a href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">BTD::remote_name</a></div><div class="ttdeci">uint8_t remote_name[30]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00403">BTD.h:403</a></div></div> <div class="ttc" id="class_b_t_d_html_aede42d995c384c238fd49d728df01e4e"><div class="ttname"><a href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">BTD::remote_name</a></div><div class="ttdeci">uint8_t remote_name[30]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00416">BTD.h:416</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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00024">BTD.h:24</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00024">BTD.h:24</a></div></div>
<div class="ttc" id="class_b_t_d_html_a5f07597fe15a2b917cce405fe87f2981"><div class="ttname"><a href="class_b_t_d.html#a5f07597fe15a2b917cce405fe87f2981">BTD::BTD</a></div><div class="ttdeci">BTD(USB *p)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00027">BTD.cpp:27</a></div></div> <div class="ttc" id="class_b_t_d_html_a5f07597fe15a2b917cce405fe87f2981"><div class="ttname"><a href="class_b_t_d.html#a5f07597fe15a2b917cce405fe87f2981">BTD::BTD</a></div><div class="ttdeci">BTD(USB *p)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00027">BTD.cpp:27</a></div></div>
<div class="ttc" id="class_b_t_d_html_a2a9ecb996243e070e70972370e45e4fd"><div class="ttname"><a href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">BTD::readPollInterval</a></div><div class="ttdeci">uint8_t readPollInterval()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00431">BTD.h:431</a></div></div> <div class="ttc" id="class_b_t_d_html_a2a9ecb996243e070e70972370e45e4fd"><div class="ttname"><a href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">BTD::readPollInterval</a></div><div class="ttdeci">uint8_t readPollInterval()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00456">BTD.h:456</a></div></div>
<div class="ttc" id="class_bluetooth_service_html_a1dff7caf251f1d8a5f358b368445cb48"><div class="ttname"><a href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService::Reset</a></div><div class="ttdeci">virtual void Reset()</div></div> <div class="ttc" id="class_bluetooth_service_html_a1dff7caf251f1d8a5f358b368445cb48"><div class="ttname"><a href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService::Reset</a></div><div class="ttdeci">virtual void Reset()</div></div>
<div class="ttc" id="class_b_t_d_html_a480510bd399ae74a97cd74c8474ef59c"><div class="ttname"><a href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD::BTD_DATAIN_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_DATAIN_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00455">BTD.h:455</a></div></div> <div class="ttc" id="class_b_t_d_html_a480510bd399ae74a97cd74c8474ef59c"><div class="ttname"><a href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD::BTD_DATAIN_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_DATAIN_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00480">BTD.h:480</a></div></div>
<div class="ttc" id="class_b_t_d_html_a9a6747d58951f53389922d80e25b886c"><div class="ttname"><a href="class_b_t_d.html#a9a6747d58951f53389922d80e25b886c">BTD::hci_set_local_name</a></div><div class="ttdeci">void hci_set_local_name(const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00938">BTD.cpp:938</a></div></div> <div class="ttc" id="class_b_t_d_html_a9a6747d58951f53389922d80e25b886c"><div class="ttname"><a href="class_b_t_d.html#a9a6747d58951f53389922d80e25b886c">BTD::hci_set_local_name</a></div><div class="ttdeci">void hci_set_local_name(const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00999">BTD.cpp:999</a></div></div>
<div class="ttc" id="class_b_t_d_html_a7dd7faaec1d3d9a1d8159cc2a4190977"><div class="ttname"><a href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">BTD::hci_write_scan_enable</a></div><div class="ttdeci">void hci_write_scan_enable()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00865">BTD.cpp:865</a></div></div> <div class="ttc" id="class_b_t_d_html_a7dd7faaec1d3d9a1d8159cc2a4190977"><div class="ttname"><a href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">BTD::hci_write_scan_enable</a></div><div class="ttdeci">void hci_write_scan_enable()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00926">BTD.cpp:926</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa87c23bce56a20f2db47c6a40c8eda87"><div class="ttname"><a href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">BTD::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00365">BTD.cpp:365</a></div></div> <div class="ttc" id="class_b_t_d_html_aa87c23bce56a20f2db47c6a40c8eda87"><div class="ttname"><a href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">BTD::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00369">BTD.cpp:369</a></div></div>
<div class="ttc" id="class_b_t_d_html_a29d176d9194e5c92fbe54791fc245407"><div class="ttname"><a href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">BTD::l2cap_disconnection_response</a></div><div class="ttdeci">void l2cap_disconnection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01223">BTD.cpp:1223</a></div></div> <div class="ttc" id="class_b_t_d_html_a29d176d9194e5c92fbe54791fc245407"><div class="ttname"><a href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">BTD::l2cap_disconnection_response</a></div><div class="ttdeci">void l2cap_disconnection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01288">BTD.cpp:1288</a></div></div>
<div class="ttc" id="_usb_core_8h_html_afce880b09049d7105f8e68ff36d9ad17"><div class="ttname"><a href="_usb_core_8h.html#afce880b09049d7105f8e68ff36d9ad17">USB_CLASS_WIRELESS_CTRL</a></div><div class="ttdeci">#define USB_CLASS_WIRELESS_CTRL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00055">UsbCore.h:55</a></div></div> <div class="ttc" id="_usb_core_8h_html_afce880b09049d7105f8e68ff36d9ad17"><div class="ttname"><a href="_usb_core_8h.html#afce880b09049d7105f8e68ff36d9ad17">USB_CLASS_WIRELESS_CTRL</a></div><div class="ttdeci">#define USB_CLASS_WIRELESS_CTRL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00055">UsbCore.h:55</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa7735da01865bab01b569ee836173737"><div class="ttname"><a href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">BTD::watingForConnection</a></div><div class="ttdeci">bool watingForConnection</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00383">BTD.h:383</a></div></div> <div class="ttc" id="class_b_t_d_html_aa7735da01865bab01b569ee836173737"><div class="ttname"><a href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">BTD::watingForConnection</a></div><div class="ttdeci">bool watingForConnection</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00396">BTD.h:396</a></div></div>
<div class="ttc" id="class_b_t_d_html_a58f78a9a28db81858dcc34a32a2ec82c"><div class="ttname"><a href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">BTD::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00439">BTD.h:439</a></div></div> <div class="ttc" id="class_b_t_d_html_af40b8d52df99192880c8a13443b6c6d8"><div class="ttname"><a href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">BTD::connectToHIDDevice</a></div><div class="ttdeci">bool connectToHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00444">BTD.h:444</a></div></div>
<div class="ttc" id="class_b_t_d_html_a52d6c7895f6bb01729d01ce28a2f3079"><div class="ttname"><a href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">BTD::qNextPollTime</a></div><div class="ttdeci">uint32_t qNextPollTime</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00448">BTD.h:448</a></div></div> <div class="ttc" id="class_b_t_d_html_a58f78a9a28db81858dcc34a32a2ec82c"><div class="ttname"><a href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">BTD::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00464">BTD.h:464</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa5976eead215a58553aee683d42405a0"><div class="ttname"><a href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">BTD::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00346">BTD.cpp:346</a></div></div> <div class="ttc" id="class_b_t_d_html_a685d6371fb0c950ff6bad4510a8cc85a"><div class="ttname"><a href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">BTD::incomingHIDDevice</a></div><div class="ttdeci">bool incomingHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00448">BTD.h:448</a></div></div>
<div class="ttc" id="class_b_t_d_html_a2aa418d820fb6b877ea079e0436a518e"><div class="ttname"><a href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">BTD::pairWithHIDDevice</a></div><div class="ttdeci">bool pairWithHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00450">BTD.h:450</a></div></div>
<div class="ttc" id="class_b_t_d_html_a52d6c7895f6bb01729d01ce28a2f3079"><div class="ttname"><a href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">BTD::qNextPollTime</a></div><div class="ttdeci">uint32_t qNextPollTime</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00473">BTD.h:473</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa5976eead215a58553aee683d42405a0"><div class="ttname"><a href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">BTD::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00350">BTD.cpp:350</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_aed4a7c4ebf618412176ef19023454fad"><div class="ttname"><a href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad">IOGEAR_GBU521_PID</a></div><div class="ttdeci">#define IOGEAR_GBU521_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00030">BTD.h:30</a></div></div> <div class="ttc" id="_b_t_d_8h_html_aed4a7c4ebf618412176ef19023454fad"><div class="ttname"><a href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad">IOGEAR_GBU521_PID</a></div><div class="ttdeci">#define IOGEAR_GBU521_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00030">BTD.h:30</a></div></div>
<div class="ttc" id="class_b_t_d_html_ac7caac80fb6f5f0e794af3644887d88e"><div class="ttname"><a href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">BTD::connectToWii</a></div><div class="ttdeci">bool connectToWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00415">BTD.h:415</a></div></div> <div class="ttc" id="class_b_t_d_html_ac7caac80fb6f5f0e794af3644887d88e"><div class="ttname"><a href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">BTD::connectToWii</a></div><div class="ttdeci">bool connectToWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00428">BTD.h:428</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4f1808a49e9aca397ba829fac16dc5c3"><div class="ttname"><a href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">BTD::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00046">BTD.cpp:46</a></div></div> <div class="ttc" id="class_b_t_d_html_a4f1808a49e9aca397ba829fac16dc5c3"><div class="ttname"><a href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">BTD::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00048">BTD.cpp:48</a></div></div>
<div class="ttc" id="class_b_t_d_html_a962a5714c225dcb633434f02e3657583"><div class="ttname"><a href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">BTD::wiiUProController</a></div><div class="ttdeci">bool wiiUProController</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00425">BTD.h:425</a></div></div> <div class="ttc" id="class_b_t_d_html_a962a5714c225dcb633434f02e3657583"><div class="ttname"><a href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">BTD::wiiUProController</a></div><div class="ttdeci">bool wiiUProController</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00438">BTD.h:438</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa3bb6c692701cb33dfad1ea4d68b6f98"><div class="ttname"><a href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">BTD::hci_handle</a></div><div class="ttdeci">uint16_t hci_handle</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00399">BTD.h:399</a></div></div> <div class="ttc" id="class_b_t_d_html_aa3bb6c692701cb33dfad1ea4d68b6f98"><div class="ttname"><a href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">BTD::hci_handle</a></div><div class="ttdeci">uint16_t hci_handle</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div>
<div class="ttc" id="class_b_t_d_html_a48608619d8253972dd132edbb3001c5f"><div class="ttname"><a href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">BTD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00119">BTD.cpp:119</a></div></div> <div class="ttc" id="class_b_t_d_html_a48608619d8253972dd132edbb3001c5f"><div class="ttname"><a href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">BTD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00121">BTD.cpp:121</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1bea5dd793a2f47006b4a7642efc9e56"><div class="ttname"><a href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">BTD::hci_disconnect</a></div><div class="ttdeci">void hci_disconnect(uint16_t handle)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01068">BTD.cpp:1068</a></div></div> <div class="ttc" id="class_b_t_d_html_a0b59db80825ffd5974e0d2c4a046b328"><div class="ttname"><a href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">BTD::pairWithHID</a></div><div class="ttdeci">void pairWithHID()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00441">BTD.h:441</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00137">BTD.h:137</a></div></div> <div class="ttc" id="class_b_t_d_html_a1bea5dd793a2f47006b4a7642efc9e56"><div class="ttname"><a href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">BTD::hci_disconnect</a></div><div class="ttdeci">void hci_disconnect(uint16_t handle)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01133">BTD.cpp:1133</a></div></div>
<div class="ttc" id="class_b_t_d_html_acb94a629477d85cebd16a9c5ecd4a8b3"><div class="ttname"><a href="class_b_t_d.html#acb94a629477d85cebd16a9c5ecd4a8b3">BTD::hci_read_bdaddr</a></div><div class="ttdeci">void hci_read_bdaddr()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00887">BTD.cpp:887</a></div></div> <div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00139">BTD.h:139</a></div></div>
<div class="ttc" id="class_b_t_d_html_a45ffbc7a40bbb763b0ece907c3dfc9ff"><div class="ttname"><a href="class_b_t_d.html#a45ffbc7a40bbb763b0ece907c3dfc9ff">BTD::hci_inquiry_cancel</a></div><div class="ttdeci">void hci_inquiry_cancel()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00964">BTD.cpp:964</a></div></div> <div class="ttc" id="class_b_t_d_html_acb94a629477d85cebd16a9c5ecd4a8b3"><div class="ttname"><a href="class_b_t_d.html#acb94a629477d85cebd16a9c5ecd4a8b3">BTD::hci_read_bdaddr</a></div><div class="ttdeci">void hci_read_bdaddr()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00948">BTD.cpp:948</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1f8e9171a310e50f2c4a3c19066efe5a"><div class="ttname"><a href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">BTD::my_bdaddr</a></div><div class="ttdeci">uint8_t my_bdaddr[6]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00397">BTD.h:397</a></div></div> <div class="ttc" id="class_b_t_d_html_a45ffbc7a40bbb763b0ece907c3dfc9ff"><div class="ttname"><a href="class_b_t_d.html#a45ffbc7a40bbb763b0ece907c3dfc9ff">BTD::hci_inquiry_cancel</a></div><div class="ttdeci">void hci_inquiry_cancel()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01025">BTD.cpp:1025</a></div></div>
<div class="ttc" id="class_b_t_d_html_a76e201c5b561e3a6d0405894ba5c2e41"><div class="ttname"><a href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">BTD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00371">BTD.cpp:371</a></div></div> <div class="ttc" id="class_b_t_d_html_a1f8e9171a310e50f2c4a3c19066efe5a"><div class="ttname"><a href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">BTD::my_bdaddr</a></div><div class="ttdeci">uint8_t my_bdaddr[6]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00410">BTD.h:410</a></div></div>
<div class="ttc" id="class_b_t_d_html_adf5dce0907ea33c919908fea5dc0cf21"><div class="ttname"><a href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">BTD::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00221">BTD.h:221</a></div></div> <div class="ttc" id="class_b_t_d_html_a76e201c5b561e3a6d0405894ba5c2e41"><div class="ttname"><a href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">BTD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00375">BTD.cpp:375</a></div></div>
<div class="ttc" id="class_b_t_d_html_a49f433ab824f259c3815e180c73bb0ad"><div class="ttname"><a href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD::BTD_CONTROL_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_CONTROL_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00451">BTD.h:451</a></div></div> <div class="ttc" id="class_b_t_d_html_adf5dce0907ea33c919908fea5dc0cf21"><div class="ttname"><a href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">BTD::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00223">BTD.h:223</a></div></div>
<div class="ttc" id="class_b_t_d_html_a49f433ab824f259c3815e180c73bb0ad"><div class="ttname"><a href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD::BTD_CONTROL_PIPE</a></div><div class="ttdeci">static const uint8_t BTD_CONTROL_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00476">BTD.h:476</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#l00024">confdescparser.h:24</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#l00024">confdescparser.h:24</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div>
<div class="ttc" id="class_b_t_d_html_a610183f9ddf04155ef2612d1839af7da"><div class="ttname"><a href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">BTD::disconnect</a></div><div class="ttdeci">void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00239">BTD.h:239</a></div></div> <div class="ttc" id="class_b_t_d_html_a610183f9ddf04155ef2612d1839af7da"><div class="ttname"><a href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">BTD::disconnect</a></div><div class="ttdeci">void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00247">BTD.h:247</a></div></div>
<div class="ttc" id="class_b_t_d_html_ab23f95f12675d7b4505ca6807d379182"><div class="ttname"><a href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">BTD::disc_bdaddr</a></div><div class="ttdeci">uint8_t disc_bdaddr[6]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00401">BTD.h:401</a></div></div> <div class="ttc" id="class_b_t_d_html_ab23f95f12675d7b4505ca6807d379182"><div class="ttname"><a href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">BTD::disc_bdaddr</a></div><div class="ttdeci">uint8_t disc_bdaddr[6]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00414">BTD.h:414</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4adfc7e51ad3b3c03e7c37d1af159e73"><div class="ttname"><a href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">BTD::registerServiceClass</a></div><div class="ttdeci">int8_t registerServiceClass(BluetoothService *pService)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00250">BTD.h:250</a></div></div> <div class="ttc" id="class_b_t_d_html_a4adfc7e51ad3b3c03e7c37d1af159e73"><div class="ttname"><a href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">BTD::registerServiceClass</a></div><div class="ttdeci">int8_t registerServiceClass(BluetoothService *pService)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00258">BTD.h:258</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0f1c28a03bcbe62cc7c083f97ea27594"><div class="ttname"><a href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">BTD::l2capConnectionClaimed</a></div><div class="ttdeci">bool l2capConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00385">BTD.h:385</a></div></div> <div class="ttc" id="class_b_t_d_html_a0f1c28a03bcbe62cc7c083f97ea27594"><div class="ttname"><a href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">BTD::l2capConnectionClaimed</a></div><div class="ttdeci">bool l2capConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00398">BTD.h:398</a></div></div>
<div class="ttc" id="class_b_t_d_html_a91d92fee94e5a4cbca472bb3fd883e3e"><div class="ttname"><a href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">BTD::epInfo</a></div><div class="ttdeci">EpInfo epInfo[BTD_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00441">BTD.h:441</a></div></div> <div class="ttc" id="class_b_t_d_html_a91d92fee94e5a4cbca472bb3fd883e3e"><div class="ttname"><a href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">BTD::epInfo</a></div><div class="ttdeci">EpInfo epInfo[BTD_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00466">BTD.h:466</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a6a28bb0589fbe2da75b238d7568d894d"><div class="ttname"><a href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d">IOGEAR_GBU521_VID</a></div><div class="ttdeci">#define IOGEAR_GBU521_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00029">BTD.h:29</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a6a28bb0589fbe2da75b238d7568d894d"><div class="ttname"><a href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d">IOGEAR_GBU521_VID</a></div><div class="ttdeci">#define IOGEAR_GBU521_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00029">BTD.h:29</a></div></div>
<div class="ttc" id="class_bluetooth_service_html_a8dc98310fe481357eaa86c53e49af113"><div class="ttname"><a href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div></div> <div class="ttc" id="class_bluetooth_service_html_a8dc98310fe481357eaa86c53e49af113"><div class="ttname"><a href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div></div>
<div class="ttc" id="_b_t_d_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00025">BTD.h:25</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00025">BTD.h:25</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_aee41c4878894db24e7ad8cd6246595cd"><div class="ttname"><a href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a></div><div class="ttdeci">#define BTD_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00133">BTD.h:133</a></div></div> <div class="ttc" id="_b_t_d_8h_html_aee41c4878894db24e7ad8cd6246595cd"><div class="ttname"><a href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a></div><div class="ttdeci">#define BTD_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00133">BTD.h:133</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00026">BTD.h:26</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00026">BTD.h:26</a></div></div>
<div class="ttc" id="class_b_t_d_html_a91f61915c503fe7b861c88f5b3e6733c"><div class="ttname"><a href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">BTD::l2cap_information_response</a></div><div class="ttdeci">void l2cap_information_response(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01236">BTD.cpp:1236</a></div></div> <div class="ttc" id="class_b_t_d_html_a91f61915c503fe7b861c88f5b3e6733c"><div class="ttname"><a href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">BTD::l2cap_information_response</a></div><div class="ttdeci">void l2cap_information_response(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01301">BTD.cpp:1301</a></div></div>
<div class="ttc" id="class_b_t_d_html_a9a17405df60591b909ff1502fb8f3141"><div class="ttname"><a href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">BTD::hci_write_class_of_device</a></div><div class="ttdeci">void hci_write_class_of_device()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01080">BTD.cpp:1080</a></div></div> <div class="ttc" id="class_b_t_d_html_a9a17405df60591b909ff1502fb8f3141"><div class="ttname"><a href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">BTD::hci_write_class_of_device</a></div><div class="ttdeci">void hci_write_class_of_device()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01145">BTD.cpp:1145</a></div></div>
<div class="ttc" id="class_b_t_d_html_a7114d2cb62aa413e5ecb25c45c76832b"><div class="ttname"><a href="class_b_t_d.html#a7114d2cb62aa413e5ecb25c45c76832b">BTD::hci_pin_code_negative_request_reply</a></div><div class="ttdeci">void hci_pin_code_negative_request_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01030">BTD.cpp:1030</a></div></div> <div class="ttc" id="class_b_t_d_html_a7114d2cb62aa413e5ecb25c45c76832b"><div class="ttname"><a href="class_b_t_d.html#a7114d2cb62aa413e5ecb25c45c76832b">BTD::hci_pin_code_negative_request_reply</a></div><div class="ttdeci">void hci_pin_code_negative_request_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01095">BTD.cpp:1095</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a2c060a7be42c5c4c57990cacec0b45f5"><div class="ttname"><a href="_b_t_d_8h.html#a2c060a7be42c5c4c57990cacec0b45f5">HCI_CHECK_DEVICE_SERVICE</a></div><div class="ttdeci">#define HCI_CHECK_DEVICE_SERVICE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00048">BTD.h:48</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_bluetooth_service_html_a680692ff13cb37eb81ddbb74bc9e0383"><div class="ttname"><a href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService::Run</a></div><div class="ttdeci">virtual void Run()</div></div> <div class="ttc" id="class_bluetooth_service_html_a680692ff13cb37eb81ddbb74bc9e0383"><div class="ttname"><a href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService::Run</a></div><div class="ttdeci">virtual void Run()</div></div>
<div class="ttc" id="class_b_t_d_html_a10c34527ae90e95791ac48ac7d1154a2"><div class="ttname"><a href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">BTD::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00444">BTD.h:444</a></div></div> <div class="ttc" id="class_b_t_d_html_a10c34527ae90e95791ac48ac7d1154a2"><div class="ttname"><a href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">BTD::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00469">BTD.h:469</a></div></div>
<div class="ttc" id="class_b_t_d_html_af4d28b9c1a3b9688a1871610caee2cfc"><div class="ttname"><a href="class_b_t_d.html#af4d28b9c1a3b9688a1871610caee2cfc">BTD::hci_link_key_request_negative_reply</a></div><div class="ttdeci">void hci_link_key_request_negative_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01044">BTD.cpp:1044</a></div></div> <div class="ttc" id="class_b_t_d_html_af4d28b9c1a3b9688a1871610caee2cfc"><div class="ttname"><a href="class_b_t_d.html#af4d28b9c1a3b9688a1871610caee2cfc">BTD::hci_link_key_request_negative_reply</a></div><div class="ttdeci">void hci_link_key_request_negative_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01109">BTD.cpp:1109</a></div></div>
<div class="ttc" id="class_b_t_d_html_a6b66a27c0fd359e3129f53451352b55c"><div class="ttname"><a href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">BTD::pairWithWiimote</a></div><div class="ttdeci">void pairWithWiimote()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div> <div class="ttc" id="class_b_t_d_html_a6b66a27c0fd359e3129f53451352b55c"><div class="ttname"><a href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">BTD::pairWithWiimote</a></div><div class="ttdeci">void pairWithWiimote()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00425">BTD.h:425</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1b2440748bdaaeb552a05b0f0902f5d8"><div class="ttname"><a href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">BTD::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00204">BTD.h:204</a></div></div> <div class="ttc" id="class_b_t_d_html_a1b2440748bdaaeb552a05b0f0902f5d8"><div class="ttname"><a href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">BTD::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00206">BTD.h:206</a></div></div>
<div class="ttc" id="class_b_t_d_html_aad7d8ef46e60b48ff4aaabefb0b290e7"><div class="ttname"><a href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">BTD::L2CAP_Command</a></div><div class="ttdeci">void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01116">BTD.cpp:1116</a></div></div> <div class="ttc" id="class_b_t_d_html_aad7d8ef46e60b48ff4aaabefb0b290e7"><div class="ttname"><a href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">BTD::L2CAP_Command</a></div><div class="ttdeci">void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01181">BTD.cpp:1181</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a2222709eed4c8af293e881ea36f599b0"><div class="ttname"><a href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a></div><div class="ttdeci">#define BTD_NUMSERVICES</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00134">BTD.h:134</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a2222709eed4c8af293e881ea36f599b0"><div class="ttname"><a href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a></div><div class="ttdeci">#define BTD_NUMSERVICES</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00134">BTD.h:134</a></div></div>
<div class="ttc" id="class_b_t_d_html_a792ac4529b65235698ecf3d37982c05e"><div class="ttname"><a href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">BTD::l2cap_config_response</a></div><div class="ttdeci">void l2cap_config_response(uint16_t handle, uint8_t rxid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01191">BTD.cpp:1191</a></div></div> <div class="ttc" id="class_b_t_d_html_a792ac4529b65235698ecf3d37982c05e"><div class="ttname"><a href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">BTD::l2cap_config_response</a></div><div class="ttdeci">void l2cap_config_response(uint16_t handle, uint8_t rxid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01256">BTD.cpp:1256</a></div></div>
<div class="ttc" id="class_b_t_d_html_ab646a59311344966f139bb3b78f30233"><div class="ttname"><a href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">BTD::l2cap_config_request</a></div><div class="ttdeci">void l2cap_config_request(uint16_t handle, uint8_t rxid, uint8_t *dcid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01174">BTD.cpp:1174</a></div></div> <div class="ttc" id="class_b_t_d_html_ab646a59311344966f139bb3b78f30233"><div class="ttname"><a href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">BTD::l2cap_config_request</a></div><div class="ttdeci">void l2cap_config_request(uint16_t handle, uint8_t rxid, uint8_t *dcid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01239">BTD.cpp:1239</a></div></div>
<div class="ttc" id="class_b_t_d_html_a70047b0f624c3f0ef29f8b76b8a34938"><div class="ttname"><a href="class_b_t_d.html#a70047b0f624c3f0ef29f8b76b8a34938">BTD::hci_pin_code_request_reply</a></div><div class="ttdeci">void hci_pin_code_request_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00994">BTD.cpp:994</a></div></div> <div class="ttc" id="class_b_t_d_html_a70047b0f624c3f0ef29f8b76b8a34938"><div class="ttname"><a href="class_b_t_d.html#a70047b0f624c3f0ef29f8b76b8a34938">BTD::hci_pin_code_request_reply</a></div><div class="ttdeci">void hci_pin_code_request_reply()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01059">BTD.cpp:1059</a></div></div>
<div class="ttc" id="class_bluetooth_service_html_a66ee2f09c6087b82e3920c3d652a99b2"><div class="ttname"><a href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div></div> <div class="ttc" id="class_bluetooth_service_html_a66ee2f09c6087b82e3920c3d652a99b2"><div class="ttname"><a href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div></div>
<div class="ttc" id="class_b_t_d_html_a4bcd1d622a6455ee3d0cccc4408700a1"><div class="ttname"><a href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">BTD::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00433">BTD.h:433</a></div></div> <div class="ttc" id="class_b_t_d_html_a4bcd1d622a6455ee3d0cccc4408700a1"><div class="ttname"><a href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">BTD::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00458">BTD.h:458</a></div></div>
<div class="ttc" id="class_b_t_d_html_addd07c18c725a324a05792a83026d36d"><div class="ttname"><a href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">BTD::hci_authentication_request</a></div><div class="ttdeci">void hci_authentication_request()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01058">BTD.cpp:1058</a></div></div> <div class="ttc" id="class_b_t_d_html_addd07c18c725a324a05792a83026d36d"><div class="ttname"><a href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">BTD::hci_authentication_request</a></div><div class="ttdeci">void hci_authentication_request()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01123">BTD.cpp:1123</a></div></div>
<div class="ttc" id="class_b_t_d_html_ae2ba215b6942f4131e4c5fdef2771e22"><div class="ttname"><a href="class_b_t_d.html#ae2ba215b6942f4131e4c5fdef2771e22">BTD::hci_read_local_version_information</a></div><div class="ttdeci">void hci_read_local_version_information()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00895">BTD.cpp:895</a></div></div> <div class="ttc" id="class_b_t_d_html_ae2ba215b6942f4131e4c5fdef2771e22"><div class="ttname"><a href="class_b_t_d.html#ae2ba215b6942f4131e4c5fdef2771e22">BTD::hci_read_local_version_information</a></div><div class="ttdeci">void hci_read_local_version_information()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00956">BTD.cpp:956</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1cb07a155c69bb1fcf45ae030b8947ec"><div class="ttname"><a href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">BTD::hci_accept_connection</a></div><div class="ttdeci">void hci_accept_connection()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00903">BTD.cpp:903</a></div></div> <div class="ttc" id="class_b_t_d_html_a1cb07a155c69bb1fcf45ae030b8947ec"><div class="ttname"><a href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">BTD::hci_accept_connection</a></div><div class="ttdeci">void hci_accept_connection()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00964">BTD.cpp:964</a></div></div>
<div class="ttc" id="class_b_t_d_html_af11ad71d20783d46fe42dd405d10dfda"><div class="ttname"><a href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">BTD::HCI_Command</a></div><div class="ttdeci">void HCI_Command(uint8_t *data, uint16_t nbytes)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00851">BTD.cpp:851</a></div></div> <div class="ttc" id="class_b_t_d_html_af11ad71d20783d46fe42dd405d10dfda"><div class="ttname"><a href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">BTD::HCI_Command</a></div><div class="ttdeci">void HCI_Command(uint8_t *data, uint16_t nbytes)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l00912">BTD.cpp:912</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

110
_b_t_h_i_d_8cpp.html Normal file
View file

@ -0,0 +1,110 @@
<!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.5"/>
<title>USB Host Shield 2.0: BTHID.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 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.5 -->
<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_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BTHID.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for BTHID.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="_b_t_h_i_d_8cpp__incl.png" border="0" usemap="#_b_t_h_i_d_8cpp" alt=""/></div>
<map name="_b_t_h_i_d_8cpp" id="_b_t_h_i_d_8cpp">
<area shape="rect" id="node2" href="_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="49,83,121,111"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="17,238,76,266"/><area shape="rect" id="node5" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="21,161,149,189"/><area shape="rect" id="node6" href="hidboot_8h.html" title="hidboot.h" alt="" coords="174,161,249,189"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="49,315,105,343"/><area shape="rect" id="node7" href="hid_8h.html" title="hid.h" alt="" coords="171,238,220,266"/><area shape="rect" id="node8" href="hidusagestr_8h.html" title="hidusagestr.h" alt="" coords="146,315,245,343"/></map>
</div>
</div>
<p><a href="_b_t_h_i_d_8cpp_source.html">Go to the source code of this file.</a></p>
</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.5
</small></address>
</body>
</html>

View file

@ -0,0 +1,9 @@
<map id="BTHID.cpp" name="BTHID.cpp">
<area shape="rect" id="node2" href="$_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="49,83,121,111"/>
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="17,238,76,266"/>
<area shape="rect" id="node5" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="21,161,149,189"/>
<area shape="rect" id="node6" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="174,161,249,189"/>
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="49,315,105,343"/>
<area shape="rect" id="node7" href="$hid_8h.html" title="hid.h" alt="" coords="171,238,220,266"/>
<area shape="rect" id="node8" href="$hidusagestr_8h.html" title="hidusagestr.h" alt="" coords="146,315,245,343"/>
</map>

View file

@ -0,0 +1 @@
72bf7a4ac7922d4cdc4dd2d2a3e314c4

BIN
_b_t_h_i_d_8cpp__incl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

552
_b_t_h_i_d_8cpp_source.html Normal file
View file

@ -0,0 +1,552 @@
<!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.5"/>
<title>USB Host Shield 2.0: BTHID.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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 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.5 -->
<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_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BTHID.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_b_t_h_i_d_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) 2013 Kristian Lauszus, TKJ Electronics. 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"> Kristian Lauszus, TKJ Electronics</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> Web : http://www.tkjelectronics.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> e-mail : kristianl@tkjelectronics.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="_b_t_h_i_d_8h.html">BTHID.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging see &quot;settings.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the HID device</span></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"><a class="line" href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505"> 23</a></span>&#160;<a class="code" href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID::BTHID</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keywordtype">bool</span> pair, <span class="keyword">const</span> <span class="keywordtype">char</span> *pin) :</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;pBtd(p), <span class="comment">// pointer to USB class instance - mandatory</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;protocolMode(<a class="code" href="hid_8h.html#a41258c5dd55e5ae0378ec8ded892ce37">HID_BOOT_PROTOCOL</a>)</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;{</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">for</span>(uint8_t i = 0; i &lt; <a class="code" href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a">epMUL</a>; i++)</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; pRptParser[i] = NULL;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordflow">if</span> (pBtd)</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(<span class="keyword">this</span>); <span class="comment">// Register it as a Bluetooth service</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a> = <a class="code" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>;</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; <span class="keywordflow">if</span> (pair)</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a>= pin;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">/* Set device cid for the control and intterrupt channelse - LSB */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; control_dcid[0] = 0x70; <span class="comment">// 0x0070</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; control_dcid[1] = 0x00;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; interrupt_dcid[0] = 0x71; <span class="comment">// 0x0071</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; interrupt_dcid[1] = 0x00;</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; <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a>();</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e"> 47</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">BTHID::Reset</a>() {</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; activeConnection = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</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;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0"> 54</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">BTHID::disconnect</a>() { <span class="comment">// Use this void to disconnect any of the controllers</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// First the HID interrupt channel has to be disconnected, then the HID control channel and finally the HCI connection</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, 0x0A, interrupt_scid, interrupt_dcid);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a>();</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>;</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"><a class="line" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54"> 61</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">BTHID::ACLData</a>(uint8_t* l2capinbuf) {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">if</span> (!pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> &amp;&amp; pBtd-&gt;<a class="code" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a> &amp;&amp; !<a class="code" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a> &amp;&amp; !activeConnection) {</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a>) {</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[12] | (l2capinbuf[13] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>) {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>; <span class="comment">// Claim that the incoming connection belongs to this service</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; activeConnection = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; hci_handle = pBtd-&gt;<a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>; <span class="comment">// Store the HCI Handle for the connection</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</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; }</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[0] | (l2capinbuf[1] &lt;&lt; 8)) == (hci_handle | 0x2000)) { <span class="comment">// acl_handle_ok or it&#39;s a new connection</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[6] | (l2capinbuf[7] &lt;&lt; 8)) == 0x0001) { <span class="comment">//l2cap_control - Channel ID for ACL-U</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb">L2CAP_CMD_COMMAND_REJECT</a>) {</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nL2CAP Command Rejected - Reason: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[13], 0x80);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[12], 0x80);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[17], 0x80);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[16], 0x80);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[15], 0x80);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[14], 0x80);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor"></span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b">L2CAP_CMD_CONNECTION_RESPONSE</a>) {</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">if</span> (((l2capinbuf[16] | (l2capinbuf[17] &lt;&lt; 8)) == 0x0000) &amp;&amp; ((l2capinbuf[18] | (l2capinbuf[19] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a>)) { <span class="comment">// Success</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[14] == control_dcid[0] &amp;&amp; l2capinbuf[15] == control_dcid[1]) { <span class="comment">// Success</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Control Connection Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; control_scid[0] = l2capinbuf[12];</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; control_scid[1] = l2capinbuf[13];</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[14] == interrupt_dcid[0] &amp;&amp; l2capinbuf[15] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Connection Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; interrupt_scid[0] = l2capinbuf[12];</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; interrupt_scid[1] = l2capinbuf[13];</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; }</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; }</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a>) {</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#ifdef EXTRADEBUG</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nL2CAP Connection Request - PSM: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[13], 0x80);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[12], 0x80);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; SCID: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[15], 0x80);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[14], 0x80);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; Identifier: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[9], 0x80);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> ((l2capinbuf[12] | (l2capinbuf[13] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>) {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; control_scid[0] = l2capinbuf[14];</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; control_scid[1] = l2capinbuf[15];</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((l2capinbuf[12] | (l2capinbuf[13] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>) {</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; interrupt_scid[0] = l2capinbuf[14];</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; interrupt_scid[1] = l2capinbuf[15];</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a>) {</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[16] | (l2capinbuf[17] &lt;&lt; 8)) == 0x0000) { <span class="comment">// Success</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_dcid[0] &amp;&amp; l2capinbuf[13] == control_dcid[1]) {</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Control Configuration Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_dcid[0] &amp;&amp; l2capinbuf[13] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Configuration Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a>) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_dcid[0] &amp;&amp; l2capinbuf[13] == control_dcid[1]) {</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Control Configuration Request&quot;), 0x80);</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(hci_handle, l2capinbuf[9], control_scid);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_dcid[0] &amp;&amp; l2capinbuf[13] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Configuration Request&quot;), 0x80);</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(hci_handle, l2capinbuf[9], interrupt_scid);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; }</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b">L2CAP_CMD_DISCONNECT_REQUEST</a>) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_dcid[0] &amp;&amp; l2capinbuf[13] == control_dcid[1]) {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnect Request: Control Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor"></span> identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(hci_handle, identifier, control_dcid, control_scid);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a>();</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_dcid[0] &amp;&amp; l2capinbuf[13] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnect Request: Interrupt Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor"></span> identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(hci_handle, identifier, interrupt_dcid, interrupt_scid);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</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; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4">L2CAP_CMD_DISCONNECT_RESPONSE</a>) {</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_scid[0] &amp;&amp; l2capinbuf[13] == control_scid[1]) {</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Control Channel&quot;), 0x80);</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_scid[0] &amp;&amp; l2capinbuf[13] == interrupt_scid[1]) {</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Interrupt Channel&quot;), 0x80);</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; }</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;<span class="preprocessor">#ifdef EXTRADEBUG</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nL2CAP Unknown Signaling Command: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[8], 0x80);</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="preprocessor">#endif</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="preprocessor"></span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[6] == interrupt_dcid[0] &amp;&amp; l2capinbuf[7] == interrupt_dcid[1]) { <span class="comment">// l2cap_interrupt</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\n\r\nL2CAP Interrupt: &quot;), 0x80);</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="preprocessor">#ifdef PRINTREPORT</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">for</span> (uint16_t i = 0; i &lt; ((uint16_t)l2capinbuf[5] &lt;&lt; 8 | l2capinbuf[4]); i++) {</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[i + 8], 0x80);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="code" href="message_8h.html#ab5d8177365493b21dbc092f6557bd508">Notifyc</a>(<span class="charliteral">&#39; &#39;</span>, 0x80);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; }</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (l2capinbuf[8] == 0xA1) { <span class="comment">// HID_THDR_DATA_INPUT</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordflow">switch</span> (l2capinbuf[9]) {</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordflow">case</span> 0x01: <span class="comment">// Keyboard events</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">if</span> (pRptParser[<a class="code" href="_b_t_h_i_d_8h.html#a699c5d6eb13133dce9504391bc610f3e">KEYBOARD_PARSER_ID</a>]) {</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; uint16_t length = ((uint16_t)l2capinbuf[5] &lt;&lt; 8 | l2capinbuf[4]);</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; pRptParser[<a class="code" href="_b_t_h_i_d_8h.html#a699c5d6eb13133dce9504391bc610f3e">KEYBOARD_PARSER_ID</a>]-&gt;<a class="code" href="class_h_i_d_report_parser.html#ad2837f3d78c7ac3f1c2b3a4815420d97">Parse</a>((<a class="code" href="class_h_i_d.html">HID</a>*)<span class="keyword">this</span>, 0, (uint8_t) length, &amp;l2capinbuf[10]);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; }</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">case</span> 0x02: <span class="comment">// Mouse events</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">case</span> 0x1A:</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">if</span> (pRptParser[<a class="code" href="_b_t_h_i_d_8h.html#a0b48c93189cf128c1ef13ce86b4fa6be">MOUSE_PARSER_ID</a>]) {</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; uint16_t length = ((uint16_t)l2capinbuf[5] &lt;&lt; 8 | l2capinbuf[4]);</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; pRptParser[<a class="code" href="_b_t_h_i_d_8h.html#a0b48c93189cf128c1ef13ce86b4fa6be">MOUSE_PARSER_ID</a>]-&gt;<a class="code" href="class_h_i_d_report_parser.html#ad2837f3d78c7ac3f1c2b3a4815420d97">Parse</a>((<a class="code" href="class_h_i_d.html">HID</a>*)<span class="keyword">this</span>, 0, (uint8_t) length, &amp;l2capinbuf[10]);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; }</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordflow">case</span> 0x03:</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor">#ifdef EXTRADEBUG</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nChange mode event: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[11], 0x80);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nUnknown Report type: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[9], 0x80);</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;<span class="preprocessor"></span> }</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; }</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; }</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<span class="preprocessor">#ifdef EXTRADEBUG</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nUnsupported L2CAP Data - Channel ID: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[7], 0x80);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[6], 0x80);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nData: &quot;</span>), 0x80);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordflow">for</span> (uint16_t i = 0; i &lt; ((uint16_t)l2capinbuf[5] &lt;&lt; 8 | l2capinbuf[4]); i++) {</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; D_PrintHex&lt;uint8_t &gt; (l2capinbuf[i + 8], 0x80);</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="code" href="message_8h.html#ab5d8177365493b21dbc092f6557bd508">Notifyc</a>(<span class="charliteral">&#39; &#39;</span>, 0x80);</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; }</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; }</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="preprocessor"></span> L2CAP_task();</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; }</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;}</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="keywordtype">void</span> BTHID::L2CAP_task() {</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="comment">/* These states are used if the HID device is the host */</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>:</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Successfully Configured&quot;</span>), 0x80);</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor"></span> l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>:</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>) {</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Interrupt Incoming Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(hci_handle, identifier, interrupt_dcid, interrupt_scid, <a class="code" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a>);</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; delay(1);</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(hci_handle, identifier, interrupt_dcid, interrupt_scid, <a class="code" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a>);</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; identifier++;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; delay(1);</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; }</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="comment">/* These states are used if the Arduino is the host */</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>:</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a>) {</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Control Config Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>:</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, interrupt_dcid, <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>);</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>;</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; }</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>:</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a>) {</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Config Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; }</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>:</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>) { <span class="comment">// Now the HID channels is established</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Channels Established&quot;</span>), 0x80);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <a class="code" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; setProtocol();</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; onInit();</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>;</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; }</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>:</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>:</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a>) {</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Interrupt Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, identifier, control_scid, control_dcid);</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>;</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; }</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160;</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>:</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>) {</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Control Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(hci_handle);</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; hci_handle = -1; <span class="comment">// Reset handle</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; }</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; }</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;}</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;</div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc"> 347</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">BTHID::Run</a>() {</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>:</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">if</span> (pBtd-&gt;<a class="code" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a> &amp;&amp; !pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> &amp;&amp; !<a class="code" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a> &amp;&amp; !activeConnection) {</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; activeConnection = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Control Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;<span class="preprocessor"></span> hci_handle = pBtd-&gt;<a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>; <span class="comment">// Store the HCI Handle for the connection</span></div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; identifier = 0;</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, control_dcid, <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>;</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>) {</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Incoming Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(hci_handle, identifier, control_dcid, control_scid, <a class="code" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a>);</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; delay(1);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(hci_handle, identifier, control_dcid, control_scid, <a class="code" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a>);</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; identifier++;</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; delay(1);</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>;</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; }</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; }</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;}</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;<span class="comment">/************************************************************/</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;<span class="comment">/* HID Commands */</span></div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;<span class="comment">/************************************************************/</span></div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160;<span class="keywordtype">void</span> BTHID::setProtocol() {</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; uint8_t command = 0x70 | protocolMode; <span class="comment">// Set Protocol, see HID specs page 33</span></div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a>(hci_handle, &amp;command, 1, control_scid[0], control_scid[1]);</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;}</div>
<div class="ttc" id="class_b_t_d_html_a7d34c62b1d561679dea5cd27356b38a7"><div class="ttname"><a href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">BTD::l2cap_connection_response</a></div><div class="ttdeci">void l2cap_connection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01222">BTD.cpp:1222</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a1be7a56cdddcdb7dedf16d4dee381e93"><div class="ttname"><a href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a></div><div class="ttdeci">#define SUCCESSFUL</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00121">BTD.h:121</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_a84eb1b910027f2d78741f65225c14e54"><div class="ttname"><a href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">BTHID::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00061">BTHID.cpp:61</a></div></div>
<div class="ttc" id="class_b_t_d_html_a55cf412a2053972a353b1ab964ca9d3e"><div class="ttname"><a href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">BTD::l2cap_connection_request</a></div><div class="ttdeci">void l2cap_connection_request(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01209">BTD.cpp:1209</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_aaaf733ee2c84bd8df4d24f2ae1f3b378"><div class="ttname"><a href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00034">BTHID.h:34</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_b_t_d_html_ac7053ef7ac690be3afbbdd985b163f10"><div class="ttname"><a href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">BTD::l2cap_disconnection_request</a></div><div class="ttdeci">void l2cap_disconnection_request(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01275">BTD.cpp:1275</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a667178a4486c4dee88e052b3562362cd"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00059">BTHID.h:59</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ab3a81823a1d8805383146a6baad6ccc4"><div class="ttname"><a href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">BTHID::connected</a></div><div class="ttdeci">bool connected</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00103">BTHID.h:103</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_a938eab04e406a29cc9324dad3ccb52cc"><div class="ttname"><a href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">BTHID::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00347">BTHID.cpp:347</a></div></div>
<div class="ttc" id="class_b_t_d_html_a215cb939c01ed3ff56db37841224546c"><div class="ttname"><a href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">BTD::btdPin</a></div><div class="ttdeci">const char * btdPin</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00407">BTD.h:407</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_af4c58b81414a037910dd6fb78f97b96e"><div class="ttname"><a href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">BTHID::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00047">BTHID.cpp:47</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a2b3cdcd3124251a40ce825da0d8dcb6f"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00047">BTHID.h:47</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a728c7d92dd341dcc1b8f4bf95bb4826d"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a></div><div class="ttdeci">#define l2cap_connection_request_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00060">BTHID.h:60</a></div></div>
<div class="ttc" id="class_b_t_d_html_a29d176d9194e5c92fbe54791fc245407"><div class="ttname"><a href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">BTD::l2cap_disconnection_response</a></div><div class="ttdeci">void l2cap_disconnection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01288">BTD.cpp:1288</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_aad823543553cc7500ac49d7479eb858f"><div class="ttname"><a href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_INTERRUPT_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00045">BTHID.h:45</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#l00044">message.h:44</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a15cc1db556ad9a4ec6144ca8a42f8919"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a></div><div class="ttdeci">#define L2CAP_WAIT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00026">BTHID.h:26</a></div></div>
<div class="ttc" id="class_b_t_d_html_af40b8d52df99192880c8a13443b6c6d8"><div class="ttname"><a href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">BTD::connectToHIDDevice</a></div><div class="ttdeci">bool connectToHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00444">BTD.h:444</a></div></div>
<div class="ttc" id="hid_8h_html_a41258c5dd55e5ae0378ec8ded892ce37"><div class="ttname"><a href="hid_8h.html#a41258c5dd55e5ae0378ec8ded892ce37">HID_BOOT_PROTOCOL</a></div><div class="ttdeci">#define HID_BOOT_PROTOCOL</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00079">hid.h:79</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_acc096a05301f3cbdece4ad372cc149c3"><div class="ttname"><a href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00049">BTHID.h:49</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a9fa7bceb44bbdff3229fd431627b9868"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connection_request_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00061">BTHID.h:61</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a1465673868452307bcdab8e201430c27"><div class="ttname"><a href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a></div><div class="ttdeci">#define HID_CTRL_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00126">BTD.h:126</a></div></div>
<div class="ttc" id="class_b_t_d_html_a685d6371fb0c950ff6bad4510a8cc85a"><div class="ttname"><a href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">BTD::incomingHIDDevice</a></div><div class="ttdeci">bool incomingHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00448">BTD.h:448</a></div></div>
<div class="ttc" id="class_b_t_d_html_a2aa418d820fb6b877ea079e0436a518e"><div class="ttname"><a href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">BTD::pairWithHIDDevice</a></div><div class="ttdeci">bool pairWithHIDDevice</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00450">BTD.h:450</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ab569b2085ad29f41d1da9c0ed352bd65"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00040">BTHID.h:40</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a0b48c93189cf128c1ef13ce86b4fa6be"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a0b48c93189cf128c1ef13ce86b4fa6be">MOUSE_PARSER_ID</a></div><div class="ttdeci">#define MOUSE_PARSER_ID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00064">BTHID.h:64</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa3bb6c692701cb33dfad1ea4d68b6f98"><div class="ttname"><a href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">BTD::hci_handle</a></div><div class="ttdeci">uint16_t hci_handle</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div>
<div class="ttc" id="message_8h_html_ab5d8177365493b21dbc092f6557bd508"><div class="ttname"><a href="message_8h.html#ab5d8177365493b21dbc092f6557bd508">Notifyc</a></div><div class="ttdeci">#define Notifyc(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00046">message.h:46</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html"><div class="ttname"><a href="_b_t_h_i_d_8h.html">BTHID.h</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1bea5dd793a2f47006b4a7642efc9e56"><div class="ttname"><a href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">BTD::hci_disconnect</a></div><div class="ttdeci">void hci_disconnect(uint16_t handle)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01133">BTD.cpp:1133</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ae1ee62d7b9951ec7960f122c9fc2d2d0"><div class="ttname"><a href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">BTHID::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00054">BTHID.cpp:54</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a68bcdd68c269cd7970d5271a00bbe5fe"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00033">BTHID.h:33</a></div></div>
<div class="ttc" id="class_h_i_d_html"><div class="ttname"><a href="class_h_i_d.html">HID</a></div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00143">hid.h:143</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ae4da52ca67e1f8b977199b24e8f3a400"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a></div><div class="ttdeci">#define L2CAP_DONE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00038">BTHID.h:38</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ac7aa7fd7a8a34a6c9e420e3cb114737b"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_SETUP</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00030">BTHID.h:30</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a7f0cab74308e812106252c53b18c0391"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00058">BTHID.h:58</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a015f3b25bd7a2908c84b973dec453f45"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00051">BTHID.h:51</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ab3dce23ba2c4c289645510dc8f51b65a"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a">epMUL</a></div><div class="ttdeci">#define epMUL</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00065">BTHID.h:65</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a969a1ee84797f3ee5006c41f67373f96"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00050">BTHID.h:50</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a48bcd73461d736d0ef889e1fe6e36f69"><div class="ttname"><a href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00112">BTD.h:112</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a398676a2e9a2351a5a52afdddf4b660b"><div class="ttname"><a href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b">L2CAP_CMD_DISCONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00114">BTD.h:114</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a4c5ac96db74d61d4a5a5d945a400e7da"><div class="ttname"><a href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a></div><div class="ttdeci">#define HID_INTR_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00127">BTD.h:127</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_af0b913a7e9e54b1f6ab95d82bd36f954"><div class="ttname"><a href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00035">BTHID.h:35</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4adfc7e51ad3b3c03e7c37d1af159e73"><div class="ttname"><a href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">BTD::registerServiceClass</a></div><div class="ttdeci">int8_t registerServiceClass(BluetoothService *pService)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00258">BTD.h:258</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0f1c28a03bcbe62cc7c083f97ea27594"><div class="ttname"><a href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">BTD::l2capConnectionClaimed</a></div><div class="ttdeci">bool l2capConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00398">BTD.h:398</a></div></div>
<div class="ttc" id="class_h_i_d_report_parser_html_ad2837f3d78c7ac3f1c2b3a4815420d97"><div class="ttname"><a href="class_h_i_d_report_parser.html#ad2837f3d78c7ac3f1c2b3a4815420d97">HIDReportParser::Parse</a></div><div class="ttdeci">virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)=0</div></div>
<div class="ttc" id="_b_t_d_8h_html_a4c64a41200714e457b397496183dc0e4"><div class="ttname"><a href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4">L2CAP_CMD_DISCONNECT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00115">BTD.h:115</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_aef7b306479de265d725dbe5816a8227b"><div class="ttname"><a href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b">L2CAP_CMD_CONNECTION_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00111">BTD.h:111</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ac72a2b645fafc5bdbd85c1f59cc937cc"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connected_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00055">BTHID.h:55</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a8151b1fe5d940a5a7a34f43a8b8ce434"><div class="ttname"><a href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00113">BTD.h:113</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a2e5a9c283f0912833f3e0418d3feadd7"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_CONTROL_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00044">BTHID.h:44</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a39a58b19fb4ef26cf503ed57a43570a4"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a></div><div class="ttdeci">#define l2cap_config_success_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00056">BTHID.h:56</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a9b3e87e1f460bc011e69f5e53e79c104"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a></div><div class="ttdeci">#define l2cap_config_success_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00057">BTHID.h:57</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a699c5d6eb13133dce9504391bc610f3e"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a699c5d6eb13133dce9504391bc610f3e">KEYBOARD_PARSER_ID</a></div><div class="ttdeci">#define KEYBOARD_PARSER_ID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00063">BTHID.h:63</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_acaec1ddc53593c80dc625c1f361e3a24"><div class="ttname"><a href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a></div><div class="ttdeci">#define l2cap_connected_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00054">BTHID.h:54</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_abac08b5b24a1cd2b12517cd9aa6c616b"><div class="ttname"><a href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00029">BTHID.h:29</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ab81dcc90a64615b7ae38083dd8188505"><div class="ttname"><a href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID::BTHID</a></div><div class="ttdeci">BTHID(BTD *p, bool pair=false, const char *pin=&quot;1234&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00023">BTHID.cpp:23</a></div></div>
<div class="ttc" id="class_b_t_d_html_aad7d8ef46e60b48ff4aaabefb0b290e7"><div class="ttname"><a href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">BTD::L2CAP_Command</a></div><div class="ttdeci">void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01181">BTD.cpp:1181</a></div></div>
<div class="ttc" id="class_b_t_d_html_a792ac4529b65235698ecf3d37982c05e"><div class="ttname"><a href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">BTD::l2cap_config_response</a></div><div class="ttdeci">void l2cap_config_response(uint16_t handle, uint8_t rxid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01256">BTD.cpp:1256</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a9960d0d5ae92fc92c70bbb84c2a5c0cc"><div class="ttname"><a href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a></div><div class="ttdeci">#define PENDING</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00120">BTD.h:120</a></div></div>
<div class="ttc" id="class_b_t_d_html_ab646a59311344966f139bb3b78f30233"><div class="ttname"><a href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">BTD::l2cap_config_request</a></div><div class="ttdeci">void l2cap_config_request(uint16_t handle, uint8_t rxid, uint8_t *dcid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01239">BTD.cpp:1239</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a73e3a81d9a8850075fd10933acc5a035"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00037">BTHID.h:37</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_ac4bae0c65fd00ed849cb226302d19c85"><div class="ttname"><a href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00110">BTD.h:110</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a9b5140e7ca5941e5535c575255ffc1cc"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_CONTROL_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00041">BTHID.h:41</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a27057737ae0b2246442511c01eeed192"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00048">BTHID.h:48</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_afb19720b65cda69d910416c7a689dd45"><div class="ttname"><a href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">BTHID::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00109">BTHID.h:109</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a0c444d5d06ec604820d426556c2f38d7"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00046">BTHID.h:46</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a6ffcd72787c86f248192eb06a3fe18cb"><div class="ttname"><a href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb">L2CAP_CMD_COMMAND_REJECT</a></div><div class="ttdeci">#define L2CAP_CMD_COMMAND_REJECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00109">BTD.h:109</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.5
</small></address>
</body>
</html>

596
_b_t_h_i_d_8h.html Normal file
View file

@ -0,0 +1,596 @@
<!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.5"/>
<title>USB Host Shield 2.0: BTHID.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 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.5 -->
<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_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">BTHID.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="controller_enums_8h_source.html">controllerEnums.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="hidboot_8h_source.html">hidboot.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for BTHID.h:</div>
<div class="dyncontent">
<div class="center"><img src="_b_t_h_i_d_8h__incl.png" border="0" usemap="#_b_t_h_i_d_8h" alt=""/></div>
<map name="_b_t_h_i_d_8h" id="_b_t_h_i_d_8h">
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="17,161,76,189"/><area shape="rect" id="node4" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="21,83,149,111"/><area shape="rect" id="node5" href="hidboot_8h.html" title="hidboot.h" alt="" coords="174,83,249,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="49,238,105,266"/><area shape="rect" id="node6" href="hid_8h.html" title="hid.h" alt="" coords="171,161,220,189"/><area shape="rect" id="node7" href="hidusagestr_8h.html" title="hidusagestr.h" alt="" coords="146,238,245,266"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="_b_t_h_i_d_8h__dep__incl.png" border="0" usemap="#_b_t_h_i_d_8hdep" alt=""/></div>
<map name="_b_t_h_i_d_8hdep" id="_b_t_h_i_d_8hdep">
<area shape="rect" id="node2" href="_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="5,83,91,111"/></map>
</div>
</div>
<p><a href="_b_t_h_i_d_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68bcdd68c269cd7970d5271a00bbe5fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a68bcdd68c269cd7970d5271a00bbe5fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaf733ee2c84bd8df4d24f2ae1f3b378"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:aaaf733ee2c84bd8df4d24f2ae1f3b378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b913a7e9e54b1f6ab95d82bd36f954"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:af0b913a7e9e54b1f6ab95d82bd36f954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e3a81d9a8850075fd10933acc5a035"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a73e3a81d9a8850075fd10933acc5a035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>&#160;&#160;&#160;7</td></tr>
<tr class="separator:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>&#160;&#160;&#160;9</td></tr>
<tr class="separator:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e5a9c283f0912833f3e0418d3feadd7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:a2e5a9c283f0912833f3e0418d3feadd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad823543553cc7500ac49d7479eb858f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="separator:aad823543553cc7500ac49d7479eb858f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c444d5d06ec604820d426556c2f38d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="separator:a0c444d5d06ec604820d426556c2f38d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="separator:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27057737ae0b2246442511c01eeed192"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="separator:a27057737ae0b2246442511c01eeed192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc096a05301f3cbdece4ad372cc149c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="separator:acc096a05301f3cbdece4ad372cc149c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969a1ee84797f3ee5006c41f67373f96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="separator:a969a1ee84797f3ee5006c41f67373f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a015f3b25bd7a2908c84b973dec453f45"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="separator:a015f3b25bd7a2908c84b973dec453f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaec1ddc53593c80dc625c1f361e3a24"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td></tr>
<tr class="separator:acaec1ddc53593c80dc625c1f361e3a24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72a2b645fafc5bdbd85c1f59cc937cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td></tr>
<tr class="separator:ac72a2b645fafc5bdbd85c1f59cc937cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td></tr>
<tr class="separator:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td></tr>
<tr class="separator:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0cab74308e812106252c53b18c0391"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td></tr>
<tr class="separator:a7f0cab74308e812106252c53b18c0391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a667178a4486c4dee88e052b3562362cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td></tr>
<tr class="separator:a667178a4486c4dee88e052b3562362cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td></tr>
<tr class="separator:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa7bceb44bbdff3229fd431627b9868"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td></tr>
<tr class="separator:a9fa7bceb44bbdff3229fd431627b9868"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a699c5d6eb13133dce9504391bc610f3e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a699c5d6eb13133dce9504391bc610f3e">KEYBOARD_PARSER_ID</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a699c5d6eb13133dce9504391bc610f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b48c93189cf128c1ef13ce86b4fa6be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#a0b48c93189cf128c1ef13ce86b4fa6be">MOUSE_PARSER_ID</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a0b48c93189cf128c1ef13ce86b4fa6be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3dce23ba2c4c289645510dc8f51b65a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a">epMUL</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ab3dce23ba2c4c289645510dc8f51b65a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_WAIT&#160;&#160;&#160;0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00026">26</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="abac08b5b24a1cd2b12517cd9aa6c616b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_CONTROL_SUCCESS&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00029">29</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_INTERRUPT_SETUP&#160;&#160;&#160;2</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00030">30</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a68bcdd68c269cd7970d5271a00bbe5fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_CONTROL_CONNECT_REQUEST&#160;&#160;&#160;3</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00033">33</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="aaaf733ee2c84bd8df4d24f2ae1f3b378"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_CONTROL_CONFIG_REQUEST&#160;&#160;&#160;4</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00034">34</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="af0b913a7e9e54b1f6ab95d82bd36f954"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_INTERRUPT_CONNECT_REQUEST&#160;&#160;&#160;5</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00035">35</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a73e3a81d9a8850075fd10933acc5a035"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_INTERRUPT_CONFIG_REQUEST&#160;&#160;&#160;6</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00037">37</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae4da52ca67e1f8b977199b24e8f3a400"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_DONE&#160;&#160;&#160;7</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00038">38</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_INTERRUPT_DISCONNECT&#160;&#160;&#160;8</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00040">40</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_CONTROL_DISCONNECT&#160;&#160;&#160;9</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00041">41</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2e5a9c283f0912833f3e0418d3feadd7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_CONTROL_CONNECTED&#160;&#160;&#160;0x01</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00044">44</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="aad823543553cc7500ac49d7479eb858f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_INTERRUPT_CONNECTED&#160;&#160;&#160;0x02</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00045">45</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS&#160;&#160;&#160;0x04</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00046">46</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2b3cdcd3124251a40ce825da0d8dcb6f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS&#160;&#160;&#160;0x08</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00047">47</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE&#160;&#160;&#160;0x10</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00048">48</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="acc096a05301f3cbdece4ad372cc149c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE&#160;&#160;&#160;0x20</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00049">49</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST&#160;&#160;&#160;0x40</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00050">50</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST&#160;&#160;&#160;0x80</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00051">51</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="acaec1ddc53593c80dc625c1f361e3a24"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_connected_control_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00054">54</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac72a2b645fafc5bdbd85c1f59cc937cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_connected_interrupt_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00055">55</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_config_success_control_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00056">56</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_config_success_interrupt_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00057">57</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_disconnect_response_control_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00058">58</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_disconnect_response_interrupt_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00059">59</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_connection_request_control_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00060">60</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define l2cap_connection_request_interrupt_flag&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00061">61</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a699c5d6eb13133dce9504391bc610f3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define KEYBOARD_PARSER_ID&#160;&#160;&#160;0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00063">63</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0b48c93189cf128c1ef13ce86b4fa6be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MOUSE_PARSER_ID&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00064">64</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab3dce23ba2c4c289645510dc8f51b65a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define epMUL&#160;&#160;&#160;2</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00065">65</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
</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.5
</small></address>
</body>
</html>

View file

@ -0,0 +1,3 @@
<map id="BTHID.h" name="BTHID.h">
<area shape="rect" id="node2" href="$_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="5,83,91,111"/>
</map>

View file

@ -0,0 +1 @@
b3540e7b4b9e3a2df110f82ca3e6f24e

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

8
_b_t_h_i_d_8h__incl.map Normal file
View file

@ -0,0 +1,8 @@
<map id="BTHID.h" name="BTHID.h">
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="17,161,76,189"/>
<area shape="rect" id="node4" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="21,83,149,111"/>
<area shape="rect" id="node5" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="174,83,249,111"/>
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="49,238,105,266"/>
<area shape="rect" id="node6" href="$hid_8h.html" title="hid.h" alt="" coords="171,161,220,189"/>
<area shape="rect" id="node7" href="$hidusagestr_8h.html" title="hidusagestr.h" alt="" coords="146,238,245,266"/>
</map>

1
_b_t_h_i_d_8h__incl.md5 Normal file
View file

@ -0,0 +1 @@
037c2f7eb5bb2a91683242d6c47805c2

BIN
_b_t_h_i_d_8h__incl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

253
_b_t_h_i_d_8h_source.html Normal file
View file

@ -0,0 +1,253 @@
<!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.5"/>
<title>USB Host Shield 2.0: BTHID.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" />
<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 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.5 -->
<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_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BTHID.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_b_t_h_i_d_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) 2013 Kristian Lauszus, TKJ Electronics. 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"> Kristian Lauszus, TKJ Electronics</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> Web : http://www.tkjelectronics.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> e-mail : kristianl@tkjelectronics.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">#ifndef _bthid_h_</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _bthid_h_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_b_t_d_8h.html">BTD.h</a>&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="controller_enums_8h.html">controllerEnums.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="hidboot_8h.html">hidboot.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 26</a></span>&#160;<span class="preprocessor">#define L2CAP_WAIT 0</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// These states are used if the device is the host</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 29</a></span>&#160;<span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 1</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 30</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 2</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">// These states are used if the Arduino is the host</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe"> 33</a></span>&#160;<span class="preprocessor">#define L2CAP_CONTROL_CONNECT_REQUEST 3</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378"> 34</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_CONFIG_REQUEST 4</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954"> 35</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_CONNECT_REQUEST 5</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035"> 37</a></span>&#160;<span class="preprocessor">#define L2CAP_INTERRUPT_CONFIG_REQUEST 6</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 7</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 40</a></span>&#160;<span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 8</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 41</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 9</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="comment">/* L2CAP event flags */</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7"> 44</a></span>&#160;<span class="preprocessor">#define L2CAP_FLAG_CONTROL_CONNECTED 0x01</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_INTERRUPT_CONNECTED 0x02</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x04</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x08</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192"> 48</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x10</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 49</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x20</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 50</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x40</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 51</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x80</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment">/* Macros for L2CAP event flag tests */</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24"> 54</a></span>&#160;<span class="preprocessor">#define l2cap_connected_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONTROL_CONNECTED)</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc"> 55</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connected_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_INTERRUPT_CONNECTED)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391"> 58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd"> 59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 61</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a699c5d6eb13133dce9504391bc610f3e"> 63</a></span>&#160;<span class="preprocessor">#define KEYBOARD_PARSER_ID 0</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#a0b48c93189cf128c1ef13ce86b4fa6be"> 64</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MOUSE_PARSER_ID 1</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a"> 65</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define epMUL 2</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html"> 68</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_b_t_h_i_d.html">BTHID</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keywordtype">bool</span> <a class="code" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a> = <span class="keyword">false</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> *pin = <span class="stringliteral">&quot;1234&quot;</span>);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">ACLData</a>(uint8_t* <a class="code" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">ACLData</a>);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">Run</a>();</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a>();</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">disconnect</a>();</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575"> 92</a></span>&#160; <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> *<a class="code" href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575">GetReportParser</a>(uint8_t <span class="keywordtype">id</span>) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordflow">return</span> pRptParser[id];</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; };</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1"> 96</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1">SetReportParser</a>(uint8_t <span class="keywordtype">id</span>, <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> *prs) {</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; pRptParser[id] = prs;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; };</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595"> 101</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595">setProtocolMode</a>(uint8_t mode) {</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; protocolMode = mode;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4"> 103</a></span>&#160; };</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45"> 109</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">if</span> (pBtd)</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">pairWithHID</a>();</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; };</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_b_t_h_i_d.html#ac2d67e173774e344bca86fbd0ed5a10c"> 118</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_b_t_h_i_d.html#ac2d67e173774e344bca86fbd0ed5a10c">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; pFuncOnInit = funcOnInit;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; };</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="class_b_t_d.html">BTD</a> *pBtd; <span class="comment">// Pointer to BTD instance</span></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"> 125</span>&#160; <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> *pRptParser[<a class="code" href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a">epMUL</a>];</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">void</span> setProtocol();</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; uint8_t protocolMode;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordtype">void</span> onInit() {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">if</span> (pFuncOnInit)</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; pFuncOnInit(); <span class="comment">// Call the user function</span></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; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="comment">/* Variables filled from HCI event management */</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; uint16_t hci_handle;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it&#39;s already has established a connection</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="comment">/* Variables used by high level L2CAP task */</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; uint8_t l2cap_state;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; uint8_t l2cap_event_flag; <span class="comment">// l2cap flags of received Bluetooth events</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; uint8_t ButtonState, OldButtonState, ButtonClickState;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; int16_t xAxis, yAxis, scroll;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">/* L2CAP Channels */</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; uint8_t control_dcid[2]; <span class="comment">// 0x0070</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; uint8_t interrupt_dcid[2]; <span class="comment">// 0x0071</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; uint8_t identifier; <span class="comment">// Identifier for connection</span></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;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="hidboot_8h_html"><div class="ttname"><a href="hidboot_8h.html">hidboot.h</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_a84eb1b910027f2d78741f65225c14e54"><div class="ttname"><a href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">BTHID::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00061">BTHID.cpp:61</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ab3a81823a1d8805383146a6baad6ccc4"><div class="ttname"><a href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">BTHID::connected</a></div><div class="ttdeci">bool connected</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00103">BTHID.h:103</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_a938eab04e406a29cc9324dad3ccb52cc"><div class="ttname"><a href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">BTHID::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00347">BTHID.cpp:347</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_af4c58b81414a037910dd6fb78f97b96e"><div class="ttname"><a href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">BTHID::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00047">BTHID.cpp:47</a></div></div>
<div class="ttc" id="controller_enums_8h_html"><div class="ttname"><a href="controller_enums_8h.html">controllerEnums.h</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ac2d67e173774e344bca86fbd0ed5a10c"><div class="ttname"><a href="class_b_t_h_i_d.html#ac2d67e173774e344bca86fbd0ed5a10c">BTHID::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00118">BTHID.h:118</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0b59db80825ffd5974e0d2c4a046b328"><div class="ttname"><a href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">BTD::pairWithHID</a></div><div class="ttdeci">void pairWithHID()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00441">BTD.h:441</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00139">BTD.h:139</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ae1ee62d7b9951ec7960f122c9fc2d2d0"><div class="ttname"><a href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">BTHID::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00054">BTHID.cpp:54</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ade1924514bc9c9cd71f54a1f37529575"><div class="ttname"><a href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575">BTHID::GetReportParser</a></div><div class="ttdeci">HIDReportParser * GetReportParser(uint8_t id)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00092">BTHID.h:92</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ab3dce23ba2c4c289645510dc8f51b65a"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ab3dce23ba2c4c289645510dc8f51b65a">epMUL</a></div><div class="ttdeci">#define epMUL</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00065">BTHID.h:65</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="hid_8h_source.html#l00135">hid.h:135</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_ab81dcc90a64615b7ae38083dd8188505"><div class="ttname"><a href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID::BTHID</a></div><div class="ttdeci">BTHID(BTD *p, bool pair=false, const char *pin=&quot;1234&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8cpp_source.html#l00023">BTHID.cpp:23</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html"><div class="ttname"><a href="class_b_t_h_i_d.html">BTHID</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00068">BTHID.h:68</a></div></div>
<div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_afceaafc89581441da40b141170b98595"><div class="ttname"><a href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595">BTHID::setProtocolMode</a></div><div class="ttdeci">void setProtocolMode(uint8_t mode)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00101">BTHID.h:101</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_afb19720b65cda69d910416c7a689dd45"><div class="ttname"><a href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">BTHID::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00109">BTHID.h:109</a></div></div>
<div class="ttc" id="class_b_t_h_i_d_html_a0e903f0b5040f3561e5de6c4431027b1"><div class="ttname"><a href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1">BTHID::SetReportParser</a></div><div class="ttdeci">bool SetReportParser(uint8_t id, HIDReportParser *prs)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00096">BTHID.h:96</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.5
</small></address>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -172,108 +172,111 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower);</div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a>(uint8_t value);</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a>(uint8_t value);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037"> 180</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037">setLedOff</a>() {</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a>(0);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; }</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">moveSetRumble</a>(uint8_t rumble);</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c"> 215</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; pFuncOnInit = funcOnInit;</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">moveSetRumble</a>(uint8_t rumble);</div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 217</a></span>&#160; };</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>;</div> <div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c"> 219</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 223</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; pFuncOnInit = funcOnInit;</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 225</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</div> <div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 221</a></span>&#160; };</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 227</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="comment">/* Mandatory members */</span></div> <div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 229</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordtype">void</span> onInit();</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="comment">/* Mandatory members */</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordtype">void</span> onInit();</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="comment">/* Variables filled from HCI event management */</span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; int16_t hci_handle;</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; uint8_t remote_name[30]; <span class="comment">// First 30 chars of remote name</span></div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it&#39;s already has established a connection</span></div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="comment">/* Variables filled from HCI event management */</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="comment">/* variables used by high level L2CAP task */</span></div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; int16_t hci_handle;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; uint8_t l2cap_state;</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; uint8_t remote_name[30]; <span class="comment">// First 30 chars of remote name</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; uint16_t l2cap_event_flag; <span class="comment">// L2CAP flags of received Bluetooth events</span></div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it&#39;s already has established a connection</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="comment">/* variables used by high level L2CAP task */</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; uint8_t l2cap_state;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; uint32_t ButtonState;</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; uint16_t l2cap_event_flag; <span class="comment">// L2CAP flags of received Bluetooth events</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; uint32_t OldButtonState;</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; uint32_t ButtonClickState;</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; uint32_t timerHID; <span class="comment">// Timer used see if there has to be a delay before a new HID command</span></div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; uint32_t ButtonState;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; uint32_t timerBulbRumble; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; uint32_t OldButtonState;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; uint32_t ButtonClickState;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for L2CAP in data</span></div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; uint8_t HIDBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands</span></div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; uint32_t timerHID; <span class="comment">// Timer used see if there has to be a delay before a new HID command</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; uint8_t HIDMoveBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands for the Move controller</span></div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; uint32_t timerBulbRumble; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="comment">/* L2CAP Channels */</span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for L2CAP in data</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; uint8_t HIDBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; uint8_t control_dcid[2]; <span class="comment">// 0x0040</span></div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; uint8_t HIDMoveBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands for the Move controller</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; uint8_t interrupt_dcid[2]; <span class="comment">// 0x0041</span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="comment">/* L2CAP Channels */</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; uint8_t identifier; <span class="comment">// Identifier for connection</span></div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; uint8_t control_dcid[2]; <span class="comment">// 0x0040</span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="comment">/* HID Commands */</span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; uint8_t interrupt_dcid[2]; <span class="comment">// 0x0041</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordtype">void</span> HIDMove_Command(uint8_t* data, uint8_t nbytes);</div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via Bluetooth</span></div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;};</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="comment">/* HID Commands */</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
<div class="ttc" id="class_p_s3_b_t_html_a9da5c045fafc3436dc2d2820cb234384"><div class="ttname"><a href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">PS3BT::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00069">PS3BT.cpp:69</a></div></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordtype">void</span> HIDMove_Command(uint8_t* data, uint8_t nbytes);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via Bluetooth</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;};</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_p_s3_b_t_html_a9da5c045fafc3436dc2d2820cb234384"><div class="ttname"><a href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">PS3BT::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00067">PS3BT.cpp:67</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a92c617e1d00860dc560af7cfe20938d9"><div class="ttname"><a href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">PS3BT::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00056">PS3BT.cpp:56</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a92c617e1d00860dc560af7cfe20938d9"><div class="ttname"><a href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">PS3BT::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00056">PS3BT.cpp:56</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ab35277632083d43f8750d130bea6d430"><div class="ttname"><a href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3BT::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00225">PS3BT.h:225</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ab35277632083d43f8750d130bea6d430"><div class="ttname"><a href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3BT::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00229">PS3BT.h:229</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ac31b6d24710711a9d460367b6aae308f"><div class="ttname"><a href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">PS3BT::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00178">PS3BT.cpp:178</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ac31b6d24710711a9d460367b6aae308f"><div class="ttname"><a href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">PS3BT::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00163">PS3BT.cpp:163</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ab41f25f45573239990f68611dc825086"><div class="ttname"><a href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00496">PS3BT.cpp:496</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ab41f25f45573239990f68611dc825086"><div class="ttname"><a href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00479">PS3BT.cpp:479</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div> <div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_aa84e4cb30f827c8d8d981c1de82c53ad"><div class="ttname"><a href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">PS3BT::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00599">PS3BT.cpp:599</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ab4f49b61167df001d13b68c7699651b4"><div class="ttname"><a href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">PS3BT::getTemperature</a></div><div class="ttdeci">String getTemperature()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00155">PS3BT.cpp:155</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ab4f49b61167df001d13b68c7699651b4"><div class="ttname"><a href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">PS3BT::getTemperature</a></div><div class="ttdeci">String getTemperature()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00144">PS3BT.cpp:144</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ac14d338ddb573d1c06f70749f9205689"><div class="ttname"><a href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">PS3BT::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00648">PS3BT.cpp:648</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ac14d338ddb573d1c06f70749f9205689"><div class="ttname"><a href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">PS3BT::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00635">PS3BT.cpp:635</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a6ee74242b0c1644496ff04b457f39cd2"><div class="ttname"><a href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">PS3BT::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00562">PS3BT.cpp:562</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a6ee74242b0c1644496ff04b457f39cd2"><div class="ttname"><a href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">PS3BT::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00544">PS3BT.cpp:544</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a99be7c63e7cb91a26110e0e44b180a0a"><div class="ttname"><a href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">PS3BT::getSensor</a></div><div class="ttdeci">int16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00075">PS3BT.cpp:75</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a99be7c63e7cb91a26110e0e44b180a0a"><div class="ttname"><a href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">PS3BT::getSensor</a></div><div class="ttdeci">int16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00071">PS3BT.cpp:71</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_af9386c460169ea8f07e79c86a8938965"><div class="ttname"><a href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">PS3BT::get9DOFValues</a></div><div class="ttdeci">double get9DOFValues(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00126">PS3BT.cpp:126</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_af9386c460169ea8f07e79c86a8938965"><div class="ttname"><a href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">PS3BT::get9DOFValues</a></div><div class="ttdeci">double get9DOFValues(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00115">PS3BT.cpp:115</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a465c4c33eae0fd5f934ae12bc8d6ca7e"><div class="ttname"><a href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a></div><div class="ttdeci">#define HID_BUFFERSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00024">PS3BT.h:24</a></div></div> <div class="ttc" id="_p_s3_b_t_8h_html_a465c4c33eae0fd5f934ae12bc8d6ca7e"><div class="ttname"><a href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a></div><div class="ttdeci">#define HID_BUFFERSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00024">PS3BT.h:24</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a576d72cdf12af58ae59c8f2a02f99c0f"><div class="ttname"><a href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00228">PS3BT.cpp:228</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a576d72cdf12af58ae59c8f2a02f99c0f"><div class="ttname"><a href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00213">PS3BT.cpp:213</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a5f4d7fd35927694ae815091b487dcd60"><div class="ttname"><a href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">PS3BT::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00094">PS3BT.cpp:94</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a5f4d7fd35927694ae815091b487dcd60"><div class="ttname"><a href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">PS3BT::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00088">PS3BT.cpp:88</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html"><div class="ttname"><a href="_p_s3_enums_8h.html">PS3Enums.h</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html"><div class="ttname"><a href="_p_s3_enums_8h.html">PS3Enums.h</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html"><div class="ttname"><a href="class_p_s3_b_t.html">PS3BT</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00065">PS3BT.h:65</a></div></div> <div class="ttc" id="class_p_s3_b_t_html"><div class="ttname"><a href="class_p_s3_b_t.html">PS3BT</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00065">PS3BT.h:65</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a11a7a031b249e09c39aa0872fa1e4a6c"><div class="ttname"><a href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c">PS3BT::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00215">PS3BT.h:215</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a11a7a031b249e09c39aa0872fa1e4a6c"><div class="ttname"><a href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c">PS3BT::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00219">PS3BT.h:219</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a2804535e3164eafca80a6f6c6bd9a4f9"><div class="ttname"><a href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3BT::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00217">PS3BT.h:217</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a2804535e3164eafca80a6f6c6bd9a4f9"><div class="ttname"><a href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3BT::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00221">PS3BT.h:221</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00137">BTD.h:137</a></div></div> <div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00139">BTD.h:139</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a313d4c962273fc7daccb0319d80c5f61"><div class="ttname"><a href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">PS3BT::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00609">PS3BT.cpp:609</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a313d4c962273fc7daccb0319d80c5f61"><div class="ttname"><a href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">PS3BT::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00596">PS3BT.cpp:596</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ad0926b75edcbb12ddf76f78e66728782"><div class="ttname"><a href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00635">PS3BT.cpp:635</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ad0926b75edcbb12ddf76f78e66728782"><div class="ttname"><a href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00622">PS3BT.cpp:622</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a9273b6796948b83772117b3805421b4a"><div class="ttname"><a href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3BT::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00223">PS3BT.h:223</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a9273b6796948b83772117b3805421b4a"><div class="ttname"><a href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3BT::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00227">PS3BT.h:227</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ad400e1ce37c2dadd48938187b5021d42"><div class="ttname"><a href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">PS3BT::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00604">PS3BT.cpp:604</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ad400e1ce37c2dadd48938187b5021d42"><div class="ttname"><a href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">PS3BT::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00591">PS3BT.cpp:591</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_aa310ede24b68b1b03cfc49c4308c66b7"><div class="ttname"><a href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00248">PS3BT.cpp:248</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_aa310ede24b68b1b03cfc49c4308c66b7"><div class="ttname"><a href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00233">PS3BT.cpp:233</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a2ce9fb6251b56ec877cd22af7213a037"><div class="ttname"><a href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037">PS3BT::setLedOff</a></div><div class="ttdeci">void setLedOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00180">PS3BT.h:180</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a88106bc19e763a191a3fe04f4641f4c6"><div class="ttname"><a href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">PS3BT::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00170">PS3BT.cpp:170</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a88106bc19e763a191a3fe04f4641f4c6"><div class="ttname"><a href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">PS3BT::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00159">PS3BT.cpp:159</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_ad18e284705a4899d72937b97e27cb0a4"><div class="ttname"><a href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00578">PS3BT.cpp:578</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_ad18e284705a4899d72937b97e27cb0a4"><div class="ttname"><a href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00564">PS3BT.cpp:564</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a39ad8810c67e85eddc68c8a16d38a985"><div class="ttname"><a href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00241">PS3BT.cpp:241</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a39ad8810c67e85eddc68c8a16d38a985"><div class="ttname"><a href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00226">PS3BT.cpp:226</a></div></div>
<div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div> <div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a8c04e0e821dcbfb8825d4b31ab270f00"><div class="ttname"><a href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">PS3BT::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00063">PS3BT.cpp:63</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a8c04e0e821dcbfb8825d4b31ab270f00"><div class="ttname"><a href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">PS3BT::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00063">PS3BT.cpp:63</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a0acdc09661a8099b2d5e8b59cd8325bb"><div class="ttname"><a href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">PS3BT::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00595">PS3BT.cpp:595</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a0acdc09661a8099b2d5e8b59cd8325bb"><div class="ttname"><a href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">PS3BT::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00581">PS3BT.cpp:581</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_aab14832f7844f07e6287eb443019b6e7"><div class="ttname"><a href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7">PS3BT::PS3BT</a></div><div class="ttdeci">PS3BT(BTD *pBtd, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00023">PS3BT.cpp:23</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_aab14832f7844f07e6287eb443019b6e7"><div class="ttname"><a href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7">PS3BT::PS3BT</a></div><div class="ttdeci">PS3BT(BTD *pBtd, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00023">PS3BT.cpp:23</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a9b8726849cf6fbaf4e98a9652cb53b61"><div class="ttname"><a href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">PS3BT::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00052">PS3BT.cpp:52</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a9b8726849cf6fbaf4e98a9652cb53b61"><div class="ttname"><a href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">PS3BT::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00052">PS3BT.cpp:52</a></div></div>
<div class="ttc" id="class_p_s3_b_t_html_a5c87e7db5311a5d56f78c994b5545e4e"><div class="ttname"><a href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">PS3BT::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00569">PS3BT.cpp:569</a></div></div> <div class="ttc" id="class_p_s3_b_t_html_a5c87e7db5311a5d56f78c994b5545e4e"><div class="ttname"><a href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">PS3BT::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8cpp_source.html#l00555">PS3BT.cpp:555</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</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="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="_p_s3_u_s_b_8h.html">PS3USB.h</a>&quot;</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_p_s3_u_s_b_8h.html">PS3USB.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging uncomment &quot;#define DEBUG_USB_HOST&quot; in message.h</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging see &quot;settings.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the PS3 Controllers</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the PS3 Controllers</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
@ -220,7 +220,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, 0x80);</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, 0x80);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </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; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</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"> 135</span>&#160; <span class="comment">//get pointer to assigned address record</span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="comment">//get pointer to assigned address record</span></div>
@ -293,9 +293,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; }</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; }</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">if</span> (my_bdaddr[0] != 0x00 || my_bdaddr[1] != 0x00 || my_bdaddr[2] != 0x00 || my_bdaddr[3] != 0x00 || my_bdaddr[4] != 0x00 || my_bdaddr[5] != 0x00) {</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">if</span> (my_bdaddr[0] != 0x00 || my_bdaddr[1] != 0x00 || my_bdaddr[2] != 0x00 || my_bdaddr[3] != 0x00 || my_bdaddr[4] != 0x00 || my_bdaddr[5] != 0x00) {</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>)</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>)</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">setMoveBdaddr</a>(my_bdaddr); <span class="comment">// Set internal Bluetooth address</span></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">setMoveBdaddr</a>(my_bdaddr); <span class="comment">// Set internal Bluetooth address</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">else</span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">setBdaddr</a>(my_bdaddr); <span class="comment">// Set internal Bluetooth address</span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">setBdaddr</a>(my_bdaddr); <span class="comment">// Set internal Bluetooth address</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nBluetooth Address was set to: &quot;</span>), 0x80);</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nBluetooth Address was set to: &quot;</span>), 0x80);</div>
@ -370,283 +370,297 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="preprocessor"></span> }</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="preprocessor"></span> }</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>) { <span class="comment">// One can only set the color of the bulb, set the rumble, set and get the bluetooth address and calibrate the magnetometer via USB</span></div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>) { <span class="comment">// One can only set the color of the bulb, set the rumble, set and get the bluetooth address and calibrate the magnetometer via USB</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">if</span> (millis() - timer &gt; 4000) <span class="comment">// Send at least every 4th second</span></div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">if</span> (millis() - timer &gt; 4000) { <span class="comment">// Send at least every 4th second</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; {</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>); <span class="comment">// The Bulb and rumble values, has to be written again and again, for it to stay turned on</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>); <span class="comment">// The Bulb and rumble values, has to be written again and again, for it to stay turned on</span></div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; timer = millis();</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; timer = millis();</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; }</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; }</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; }</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; }</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;}</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;}</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;<span class="keywordtype">void</span> PS3USB::readReport() {</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="keywordtype">void</span> PS3USB::readReport() {</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; ButtonState = (uint32_t)(readBuf[2] | ((uint16_t)readBuf[3] &lt;&lt; 8) | ((uint32_t)readBuf[4] &lt;&lt; 16));</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">return</span>;</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nButtonState&quot;, 0x80);</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="comment">//PrintHex&lt;uint32_t&gt;(ButtonState, 0x80);</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; ButtonState = (uint32_t)(readBuf[2] | ((uint16_t)readBuf[3] &lt;&lt; 8) | ((uint32_t)readBuf[4] &lt;&lt; 16));</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">if</span> (ButtonState != OldButtonState) {</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nButtonState&quot;, 0x80);</span></div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; ButtonClickState = ButtonState &amp; ~OldButtonState; <span class="comment">// Update click state variable</span></div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="comment">//PrintHex&lt;uint32_t&gt;(ButtonState, 0x80);</span></div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; OldButtonState = ButtonState;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; }</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">if</span> (ButtonState != OldButtonState) {</div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;}</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; ButtonClickState = ButtonState &amp; ~OldButtonState; <span class="comment">// Update click state variable</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; OldButtonState = ButtonState;</div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="keywordtype">void</span> PS3USB::printReport() { <span class="comment">// Uncomment &quot;#define PRINTREPORT&quot; to print the report send by the PS3 Controllers</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; }</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="preprocessor">#ifdef PRINTREPORT</span></div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;}</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++) {</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; D_PrintHex&lt;uint8_t &gt; (readBuf[i], 0x80);</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;<span class="keywordtype">void</span> PS3USB::printReport() { <span class="comment">//Uncomment &quot;#define PRINTREPORT&quot; to print the report send by the PS3 Controllers</span></div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="preprocessor">#ifdef PRINTREPORT</span></div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">return</span>;</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++) {</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; D_PrintHex&lt;uint8_t &gt; (readBuf[i], 0x80);</div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot; &quot;</span>), 0x80);</div> <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141"> 312</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; }</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="keywordflow">return</span> (ButtonState &amp; pgm_read_dword(&amp;<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]));</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;}</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;<span class="preprocessor"></span>}</div> <div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230"> 316</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; uint32_t button = pgm_read_dword(&amp;<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]);</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141"> 318</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <span class="keywordtype">bool</span> click = (ButtonClickState &amp; button);</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordflow">return</span> (ButtonState &amp; pgm_read_dword(&amp;<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]));</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; ButtonClickState &amp;= ~button; <span class="comment">// Clear &quot;click&quot; event</span></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;}</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">return</span> click;</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;}</div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230"> 322</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; uint32_t button = pgm_read_dword(&amp;<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]);</div> <div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0"> 323</a></span>&#160;uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a) {</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="keywordtype">bool</span> click = (ButtonClickState &amp; button);</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="keywordflow">return</span> (uint8_t)(readBuf[(pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[(uint8_t)a])) - 9]);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; ButtonClickState &amp;= ~button; <span class="comment">// clear &quot;click&quot; event</span></div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;}</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keywordflow">return</span> click;</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;}</div> <div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3"> 327</a></span>&#160;uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;</div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">return</span> (uint8_t)(readBuf[((uint8_t)a + 6)]);</div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0"> 329</a></span>&#160;uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a) {</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;}</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783"> 331</a></span>&#160;uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) {</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordflow">return</span> (uint8_t)(readBuf[(pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[(uint8_t)a])) - 9]);</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordflow">return</span> ((readBuf[((uint16_t)a) - 9] &lt;&lt; 8) | readBuf[((uint16_t)a + 1) - 9]);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;}</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;}</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3"> 335</a></span>&#160;uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div> <div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777"> 335</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a) {</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>) {</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordtype">double</span> accXval;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">return</span> (uint8_t)(readBuf[((uint8_t)a + 6)]);</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordtype">double</span> accYval;</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;}</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keywordtype">double</span> accZval;</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;</div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783"> 341</a></span>&#160;uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) {</div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="comment">// Data for the Kionix KXPC4 used in the DualShock 3</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keyword">const</span> <span class="keywordtype">double</span> zeroG = 511.5; <span class="comment">// 1.65/3.3*1023 (1,65V)</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; accXval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a>) - zeroG);</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">return</span> ((readBuf[((uint16_t)a) - 9] &lt;&lt; 8) | readBuf[((uint16_t)a + 1) - 9]);</div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; accYval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a>) - zeroG);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;}</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; accZval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a>) - zeroG);</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;</div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;</div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777"> 347</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a) {</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="comment">// Convert to 360 degrees resolution</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>) {</div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="comment">// atan2 outputs the value of -π to π (radians)</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordtype">double</span> accXval;</div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="comment">// We are then converting it to 0 to 2π and then to degrees</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordtype">double</span> accYval;</div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">if</span> (a == <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a>)</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="keywordtype">double</span> accZval;</div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="keywordflow">return</span> (atan2(accYval, accZval) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160;</div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="comment">// Data for the Kionix KXPC4 used in the DualShock 3</span></div> <div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordflow">return</span> (atan2(accXval, accZval) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <span class="keyword">const</span> <span class="keywordtype">double</span> zeroG = 511.5; <span class="comment">// 1.65/3.3*1023 (1,65V)</span></div> <div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; accXval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a>) - zeroG);</div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; accYval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a>) - zeroG);</div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;}</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; accZval = -((double)<a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a>) - zeroG);</div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160;</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;</div> <div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448"> 358</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c) {</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="comment">// Convert to 360 degrees resolution</span></div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keywordflow">return</span> (readBuf[((uint16_t)c &gt;&gt; 8) - 9] == ((uint8_t)c &amp; 0xff));</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <span class="comment">// atan2 outputs the value of -π to π (radians)</span></div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;}</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="comment">// We are then converting it to 0 to 2π and then to degrees</span></div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordflow">if</span> (a == <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a>) {</div> <div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae"> 362</a></span>&#160;String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a>() {</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keywordtype">double</span> angle = (atan2(accYval, accZval) + PI) * RAD_TO_DEG;</div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a> || <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>) {</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordflow">return</span> angle;</div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordtype">char</span> statusOutput[100];</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; } <span class="keywordflow">else</span> {</div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; <span class="keywordtype">double</span> angle = (atan2(accXval, accZval) + PI) * RAD_TO_DEG;</div> <div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; strcpy(statusOutput, <span class="stringliteral">&quot;ConnectionStatus: &quot;</span>);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">return</span> angle;</div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; }</div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Plugged&quot;</span>);</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; } <span class="keywordflow">else</span></div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Unplugged&quot;</span>);</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;}</div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448"> 373</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c) {</div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; strcat(statusOutput, <span class="stringliteral">&quot; - PowerRating: &quot;</span>);</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <span class="keywordflow">if</span> (readBuf == NULL)</div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160;</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Charging&quot;</span>);</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; <span class="keywordflow">if</span> (readBuf[((uint16_t)c &gt;&gt; 8) - 9] == ((uint8_t)c &amp; 0xff))</div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Not Charging&quot;</span>);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Shutdown&quot;</span>);</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Dying&quot;</span>);</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;}</div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Low&quot;</span>);</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160;</div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a>)) strcat(statusOutput, <span class="stringliteral">&quot;High&quot;</span>);</div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae"> 381</a></span>&#160;String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a>() {</div> <div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Full&quot;</span>);</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a> || <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>) {</div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="keywordtype">char</span> statusOutput[100];</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;</div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; strcat(statusOutput, <span class="stringliteral">&quot; - WirelessStatus: &quot;</span>);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; strcpy(statusOutput, <span class="stringliteral">&quot;ConnectionStatus: &quot;</span>);</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Cable - Rumble is on&quot;</span>);</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Plugged&quot;</span>);</div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Cable - Rumble is off&quot;</span>);</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Unplugged&quot;</span>);</div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Bluetooth - Rumble is on&quot;</span>);</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Bluetooth - Rumble is off&quot;</span>);</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;</div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; strcat(statusOutput, <span class="stringliteral">&quot; - PowerRating: &quot;</span>);</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keywordflow">return</span> statusOutput;</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160;</div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Charging&quot;</span>);</div> <div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error&quot;</span>;</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Not Charging&quot;</span>);</div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;}</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Shutdown&quot;</span>);</div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Dying&quot;</span>);</div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;<span class="comment">/* Playstation Sixaxis Dualshock and Navigation Controller commands */</span></div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Low&quot;</span>);</div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;<span class="keywordtype">void</span> PS3USB::PS3_Command(uint8_t *data, uint16_t nbytes) {</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a>)) strcat(statusOutput, <span class="stringliteral">&quot;High&quot;</span>);</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="comment">// bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x01), Report Type (Output 0x02), interface (0x00), datalength, datalength, data)</span></div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Full&quot;</span>);</div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x01, 0x02, 0x00, nbytes, nbytes, data, NULL);</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;}</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;</div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; strcat(statusOutput, <span class="stringliteral">&quot; - WirelessStatus: &quot;</span>);</div> <div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498"> 403</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a>() {</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160;</div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++)</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Cable - Rumble is on&quot;</span>);</div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; writeBuf[i] = pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[i]); <span class="comment">// Reset buffer</span></div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Cable - Rumble is off&quot;</span>);</div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Bluetooth - Rumble is on&quot;</span>);</div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a>)) strcat(statusOutput, <span class="stringliteral">&quot;Bluetooth - Rumble is off&quot;</span>);</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;}</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="keywordflow">else</span> strcat(statusOutput, <span class="stringliteral">&quot;Error&quot;</span>);</div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div> <div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a"> 410</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a>() {</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <span class="keywordflow">return</span> statusOutput;</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; writeBuf[1] = 0x00;</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; } <span class="keywordflow">else</span></div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; writeBuf[2] = 0x00; <span class="comment">// Low mode off</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error&quot;</span>;</div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; writeBuf[3] = 0x00;</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160;}</div> <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; writeBuf[4] = 0x00; <span class="comment">// High mode off</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;</div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;<span class="comment">/* Playstation Sixaxis Dualshock and Navigation Controller commands */</span></div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;<span class="keywordtype">void</span> PS3USB::PS3_Command(uint8_t* data, uint16_t nbytes) {</div> <div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;}</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x01), Report Type (Output 0x02), interface (0x00), datalength, datalength, data)</span></div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160;</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x01, 0x02, 0x00, nbytes, nbytes, data, NULL);</div> <div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"> 419</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode) {</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160;}</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="keywordflow">if</span> ((mode &amp; 0x30) &gt; 0x00) {</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160;</div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; uint8_t power[2] = {0xff, 0x00}; <span class="comment">// Defaults to RumbleLow</span></div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498"> 422</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a>() {</div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; <span class="keywordflow">if</span> (mode == <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a>) {</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++)</div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; power[0] = 0x00;</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; writeBuf[i] = pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[i]); <span class="comment">// Reset buffer</span></div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; power[1] = 0xff;</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160;</div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; }</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(0xfe, power[0], 0xfe, power[1]);</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160;}</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; }</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;}</div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a"> 429</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a>() {</div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; writeBuf[1] = 0x00;</div> <div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80"> 430</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower) {</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; writeBuf[2] = 0x00; <span class="comment">//low mode off</span></div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; writeBuf[1] = rightDuration;</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; writeBuf[3] = 0x00;</div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; writeBuf[2] = rightPower;</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; writeBuf[4] = 0x00; <span class="comment">//high mode off</span></div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; writeBuf[3] = leftDuration;</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;</div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; writeBuf[4] = leftPower;</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;}</div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;}</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;</div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"> 438</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode) {</div> <div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b"> 438</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a>(uint8_t value) {</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <span class="keywordflow">if</span> ((mode &amp; 0x30) &gt; 0x00) {</div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; writeBuf[9] = value &lt;&lt; 1;</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; uint8_t power[2] = {0xff, 0x00}; <span class="comment">// Defaults to RumbleLow</span></div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; <span class="keywordflow">if</span> (mode == <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a>) {</div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;}</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; power[0] = 0x00;</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; power[1] = 0xff;</div> <div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03"> 443</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">PS3USB::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; }</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; writeBuf[9] &amp;= ~((uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1));</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(0xfe, power[0], 0xfe, power[1]);</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; }</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;}</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;}</div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160;</div> <div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b"> 448</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80"> 449</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower) {</div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; writeBuf[9] |= (uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1);</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; writeBuf[1] = rightDuration;</div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; writeBuf[2] = rightPower;</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;}</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; writeBuf[3] = leftDuration;</div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; writeBuf[4] = leftPower;</div> <div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090"> 453</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; writeBuf[9] ^= (uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1);</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;}</div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;</div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;}</div>
<div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b"> 457</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a>(uint8_t value) {</div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; writeBuf[9] = value &lt;&lt; 1;</div> <div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a"> 458</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">PS3USB::setBdaddr</a>(uint8_t *bdaddr) {</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; <span class="comment">/* Set the internal Bluetooth address */</span></div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;}</div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; uint8_t buf[8];</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160;</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; buf[0] = 0x01;</div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03"> 462</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">PS3USB::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; buf[1] = 0x00;</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; writeBuf[9] &amp;= ~((uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1));</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;}</div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; buf[i + 2] = bdaddr[5 - i]; <span class="comment">// Copy into buffer, has to be written reversed, so it is MSB first</span></div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;</div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;</div>
<div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b"> 467</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; <span class="comment">// bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0xF5), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data</span></div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; writeBuf[9] |= (uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1);</div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0xF5, 0x03, 0x00, 8, 8, buf, NULL);</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160;}</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160;}</div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160;</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160;</div> <div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f"> 471</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">PS3USB::getBdaddr</a>(uint8_t *bdaddr) {</div>
<div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090"> 472</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; uint8_t buf[8];</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; writeBuf[9] ^= (uint8_t)((pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) &amp; 0x0f) &lt;&lt; 1);</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; <span class="comment">// bmRequest = Device to host (0x80) | Class (0x20) | Interface (0x01) = 0xA1, bRequest = Get Report (0x01), Report ID (0xF5), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data</span></div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;}</div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff">bmREQ_HID_IN</a>, <a class="code" href="hid_8h.html#a73dbc093cd8c096054332fde410cd9ed">HID_REQUEST_GET_REPORT</a>, 0xF5, 0x03, 0x00, 8, 8, buf, NULL);</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;</div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;</div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87"> 477</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">PS3USB::setBdaddr</a>(uint8_t* BDADDR) {</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="comment">/* Set the internal bluetooth address */</span></div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; bdaddr[5 - i] = buf[i + 2]; <span class="comment">// Copy into buffer reversed, so it is LSB first</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; uint8_t buf[8];</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;}</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; buf[0] = 0x01;</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;</div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; buf[1] = 0x00;</div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;<span class="keywordtype">void</span> PS3USB::enable_sixaxis() { <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; uint8_t cmd_buf[4];</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; buf[i + 2] = BDADDR[5 - i]; <span class="comment">//Copy into buffer, has to be written reversed</span></div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; cmd_buf[0] = 0x42; <span class="comment">// Special PS3 Controller enable commands</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160;</div> <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; cmd_buf[1] = 0x0c;</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0xF5), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data)</span></div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; cmd_buf[2] = 0x00;</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0xF5, 0x03, 0x00, 8, 8, buf, NULL);</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; cmd_buf[3] = 0x00;</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160;}</div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160;</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160;</div> <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="comment">// bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0xF4), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data)</span></div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;<span class="keywordtype">void</span> PS3USB::enable_sixaxis() { <span class="comment">//Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div> <div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0xF4, 0x03, 0x00, 4, 4, cmd_buf, NULL);</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; uint8_t cmd_buf[4];</div> <div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;}</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; cmd_buf[0] = 0x42; <span class="comment">// Special PS3 Controller enable commands</span></div> <div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160;</div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; cmd_buf[1] = 0x0c;</div> <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;<span class="comment">/* Playstation Move Controller commands */</span></div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; cmd_buf[2] = 0x00;</div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160;<span class="keywordtype">void</span> PS3USB::Move_Command(uint8_t *data, uint16_t nbytes) {</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; cmd_buf[3] = 0x00;</div> <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[ <a class="code" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb">PS3_OUTPUT_PIPE</a> ].epAddr, nbytes, data);</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;}</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0xF4), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data)</span></div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0xF4, 0x03, 0x00, 4, 4, cmd_buf, NULL);</div> <div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7"> 497</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b) { <span class="comment">// Use this to set the Color using RGB values</span></div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;}</div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160; <span class="comment">// Set the Bulb&#39;s values into the write buffer</span></div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;</div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160; writeBuf[2] = r;</div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160;<span class="comment">/* Playstation Move Controller commands */</span></div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; writeBuf[3] = g;</div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;<span class="keywordtype">void</span> PS3USB::Move_Command(uint8_t* data, uint16_t nbytes) {</div> <div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; writeBuf[4] = b;</div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[ <a class="code" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb">PS3_OUTPUT_PIPE</a> ].epAddr, nbytes, data);</div> <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160;</div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160;}</div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160;</div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160;}</div>
<div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7"> 505</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b) { <span class="comment">//Use this to set the Color using RGB values</span></div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;</div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; <span class="comment">// set the Bulb&#39;s values into the write buffer</span></div> <div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a34c83190306752e68c5704eece875d49"> 506</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color) { <span class="comment">// Use this to set the Color using the predefined colors in &quot;enums.h&quot;</span></div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; writeBuf[2] = r;</div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>((uint8_t)(color &gt;&gt; 16), (uint8_t)(color &gt;&gt; 8), (uint8_t)(color));</div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160; writeBuf[3] = g;</div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;}</div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; writeBuf[4] = b;</div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;</div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160;</div> <div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a"> 510</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a>(uint8_t rumble) {</div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160;}</div> <div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (rumble &lt; 64 &amp;&amp; rumble != 0) <span class="comment">// The rumble value has to at least 64, or approximately 25% (64/255*100)</span></div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160;</div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nThe rumble value has to at least 64, or approximately 25%&quot;</span>), 0x80);</div>
<div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a34c83190306752e68c5704eece875d49"> 514</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color) { <span class="comment">//Use this to set the Color using the predefined colors in &quot;enums.h&quot;</span></div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>((uint8_t)(color &gt;&gt; 16), (uint8_t)(color &gt;&gt; 8), (uint8_t)(color));</div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160;<span class="preprocessor"></span> writeBuf[6] = rumble; <span class="comment">// Set the rumble value into the write buffer</span></div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;}</div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160;</div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div>
<div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a"> 518</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a>(uint8_t rumble) {</div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160;}</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (rumble &lt; 64 &amp;&amp; rumble != 0) <span class="comment">// The rumble value has to at least 64, or approximately 25% (64/255*100)</span></div> <div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"> 520</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">PS3USB::setMoveBdaddr</a>(uint8_t *bdaddr) {</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nThe rumble value has to at least 64, or approximately 25%&quot;</span>), 0x80);</div> <div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; <span class="comment">/* Set the internal Bluetooth address */</span></div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; uint8_t buf[11];</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160;<span class="preprocessor"></span> <span class="comment">//set the rumble value into the write buffer</span></div> <div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; buf[0] = 0x05;</div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; writeBuf[6] = rumble;</div> <div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; buf[7] = 0x10;</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160;</div> <div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; buf[8] = 0x01;</div>
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div> <div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; buf[9] = 0x02;</div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160;}</div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; buf[10] = 0x12;</div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;</div> <div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;</div>
<div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a"> 529</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">PS3USB::setMoveBdaddr</a>(uint8_t* BDADDR) {</div> <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; <span class="comment">/* Set the internal bluetooth address */</span></div> <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; buf[i + 1] = bdaddr[i];</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; uint8_t buf[11];</div> <div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160;</div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; buf[0] = 0x05;</div> <div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; <span class="comment">// bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x05), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data</span></div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; buf[7] = 0x10;</div> <div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x05, 0x03, 0x00, 11, 11, buf, NULL);</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160; buf[8] = 0x01;</div> <div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;}</div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; buf[9] = 0x02;</div> <div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160;</div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; buf[10] = 0x12;</div> <div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77"> 536</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">PS3USB::getMoveBdaddr</a>(uint8_t *bdaddr) {</div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;</div> <div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; uint8_t buf[16];</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div> <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; buf[i + 1] = BDADDR[i];</div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; <span class="comment">// bmRequest = Device to host (0x80) | Class (0x20) | Interface (0x01) = 0xA1, bRequest = Get Report (0x01), Report ID (0x04), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data</span></div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;</div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff">bmREQ_HID_IN</a>, <a class="code" href="hid_8h.html#a73dbc093cd8c096054332fde410cd9ed">HID_REQUEST_GET_REPORT</a>, 0x04, 0x03, 0x00, 16, 16, buf, NULL);</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x05), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data)</span></div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x05, 0x03, 0x00, 11, 11, buf, NULL);</div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 6; i++)</div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;}</div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; bdaddr[i] = buf[10 + i];</div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;</div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;}</div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160;<span class="keywordtype">void</span> PS3USB::onInit() {</div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160;</div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; <span class="keywordflow">if</span> (pFuncOnInit)</div> <div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9"> 546</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">PS3USB::getMoveCalibration</a>(uint8_t *data) {</div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; pFuncOnInit(); <span class="comment">// Call the user function</span></div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; uint8_t buf[49];</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; <span class="keywordflow">else</span> {</div> <div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160;</div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>)</div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; 3; i++) {</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a>);</div> <div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; <span class="comment">// bmRequest = Device to host (0x80) | Class (0x20) | Interface (0x01) = 0xA1, bRequest = Get Report (0x01), Report ID (0x10), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data</span></div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; <span class="keywordflow">else</span> <span class="comment">// Dualshock 3 or Navigation controller</span></div> <div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>, <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>].epAddr, <a class="code" href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff">bmREQ_HID_IN</a>, <a class="code" href="hid_8h.html#a73dbc093cd8c096054332fde410cd9ed">HID_REQUEST_GET_REPORT</a>, 0x10, 0x03, 0x00, 49, 49, buf, NULL);</div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a>);</div> <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160;</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; }</div> <div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordflow">for</span> (byte j = 0; j &lt; 49; j++)</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;}</div> <div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; data[49 * i + j] = buf[j];</div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; }</div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160;}</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;<span class="keywordtype">void</span> PS3USB::onInit() {</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; <span class="keywordflow">if</span> (pFuncOnInit)</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160; pFuncOnInit(); <span class="comment">// Call the user function</span></div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>)</div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a>);</div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160; <span class="keywordflow">else</span> <span class="comment">// Dualshock 3 or Navigation controller</span></div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a>);</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; }</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;}</div>
<div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div> <div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a4fe61beae6f0e36e4df1ea388bed0783"><div class="ttname"><a href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a></div><div class="ttdeci">uint16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00341">PS3USB.cpp:341</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a4fe61beae6f0e36e4df1ea388bed0783"><div class="ttname"><a href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a></div><div class="ttdeci">uint16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00331">PS3USB.cpp:331</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00189">PS3Enums.h:189</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00189">PS3Enums.h:189</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a1448bc51226a9b63f2937630da6bd48f"><div class="ttname"><a href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">PS3USB::getBdaddr</a></div><div class="ttdeci">void getBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00471">PS3USB.cpp:471</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00205">PS3Enums.h:205</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00205">PS3Enums.h:205</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00117">PS3Enums.h:117</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00117">PS3Enums.h:117</a></div></div>
<div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div> <div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div>
@ -654,19 +668,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div> <div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div>
<div class="ttc" id="_usb_core_8h_html_af192c59cafe2192ad802b22e6dbc077d"><div class="ttname"><a href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a></div><div class="ttdeci">#define USB_ERROR_EPINFO_IS_NULL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00067">UsbCore.h:67</a></div></div> <div class="ttc" id="_usb_core_8h_html_af192c59cafe2192ad802b22e6dbc077d"><div class="ttname"><a href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a></div><div class="ttdeci">#define USB_ERROR_EPINFO_IS_NULL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00067">UsbCore.h:67</a></div></div>
<div class="ttc" id="struct_ep_info_html_a3a5b1c017a034cd9e06e76729e727c46"><div class="ttname"><a href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">EpInfo::bmNakPower</a></div><div class="ttdeci">uint8_t bmNakPower</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00042">address.h:42</a></div></div> <div class="ttc" id="struct_ep_info_html_a3a5b1c017a034cd9e06e76729e727c46"><div class="ttname"><a href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">EpInfo::bmNakPower</a></div><div class="ttdeci">uint8_t bmNakPower</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00042">address.h:42</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aa0aac5ea016db4cd6736a15e9d6eb41b"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00457">PS3USB.cpp:457</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_aa0aac5ea016db4cd6736a15e9d6eb41b"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00438">PS3USB.cpp:438</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a54b2dcaa1e9acef83de2376b50c7ff09"><div class="ttname"><a href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3USB::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00246">PS3USB.h:246</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a54b2dcaa1e9acef83de2376b50c7ff09"><div class="ttname"><a href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3USB::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00273">PS3USB.h:273</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac912fd49bd2a415206df7a8c2b672ea4"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">PS3USB::setLedOff</a></div><div class="ttdeci">void setLedOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00224">PS3USB.h:224</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_aca3cbaad8732d9185bb9bda1a32cd18d"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d">PS3_INPUT_PIPE</a></div><div class="ttdeci">#define PS3_INPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00033">PS3USB.h:33</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_aca3cbaad8732d9185bb9bda1a32cd18d"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d">PS3_INPUT_PIPE</a></div><div class="ttdeci">#define PS3_INPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00033">PS3USB.h:33</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00192">PS3Enums.h:192</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00192">PS3Enums.h:192</a></div></div>
<div class="ttc" id="struct_usb_device_html"><div class="ttname"><a href="struct_usb_device.html">UsbDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00075">address.h:75</a></div></div> <div class="ttc" id="struct_usb_device_html"><div class="ttname"><a href="struct_usb_device.html">UsbDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00075">address.h:75</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00027">BTD.h:27</a></div></div> <div class="ttc" id="_b_t_d_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00027">BTD.h:27</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a8cf62ee374ebaa5f7582c073e624bc74"><div class="ttname"><a href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a></div><div class="ttdeci">const uint8_t PS3_REPORT_BUFFER[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00024">PS3Enums.h:24</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a8cf62ee374ebaa5f7582c073e624bc74"><div class="ttname"><a href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a></div><div class="ttdeci">const uint8_t PS3_REPORT_BUFFER[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00024">PS3Enums.h:24</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ad50962ff6194746c076084ec0714605a"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">PS3USB::setBdaddr</a></div><div class="ttdeci">void setBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00458">PS3USB.cpp:458</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a5750c5448bf1ec73a7669ca2e4799c98"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00258">PS3USB.cpp:258</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a5750c5448bf1ec73a7669ca2e4799c98"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00258">PS3USB.cpp:258</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html"><div class="ttname"><a href="_p_s3_u_s_b_8h.html">PS3USB.h</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html"><div class="ttname"><a href="_p_s3_u_s_b_8h.html">PS3USB.h</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a0da271fcb10181b3ce15aefe76c259bb"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb">PS3_OUTPUT_PIPE</a></div><div class="ttdeci">#define PS3_OUTPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00032">PS3USB.h:32</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a0da271fcb10181b3ce15aefe76c259bb"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb">PS3_OUTPUT_PIPE</a></div><div class="ttdeci">#define PS3_OUTPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00032">PS3USB.h:32</a></div></div>
<div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div> <div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a89aa4233f3eeeb99693a099da527ec28"><div class="ttname"><a href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3USB::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00244">PS3USB.h:244</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a89aa4233f3eeeb99693a099da527ec28"><div class="ttname"><a href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3USB::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00271">PS3USB.h:271</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00193">PS3Enums.h:193</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00193">PS3Enums.h:193</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00188">PS3Enums.h:188</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00188">PS3Enums.h:188</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00211">PS3Enums.h:211</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00211">PS3Enums.h:211</a></div></div>
@ -674,90 +690,92 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00194">PS3Enums.h:194</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00194">PS3Enums.h:194</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_af83672eccf0c7a02847ce75bc5c55a1a"><div class="ttname"><a href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a></div><div class="ttdeci">const uint8_t LEDS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00043">PS3Enums.h:43</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_af83672eccf0c7a02847ce75bc5c55a1a"><div class="ttname"><a href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a></div><div class="ttdeci">const uint8_t LEDS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00043">PS3Enums.h:43</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_abb19c2ede75659ab3b926996a8a09f2f"><div class="ttname"><a href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a></div><div class="ttdeci">const uint8_t ANALOGBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00093">PS3Enums.h:93</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_abb19c2ede75659ab3b926996a8a09f2f"><div class="ttname"><a href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a></div><div class="ttdeci">const uint8_t ANALOGBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00093">PS3Enums.h:93</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a2d30813a3f5c4729b5c1662832d5a6e0"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00329">PS3USB.cpp:329</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a2d30813a3f5c4729b5c1662832d5a6e0"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00323">PS3USB.cpp:323</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a6c722086999db05d8abf5f1f26c19f77"><div class="ttname"><a href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">PS3USB::getMoveBdaddr</a></div><div class="ttdeci">void getMoveBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00536">PS3USB.cpp:536</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00024">BTD.h:24</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00024">BTD.h:24</a></div></div>
<div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div> <div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div> <div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aaa1e66d7397be6364d4f76749cbaad5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00429">PS3USB.cpp:429</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_aaa1e66d7397be6364d4f76749cbaad5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00410">PS3USB.cpp:410</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00025">PS3USB.h:25</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00025">PS3USB.h:25</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a0dad8754ff18d0c375c2569791d50876"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3USB::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00238">PS3USB.h:238</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a0dad8754ff18d0c375c2569791d50876"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3USB::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00265">PS3USB.h:265</a></div></div>
<div class="ttc" id="class_address_pool_html_a15fde13223dcb1da89305ad229763562"><div class="ttname"><a href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">AddressPool::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_a15fde13223dcb1da89305ad229763562"><div class="ttname"><a href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">AddressPool::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)=0</div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ae3f19089341bb545f31b3b01e77131ae"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00381">PS3USB.cpp:381</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ae3f19089341bb545f31b3b01e77131ae"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00362">PS3USB.cpp:362</a></div></div>
<div class="ttc" id="struct_ep_info_html_a1dea928517c961235eef7b0876e69f10"><div class="ttname"><a href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">EpInfo::epAttribs</a></div><div class="ttdeci">uint8_t epAttribs</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00037">address.h:37</a></div></div> <div class="ttc" id="struct_ep_info_html_a1dea928517c961235eef7b0876e69f10"><div class="ttname"><a href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">EpInfo::epAttribs</a></div><div class="ttdeci">uint8_t epAttribs</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00037">address.h:37</a></div></div>
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div> <div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div>
<div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a09da3bcd33a8dd20d7cb06a70833e448"><div class="ttname"><a href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00373">PS3USB.cpp:373</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a09da3bcd33a8dd20d7cb06a70833e448"><div class="ttname"><a href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00358">PS3USB.cpp:358</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9a50f5ed5b41232336cc6d1870795230"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00322">PS3USB.cpp:322</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9a50f5ed5b41232336cc6d1870795230"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00316">PS3USB.cpp:316</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#l00044">message.h:44</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#l00044">message.h:44</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_ae6276fa555fe14995bee0713be663333"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a></div><div class="ttdeci">#define PS3_CONTROL_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00031">PS3USB.h:31</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_ae6276fa555fe14995bee0713be663333"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a></div><div class="ttdeci">#define PS3_CONTROL_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00031">PS3USB.h:31</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00191">PS3Enums.h:191</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00191">PS3Enums.h:191</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00438">PS3USB.cpp:438</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00419">PS3USB.cpp:419</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00186">PS3Enums.h:186</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00186">PS3Enums.h:186</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div> <div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_af13993073ab245ece6d3fe9e9f41df87"><div class="ttname"><a href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">PS3USB::setBdaddr</a></div><div class="ttdeci">void setBdaddr(uint8_t *BDADDR)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00477">PS3USB.cpp:477</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00147">PS3Enums.h:147</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00147">PS3Enums.h:147</a></div></div>
<div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div> <div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div> <div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ae9cfdaad3e54dbc271519e22082399c7"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00505">PS3USB.cpp:505</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ae9cfdaad3e54dbc271519e22082399c7"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00497">PS3USB.cpp:497</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00190">PS3Enums.h:190</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00190">PS3Enums.h:190</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_acbab64f537f092e2fb125f9001f46090"><div class="ttname"><a href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00472">PS3USB.cpp:472</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_acbab64f537f092e2fb125f9001f46090"><div class="ttname"><a href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00453">PS3USB.cpp:453</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a0083545cb99fb8786e60281fe7a9050d"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00046">PS3USB.cpp:46</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a0083545cb99fb8786e60281fe7a9050d"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00046">PS3USB.cpp:46</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_ad4d26e1c566064f2259faf65f0858b6e"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a></div><div class="ttdeci">#define EP_INTERRUPT</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00028">PS3USB.h:28</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_ad4d26e1c566064f2259faf65f0858b6e"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a></div><div class="ttdeci">#define EP_INTERRUPT</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00028">PS3USB.h:28</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a2c6c24a4b63d9a34926fb35d6b49cd17"><div class="ttname"><a href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define MOVE_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00040">PS3Enums.h:40</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a2c6c24a4b63d9a34926fb35d6b49cd17"><div class="ttname"><a href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define MOVE_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00040">PS3Enums.h:40</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac7adc7365bb45d15c37e22f26f012498"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00422">PS3USB.cpp:422</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ac7adc7365bb45d15c37e22f26f012498"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00403">PS3USB.cpp:403</a></div></div>
<div class="ttc" id="class_u_s_b_html_affbc018973a588995457d535b0ac7ee7"><div class="ttname"><a href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">USB::outTransfer</a></div><div class="ttdeci">uint8_t outTransfer(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00290">Usb.cpp:290</a></div></div> <div class="ttc" id="class_u_s_b_html_affbc018973a588995457d535b0ac7ee7"><div class="ttname"><a href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">USB::outTransfer</a></div><div class="ttdeci">uint8_t outTransfer(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00290">Usb.cpp:290</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_aee05d40a014750b24a7e9967f6f389f4"><div class="ttname"><a href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a></div><div class="ttdeci">#define HID_REQUEST_SET_REPORT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00039">BTD.h:39</a></div></div> <div class="ttc" id="_b_t_d_8h_html_aee05d40a014750b24a7e9967f6f389f4"><div class="ttname"><a href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a></div><div class="ttdeci">#define HID_REQUEST_SET_REPORT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00039">BTD.h:39</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3be69a3c6e24bf2b53bc06c85829e62a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">PS3USB::setMoveBdaddr</a></div><div class="ttdeci">void setMoveBdaddr(uint8_t *BDADDR)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00529">PS3USB.cpp:529</a></div></div> <div class="ttc" id="hid_8h_html_a73dbc093cd8c096054332fde410cd9ed"><div class="ttname"><a href="hid_8h.html#a73dbc093cd8c096054332fde410cd9ed">HID_REQUEST_GET_REPORT</a></div><div class="ttdeci">#define HID_REQUEST_GET_REPORT</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00066">hid.h:66</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00178">PS3Enums.h:178</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00178">PS3Enums.h:178</a></div></div>
<div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div> <div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div>
<div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div> <div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00143">PS3Enums.h:143</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00143">PS3Enums.h:143</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div> <div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aa1873f41ae0da7c4568cfb7517560c48"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">PS3USB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00250">PS3USB.h:250</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_aa1873f41ae0da7c4568cfb7517560c48"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">PS3USB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00277">PS3USB.h:277</a></div></div>
<div class="ttc" id="address_8h_html_a660e8da9c1167a8450aef91c5c03761d"><div class="ttname"><a href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a></div><div class="ttdeci">#define USB_NAK_NOWAIT</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00029">address.h:29</a></div></div> <div class="ttc" id="address_8h_html_a660e8da9c1167a8450aef91c5c03761d"><div class="ttname"><a href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a></div><div class="ttdeci">#define USB_NAK_NOWAIT</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00029">address.h:29</a></div></div>
<div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div> <div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00025">BTD.h:25</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00025">BTD.h:25</a></div></div>
<div class="ttc" id="class_u_s_b_html_ad75d64f648b102fab2bd75e53e1324a4"><div class="ttname"><a href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">USB::inTransfer</a></div><div class="ttdeci">uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00206">Usb.cpp:206</a></div></div> <div class="ttc" id="class_u_s_b_html_ad75d64f648b102fab2bd75e53e1324a4"><div class="ttname"><a href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">USB::inTransfer</a></div><div class="ttdeci">uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00206">Usb.cpp:206</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00026">BTD.h:26</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00026">BTD.h:26</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a66d542c2cec73cefb3cdda36ff080e1a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00518">PS3USB.cpp:518</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a66d542c2cec73cefb3cdda36ff080e1a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00510">PS3USB.cpp:510</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9068e2a036012614c0db163830cbcf00"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00268">PS3USB.cpp:268</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9068e2a036012614c0db163830cbcf00"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00268">PS3USB.cpp:268</a></div></div>
<div class="ttc" id="_usb_core_8h_html_ae9e139d0fd29bb0b3e7afad2f76cd589"><div class="ttname"><a href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a></div><div class="ttdeci">#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00061">UsbCore.h:61</a></div></div> <div class="ttc" id="_usb_core_8h_html_ae9e139d0fd29bb0b3e7afad2f76cd589"><div class="ttname"><a href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a></div><div class="ttdeci">#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00061">UsbCore.h:61</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a168ab47b14a95d7cf8066d553a9cb862"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a></div><div class="ttdeci">#define PS3_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00045">PS3USB.h:45</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a168ab47b14a95d7cf8066d553a9cb862"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a></div><div class="ttdeci">#define PS3_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00048">PS3USB.h:48</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a394dbb0a59b587210e5958f08dac48f1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">PS3USB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[PS3_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00254">PS3USB.h:254</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a394dbb0a59b587210e5958f08dac48f1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">PS3USB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[PS3_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00281">PS3USB.h:281</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00185">PS3Enums.h:185</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00185">PS3Enums.h:185</a></div></div>
<div class="ttc" id="max3421e_8h_html_aca6a8aa4f0aebbe07c5e175572a92ef7"><div class="ttname"><a href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a></div><div class="ttdeci">#define bmRCVTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00185">max3421e.h:185</a></div></div> <div class="ttc" id="max3421e_8h_html_aca6a8aa4f0aebbe07c5e175572a92ef7"><div class="ttname"><a href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a></div><div class="ttdeci">#define bmRCVTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00185">max3421e.h:185</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a5bd4ea095da29635414952894bd527f5"><div class="ttname"><a href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a></div><div class="ttdeci">#define bmREQ_HID_OUT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00038">BTD.h:38</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a5bd4ea095da29635414952894bd527f5"><div class="ttname"><a href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a></div><div class="ttdeci">#define bmREQ_HID_OUT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00038">BTD.h:38</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a2b422a95d6f43756111dea6b6a9230ff"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff">bmREQ_HID_IN</a></div><div class="ttdeci">#define bmREQ_HID_IN</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00043">PS3USB.h:43</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a15370eb665cdded5514e69ca58d9f39d"><div class="ttname"><a href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00064">UsbCore.h:64</a></div></div> <div class="ttc" id="_usb_core_8h_html_a15370eb665cdded5514e69ca58d9f39d"><div class="ttname"><a href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00064">UsbCore.h:64</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="max3421e_8h_html_a4834ae7378471b63b9a1985c6294006f"><div class="ttname"><a href="max3421e_8h.html#a4834ae7378471b63b9a1985c6294006f">bmSNDTOG0</a></div><div class="ttdeci">#define bmSNDTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00187">max3421e.h:187</a></div></div> <div class="ttc" id="max3421e_8h_html_a4834ae7378471b63b9a1985c6294006f"><div class="ttname"><a href="max3421e_8h.html#a4834ae7378471b63b9a1985c6294006f">bmSNDTOG0</a></div><div class="ttdeci">#define bmSNDTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00187">max3421e.h:187</a></div></div>
<div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div> <div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div>
<div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div> <div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3f43df159277003acdf7dd107bda27fd"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">PS3USB::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00252">PS3USB.h:252</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a3f43df159277003acdf7dd107bda27fd"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">PS3USB::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00279">PS3USB.h:279</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">PS3USB::setMoveBdaddr</a></div><div class="ttdeci">void setMoveBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00520">PS3USB.cpp:520</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a4898fccf5d2aa053bc67894aa3627e0f"><div class="ttname"><a href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define PS3_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00037">PS3Enums.h:37</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a4898fccf5d2aa053bc67894aa3627e0f"><div class="ttname"><a href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define PS3_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00037">PS3Enums.h:37</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00206">PS3Enums.h:206</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00206">PS3Enums.h:206</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a2b0f391b8ae3e80b18cf9108c3e8f7e3"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00335">PS3USB.cpp:335</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a2b0f391b8ae3e80b18cf9108c3e8f7e3"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00327">PS3USB.cpp:327</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9b9e5a3a3e80957f47f86f4155fee777"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00347">PS3USB.cpp:347</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9b9e5a3a3e80957f47f86f4155fee777"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00335">PS3USB.cpp:335</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a44c4bff09064a09ef97c7bb6b8c0810b"><div class="ttname"><a href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00467">PS3USB.cpp:467</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a44c4bff09064a09ef97c7bb6b8c0810b"><div class="ttname"><a href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00448">PS3USB.cpp:448</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00204">PS3Enums.h:204</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00204">PS3Enums.h:204</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3f66bf622590413ef2e1864f93a3e0d2"><div class="ttname"><a href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">USB::RegisterDeviceClass</a></div><div class="ttdeci">uint8_t RegisterDeviceClass(USBDeviceConfig *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00172">UsbCore.h:172</a></div></div> <div class="ttc" id="class_u_s_b_html_a3f66bf622590413ef2e1864f93a3e0d2"><div class="ttname"><a href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">USB::RegisterDeviceClass</a></div><div class="ttdeci">uint8_t RegisterDeviceClass(USBDeviceConfig *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00172">UsbCore.h:172</a></div></div>
<div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div> <div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ad1de9af6fb34f4cff6c1ed0af21b0141"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00318">PS3USB.cpp:318</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ad1de9af6fb34f4cff6c1ed0af21b0141"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00312">PS3USB.cpp:312</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_af3392eea150ac9151bef45148f0d7895"><div class="ttname"><a href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a></div><div class="ttdeci">const uint32_t BUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00062">PS3Enums.h:62</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_af3392eea150ac9151bef45148f0d7895"><div class="ttname"><a href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a></div><div class="ttdeci">const uint32_t BUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00062">PS3Enums.h:62</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac919404d4caf4625467756272f8d5502"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a></div><div class="ttdeci">PS3USB(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00023">PS3USB.cpp:23</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ac919404d4caf4625467756272f8d5502"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a></div><div class="ttdeci">PS3USB(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00023">PS3USB.cpp:23</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ab6e97f59f4a62e52cf54cdd302679cd9"><div class="ttname"><a href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">PS3USB::getMoveCalibration</a></div><div class="ttdeci">void getMoveCalibration(uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00546">PS3USB.cpp:546</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00145">PS3Enums.h:145</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00145">PS3Enums.h:145</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</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_p_s3_u_s_b_html_adb361fecbe4eb6fc5635dc7135cfff03"><div class="ttname"><a href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">PS3USB::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00462">PS3USB.cpp:462</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->

View file

@ -138,6 +138,10 @@ Macros</h2></td></tr>
<tr class="separator:afc242b8a1b867f79c49ad78e3a47b37f"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:afc242b8a1b867f79c49ad78e3a47b37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd4ea095da29635414952894bd527f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>&#160;&#160;&#160;<a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td></tr> <tr class="memitem:a5bd4ea095da29635414952894bd527f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>&#160;&#160;&#160;<a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td></tr>
<tr class="separator:a5bd4ea095da29635414952894bd527f5"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a5bd4ea095da29635414952894bd527f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b422a95d6f43756111dea6b6a9230ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff">bmREQ_HID_IN</a>&#160;&#160;&#160;<a class="el" href="usb__ch9_8h.html#a35c2a529dc87a274b2eb6f9e33682449">USB_SETUP_DEVICE_TO_HOST</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td></tr>
<tr class="separator:a2b422a95d6f43756111dea6b6a9230ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73dbc093cd8c096054332fde410cd9ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a73dbc093cd8c096054332fde410cd9ed">HID_REQUEST_GET_REPORT</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:a73dbc093cd8c096054332fde410cd9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee05d40a014750b24a7e9967f6f389f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>&#160;&#160;&#160;0x09</td></tr> <tr class="memitem:aee05d40a014750b24a7e9967f6f389f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>&#160;&#160;&#160;0x09</td></tr>
<tr class="separator:aee05d40a014750b24a7e9967f6f389f4"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aee05d40a014750b24a7e9967f6f389f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a168ab47b14a95d7cf8066d553a9cb862"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>&#160;&#160;&#160;3</td></tr> <tr class="memitem:a168ab47b14a95d7cf8066d553a9cb862"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>&#160;&#160;&#160;3</td></tr>
@ -282,6 +286,34 @@ Macros</h2></td></tr>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00042">42</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00042">42</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2b422a95d6f43756111dea6b6a9230ff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define bmREQ_HID_IN&#160;&#160;&#160;<a class="el" href="usb__ch9_8h.html#a35c2a529dc87a274b2eb6f9e33682449">USB_SETUP_DEVICE_TO_HOST</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div>
</div>
<a class="anchor" id="a73dbc093cd8c096054332fde410cd9ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HID_REQUEST_GET_REPORT&#160;&#160;&#160;0x01</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
<a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a> <a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a>
@ -294,7 +326,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00046">46</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -308,7 +340,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00048">48</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>

View file

@ -113,163 +113,176 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_p_s3_enums_8h.html">PS3Enums.h</a>&quot;</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_p_s3_enums_8h.html">PS3Enums.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">/* PS3 data taken from descriptors */</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">/* PS3 data taken from descriptors */</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 25</a></span>&#160;<span class="preprocessor">#define EP_MAXPKTSIZE 64 // max size for data via USB</span></div> <div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 25</a></span>&#160;<span class="preprocessor">#define EP_MAXPKTSIZE 64 // max size for data via USB</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">/* Endpoint types */</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">/* Endpoint types */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e"> 28</a></span>&#160;<span class="preprocessor">#define EP_INTERRUPT 0x03</span></div> <div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e"> 28</a></span>&#160;<span class="preprocessor">#define EP_INTERRUPT 0x03</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment">/* Names we give to the 3 ps3 pipes - this is only used for setting the bluetooth address into the ps3 controllers */</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment">/* Names we give to the 3 ps3 pipes - this is only used for setting the bluetooth address into the ps3 controllers */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333"> 31</a></span>&#160;<span class="preprocessor">#define PS3_CONTROL_PIPE 0</span></div> <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333"> 31</a></span>&#160;<span class="preprocessor">#define PS3_CONTROL_PIPE 0</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb"> 32</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_OUTPUT_PIPE 1</span></div> <div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb"> 32</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_OUTPUT_PIPE 1</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d"> 33</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_INPUT_PIPE 2</span></div> <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d"> 33</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_INPUT_PIPE 2</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">//PID and VID of the different devices</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">//PID and VID of the different devices</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514"> 36</a></span>&#160;<span class="preprocessor">#define PS3_VID 0x054C // Sony Corporation</span></div> <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514"> 36</a></span>&#160;<span class="preprocessor">#define PS3_VID 0x054C // Sony Corporation</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0"> 37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_PID 0x0268 // PS3 Controller DualShock 3</span></div> <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0"> 37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3_PID 0x0268 // PS3 Controller DualShock 3</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632"> 38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3NAVIGATION_PID 0x042F // Navigation controller</span></div> <div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632"> 38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3NAVIGATION_PID 0x042F // Navigation controller</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3MOVE_PID 0x03D5 // Motion controller</span></div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PS3MOVE_PID 0x03D5 // Motion controller</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// used in control endpoint header for HID Commands</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// Used in control endpoint header for HID Commands</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5"> 42</a></span>&#160;<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="l00042"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5"> 42</a></span>&#160;<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="l00043"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a2b422a95d6f43756111dea6b6a9230ff"> 43</a></span>&#160;<span class="preprocessor"></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="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862"> 45</a></span>&#160;<span class="preprocessor">#define PS3_MAX_ENDPOINTS 3</span></div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a73dbc093cd8c096054332fde410cd9ed"> 45</a></span>&#160;<span class="preprocessor">#define HID_REQUEST_GET_REPORT 0x01</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html"> 55</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_p_s3_u_s_b.html">PS3USB</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862"> 48</a></span>&#160;<span class="preprocessor">#define PS3_MAX_ENDPOINTS 3</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>, uint8_t btadr5 = 0, uint8_t btadr4 = 0, uint8_t btadr3 = 0, uint8_t btadr2 = 0, uint8_t btadr1 = 0, uint8_t btadr0 = 0);</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html"> 58</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_p_s3_u_s_b.html">PS3USB</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">Release</a>();</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>, uint8_t btadr5 = 0, uint8_t btadr4 = 0, uint8_t btadr3 = 0, uint8_t btadr2 = 0, uint8_t btadr1 = 0, uint8_t btadr0 = 0);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">Poll</a>();</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627"> 90</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">GetAddress</a>() {</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">Release</a>();</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">Poll</a>();</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; };</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627"> 93</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">GetAddress</a>() {</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479"> 98</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">isReady</a>() {</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; };</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; };</div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div> <div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479"> 101</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">isReady</a>() {</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a"> 108</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> (vid == <a class="code" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> &amp;&amp; (pid == <a class="code" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a> || pid == <a class="code" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a> || pid == <a class="code" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a>));</div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; };</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; };</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">setBdaddr</a>(uint8_t* BDADDR);</div> <div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a"> 111</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">setMoveBdaddr</a>(uint8_t* BDADDR);</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> (vid == <a class="code" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> &amp;&amp; (pid == <a class="code" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a> || pid == <a class="code" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a> || pid == <a class="code" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a>));</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; };</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">setBdaddr</a>(uint8_t *bdaddr);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">getBdaddr</a>(uint8_t *bdaddr);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">setMoveBdaddr</a>(uint8_t *bdaddr);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">getMoveBdaddr</a>(uint8_t *bdaddr);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">getMoveCalibration</a>(uint8_t *data);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>();</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>();</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower);</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a>(uint8_t value);</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>();</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>();</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower);</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble);</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a>(uint8_t value);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div> <div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4"> 224</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">setLedOff</a>() {</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e"> 236</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a>(0);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; pFuncOnInit = funcOnInit;</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; }</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 238</a></span>&#160; };</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>;</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 244</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>;</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 246</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>;</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="keyword">protected</span>:</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 250</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>;</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble);</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 252</a></span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 254</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>];</div> <div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e"> 263</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; pFuncOnInit = funcOnInit;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 265</a></span>&#160; };</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordtype">void</span> onInit();</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div> <div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 271</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div> <div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 273</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;</div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div> <div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 277</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div> <div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 279</a></span>&#160; uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; uint32_t ButtonState;</div> <div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 281</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; uint32_t OldButtonState;</div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; uint32_t ButtonClickState;</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordtype">void</span> onInit();</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; uint8_t readBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; uint8_t writeBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; uint32_t ButtonState;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="comment">/* Private commands */</span></div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; uint32_t OldButtonState;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; uint32_t ButtonClickState;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes);</div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;};</div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; uint8_t readBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; uint8_t writeBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a4fe61beae6f0e36e4df1ea388bed0783"><div class="ttname"><a href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a></div><div class="ttdeci">uint16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00341">PS3USB.cpp:341</a></div></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div>
<div class="ttc" id="class_p_s3_u_s_b_html"><div class="ttname"><a href="class_p_s3_u_s_b.html">PS3USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00055">PS3USB.h:55</a></div></div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aa0aac5ea016db4cd6736a15e9d6eb41b"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00457">PS3USB.cpp:457</a></div></div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a54b2dcaa1e9acef83de2376b50c7ff09"><div class="ttname"><a href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3USB::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00246">PS3USB.h:246</a></div></div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="comment">/* Private commands */</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordtype">void</span> PS3_Command(uint8_t *data, uint16_t nbytes);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keywordtype">void</span> Move_Command(uint8_t *data, uint16_t nbytes);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;};</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a4fe61beae6f0e36e4df1ea388bed0783"><div class="ttname"><a href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">PS3USB::getSensor</a></div><div class="ttdeci">uint16_t getSensor(Sensor a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00331">PS3USB.cpp:331</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a1448bc51226a9b63f2937630da6bd48f"><div class="ttname"><a href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">PS3USB::getBdaddr</a></div><div class="ttdeci">void getBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00471">PS3USB.cpp:471</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html"><div class="ttname"><a href="class_p_s3_u_s_b.html">PS3USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00058">PS3USB.h:58</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aa0aac5ea016db4cd6736a15e9d6eb41b"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">PS3USB::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00438">PS3USB.cpp:438</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a54b2dcaa1e9acef83de2376b50c7ff09"><div class="ttname"><a href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3USB::PS3NavigationConnected</a></div><div class="ttdeci">bool PS3NavigationConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00273">PS3USB.h:273</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac912fd49bd2a415206df7a8c2b672ea4"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">PS3USB::setLedOff</a></div><div class="ttdeci">void setLedOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00224">PS3USB.h:224</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4a"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></div><div class="ttdeci">Sensor</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00141">PS3Enums.h:141</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ad50962ff6194746c076084ec0714605a"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">PS3USB::setBdaddr</a></div><div class="ttdeci">void setBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00458">PS3USB.cpp:458</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a5750c5448bf1ec73a7669ca2e4799c98"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00258">PS3USB.cpp:258</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a5750c5448bf1ec73a7669ca2e4799c98"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00258">PS3USB.cpp:258</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a89aa4233f3eeeb99693a099da527ec28"><div class="ttname"><a href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3USB::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00244">PS3USB.h:244</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a89aa4233f3eeeb99693a099da527ec28"><div class="ttname"><a href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3USB::PS3MoveConnected</a></div><div class="ttdeci">bool PS3MoveConnected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00271">PS3USB.h:271</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a2d30813a3f5c4729b5c1662832d5a6e0"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00329">PS3USB.cpp:329</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a2d30813a3f5c4729b5c1662832d5a6e0"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">PS3USB::getAnalogButton</a></div><div class="ttdeci">uint8_t getAnalogButton(Button a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00323">PS3USB.cpp:323</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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a6c722086999db05d8abf5f1f26c19f77"><div class="ttname"><a href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">PS3USB::getMoveBdaddr</a></div><div class="ttdeci">void getMoveBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00536">PS3USB.cpp:536</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aaa1e66d7397be6364d4f76749cbaad5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00429">PS3USB.cpp:429</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_aaa1e66d7397be6364d4f76749cbaad5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">PS3USB::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00410">PS3USB.cpp:410</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00025">PS3USB.h:25</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00025">PS3USB.h:25</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a0dad8754ff18d0c375c2569791d50876"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3USB::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00238">PS3USB.h:238</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a0dad8754ff18d0c375c2569791d50876"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3USB::PS3Connected</a></div><div class="ttdeci">bool PS3Connected</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00265">PS3USB.h:265</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ae3f19089341bb545f31b3b01e77131ae"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00381">PS3USB.cpp:381</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ae3f19089341bb545f31b3b01e77131ae"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a></div><div class="ttdeci">String getStatusString()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00362">PS3USB.cpp:362</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a09da3bcd33a8dd20d7cb06a70833e448"><div class="ttname"><a href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00373">PS3USB.cpp:373</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a09da3bcd33a8dd20d7cb06a70833e448"><div class="ttname"><a href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">PS3USB::getStatus</a></div><div class="ttdeci">bool getStatus(Status c)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00358">PS3USB.cpp:358</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9a50f5ed5b41232336cc6d1870795230"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00322">PS3USB.cpp:322</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9a50f5ed5b41232336cc6d1870795230"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">PS3USB::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00316">PS3USB.cpp:316</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html"><div class="ttname"><a href="_p_s3_enums_8h.html">PS3Enums.h</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html"><div class="ttname"><a href="_p_s3_enums_8h.html">PS3Enums.h</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a04b79c271ca14e1e095c6e305c672627"><div class="ttname"><a href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">PS3USB::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00090">PS3USB.h:90</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a04b79c271ca14e1e095c6e305c672627"><div class="ttname"><a href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">PS3USB::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00093">PS3USB.h:93</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00438">PS3USB.cpp:438</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">PS3USB::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(Rumble mode)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00419">PS3USB.cpp:419</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ad06a172d85adf4ffc54dd8117b0be42e"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e">PS3USB::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00236">PS3USB.h:236</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ad06a172d85adf4ffc54dd8117b0be42e"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e">PS3USB::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00263">PS3USB.h:263</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_af13993073ab245ece6d3fe9e9f41df87"><div class="ttname"><a href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">PS3USB::setBdaddr</a></div><div class="ttdeci">void setBdaddr(uint8_t *BDADDR)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00477">PS3USB.cpp:477</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00182">PS3Enums.h:182</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></div><div class="ttdeci">Colors</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00115">PS3Enums.h:115</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ae9cfdaad3e54dbc271519e22082399c7"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00505">PS3USB.cpp:505</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ae9cfdaad3e54dbc271519e22082399c7"><div class="ttname"><a href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">PS3USB::moveSetBulb</a></div><div class="ttdeci">void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00497">PS3USB.cpp:497</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_acbab64f537f092e2fb125f9001f46090"><div class="ttname"><a href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00472">PS3USB.cpp:472</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_acbab64f537f092e2fb125f9001f46090"><div class="ttname"><a href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">PS3USB::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00453">PS3USB.cpp:453</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_aff4be38428d075a117a5bb7f6209a231"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></div><div class="ttdeci">Rumble</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00210">PS3Enums.h:210</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a0083545cb99fb8786e60281fe7a9050d"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00046">PS3USB.cpp:46</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a0083545cb99fb8786e60281fe7a9050d"><div class="ttname"><a href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00046">PS3USB.cpp:46</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac7adc7365bb45d15c37e22f26f012498"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00422">PS3USB.cpp:422</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ac7adc7365bb45d15c37e22f26f012498"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">PS3USB::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00403">PS3USB.cpp:403</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3be69a3c6e24bf2b53bc06c85829e62a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">PS3USB::setMoveBdaddr</a></div><div class="ttdeci">void setMoveBdaddr(uint8_t *BDADDR)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00529">PS3USB.cpp:529</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00037">PS3USB.h:37</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a0ae276efa5e73a4da658c714e70402c0"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a></div><div class="ttdeci">#define PS3_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00037">PS3USB.h:37</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></div><div class="ttdeci">Angle</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00177">PS3Enums.h:177</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_aa1873f41ae0da7c4568cfb7517560c48"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">PS3USB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00250">PS3USB.h:250</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_aa1873f41ae0da7c4568cfb7517560c48"><div class="ttname"><a href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">PS3USB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00277">PS3USB.h:277</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a66d542c2cec73cefb3cdda36ff080e1a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00518">PS3USB.cpp:518</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a66d542c2cec73cefb3cdda36ff080e1a"><div class="ttname"><a href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">PS3USB::moveSetRumble</a></div><div class="ttdeci">void moveSetRumble(uint8_t rumble)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00510">PS3USB.cpp:510</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9068e2a036012614c0db163830cbcf00"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00268">PS3USB.cpp:268</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9068e2a036012614c0db163830cbcf00"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00268">PS3USB.cpp:268</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00039">PS3USB.h:39</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_afc242b8a1b867f79c49ad78e3a47b37f"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a></div><div class="ttdeci">#define PS3MOVE_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00039">PS3USB.h:39</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a168ab47b14a95d7cf8066d553a9cb862"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a></div><div class="ttdeci">#define PS3_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00045">PS3USB.h:45</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a168ab47b14a95d7cf8066d553a9cb862"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a></div><div class="ttdeci">#define PS3_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00048">PS3USB.h:48</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a394dbb0a59b587210e5958f08dac48f1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">PS3USB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[PS3_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00254">PS3USB.h:254</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a394dbb0a59b587210e5958f08dac48f1"><div class="ttname"><a href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">PS3USB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[PS3_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00281">PS3USB.h:281</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ababb6cbf8297581b27400f9a39d75e5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">PS3USB::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00108">PS3USB.h:108</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ababb6cbf8297581b27400f9a39d75e5a"><div class="ttname"><a href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">PS3USB::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00111">PS3USB.h:111</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00038">PS3USB.h:38</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a54903b410722a45f8246653cd4d00632"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a></div><div class="ttdeci">#define PS3NAVIGATION_PID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00038">PS3USB.h:38</a></div></div>
<div class="ttc" id="_p_s3_u_s_b_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00036">PS3USB.h:36</a></div></div> <div class="ttc" id="_p_s3_u_s_b_8h_html_a5bb06f989db583d290ba79642d37c514"><div class="ttname"><a href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a></div><div class="ttdeci">#define PS3_VID</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00036">PS3USB.h:36</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3f43df159277003acdf7dd107bda27fd"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">PS3USB::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00252">PS3USB.h:252</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a3f43df159277003acdf7dd107bda27fd"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">PS3USB::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00279">PS3USB.h:279</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"><div class="ttname"><a href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">PS3USB::setMoveBdaddr</a></div><div class="ttdeci">void setMoveBdaddr(uint8_t *bdaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00520">PS3USB.cpp:520</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a2b0f391b8ae3e80b18cf9108c3e8f7e3"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00335">PS3USB.cpp:335</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a2b0f391b8ae3e80b18cf9108c3e8f7e3"><div class="ttname"><a href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">PS3USB::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00327">PS3USB.cpp:327</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a9b9e5a3a3e80957f47f86f4155fee777"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00347">PS3USB.cpp:347</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a9b9e5a3a3e80957f47f86f4155fee777"><div class="ttname"><a href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">PS3USB::getAngle</a></div><div class="ttdeci">double getAngle(Angle a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00335">PS3USB.cpp:335</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a44c4bff09064a09ef97c7bb6b8c0810b"><div class="ttname"><a href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00467">PS3USB.cpp:467</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a44c4bff09064a09ef97c7bb6b8c0810b"><div class="ttname"><a href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">PS3USB::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00448">PS3USB.cpp:448</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ad1de9af6fb34f4cff6c1ed0af21b0141"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00318">PS3USB.cpp:318</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ad1de9af6fb34f4cff6c1ed0af21b0141"><div class="ttname"><a href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">PS3USB::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00312">PS3USB.cpp:312</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_ac919404d4caf4625467756272f8d5502"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a></div><div class="ttdeci">PS3USB(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00023">PS3USB.cpp:23</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ac919404d4caf4625467756272f8d5502"><div class="ttname"><a href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a></div><div class="ttdeci">PS3USB(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00023">PS3USB.cpp:23</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_a02a5b0244665d5a790d1020e51c94479"><div class="ttname"><a href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">PS3USB::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00098">PS3USB.h:98</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_ab6e97f59f4a62e52cf54cdd302679cd9"><div class="ttname"><a href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">PS3USB::getMoveCalibration</a></div><div class="ttdeci">void getMoveCalibration(uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00546">PS3USB.cpp:546</a></div></div>
<div class="ttc" id="class_p_s3_u_s_b_html_adb361fecbe4eb6fc5635dc7135cfff03"><div class="ttname"><a href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">PS3USB::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8cpp_source.html#l00462">PS3USB.cpp:462</a></div></div> <div class="ttc" id="class_p_s3_u_s_b_html_a02a5b0244665d5a790d1020e51c94479"><div class="ttname"><a href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">PS3USB::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_u_s_b_8h_source.html#l00101">PS3USB.h:101</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="stringliteral">* __Alexei Glushchenko, Circuits\@Home__ - &lt;alex-gl@mail.ru&gt;</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="stringliteral">* __Alexei Glushchenko, Circuits\@Home__ - &lt;alex-gl@mail.ru&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="stringliteral"> * Developers of the USB Core, HID, FTDI, ADK, ACM, and PL2303 libraries</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="stringliteral"> * Developers of the USB Core, HID, FTDI, ADK, ACM, and PL2303 libraries</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="stringliteral">* __Kristian Lauszus, TKJ Electronics__ - &lt;kristianl@tkjelectronics.com&gt;</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="stringliteral">* __Kristian Lauszus, TKJ Electronics__ - &lt;kristianl@tkjelectronics.com&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="stringliteral"> * Developer of the [BTD](#bluetooth-libraries), [SPP](#spp-library), [PS3](#ps3-library), [Wii](#wii-library), and [Xbox](#xbox-library) libraries</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="stringliteral"> * Developer of the [BTD](#bluetooth-libraries), [BTHID](#bthid-library), [SPP](#spp-library), [PS3](#ps3-library), [Wii](#wii-library), and [Xbox](#xbox-library) libraries</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="stringliteral">* __Andrew Kroll__ - &lt;xxxajk@gmail.com&gt;</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="stringliteral">* __Andrew Kroll__ - &lt;xxxajk@gmail.com&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="stringliteral"> * Major contributor to mass storage code</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="stringliteral"> * Major contributor to mass storage code</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="stringliteral"></span></div>
@ -173,126 +173,134 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="stringliteral">Some different examples can be found in the [example directory](examples/Bluetooth).</span></div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="stringliteral">Some different examples can be found in the [example directory](examples/Bluetooth).</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="stringliteral">The BTD library will also make it possible to use multiple services at once, the following example sketch is an example of this:</span></div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="stringliteral">The BTD library will also make it possible to use multiple services at once, the following example sketch is an example of this:</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="stringliteral">&lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3SPP/PS3SPP.ino&gt;</span></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="stringliteral">&lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3SPP/PS3SPP.ino&gt;.</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="stringliteral">### [SPP library](SPP.cpp)</span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="stringliteral">### [BTHID library](BTHID.cpp)</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="stringliteral">SPP stands for &quot;Serial Port Profile&quot; and is a Bluetooth protocol that implements a virtual comport which allows you to send data back and forth from your computer/phone to your Arduino via Bluetooth.</span></div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="stringliteral">The [Bluetooth HID library](BTHID.cpp) allows you to connect HID devices via Bluetooth to the USB Host Shield.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="stringliteral">It has been tested successfully on Windows, Mac OS X, Linux, and Android.</span></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="stringliteral">Currently HID mice and keyboards are supported.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="stringliteral">More information can be found at these blog posts:</span></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="stringliteral">It uses the standard Boot protocol by default, but it is also able to use the Report protocol as well. You would simply have to call ```setProtocolMode()``` and then parse ```HID_RPT_PROTOCOL``` as an argument. You will then have to modify the parser for your device. See the example: &lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/BTHID/BTHID.ino&gt; for more information.</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/bluetooth-rfcommspp-service-support-for-usb-host-2-0-library-released&gt;</span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/07/rfcommspp-library-for-arduino/&gt;</span></div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="stringliteral">### [SPP library](SPP.cpp)</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="stringliteral">To implement the SPP protocol I used a Bluetooth sniffing tool called [PacketLogger](http://www.tkjelectronics.com/uploads/PacketLogger.zip) developed by Apple. </span></div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="stringliteral">SPP stands for &quot;Serial Port Profile&quot; and is a Bluetooth protocol that implements a virtual comport which allows you to send data back and forth from your computer/phone to your Arduino via Bluetooth.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="stringliteral">It enables me to see the Bluetooth communication between my Mac and any device.</span></div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="stringliteral">It has been tested successfully on Windows, Mac OS X, Linux, and Android.</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="stringliteral">### PS3 Library</span></div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="stringliteral">More information can be found at these blog posts:</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="stringliteral">These libraries consist of the [PS3BT](PS3BT.cpp) and [PS3USB](PS3USB.cpp). These libraries allows you to use a Dualshock 3, Navigation or a Motion controller with the USB Host Shield both via Bluetooth and USB.</span></div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/bluetooth-rfcommspp-service-support-for-usb-host-2-0-library-released&gt;</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/07/rfcommspp-library-for-arduino/&gt;</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="stringliteral">In order to use your Playstation controller via Bluetooth you have to set the Bluetooth address of the dongle internally to your PS3 Controller. This can be achieved by plugging the controller in via USB and letting the library set it automatically.</span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="stringliteral">To implement the SPP protocol I used a Bluetooth sniffing tool called [PacketLogger](http://www.tkjelectronics.com/uploads/PacketLogger.zip) developed by Apple.</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="stringliteral">__Note:__ To obtain the address you have to plug in the Bluetooth dongle before connecting the controller, or alternatively you could set it in code like so: &lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino#L12&gt;.</span></div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="stringliteral">It enables me to see the Bluetooth communication between my Mac and any device.</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="stringliteral">For more information about the PS3 protocol see the official wiki: &lt;https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information&gt;.</span></div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="stringliteral">### PS3 Library</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="stringliteral">Also take a look at the blog posts:</span></div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="stringliteral">These libraries consist of the [PS3BT](PS3BT.cpp) and [PS3USB](PS3USB.cpp). These libraries allows you to use a Dualshock 3, Navigation or a Motion controller with the USB Host Shield both via Bluetooth and USB.</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/01/ps3-controller-bt-library-for-arduino/&gt;</span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="stringliteral">In order to use your Playstation controller via Bluetooth you have to set the Bluetooth address of the dongle internally to your PS3 Controller. This can be achieved by plugging the controller in via USB and letting the library set it automatically.</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/sony-ps3-controller-support-added-to-usb-host-library&gt;</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/arduino/interfacing-ps3-controllers-via-usb&gt;</span></div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="stringliteral">__Note:__ To obtain the address you have to plug in the Bluetooth dongle before connecting the controller, or alternatively you could set it in code like so: &lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino#L15&gt;.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="stringliteral">A special thanks go to the following people:</span></div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="stringliteral">For more information about the PS3 protocol see the official wiki: &lt;https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information&gt;.</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="stringliteral">1. _Richard Ibbotson_ who made this excellent guide: &lt;http://www.circuitsathome.com/mcu/ps3-and-wiimote-game-controllers-on-the-arduino-host-shield-part&gt;</span></div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="stringliteral">Also take a look at the blog posts:</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="stringliteral">2. _Tomoyuki Tanaka_ for releasing his code for the Arduino USB Host shield connected to the wiimote: &lt;http://www.circuitsathome.com/mcu/rc-car-controlled-by-wii-remote-on-arduino&gt;</span></div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/01/ps3-controller-bt-library-for-arduino/&gt;</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="stringliteral">Also a big thanks all the people behind these sites about the Motion controller:</span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/sony-ps3-controller-support-added-to-usb-host-library&gt;</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/arduino/interfacing-ps3-controllers-via-usb&gt;</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="stringliteral">* &lt;http://thp.io/2010/psmove/&gt;</span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="stringliteral">* &lt;http://www.copenhagengamecollective.org/unimove/&gt;</span></div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="stringliteral">A special thanks go to the following people:</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="stringliteral">* &lt;https://github.com/thp/psmoveapi&gt;</span></div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="stringliteral">* &lt;http://code.google.com/p/moveonpc/&gt;</span></div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="stringliteral">1. _Richard Ibbotson_ who made this excellent guide: &lt;http://www.circuitsathome.com/mcu/ps3-and-wiimote-game-controllers-on-the-arduino-host-shield-part&gt;</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="stringliteral">2. _Tomoyuki Tanaka_ for releasing his code for the Arduino USB Host shield connected to the wiimote: &lt;http://www.circuitsathome.com/mcu/rc-car-controlled-by-wii-remote-on-arduino&gt;</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="stringliteral">### Xbox Libraries</span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="stringliteral">Also a big thanks all the people behind these sites about the Motion controller:</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="stringliteral">The library supports both the original Xbox controller via USB and the Xbox 360 controller both via USB and wirelessly.</span></div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="stringliteral">* &lt;http://thp.io/2010/psmove/&gt;</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="stringliteral">#### Xbox library</span></div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="stringliteral">* &lt;http://www.copenhagengamecollective.org/unimove/&gt;</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="stringliteral">* &lt;https://github.com/thp/psmoveapi&gt;</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="stringliteral">The [XBOXOLD](XBOXOLD.cpp) class implements support for the original Xbox controller via USB.</span></div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="stringliteral">* &lt;http://code.google.com/p/moveonpc/&gt;</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="stringliteral">All the information are from the following sites:</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="stringliteral">### Xbox Libraries</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;<span class="stringliteral">* &lt;https://github.com/torvalds/linux/blob/master/Documentation/input/xpad.txt&gt;</span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;<span class="stringliteral">The library supports both the original Xbox controller via USB and the Xbox 360 controller both via USB and wirelessly.</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="stringliteral">* &lt;https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c&gt;</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="stringliteral">* &lt;http://euc.jp/periphs/xbox-controller.ja.html&gt;</span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="stringliteral">#### Xbox library</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="stringliteral">* &lt;https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL#L15&gt;</span></div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="stringliteral">The [XBOXOLD](XBOXOLD.cpp) class implements support for the original Xbox controller via USB.</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="stringliteral">#### Xbox 360 Library</span></div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="stringliteral">All the information are from the following sites:</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="stringliteral">The library support one Xbox 360 via USB or up to four Xbox 360 controllers wirelessly by using a [Xbox 360 wireless receiver](http://blog.tkjelectronics.dk/wp-content/uploads/xbox360-wireless-receiver.jpg).</span></div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="stringliteral">* &lt;https://github.com/torvalds/linux/blob/master/Documentation/input/xpad.txt&gt;</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="stringliteral">To use it via USB use the [XBOXUSB](XBOXUSB.cpp) library or to use it wirelessly use the [XBOXRECV](XBOXRECV.cpp) library.</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="stringliteral">* &lt;https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c&gt;</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="stringliteral">* &lt;http://euc.jp/periphs/xbox-controller.ja.html&gt;</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="stringliteral">__Note that a Wireless controller can NOT be used via USB!__</span></div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="stringliteral">* &lt;https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL#L15&gt;</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="stringliteral">Examples code can be found in the [examples directory](examples/Xbox).</span></div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="stringliteral">#### Xbox 360 Library</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="stringliteral">Also see the following blog posts:</span></div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="stringliteral">The library support one Xbox 360 via USB or up to four Xbox 360 controllers wirelessly by using a [Xbox 360 wireless receiver](http://blog.tkjelectronics.dk/wp-content/uploads/xbox360-wireless-receiver.jpg).</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/xbox360-controller-support-added-to-usb-host-shield-2-0-library&gt;</span></div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="stringliteral">To use it via USB use the [XBOXUSB](XBOXUSB.cpp) library or to use it wirelessly use the [XBOXRECV](XBOXRECV.cpp) library.</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/07/xbox-360-controller-support-added-to-the-usb-host-library/&gt;</span></div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/12/xbox-360-receiver-added-to-the-usb-host-library/&gt;</span></div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="stringliteral">__Note that a Wireless controller can NOT be used via USB!__</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="stringliteral">All the information regarding the Xbox 360 controller protocol are form these sites:</span></div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="stringliteral">Examples code can be found in the [examples directory](examples/Xbox).</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="stringliteral">* &lt;http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/UsbInfo&gt;</span></div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="stringliteral">Also see the following blog posts:</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="stringliteral">* &lt;http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/WirelessUsbInfo&gt;</span></div> <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="stringliteral">* &lt;https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL&gt;</span></div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="stringliteral">* &lt;http://www.circuitsathome.com/mcu/xbox360-controller-support-added-to-usb-host-shield-2-0-library&gt;</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/07/xbox-360-controller-support-added-to-the-usb-host-library/&gt;</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="stringliteral">### [Wii library](Wii.cpp)</span></div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/12/xbox-360-receiver-added-to-the-usb-host-library/&gt;</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="stringliteral">The [Wii](Wii.cpp) library support the Wiimote, but also the Nunchuch and Motion Plus extensions via Bluetooth. The Wii U Pro Controller is also supported via Bluetooth.</span></div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="stringliteral">All the information regarding the Xbox 360 controller protocol are form these sites:</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="stringliteral">First you have to pair with the controller, this is done automatically by the library if you create the instance like so:</span></div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="stringliteral">* &lt;http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/UsbInfo&gt;</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;<span class="stringliteral">* &lt;http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/WirelessUsbInfo&gt;</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="stringliteral">```</span></div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="stringliteral">* &lt;https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL&gt;</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="stringliteral">WII Wii(&amp;Btd,PAIR);</span></div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="stringliteral">```</span></div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="stringliteral">### [Wii library](Wii.cpp)</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="stringliteral">And then press 1 &amp; 2 at once on the Wiimote or press sync if you are using a Wii U Pro Controller.</span></div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="stringliteral">The [Wii](Wii.cpp) library support the Wiimote, but also the Nunchuch and Motion Plus extensions via Bluetooth. The Wii U Pro Controller is also supported via Bluetooth.</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="stringliteral">After that you can simply create the instance like so:</span></div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="stringliteral">First you have to pair with the controller, this is done automatically by the library if you create the instance like so:</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="stringliteral">```</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="stringliteral">```</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="stringliteral">WII Wii(&amp;Btd);</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="stringliteral">WII Wii(&amp;Btd,PAIR);</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<span class="stringliteral">```</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<span class="stringliteral">```</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="stringliteral">Then just press any button any button on the Wiimote and it will connect to the dongle.</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="stringliteral">And then press 1 &amp; 2 at once on the Wiimote or press sync if you are using a Wii U Pro Controller.</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;<span class="stringliteral">Take a look at the example for more information: &lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/Wii/Wii.ino&gt;.</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;<span class="stringliteral">After that you can simply create the instance like so:</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="stringliteral">Also take a look at the blog post:</span></div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="stringliteral">```</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="stringliteral">WII Wii(&amp;Btd);</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/08/wiimote-added-to-usb-host-library/&gt;</span></div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="stringliteral">```</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="stringliteral">All the information about the Wii controllers are from these sites:</span></div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="stringliteral">Then just press any button on the Wiimote and it will then connect to the dongle.</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote&gt;</span></div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="stringliteral">Take a look at the example for more information: &lt;https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/Wii/Wii.ino&gt;.</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers&gt;</span></div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck&gt;</span></div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<span class="stringliteral">Also take a look at the blog post:</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Wii_Motion_Plus&gt;</span></div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="stringliteral">* The old library created by _Tomoyuki Tanaka_: &lt;https://github.com/moyuchin/WiiRemote_on_Arduino&gt; also helped a lot.</span></div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="stringliteral">* &lt;http://blog.tkjelectronics.dk/2012/08/wiimote-added-to-usb-host-library/&gt;</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="stringliteral"># FAQ</span></div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="stringliteral">All the information about the Wii controllers are from these sites:</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="stringliteral">&gt; When I plug my device into the USB connector nothing happens?</span></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote&gt;</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="stringliteral"></span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers&gt;</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="stringliteral">Try to connect a external power supply to the Arduino - this solves the problem in most cases.</span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck&gt;</span></div>
<div class="ttc" id="class_m_a_x3421e_html"><div class="ttname"><a href="class_m_a_x3421e.html">MAX3421e</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00062">usbhost.h:62</a></div></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="stringliteral">* &lt;http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Wii_Motion_Plus&gt;</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="stringliteral">* The old library created by _Tomoyuki Tanaka_: &lt;https://github.com/moyuchin/WiiRemote_on_Arduino&gt; also helped a lot.</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="stringliteral"># FAQ</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="stringliteral">&gt; When I plug my device into the USB connector nothing happens?</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="stringliteral">Try to connect a external power supply to the Arduino - this solves the problem in most cases.</span></div>
<div class="ttc" id="class_m_a_x3421e_html"><div class="ttname"><a href="class_m_a_x3421e.html">MAX3421e</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00081">usbhost.h:81</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->

File diff suppressed because it is too large Load diff

View file

@ -251,7 +251,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordtype">void</span> RFCOMM_task(); <span class="comment">// RFCOMM state machine</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordtype">void</span> RFCOMM_task(); <span class="comment">// RFCOMM state machine</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="comment">/* SDP Commands */</span></div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="comment">/* SDP Commands */</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> SDP_Command(uint8_t* data, uint8_t nbytes);</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> SDP_Command(uint8_t *data, uint8_t nbytes);</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">void</span> serviceNotSupported(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">void</span> serviceNotSupported(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordtype">void</span> serialPortResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordtype">void</span> serialPortResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">void</span> serialPortResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">void</span> serialPortResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
@ -259,30 +259,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordtype">void</span> l2capResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordtype">void</span> l2capResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">/* RFCOMM Commands */</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">/* RFCOMM Commands */</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordtype">void</span> RFCOMM_Command(uint8_t* data, uint8_t nbytes);</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordtype">void</span> RFCOMM_Command(uint8_t *data, uint8_t nbytes);</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordtype">void</span> sendRfcomm(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t* data, uint8_t length);</div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordtype">void</span> sendRfcomm(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t *data, uint8_t length);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordtype">void</span> sendRfcommCredit(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t credit);</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordtype">void</span> sendRfcommCredit(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t credit);</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; uint8_t calcFcs(uint8_t *data);</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; uint8_t calcFcs(uint8_t *data);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; uint8_t __crc(uint8_t* data);</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordtype">bool</span> checkFcs(uint8_t *data, uint8_t fcs);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;};</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; uint8_t crc(uint8_t *data);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;};</div>
<div class="ttc" id="class_s_p_p_html_a6fb231316ca9b1028322d2d2188b27b0"><div class="ttname"><a href="class_s_p_p.html#a6fb231316ca9b1028322d2d2188b27b0">SPP::write</a></div><div class="ttdeci">virtual size_t write(uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00739">SPP.cpp:739</a></div></div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div> <div class="ttc" id="class_s_p_p_html_a6fb231316ca9b1028322d2d2188b27b0"><div class="ttname"><a href="class_s_p_p.html#a6fb231316ca9b1028322d2d2188b27b0">SPP::write</a></div><div class="ttdeci">virtual size_t write(uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00759">SPP.cpp:759</a></div></div>
<div class="ttc" id="class_s_p_p_html_a235d75f40a32a5905fd8fedcc37aa350"><div class="ttname"><a href="class_s_p_p.html#a235d75f40a32a5905fd8fedcc37aa350">SPP::flush</a></div><div class="ttdeci">virtual void flush(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00784">SPP.cpp:784</a></div></div> <div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_s_p_p_html_a235d75f40a32a5905fd8fedcc37aa350"><div class="ttname"><a href="class_s_p_p.html#a235d75f40a32a5905fd8fedcc37aa350">SPP::flush</a></div><div class="ttdeci">virtual void flush(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00804">SPP.cpp:804</a></div></div>
<div class="ttc" id="class_s_p_p_html_ade5d4f0ab50ddcad14f75fce4450a028"><div class="ttname"><a href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">SPP::connected</a></div><div class="ttdeci">bool connected</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8h_source.html#l00111">SPP.h:111</a></div></div> <div class="ttc" id="class_s_p_p_html_ade5d4f0ab50ddcad14f75fce4450a028"><div class="ttname"><a href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">SPP::connected</a></div><div class="ttdeci">bool connected</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8h_source.html#l00111">SPP.h:111</a></div></div>
<div class="ttc" id="class_s_p_p_html_aae8dc037e845480f582afea57b858b95"><div class="ttname"><a href="class_s_p_p.html#aae8dc037e845480f582afea57b858b95">SPP::read</a></div><div class="ttdeci">virtual int read(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00794">SPP.cpp:794</a></div></div> <div class="ttc" id="class_s_p_p_html_aae8dc037e845480f582afea57b858b95"><div class="ttname"><a href="class_s_p_p.html#aae8dc037e845480f582afea57b858b95">SPP::read</a></div><div class="ttdeci">virtual int read(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00814">SPP.cpp:814</a></div></div>
<div class="ttc" id="class_s_p_p_html_a2de67ee7ad1be9d2f3daf7dc08dc5f90"><div class="ttname"><a href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00417">SPP.cpp:417</a></div></div> <div class="ttc" id="class_s_p_p_html_a2de67ee7ad1be9d2f3daf7dc08dc5f90"><div class="ttname"><a href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00429">SPP.cpp:429</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00137">BTD.h:137</a></div></div> <div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00139">BTD.h:139</a></div></div>
<div class="ttc" id="class_s_p_p_html_ae2c661bd46cd2d74bd29c4c771cd2ef0"><div class="ttname"><a href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">SPP::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00063">SPP.cpp:63</a></div></div> <div class="ttc" id="class_s_p_p_html_ae2c661bd46cd2d74bd29c4c771cd2ef0"><div class="ttname"><a href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">SPP::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00063">SPP.cpp:63</a></div></div>
<div class="ttc" id="class_s_p_p_html_ae5cb4167b3ab9c891398f54729c6da81"><div class="ttname"><a href="class_s_p_p.html#ae5cb4167b3ab9c891398f54729c6da81">SPP::SPP</a></div><div class="ttdeci">SPP(BTD *p, const char *name=&quot;Arduino&quot;, const char *pin=&quot;1234&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00045">SPP.cpp:45</a></div></div> <div class="ttc" id="class_s_p_p_html_ae5cb4167b3ab9c891398f54729c6da81"><div class="ttname"><a href="class_s_p_p.html#ae5cb4167b3ab9c891398f54729c6da81">SPP::SPP</a></div><div class="ttdeci">SPP(BTD *p, const char *name=&quot;Arduino&quot;, const char *pin=&quot;1234&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00045">SPP.cpp:45</a></div></div>
<div class="ttc" id="class_s_p_p_html_a731eb43856854b6a406e9cfa3f9e57a4"><div class="ttname"><a href="class_s_p_p.html#a731eb43856854b6a406e9cfa3f9e57a4">SPP::available</a></div><div class="ttdeci">virtual int available(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00780">SPP.cpp:780</a></div></div> <div class="ttc" id="class_s_p_p_html_a731eb43856854b6a406e9cfa3f9e57a4"><div class="ttname"><a href="class_s_p_p.html#a731eb43856854b6a406e9cfa3f9e57a4">SPP::available</a></div><div class="ttdeci">virtual int available(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00800">SPP.cpp:800</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a32d591ef5742a99963130616ef146787"><div class="ttname"><a href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a></div><div class="ttdeci">#define BULK_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00033">BTD.h:33</a></div></div>
<div class="ttc" id="class_s_p_p_html_a2b4b1f85f553c6a2fdd523e50c75c7b0"><div class="ttname"><a href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00074">SPP.cpp:74</a></div></div> <div class="ttc" id="class_s_p_p_html_a2b4b1f85f553c6a2fdd523e50c75c7b0"><div class="ttname"><a href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00074">SPP.cpp:74</a></div></div>
<div class="ttc" id="class_s_p_p_html"><div class="ttname"><a href="class_s_p_p.html">SPP</a></div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8h_source.html#l00093">SPP.h:93</a></div></div> <div class="ttc" id="class_s_p_p_html"><div class="ttname"><a href="class_s_p_p.html">SPP</a></div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8h_source.html#l00093">SPP.h:93</a></div></div>
<div class="ttc" id="class_s_p_p_html_ab6c20e303965056403ae5aef1d228858"><div class="ttname"><a href="class_s_p_p.html#ab6c20e303965056403ae5aef1d228858">SPP::send</a></div><div class="ttdeci">void send(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00752">SPP.cpp:752</a></div></div> <div class="ttc" id="class_s_p_p_html_ab6c20e303965056403ae5aef1d228858"><div class="ttname"><a href="class_s_p_p.html#ab6c20e303965056403ae5aef1d228858">SPP::send</a></div><div class="ttdeci">void send(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00772">SPP.cpp:772</a></div></div>
<div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div> <div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div>
<div class="ttc" id="class_s_p_p_html_abdfe9453fb82781bec53a191c2e9fb1d"><div class="ttname"><a href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">SPP::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00086">SPP.cpp:86</a></div></div> <div class="ttc" id="class_s_p_p_html_abdfe9453fb82781bec53a191c2e9fb1d"><div class="ttname"><a href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">SPP::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00086">SPP.cpp:86</a></div></div>
<div class="ttc" id="class_s_p_p_html_a3149d75ba4646ba5b5428c465e983144"><div class="ttname"><a href="class_s_p_p.html#a3149d75ba4646ba5b5428c465e983144">SPP::peek</a></div><div class="ttdeci">virtual int peek(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00788">SPP.cpp:788</a></div></div> <div class="ttc" id="class_s_p_p_html_a3149d75ba4646ba5b5428c465e983144"><div class="ttname"><a href="class_s_p_p.html#a3149d75ba4646ba5b5428c465e983144">SPP::peek</a></div><div class="ttdeci">virtual int peek(void)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_p_8cpp_source.html#l00808">SPP.cpp:808</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -658,238 +658,241 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;uint8_t USB::AttemptConfig(uint8_t driver, uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;uint8_t USB::AttemptConfig(uint8_t driver, uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; <span class="comment">//printf(&quot;AttemptConfig: parent = %i, port = %i\r\n&quot;, parent, port);</span></div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; <span class="comment">//printf(&quot;AttemptConfig: parent = %i, port = %i\r\n&quot;, parent, port);</span></div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160;</div> <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; uint8_t retries = 0;</div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160;again:</div> <div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160;</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; uint8_t rcode = devConfig[driver]-&gt;<a class="code" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a>(parent, port, lowspeed);</div> <div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160;again:</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="keywordflow">if</span> (rcode == <a class="code" href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a>) {</div> <div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; uint8_t rcode = devConfig[driver]-&gt;<a class="code" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a>(parent, port, lowspeed);</div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keywordflow">if</span> (parent == 0) {</div> <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keywordflow">if</span> (rcode == <a class="code" href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a>) {</div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; <span class="comment">// Send a bus reset on the root interface.</span></div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; <span class="keywordflow">if</span> (parent == 0) {</div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <a class="code" href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">regWr</a>(<a class="code" href="max3421e_8h.html#a7e82a85eb165f82afde45df5f98504ff">rHCTL</a>, <a class="code" href="max3421e_8h.html#ab59b41d6ecb3a04e5bfc38b0eee4aec0">bmBUSRST</a>); <span class="comment">//issue bus reset</span></div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="comment">// Send a bus reset on the root interface.</span></div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; delay(102); <span class="comment">// delay 102ms, compensate for clock inaccuracy.</span></div> <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; <a class="code" href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">regWr</a>(<a class="code" href="max3421e_8h.html#a7e82a85eb165f82afde45df5f98504ff">rHCTL</a>, <a class="code" href="max3421e_8h.html#ab59b41d6ecb3a04e5bfc38b0eee4aec0">bmBUSRST</a>); <span class="comment">//issue bus reset</span></div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160; } <span class="keywordflow">else</span> {</div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160; delay(102); <span class="comment">// delay 102ms, compensate for clock inaccuracy.</span></div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; <span class="comment">// reset parent port</span></div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160; devConfig[parent]-&gt;<a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(port);</div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160; <span class="comment">// reset parent port</span></div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; }</div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; devConfig[parent]-&gt;<a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(port);</div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rcode == <a class="code" href="max3421e_8h.html#aa128de549704094dadb93daa8875472b">hrJERR</a>) { <span class="comment">// Some devices returns this when plugged in - trying to initialize the device again usually works</span></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; }</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; delay(100);</div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rcode == <a class="code" href="max3421e_8h.html#aa128de549704094dadb93daa8875472b">hrJERR</a> &amp;&amp; retries &lt; 3) { <span class="comment">// Some devices returns this when plugged in - trying to initialize the device again usually works</span></div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; <span class="keywordflow">goto</span> again;</div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; delay(100);</div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rcode)</div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; retries++;</div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; <span class="keywordflow">goto</span> again;</div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;</div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rcode)</div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; rcode = devConfig[driver]-&gt;<a class="code" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">Init</a>(parent, port, lowspeed);</div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160; <span class="keywordflow">if</span> (rcode == <a class="code" href="max3421e_8h.html#aa128de549704094dadb93daa8875472b">hrJERR</a>) { <span class="comment">// Some devices returns this when plugged in - trying to initialize the device again usually works</span></div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;</div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; delay(100);</div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; rcode = devConfig[driver]-&gt;<a class="code" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">Init</a>(parent, port, lowspeed);</div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keywordflow">goto</span> again;</div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keywordflow">if</span> (rcode == <a class="code" href="max3421e_8h.html#aa128de549704094dadb93daa8875472b">hrJERR</a> &amp;&amp; retries &lt; 3) { <span class="comment">// Some devices returns this when plugged in - trying to initialize the device again usually works</span></div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; }</div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; delay(100);</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; retries++;</div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; <span class="comment">// Issue a bus reset, because the device may be in a limbo state</span></div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; <span class="keywordflow">goto</span> again;</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; <span class="keywordflow">if</span> (parent == 0) {</div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; }</div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; <span class="comment">// Send a bus reset on the root interface.</span></div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; <a class="code" href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">regWr</a>(<a class="code" href="max3421e_8h.html#a7e82a85eb165f82afde45df5f98504ff">rHCTL</a>, <a class="code" href="max3421e_8h.html#ab59b41d6ecb3a04e5bfc38b0eee4aec0">bmBUSRST</a>); <span class="comment">//issue bus reset</span></div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; <span class="comment">// Issue a bus reset, because the device may be in a limbo state</span></div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; delay(102); <span class="comment">// delay 102ms, compensate for clock inaccuracy.</span></div> <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; <span class="keywordflow">if</span> (parent == 0) {</div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160; } <span class="keywordflow">else</span> {</div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160; <span class="comment">// Send a bus reset on the root interface.</span></div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; <span class="comment">// reset parent port</span></div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; <a class="code" href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">regWr</a>(<a class="code" href="max3421e_8h.html#a7e82a85eb165f82afde45df5f98504ff">rHCTL</a>, <a class="code" href="max3421e_8h.html#ab59b41d6ecb3a04e5bfc38b0eee4aec0">bmBUSRST</a>); <span class="comment">//issue bus reset</span></div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; devConfig[parent]-&gt;<a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(port);</div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; delay(102); <span class="comment">// delay 102ms, compensate for clock inaccuracy.</span></div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; }</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; }</div> <div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; <span class="comment">// reset parent port</span></div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; devConfig[parent]-&gt;<a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(port);</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160;}</div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; }</div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160;</div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; }</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160;<span class="comment">/*</span></div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;<span class="comment"> * This is broken. We need to enumerate differently.</span></div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;}</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160;<span class="comment"> * It causes major problems with several devices if detected in an unexpected order.</span></div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160;</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;<span class="comment"> *</span></div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;<span class="comment"> *</span></div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;<span class="comment"> * This is broken. We need to enumerate differently.</span></div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="comment"> * Oleg - I wouldn&#39;t do anything before the newly connected device is considered sane.</span></div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="comment"> * It causes major problems with several devices if detected in an unexpected order.</span></div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="comment"> * i.e.(delays are not indicated for brevity):</span></div> <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="comment"> * 1. reset</span></div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="comment"> * 2. GetDevDescr();</span></div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="comment"> * Oleg - I wouldn&#39;t do anything before the newly connected device is considered sane.</span></div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="comment"> * 3a. If ACK, continue with allocating address, addressing, etc.</span></div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="comment"> * i.e.(delays are not indicated for brevity):</span></div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;<span class="comment"> * 3b. Else reset again, count resets, stop at some number (5?).</span></div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;<span class="comment"> * 1. reset</span></div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="comment"> * 4. When max.number of resets is reached, toggle power/fail</span></div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="comment"> * 2. GetDevDescr();</span></div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<span class="comment"> * If desired, this could be modified by performing two resets with GetDevDescr() in the middle - however, from my experience, if a device answers to GDD()</span></div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<span class="comment"> * 3a. If ACK, continue with allocating address, addressing, etc.</span></div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<span class="comment"> * it doesn&#39;t need to be reset again</span></div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<span class="comment"> * 3b. Else reset again, count resets, stop at some number (5?).</span></div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;<span class="comment"> * New steps proposal:</span></div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;<span class="comment"> * 4. When max.number of resets is reached, toggle power/fail</span></div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;<span class="comment"> * 1: get address pool instance. exit on fail</span></div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;<span class="comment"> * If desired, this could be modified by performing two resets with GetDevDescr() in the middle - however, from my experience, if a device answers to GDD()</span></div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="comment"> * 2: pUsb-&gt;getDevDescr(0, 0, constBufSize, (uint8_t*)buf). exit on fail.</span></div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="comment"> * it doesn&#39;t need to be reset again</span></div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="comment"> * 3: bus reset, 100ms delay</span></div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="comment"> * New steps proposal:</span></div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;<span class="comment"> * 4: set address</span></div> <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;<span class="comment"> * 1: get address pool instance. exit on fail</span></div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="comment"> * 5: pUsb-&gt;setEpInfoEntry(bAddress, 1, epInfo), exit on fail</span></div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="comment"> * 2: pUsb-&gt;getDevDescr(0, 0, constBufSize, (uint8_t*)buf). exit on fail.</span></div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;<span class="comment"> * 6: while (configurations) {</span></div> <div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;<span class="comment"> * 3: bus reset, 100ms delay</span></div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160;<span class="comment"> * for(each configuration) {</span></div> <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160;<span class="comment"> * 4: set address</span></div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;<span class="comment"> * for (each driver) {</span></div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;<span class="comment"> * 5: pUsb-&gt;setEpInfoEntry(bAddress, 1, epInfo), exit on fail</span></div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;<span class="comment"> * 6a: Ask device if it likes configuration. Returns 0 on OK.</span></div> <div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;<span class="comment"> * 6: while (configurations) {</span></div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;<span class="comment"> * If successful, the driver configured device.</span></div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;<span class="comment"> * for(each configuration) {</span></div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;<span class="comment"> * The driver now owns the endpoints, and takes over managing them.</span></div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;<span class="comment"> * for (each driver) {</span></div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;<span class="comment"> * The following will need codes:</span></div> <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;<span class="comment"> * 6a: Ask device if it likes configuration. Returns 0 on OK.</span></div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;<span class="comment"> * Everything went well, instance consumed, exit with success.</span></div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;<span class="comment"> * If successful, the driver configured device.</span></div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;<span class="comment"> * Instance already in use, ignore it, try next driver.</span></div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;<span class="comment"> * The driver now owns the endpoints, and takes over managing them.</span></div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;<span class="comment"> * Not a supported device, ignore it, try next driver.</span></div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;<span class="comment"> * The following will need codes:</span></div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;<span class="comment"> * Not a supported configuration for this device, ignore it, try next driver.</span></div> <div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;<span class="comment"> * Everything went well, instance consumed, exit with success.</span></div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160;<span class="comment"> * Could not configure device, fatal, exit with fail.</span></div> <div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160;<span class="comment"> * Instance already in use, ignore it, try next driver.</span></div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160;<span class="comment"> * }</span></div> <div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160;<span class="comment"> * Not a supported device, ignore it, try next driver.</span></div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;<span class="comment"> * }</span></div> <div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;<span class="comment"> * Not a supported configuration for this device, ignore it, try next driver.</span></div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160;<span class="comment"> * }</span></div> <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160;<span class="comment"> * Could not configure device, fatal, exit with fail.</span></div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;<span class="comment"> * 7: for(each driver) {</span></div> <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;<span class="comment"> * }</span></div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;<span class="comment"> * 7a: Ask device if it knows this VID/PID. Acts exactly like 6a, but using VID/PID</span></div> <div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;<span class="comment"> * }</span></div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;<span class="comment"> * 8: if we get here, no driver likes the device plugged in, so exit failure.</span></div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;<span class="comment"> * }</span></div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="comment"> *</span></div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="comment"> * 7: for(each driver) {</span></div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="comment"> */</span></div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="comment"> * 7a: Ask device if it knows this VID/PID. Acts exactly like 6a, but using VID/PID</span></div>
<div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765"> 647</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160;<span class="comment"> * 8: if we get here, no driver likes the device plugged in, so exit failure.</span></div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="comment">//uint8_t bAddress = 0;</span></div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; <span class="comment">//printf(&quot;Configuring: parent = %i, port = %i\r\n&quot;, parent, port);</span></div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; uint8_t devConfigIndex;</div> <div class="line"><a name="l00650"></a><span class="lineno"><a class="line" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765"> 650</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; uint8_t rcode = 0;</div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; <span class="comment">//uint8_t bAddress = 0;</span></div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; uint8_t buf[<span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>)];</div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; <span class="comment">//printf(&quot;Configuring: parent = %i, port = %i\r\n&quot;, parent, port);</span></div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div> <div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; uint8_t devConfigIndex;</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> *oldep_ptr = NULL;</div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; uint8_t rcode = 0;</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> epInfo;</div> <div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; uint8_t buf[<span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>)];</div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160;</div> <div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0;</div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> *oldep_ptr = NULL;</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = 8;</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> epInfo;</div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = 0;</div> <div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160;</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = <a class="code" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a>;</div> <div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0;</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160;</div> <div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = 8;</div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; <span class="comment">//delay(2000);</span></div> <div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = 0;</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; <a class="code" href="class_address_pool.html">AddressPool</a> &amp;addrPool = <a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>();</div> <div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; epInfo.<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = <a class="code" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a>;</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div> <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160;</div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(0);</div> <div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <span class="comment">//delay(2000);</span></div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <span class="keywordflow">if</span> (!p) {</div> <div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <a class="code" href="class_address_pool.html">AddressPool</a> &amp;addrPool = <a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>();</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; <span class="comment">//printf(&quot;Configuring error: USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL\r\n&quot;);</span></div> <div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div> <div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(0);</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; }</div> <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="keywordflow">if</span> (!p) {</div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;</div> <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; <span class="comment">//printf(&quot;Configuring error: USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL\r\n&quot;);</span></div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div> <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; oldep_ptr = p-&gt;epinfo;</div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; }</div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;</div> <div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <span class="comment">// Temporary assign new pointer to epInfo to p-&gt;epinfo in order to</span></div> <div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; <span class="comment">// avoid toggle inconsistence</span></div> <div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; oldep_ptr = p-&gt;epinfo;</div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160;</div> <div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160;</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; p-&gt;epinfo = &amp;epInfo;</div> <div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; <span class="comment">// Temporary assign new pointer to epInfo to p-&gt;epinfo in order to</span></div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;</div> <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <span class="comment">// avoid toggle inconsistence</span></div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; p-&gt;lowspeed = lowspeed;</div> <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160;</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; <span class="comment">// Get device descriptor</span></div> <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; p-&gt;epinfo = &amp;epInfo;</div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; rcode = <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a>(0, 0, <span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>), (uint8_t*)buf);</div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160;</div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; p-&gt;lowspeed = lowspeed;</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="comment">// Restore p-&gt;epinfo</span></div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="comment">// Get device descriptor</span></div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; p-&gt;epinfo = oldep_ptr;</div> <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; rcode = <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a>(0, 0, <span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>), (uint8_t*)buf);</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div> <div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; <span class="comment">// Restore p-&gt;epinfo</span></div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; <span class="comment">//printf(&quot;Configuring error: Can&#39;t get USB_DEVICE_DESCRIPTOR\r\n&quot;);</span></div> <div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; p-&gt;epinfo = oldep_ptr;</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160;</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; }</div> <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160;</div> <div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <span class="comment">//printf(&quot;Configuring error: Can&#39;t get USB_DEVICE_DESCRIPTOR\r\n&quot;);</span></div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; <span class="comment">// to-do?</span></div> <div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; <span class="comment">// Allocate new address according to device class</span></div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; }</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <span class="comment">//bAddress = addrPool.AllocAddress(parent, false, port);</span></div> <div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160;</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160;</div> <div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; <span class="comment">// to-do?</span></div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; <span class="comment">//if (!bAddress)</span></div> <div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; <span class="comment">// Allocate new address according to device class</span></div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <span class="comment">// return USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL;</span></div> <div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <span class="comment">//bAddress = addrPool.AllocAddress(parent, false, port);</span></div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160;</div> <div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160;</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; uint16_t vid = (uint16_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idVendor;</div> <div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; <span class="comment">//if (!bAddress)</span></div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; uint16_t pid = (uint16_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct;</div> <div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; <span class="comment">// return USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL;</span></div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; uint8_t klass = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bDeviceClass;</div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160;</div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;</div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160; uint16_t vid = (uint16_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idVendor;</div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160; <span class="comment">// Attempt to configure if VID/PID or device class matches with a driver</span></div> <div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160; uint16_t pid = (uint16_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct;</div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160; <span class="keywordflow">for</span> (devConfigIndex = 0; devConfigIndex &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; devConfigIndex++) {</div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160; uint8_t klass = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bDeviceClass;</div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; <span class="keywordflow">if</span> (!devConfig[devConfigIndex]) <span class="keywordflow">continue</span>; <span class="comment">// no driver</span></div> <div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160;</div>
<div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;GetAddress()) <span class="keywordflow">continue</span>; <span class="comment">// consumed</span></div> <div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160; <span class="comment">// Attempt to configure if VID/PID or device class matches with a driver</span></div>
<div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;VIDPIDOK(vid, pid) || devConfig[devConfigIndex]-&gt;<a class="code" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(klass)) {</div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; <span class="keywordflow">for</span> (devConfigIndex = 0; devConfigIndex &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; devConfigIndex++) {</div>
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; rcode = AttemptConfig(devConfigIndex, parent, port, lowspeed);</div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; <span class="keywordflow">if</span> (!devConfig[devConfigIndex]) <span class="keywordflow">continue</span>; <span class="comment">// no driver</span></div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; <span class="keywordflow">if</span> (rcode != <a class="code" href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a>)</div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;GetAddress()) <span class="keywordflow">continue</span>; <span class="comment">// consumed</span></div>
<div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;VIDPIDOK(vid, pid) || devConfig[devConfigIndex]-&gt;<a class="code" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(klass)) {</div>
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; }</div> <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; rcode = AttemptConfig(devConfigIndex, parent, port, lowspeed);</div>
<div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; }</div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; <span class="keywordflow">if</span> (rcode != <a class="code" href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a>)</div>
<div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160;</div> <div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160; <span class="keywordflow">if</span> (devConfigIndex &lt; USB_NUMDEVICES) {</div> <div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160; }</div>
<div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160; }</div>
<div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160; }</div> <div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160;</div>
<div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160;</div> <div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160; <span class="keywordflow">if</span> (devConfigIndex &lt; USB_NUMDEVICES) {</div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160;</div> <div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160; <span class="comment">// blindly attempt to configure</span></div> <div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160; }</div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160; <span class="keywordflow">for</span> (devConfigIndex = 0; devConfigIndex &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; devConfigIndex++) {</div> <div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160;</div>
<div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160; <span class="keywordflow">if</span> (!devConfig[devConfigIndex]) <span class="keywordflow">continue</span>;</div> <div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160;</div>
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;GetAddress()) <span class="keywordflow">continue</span>; <span class="comment">// consumed</span></div> <div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160; <span class="comment">// blindly attempt to configure</span></div>
<div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;VIDPIDOK(vid, pid) || devConfig[devConfigIndex]-&gt;DEVCLASSOK(klass)) <span class="keywordflow">continue</span>; <span class="comment">// If this is true it means it must have returned USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED above</span></div> <div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160; <span class="keywordflow">for</span> (devConfigIndex = 0; devConfigIndex &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; devConfigIndex++) {</div>
<div class="line"><a name="l00723"></a><span class="lineno"> 723</span>&#160; rcode = AttemptConfig(devConfigIndex, parent, port, lowspeed);</div> <div class="line"><a name="l00723"></a><span class="lineno"> 723</span>&#160; <span class="keywordflow">if</span> (!devConfig[devConfigIndex]) <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160;</div> <div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;GetAddress()) <span class="keywordflow">continue</span>; <span class="comment">// consumed</span></div>
<div class="line"><a name="l00725"></a><span class="lineno"> 725</span>&#160; <span class="comment">//printf(&quot;ERROR ENUMERATING %2.2x\r\n&quot;, rcode);</span></div> <div class="line"><a name="l00725"></a><span class="lineno"> 725</span>&#160; <span class="keywordflow">if</span> (devConfig[devConfigIndex]-&gt;VIDPIDOK(vid, pid) || devConfig[devConfigIndex]-&gt;DEVCLASSOK(klass)) <span class="keywordflow">continue</span>; <span class="comment">// If this is true it means it must have returned USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED above</span></div>
<div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160; <span class="keywordflow">if</span> (!(rcode == <a class="code" href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a> || rcode == <a class="code" href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>)) {</div> <div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160; rcode = AttemptConfig(devConfigIndex, parent, port, lowspeed);</div>
<div class="line"><a name="l00727"></a><span class="lineno"> 727</span>&#160; <span class="comment">// in case of an error dev_index should be reset to 0</span></div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</span>&#160;</div>
<div class="line"><a name="l00728"></a><span class="lineno"> 728</span>&#160; <span class="comment">// in order to start from the very beginning the</span></div> <div class="line"><a name="l00728"></a><span class="lineno"> 728</span>&#160; <span class="comment">//printf(&quot;ERROR ENUMERATING %2.2x\r\n&quot;, rcode);</span></div>
<div class="line"><a name="l00729"></a><span class="lineno"> 729</span>&#160; <span class="comment">// next time the program gets here</span></div> <div class="line"><a name="l00729"></a><span class="lineno"> 729</span>&#160; <span class="keywordflow">if</span> (!(rcode == <a class="code" href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a> || rcode == <a class="code" href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>)) {</div>
<div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160; <span class="comment">//if (rcode != USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE)</span></div> <div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160; <span class="comment">// in case of an error dev_index should be reset to 0</span></div>
<div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160; <span class="comment">// devConfigIndex = 0;</span></div> <div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160; <span class="comment">// in order to start from the very beginning the</span></div>
<div class="line"><a name="l00732"></a><span class="lineno"> 732</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00732"></a><span class="lineno"> 732</span>&#160; <span class="comment">// next time the program gets here</span></div>
<div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160; }</div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160; <span class="comment">//if (rcode != USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE)</span></div>
<div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160; }</div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160; <span class="comment">// devConfigIndex = 0;</span></div>
<div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160; <span class="comment">// if we get here that means that the device class is not supported by any of registered classes</span></div> <div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160; rcode = <a class="code" href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">DefaultAddressing</a>(parent, port, lowspeed);</div> <div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160; }</div>
<div class="line"><a name="l00737"></a><span class="lineno"> 737</span>&#160;</div> <div class="line"><a name="l00737"></a><span class="lineno"> 737</span>&#160; }</div>
<div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160; <span class="comment">// if we get here that means that the device class is not supported by any of registered classes</span></div>
<div class="line"><a name="l00739"></a><span class="lineno"> 739</span>&#160;}</div> <div class="line"><a name="l00739"></a><span class="lineno"> 739</span>&#160; rcode = <a class="code" href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">DefaultAddressing</a>(parent, port, lowspeed);</div>
<div class="line"><a name="l00740"></a><span class="lineno"> 740</span>&#160;</div> <div class="line"><a name="l00740"></a><span class="lineno"> 740</span>&#160;</div>
<div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a"> 741</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a>(uint8_t addr) {</div> <div class="line"><a name="l00741"></a><span class="lineno"> 741</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00742"></a><span class="lineno"> 742</span>&#160; <span class="keywordflow">if</span> (!addr)</div> <div class="line"><a name="l00742"></a><span class="lineno"> 742</span>&#160;}</div>
<div class="line"><a name="l00743"></a><span class="lineno"> 743</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00743"></a><span class="lineno"> 743</span>&#160;</div>
<div class="line"><a name="l00744"></a><span class="lineno"> 744</span>&#160;</div> <div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a"> 744</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a>(uint8_t addr) {</div>
<div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; i++) {</div> <div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160; <span class="keywordflow">if</span> (!addr)</div>
<div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; <span class="keywordflow">if</span>(!devConfig[i]) <span class="keywordflow">continue</span>;</div> <div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160; <span class="keywordflow">if</span> (devConfig[i]-&gt;GetAddress() == addr)</div> <div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160;</div>
<div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160; <span class="keywordflow">return</span> devConfig[i]-&gt;<a class="code" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">Release</a>();</div> <div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; i++) {</div>
<div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160; }</div> <div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160; <span class="keywordflow">if</span>(!devConfig[i]) <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160; <span class="keywordflow">if</span> (devConfig[i]-&gt;GetAddress() == addr)</div>
<div class="line"><a name="l00751"></a><span class="lineno"> 751</span>&#160;}</div> <div class="line"><a name="l00751"></a><span class="lineno"> 751</span>&#160; <span class="keywordflow">return</span> devConfig[i]-&gt;<a class="code" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">Release</a>();</div>
<div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160;</div> <div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160; }</div>
<div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160;<span class="preprocessor">#if 1 </span></div> <div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160;<span class="preprocessor">//get device descriptor</span></div> <div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160;}</div>
<div class="line"><a name="l00755"></a><span class="lineno"> 755</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00755"></a><span class="lineno"> 755</span>&#160;</div>
<div class="line"><a name="l00756"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24"> 756</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr) {</div> <div class="line"><a name="l00756"></a><span class="lineno"> 756</span>&#160;<span class="preprocessor">#if 1 </span></div>
<div class="line"><a name="l00757"></a><span class="lineno"> 757</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, 0x00, <a class="code" href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a>, 0x0000, nbytes, nbytes, dataptr, NULL));</div> <div class="line"><a name="l00757"></a><span class="lineno"> 757</span>&#160;<span class="preprocessor">//get device descriptor</span></div>
<div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160;}</div> <div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00759"></a><span class="lineno"> 759</span>&#160;<span class="comment">//get configuration descriptor</span></div> <div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24"> 759</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr) {</div>
<div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160;</div> <div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, 0x00, <a class="code" href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a>, 0x0000, nbytes, nbytes, dataptr, NULL));</div>
<div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89"> 761</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t* dataptr) {</div> <div class="line"><a name="l00761"></a><span class="lineno"> 761</span>&#160;}</div>
<div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, conf, <a class="code" href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a>, 0x0000, nbytes, nbytes, dataptr, NULL));</div> <div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160;<span class="comment">//get configuration descriptor</span></div>
<div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160;}</div> <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160;</div>
<div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160;</div> <div class="line"><a name="l00764"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89"> 764</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t* dataptr) {</div>
<div class="line"><a name="l00765"></a><span class="lineno"> 765</span>&#160;<span class="comment">/* Requests Configuration Descriptor. Sends two Get Conf Descr requests. The first one gets the total length of all descriptors, then the second one requests this</span></div> <div class="line"><a name="l00765"></a><span class="lineno"> 765</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, conf, <a class="code" href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a>, 0x0000, nbytes, nbytes, dataptr, NULL));</div>
<div class="line"><a name="l00766"></a><span class="lineno"> 766</span>&#160;<span class="comment"> total length. The length of the first request can be shorter ( 4 bytes ), however, there are devices which won&#39;t work unless this length is set to 9 */</span></div> <div class="line"><a name="l00766"></a><span class="lineno"> 766</span>&#160;}</div>
<div class="line"><a name="l00767"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a9ebd4acdc37b12bbab2ca893cb899eba"> 767</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a>(uint8_t addr, uint8_t ep, uint8_t conf, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *p) {</div> <div class="line"><a name="l00767"></a><span class="lineno"> 767</span>&#160;</div>
<div class="line"><a name="l00768"></a><span class="lineno"> 768</span>&#160; <span class="keyword">const</span> uint8_t bufSize = 64;</div> <div class="line"><a name="l00768"></a><span class="lineno"> 768</span>&#160;<span class="comment">/* Requests Configuration Descriptor. Sends two Get Conf Descr requests. The first one gets the total length of all descriptors, then the second one requests this</span></div>
<div class="line"><a name="l00769"></a><span class="lineno"> 769</span>&#160; uint8_t buf[bufSize];</div> <div class="line"><a name="l00769"></a><span class="lineno"> 769</span>&#160;<span class="comment"> total length. The length of the first request can be shorter ( 4 bytes ), however, there are devices which won&#39;t work unless this length is set to 9 */</span></div>
<div class="line"><a name="l00770"></a><span class="lineno"> 770</span>&#160;</div> <div class="line"><a name="l00770"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a9ebd4acdc37b12bbab2ca893cb899eba"> 770</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a>(uint8_t addr, uint8_t ep, uint8_t conf, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *p) {</div>
<div class="line"><a name="l00771"></a><span class="lineno"> 771</span>&#160; uint8_t ret = <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(addr, ep, 9, conf, buf);</div> <div class="line"><a name="l00771"></a><span class="lineno"> 771</span>&#160; <span class="keyword">const</span> uint8_t bufSize = 64;</div>
<div class="line"><a name="l00772"></a><span class="lineno"> 772</span>&#160;</div> <div class="line"><a name="l00772"></a><span class="lineno"> 772</span>&#160; uint8_t buf[bufSize];</div>
<div class="line"><a name="l00773"></a><span class="lineno"> 773</span>&#160; <span class="keywordflow">if</span> (ret)</div> <div class="line"><a name="l00773"></a><span class="lineno"> 773</span>&#160;</div>
<div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160; <span class="keywordflow">return</span> ret;</div> <div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160; uint8_t ret = <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(addr, ep, 9, conf, buf);</div>
<div class="line"><a name="l00775"></a><span class="lineno"> 775</span>&#160;</div> <div class="line"><a name="l00775"></a><span class="lineno"> 775</span>&#160;</div>
<div class="line"><a name="l00776"></a><span class="lineno"> 776</span>&#160; uint16_t total = ((<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>*)buf)-&gt;wTotalLength;</div> <div class="line"><a name="l00776"></a><span class="lineno"> 776</span>&#160; <span class="keywordflow">if</span> (ret)</div>
<div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160;</div> <div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160; <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\ntotal conf.size:&quot;, total);</span></div> <div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160;</div>
<div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;</div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160; uint16_t total = ((<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>*)buf)-&gt;wTotalLength;</div>
<div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, conf, <a class="code" href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a>, 0x0000, total, bufSize, buf, p));</div> <div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160;</div>
<div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160;}</div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\ntotal conf.size:&quot;, total);</span></div>
<div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160;</div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160;</div>
<div class="line"><a name="l00783"></a><span class="lineno"> 783</span>&#160;<span class="comment">//get string descriptor</span></div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, conf, <a class="code" href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a>, 0x0000, total, bufSize, buf, p));</div>
<div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160;</div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160;}</div>
<div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833"> 785</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t ns, uint8_t index, uint16_t langid, uint8_t* dataptr) {</div> <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160;</div>
<div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, index, <a class="code" href="usb__ch9_8h.html#abbad38caa1ca9c52f47adccd3a850aed">USB_DESCRIPTOR_STRING</a>, langid, ns, ns, dataptr, NULL));</div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160;<span class="comment">//get string descriptor</span></div>
<div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160;}</div> <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160;</div>
<div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160;<span class="comment">//set address</span></div> <div class="line"><a name="l00788"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833"> 788</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t ns, uint8_t index, uint16_t langid, uint8_t* dataptr) {</div>
<div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;</div> <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a>, <a class="code" href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a>, index, <a class="code" href="usb__ch9_8h.html#abbad38caa1ca9c52f47adccd3a850aed">USB_DESCRIPTOR_STRING</a>, langid, ns, ns, dataptr, NULL));</div>
<div class="line"><a name="l00790"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47"> 790</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a>(uint8_t oldaddr, uint8_t ep, uint8_t newaddr) {</div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160;}</div>
<div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(oldaddr, ep, <a class="code" href="_usb_core_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a>, <a class="code" href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a>, newaddr, 0x00, 0x0000, 0x0000, 0x0000, NULL, NULL));</div> <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160;<span class="comment">//set address</span></div>
<div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;}</div> <div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;</div>
<div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;<span class="comment">//set configuration</span></div> <div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47"> 793</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a>(uint8_t oldaddr, uint8_t ep, uint8_t newaddr) {</div>
<div class="line"><a name="l00794"></a><span class="lineno"> 794</span>&#160;</div> <div class="line"><a name="l00794"></a><span class="lineno"> 794</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(oldaddr, ep, <a class="code" href="_usb_core_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a>, <a class="code" href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a>, newaddr, 0x00, 0x0000, 0x0000, 0x0000, NULL, NULL));</div>
<div class="line"><a name="l00795"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378"> 795</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a>(uint8_t addr, uint8_t ep, uint8_t conf_value) {</div> <div class="line"><a name="l00795"></a><span class="lineno"> 795</span>&#160;}</div>
<div class="line"><a name="l00796"></a><span class="lineno"> 796</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a>, <a class="code" href="usb__ch9_8h.html#aadef005acc40340955d34d9767ef297c">USB_REQUEST_SET_CONFIGURATION</a>, conf_value, 0x00, 0x0000, 0x0000, 0x0000, NULL, NULL));</div> <div class="line"><a name="l00796"></a><span class="lineno"> 796</span>&#160;<span class="comment">//set configuration</span></div>
<div class="line"><a name="l00797"></a><span class="lineno"> 797</span>&#160;}</div> <div class="line"><a name="l00797"></a><span class="lineno"> 797</span>&#160;</div>
<div class="line"><a name="l00798"></a><span class="lineno"> 798</span>&#160;</div> <div class="line"><a name="l00798"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378"> 798</a></span>&#160;uint8_t <a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a>(uint8_t addr, uint8_t ep, uint8_t conf_value) {</div>
<div class="line"><a name="l00799"></a><span class="lineno"> 799</span>&#160;<span class="preprocessor">#endif // defined(USB_METHODS_INLINE)</span></div> <div class="line"><a name="l00799"></a><span class="lineno"> 799</span>&#160; <span class="keywordflow">return</span> ( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_core_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a>, <a class="code" href="usb__ch9_8h.html#aadef005acc40340955d34d9767ef297c">USB_REQUEST_SET_CONFIGURATION</a>, conf_value, 0x00, 0x0000, 0x0000, 0x0000, NULL, NULL));</div>
<div class="line"><a name="l00800"></a><span class="lineno"> 800</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00800"></a><span class="lineno"> 800</span>&#160;}</div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="line"><a name="l00801"></a><span class="lineno"> 801</span>&#160;</div>
<div class="line"><a name="l00802"></a><span class="lineno"> 802</span>&#160;<span class="preprocessor">#endif // defined(USB_METHODS_INLINE)</span></div>
<div class="line"><a name="l00803"></a><span class="lineno"> 803</span>&#160;<span class="preprocessor"></span></div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div> <div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a893ea73deab98be837c257201e7da25a"><div class="ttname"><a href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00110">UsbCore.h:110</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a893ea73deab98be837c257201e7da25a"><div class="ttname"><a href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00110">UsbCore.h:110</a></div></div>
@ -909,7 +912,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1ec9b19c0ed1e66e399ad9cf3c4a6537"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">SETUP_PKT::wLength</a></div><div class="ttdeci">uint16_t wLength</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00140">UsbCore.h:140</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1ec9b19c0ed1e66e399ad9cf3c4a6537"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">SETUP_PKT::wLength</a></div><div class="ttdeci">uint16_t wLength</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00140">UsbCore.h:140</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a1b082667723b29243b021a1829bdd8d6"><div class="ttname"><a href="_usb_core_8h.html#a1b082667723b29243b021a1829bdd8d6">USB_SETTLE_DELAY</a></div><div class="ttdeci">#define USB_SETTLE_DELAY</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00081">UsbCore.h:81</a></div></div> <div class="ttc" id="_usb_core_8h_html_a1b082667723b29243b021a1829bdd8d6"><div class="ttname"><a href="_usb_core_8h.html#a1b082667723b29243b021a1829bdd8d6">USB_SETTLE_DELAY</a></div><div class="ttdeci">#define USB_SETTLE_DELAY</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00081">UsbCore.h:81</a></div></div>
<div class="ttc" id="_usb_core_8h_html_aaadb20392558e23e3eba073e358a4493"><div class="ttname"><a href="_usb_core_8h.html#aaadb20392558e23e3eba073e358a4493">USB_ATTACHED_SUBSTATE_SETTLE</a></div><div class="ttdeci">#define USB_ATTACHED_SUBSTATE_SETTLE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00094">UsbCore.h:94</a></div></div> <div class="ttc" id="_usb_core_8h_html_aaadb20392558e23e3eba073e358a4493"><div class="ttname"><a href="_usb_core_8h.html#aaadb20392558e23e3eba073e358a4493">USB_ATTACHED_SUBSTATE_SETTLE</a></div><div class="ttdeci">#define USB_ATTACHED_SUBSTATE_SETTLE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00094">UsbCore.h:94</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_a74e387200f57bc03152247d630c166aa"><div class="ttname"><a href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">MAX3421e::regWr</a></div><div class="ttdeci">void regWr(uint8_t reg, uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00106">usbhost.h:106</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_a74e387200f57bc03152247d630c166aa"><div class="ttname"><a href="class_m_a_x3421e.html#a74e387200f57bc03152247d630c166aa">MAX3421e::regWr</a></div><div class="ttdeci">void regWr(uint8_t reg, uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00125">usbhost.h:125</a></div></div>
<div class="ttc" id="max3421e_8h_html_acdfff8cccb2ba5a3dfaa67241ffe86a4"><div class="ttname"><a href="max3421e_8h.html#acdfff8cccb2ba5a3dfaa67241ffe86a4">bmRCVTOGRD</a></div><div class="ttdeci">#define bmRCVTOGRD</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00204">max3421e.h:204</a></div></div> <div class="ttc" id="max3421e_8h_html_acdfff8cccb2ba5a3dfaa67241ffe86a4"><div class="ttname"><a href="max3421e_8h.html#acdfff8cccb2ba5a3dfaa67241ffe86a4">bmRCVTOGRD</a></div><div class="ttdeci">#define bmRCVTOGRD</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00204">max3421e.h:204</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a7cb7070e699b7815e3c45dc8f7dd67f1"><div class="ttname"><a href="_usb_core_8h.html#a7cb7070e699b7815e3c45dc8f7dd67f1">USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE</a></div><div class="ttdeci">#define USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00062">UsbCore.h:62</a></div></div> <div class="ttc" id="_usb_core_8h_html_a7cb7070e699b7815e3c45dc8f7dd67f1"><div class="ttname"><a href="_usb_core_8h.html#a7cb7070e699b7815e3c45dc8f7dd67f1">USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE</a></div><div class="ttdeci">#define USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00062">UsbCore.h:62</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a857a9899ad4f277faf074c3012e14ffa"><div class="ttname"><a href="_usb_core_8h.html#a857a9899ad4f277faf074c3012e14ffa">USB_RETRY_LIMIT</a></div><div class="ttdeci">#define USB_RETRY_LIMIT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00080">UsbCore.h:80</a></div></div> <div class="ttc" id="_usb_core_8h_html_a857a9899ad4f277faf074c3012e14ffa"><div class="ttname"><a href="_usb_core_8h.html#a857a9899ad4f277faf074c3012e14ffa">USB_RETRY_LIMIT</a></div><div class="ttdeci">#define USB_RETRY_LIMIT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00080">UsbCore.h:80</a></div></div>
@ -917,7 +920,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="usb__ch9_8h_html_ac6d0566773ed4549fe1a7a932e6c46de"><div class="ttname"><a href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a></div><div class="ttdeci">#define USB_DESCRIPTOR_DEVICE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00063">usb_ch9.h:63</a></div></div> <div class="ttc" id="usb__ch9_8h_html_ac6d0566773ed4549fe1a7a932e6c46de"><div class="ttname"><a href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a></div><div class="ttdeci">#define USB_DESCRIPTOR_DEVICE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00063">usb_ch9.h:63</a></div></div>
<div class="ttc" id="max3421e_8h_html_a6864ac74e4ed056f9eb37f1c78bd6c6f"><div class="ttname"><a href="max3421e_8h.html#a6864ac74e4ed056f9eb37f1c78bd6c6f">bmRCVTOG1</a></div><div class="ttdeci">#define bmRCVTOG1</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00186">max3421e.h:186</a></div></div> <div class="ttc" id="max3421e_8h_html_a6864ac74e4ed056f9eb37f1c78bd6c6f"><div class="ttname"><a href="max3421e_8h.html#a6864ac74e4ed056f9eb37f1c78bd6c6f">bmRCVTOG1</a></div><div class="ttdeci">#define bmRCVTOG1</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00186">max3421e.h:186</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a272428aaee5fccec4661bd5457d1928f"><div class="ttname"><a href="_usb_core_8h.html#a272428aaee5fccec4661bd5457d1928f">USB_ERROR_INVALID_MAX_PKT_SIZE</a></div><div class="ttdeci">#define USB_ERROR_INVALID_MAX_PKT_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00070">UsbCore.h:70</a></div></div> <div class="ttc" id="_usb_core_8h_html_a272428aaee5fccec4661bd5457d1928f"><div class="ttname"><a href="_usb_core_8h.html#a272428aaee5fccec4661bd5457d1928f">USB_ERROR_INVALID_MAX_PKT_SIZE</a></div><div class="ttdeci">#define USB_ERROR_INVALID_MAX_PKT_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00070">UsbCore.h:70</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="_usb_core_8h_html_ae7fd7c5bb6dc87f44724dde2ad57df87"><div class="ttname"><a href="_usb_core_8h.html#ae7fd7c5bb6dc87f44724dde2ad57df87">USB_STATE_DETACHED</a></div><div class="ttdeci">#define USB_STATE_DETACHED</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00090">UsbCore.h:90</a></div></div> <div class="ttc" id="_usb_core_8h_html_ae7fd7c5bb6dc87f44724dde2ad57df87"><div class="ttname"><a href="_usb_core_8h.html#ae7fd7c5bb6dc87f44724dde2ad57df87">USB_STATE_DETACHED</a></div><div class="ttdeci">#define USB_STATE_DETACHED</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00090">UsbCore.h:90</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a0282f9f7a0313f957e02449d7313b7b5"><div class="ttname"><a href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a></div><div class="ttdeci">#define USB_NUMDEVICES</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00083">UsbCore.h:83</a></div></div> <div class="ttc" id="_usb_core_8h_html_a0282f9f7a0313f957e02449d7313b7b5"><div class="ttname"><a href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a></div><div class="ttdeci">#define USB_NUMDEVICES</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00083">UsbCore.h:83</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
@ -934,7 +937,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="usb__ch9_8h_html_aa17b365c4eb8bd2f6a4d4e4fb5f881c7"><div class="ttname"><a href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a></div><div class="ttdeci">#define USB_DESCRIPTOR_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00064">usb_ch9.h:64</a></div></div> <div class="ttc" id="usb__ch9_8h_html_aa17b365c4eb8bd2f6a4d4e4fb5f881c7"><div class="ttname"><a href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a></div><div class="ttdeci">#define USB_DESCRIPTOR_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00064">usb_ch9.h:64</a></div></div>
<div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div>
<div class="ttc" id="max3421e_8h_html_a82f316064dd5442d86e1536d3f1d9f7a"><div class="ttname"><a href="max3421e_8h.html#a82f316064dd5442d86e1536d3f1d9f7a">bmHXFRDNIRQ</a></div><div class="ttdeci">#define bmHXFRDNIRQ</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00151">max3421e.h:151</a></div></div> <div class="ttc" id="max3421e_8h_html_a82f316064dd5442d86e1536d3f1d9f7a"><div class="ttname"><a href="max3421e_8h.html#a82f316064dd5442d86e1536d3f1d9f7a">bmHXFRDNIRQ</a></div><div class="ttdeci">#define bmHXFRDNIRQ</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00151">max3421e.h:151</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="class_u_s_b_html_a8ff8cd03496bdcb0ca26f18878ad299d"><div class="ttname"><a href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB::USB</a></div><div class="ttdeci">USB(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00025">Usb.cpp:25</a></div></div> <div class="ttc" id="class_u_s_b_html_a8ff8cd03496bdcb0ca26f18878ad299d"><div class="ttname"><a href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB::USB</a></div><div class="ttdeci">USB(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00025">Usb.cpp:25</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a138c40c59f628eefbe273a8db0a96753"><div class="ttname"><a href="_usb_core_8h.html#a138c40c59f628eefbe273a8db0a96753">USB_STATE_RUNNING</a></div><div class="ttdeci">#define USB_STATE_RUNNING</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00102">UsbCore.h:102</a></div></div> <div class="ttc" id="_usb_core_8h_html_a138c40c59f628eefbe273a8db0a96753"><div class="ttname"><a href="_usb_core_8h.html#a138c40c59f628eefbe273a8db0a96753">USB_STATE_RUNNING</a></div><div class="ttdeci">#define USB_STATE_RUNNING</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00102">UsbCore.h:102</a></div></div>
<div class="ttc" id="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"><div class="ttname"><a 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="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00116">usb_ch9.h:116</a></div></div> <div class="ttc" id="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"><div class="ttname"><a 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="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00116">usb_ch9.h:116</a></div></div>
@ -960,11 +963,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="max3421e_8h_html_a100ac012a99f7cb9305a2eb921741ce3"><div class="ttname"><a href="max3421e_8h.html#a100ac012a99f7cb9305a2eb921741ce3">tokINHS</a></div><div class="ttdeci">#define tokINHS</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00196">max3421e.h:196</a></div></div> <div class="ttc" id="max3421e_8h_html_a100ac012a99f7cb9305a2eb921741ce3"><div class="ttname"><a href="max3421e_8h.html#a100ac012a99f7cb9305a2eb921741ce3">tokINHS</a></div><div class="ttdeci">#define tokINHS</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00196">max3421e.h:196</a></div></div>
<div class="ttc" id="max3421e_8h_html_a9744878036529e375f3b017b22b1eda2"><div class="ttname"><a href="max3421e_8h.html#a9744878036529e375f3b017b22b1eda2">bmLOWSPEED</a></div><div class="ttdeci">#define bmLOWSPEED</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00169">max3421e.h:169</a></div></div> <div class="ttc" id="max3421e_8h_html_a9744878036529e375f3b017b22b1eda2"><div class="ttname"><a href="max3421e_8h.html#a9744878036529e375f3b017b22b1eda2">bmLOWSPEED</a></div><div class="ttdeci">#define bmLOWSPEED</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00169">max3421e.h:169</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a12bb63558ded5bb6661bb173b07ff391"><div class="ttname"><a href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">USBDeviceConfig::ResetHubPort</a></div><div class="ttdeci">virtual void ResetHubPort(uint8_t port)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00112">UsbCore.h:112</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a12bb63558ded5bb6661bb173b07ff391"><div class="ttname"><a href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">USBDeviceConfig::ResetHubPort</a></div><div class="ttdeci">virtual void ResetHubPort(uint8_t port)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00112">UsbCore.h:112</a></div></div>
<div class="ttc" id="class_u_s_b_html_a372ecbe1d23955e8b04b5e95e0e4a833"><div class="ttname"><a href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a></div><div class="ttdeci">uint8_t getStrDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00785">Usb.cpp:785</a></div></div> <div class="ttc" id="class_u_s_b_html_a372ecbe1d23955e8b04b5e95e0e4a833"><div class="ttname"><a href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a></div><div class="ttdeci">uint8_t getStrDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00788">Usb.cpp:788</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_ac87659819bfd6491120c819fae2d46bc"><div class="ttname"><a href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a></div><div class="ttdeci">#define USB_REQUEST_SET_ADDRESS</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00036">usb_ch9.h:36</a></div></div> <div class="ttc" id="usb__ch9_8h_html_ac87659819bfd6491120c819fae2d46bc"><div class="ttname"><a href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a></div><div class="ttdeci">#define USB_REQUEST_SET_ADDRESS</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00036">usb_ch9.h:36</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a593d2ea5c01ccd4e4f7935afb3f44904"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a593d2ea5c01ccd4e4f7935afb3f44904">SETUP_PKT::ReqType_u</a></div><div class="ttdeci">union SETUP_PKT::@22 ReqType_u</div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a593d2ea5c01ccd4e4f7935afb3f44904"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a593d2ea5c01ccd4e4f7935afb3f44904">SETUP_PKT::ReqType_u</a></div><div class="ttdeci">union SETUP_PKT::@22 ReqType_u</div></div>
<div class="ttc" id="max3421e_8h_html_acd574bdc815506033ec40fc96320520d"><div class="ttname"><a href="max3421e_8h.html#acd574bdc815506033ec40fc96320520d">tokSETUP</a></div><div class="ttdeci">#define tokSETUP</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00193">max3421e.h:193</a></div></div> <div class="ttc" id="max3421e_8h_html_acd574bdc815506033ec40fc96320520d"><div class="ttname"><a href="max3421e_8h.html#acd574bdc815506033ec40fc96320520d">tokSETUP</a></div><div class="ttdeci">#define tokSETUP</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00193">max3421e.h:193</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_acb5728095a05814d6ae3c8ddb0452969"><div class="ttname"><a href="class_m_a_x3421e.html#acb5728095a05814d6ae3c8ddb0452969">MAX3421e::Task</a></div><div class="ttdeci">uint8_t Task()</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00335">usbhost.h:335</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_acb5728095a05814d6ae3c8ddb0452969"><div class="ttname"><a href="class_m_a_x3421e.html#acb5728095a05814d6ae3c8ddb0452969">MAX3421e::Task</a></div><div class="ttdeci">uint8_t Task()</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00379">usbhost.h:379</a></div></div>
<div class="ttc" id="max3421e_8h_html_aa541c456525254b21a0bc53aadaeee4d"><div class="ttname"><a href="max3421e_8h.html#aa541c456525254b21a0bc53aadaeee4d">rHXFR</a></div><div class="ttdeci">#define rHXFR</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00190">max3421e.h:190</a></div></div> <div class="ttc" id="max3421e_8h_html_aa541c456525254b21a0bc53aadaeee4d"><div class="ttname"><a href="max3421e_8h.html#aa541c456525254b21a0bc53aadaeee4d">rHXFR</a></div><div class="ttdeci">#define rHXFR</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00190">max3421e.h:190</a></div></div>
<div class="ttc" id="max3421e_8h_html_a9ab289252615caa2d19ceb4359d71a44"><div class="ttname"><a href="max3421e_8h.html#a9ab289252615caa2d19ceb4359d71a44">rHIRQ</a></div><div class="ttdeci">#define rHIRQ</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00142">max3421e.h:142</a></div></div> <div class="ttc" id="max3421e_8h_html_a9ab289252615caa2d19ceb4359d71a44"><div class="ttname"><a href="max3421e_8h.html#a9ab289252615caa2d19ceb4359d71a44">rHIRQ</a></div><div class="ttdeci">#define rHIRQ</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00142">max3421e.h:142</a></div></div>
<div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div> <div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div>
@ -972,7 +975,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<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#l00147">UsbCore.h:147</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#l00147">UsbCore.h:147</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div> <div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00118">UsbCore.h:118</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00118">UsbCore.h:118</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_ac61db72bd5952916cdc6edc20e1c763c"><div class="ttname"><a href="class_m_a_x3421e.html#ac61db72bd5952916cdc6edc20e1c763c">MAX3421e::bytesWr</a></div><div class="ttdeci">uint8_t * bytesWr(uint8_t reg, uint8_t nbytes, uint8_t *data_p)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00121">usbhost.h:121</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_ac61db72bd5952916cdc6edc20e1c763c"><div class="ttname"><a href="class_m_a_x3421e.html#ac61db72bd5952916cdc6edc20e1c763c">MAX3421e::bytesWr</a></div><div class="ttdeci">uint8_t * bytesWr(uint8_t reg, uint8_t nbytes, uint8_t *data_p)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00147">usbhost.h:147</a></div></div>
<div class="ttc" id="max3421e_8h_html_a9889c0ed9a43ff3fea670a96c3fbd165"><div class="ttname"><a href="max3421e_8h.html#a9889c0ed9a43ff3fea670a96c3fbd165">tokOUTHS</a></div><div class="ttdeci">#define tokOUTHS</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00197">max3421e.h:197</a></div></div> <div class="ttc" id="max3421e_8h_html_a9889c0ed9a43ff3fea670a96c3fbd165"><div class="ttname"><a href="max3421e_8h.html#a9889c0ed9a43ff3fea670a96c3fbd165">tokOUTHS</a></div><div class="ttdeci">#define tokOUTHS</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00197">max3421e.h:197</a></div></div>
<div class="ttc" id="class_u_s_b_html_a1c1aad8269403bf488e3bc4c79886ce4"><div class="ttname"><a href="class_u_s_b.html#a1c1aad8269403bf488e3bc4c79886ce4">USB::getUsbTaskState</a></div><div class="ttdeci">uint8_t getUsbTaskState(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00036">Usb.cpp:36</a></div></div> <div class="ttc" id="class_u_s_b_html_a1c1aad8269403bf488e3bc4c79886ce4"><div class="ttname"><a href="class_u_s_b.html#a1c1aad8269403bf488e3bc4c79886ce4">USB::getUsbTaskState</a></div><div class="ttdeci">uint8_t getUsbTaskState(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00036">Usb.cpp:36</a></div></div>
<div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div> <div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div>
@ -996,9 +999,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div> <div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div>
<div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div> <div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a52c379fe7e22f53d3e3d47d65735fa3b"><div class="ttname"><a href="_usb_core_8h.html#a52c379fe7e22f53d3e3d47d65735fa3b">USB_ERROR_INVALID_ARGUMENT</a></div><div class="ttdeci">#define USB_ERROR_INVALID_ARGUMENT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00068">UsbCore.h:68</a></div></div> <div class="ttc" id="_usb_core_8h_html_a52c379fe7e22f53d3e3d47d65735fa3b"><div class="ttname"><a href="_usb_core_8h.html#a52c379fe7e22f53d3e3d47d65735fa3b">USB_ERROR_INVALID_ARGUMENT</a></div><div class="ttdeci">#define USB_ERROR_INVALID_ARGUMENT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00068">UsbCore.h:68</a></div></div>
<div class="ttc" id="class_u_s_b_html_af4008dfc1c2d15c23cf8a7815cc17765"><div class="ttname"><a href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a></div><div class="ttdeci">uint8_t Configuring(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00647">Usb.cpp:647</a></div></div> <div class="ttc" id="class_u_s_b_html_af4008dfc1c2d15c23cf8a7815cc17765"><div class="ttname"><a href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a></div><div class="ttdeci">uint8_t Configuring(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00650">Usb.cpp:650</a></div></div>
<div class="ttc" id="struct_usb_device_html_a855beb4cbe3e48b93298ea44d6cae86f"><div class="ttname"><a href="struct_usb_device.html#a855beb4cbe3e48b93298ea44d6cae86f">UsbDevice::address</a></div><div class="ttdeci">uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00077">address.h:77</a></div></div> <div class="ttc" id="struct_usb_device_html_a855beb4cbe3e48b93298ea44d6cae86f"><div class="ttname"><a href="struct_usb_device.html#a855beb4cbe3e48b93298ea44d6cae86f">UsbDevice::address</a></div><div class="ttdeci">uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00077">address.h:77</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_af1ceb905ac614b98d58579946587b083"><div class="ttname"><a href="class_m_a_x3421e.html#af1ceb905ac614b98d58579946587b083">MAX3421e::bytesRd</a></div><div class="ttdeci">uint8_t * bytesRd(uint8_t reg, uint8_t nbytes, uint8_t *data_p)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00165">usbhost.h:165</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_af1ceb905ac614b98d58579946587b083"><div class="ttname"><a href="class_m_a_x3421e.html#af1ceb905ac614b98d58579946587b083">MAX3421e::bytesRd</a></div><div class="ttdeci">uint8_t * bytesRd(uint8_t reg, uint8_t nbytes, uint8_t *data_p)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00203">usbhost.h:203</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a321b931277d6ce278416dc5d74059016"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">SETUP_PKT::bRequest</a></div><div class="ttdeci">uint8_t bRequest</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00129">UsbCore.h:129</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a321b931277d6ce278416dc5d74059016"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">SETUP_PKT::bRequest</a></div><div class="ttdeci">uint8_t bRequest</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00129">UsbCore.h:129</a></div></div>
<div class="ttc" id="max3421e_8h_html_a3cb02fdd2d36f8a755c4b1946a0b0063"><div class="ttname"><a href="max3421e_8h.html#a3cb02fdd2d36f8a755c4b1946a0b0063">SE0</a></div><div class="ttdeci">#define SE0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00033">max3421e.h:33</a></div></div> <div class="ttc" id="max3421e_8h_html_a3cb02fdd2d36f8a755c4b1946a0b0063"><div class="ttname"><a href="max3421e_8h.html#a3cb02fdd2d36f8a755c4b1946a0b0063">SE0</a></div><div class="ttdeci">#define SE0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00033">max3421e.h:33</a></div></div>
<div class="ttc" id="class_address_pool_impl_html_a3d59841faa336c359b0736ca45988ce5"><div class="ttname"><a href="class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5">AddressPoolImpl::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00246">address.h:246</a></div></div> <div class="ttc" id="class_address_pool_impl_html_a3d59841faa336c359b0736ca45988ce5"><div class="ttname"><a href="class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5">AddressPoolImpl::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00246">address.h:246</a></div></div>
@ -1015,15 +1018,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a04ea2d151f9edb6575fc159a58f1e443"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">SETUP_PKT::wValueHi</a></div><div class="ttdeci">uint8_t wValueHi</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00136">UsbCore.h:136</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a04ea2d151f9edb6575fc159a58f1e443"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">SETUP_PKT::wValueHi</a></div><div class="ttdeci">uint8_t wValueHi</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00136">UsbCore.h:136</a></div></div>
<div class="ttc" id="class_u_s_b_html_a5eb0d31372d26f0015a0d7be0b9ff4e1"><div class="ttname"><a href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">USB::DefaultAddressing</a></div><div class="ttdeci">uint8_t DefaultAddressing(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00528">Usb.cpp:528</a></div></div> <div class="ttc" id="class_u_s_b_html_a5eb0d31372d26f0015a0d7be0b9ff4e1"><div class="ttname"><a href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">USB::DefaultAddressing</a></div><div class="ttdeci">uint8_t DefaultAddressing(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00528">Usb.cpp:528</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a60a744d0f1386e4b28053a41bd6a958f"><div class="ttname"><a href="_usb_core_8h.html#a60a744d0f1386e4b28053a41bd6a958f">USB_DETACHED_SUBSTATE_INITIALIZE</a></div><div class="ttdeci">#define USB_DETACHED_SUBSTATE_INITIALIZE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00091">UsbCore.h:91</a></div></div> <div class="ttc" id="_usb_core_8h_html_a60a744d0f1386e4b28053a41bd6a958f"><div class="ttname"><a href="_usb_core_8h.html#a60a744d0f1386e4b28053a41bd6a958f">USB_DETACHED_SUBSTATE_INITIALIZE</a></div><div class="ttdeci">#define USB_DETACHED_SUBSTATE_INITIALIZE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00091">UsbCore.h:91</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a2d69537e663e7d5f188004f0d25ec0cc"><div class="ttname"><a href="_usb_core_8h.html#a2d69537e663e7d5f188004f0d25ec0cc">USB_ATTACHED_SUBSTATE_WAIT_SOF</a></div><div class="ttdeci">#define USB_ATTACHED_SUBSTATE_WAIT_SOF</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00097">UsbCore.h:97</a></div></div> <div class="ttc" id="_usb_core_8h_html_a2d69537e663e7d5f188004f0d25ec0cc"><div class="ttname"><a href="_usb_core_8h.html#a2d69537e663e7d5f188004f0d25ec0cc">USB_ATTACHED_SUBSTATE_WAIT_SOF</a></div><div class="ttdeci">#define USB_ATTACHED_SUBSTATE_WAIT_SOF</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00097">UsbCore.h:97</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a68c9436c00560f96e044052c3fb681e9"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">SETUP_PKT::wValueLo</a></div><div class="ttdeci">uint8_t wValueLo</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00135">UsbCore.h:135</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a68c9436c00560f96e044052c3fb681e9"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">SETUP_PKT::wValueLo</a></div><div class="ttdeci">uint8_t wValueLo</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00135">UsbCore.h:135</a></div></div>
<div class="ttc" id="max3421e_8h_html_aee283b6d075581cdff38a6054e6f63a2"><div class="ttname"><a href="max3421e_8h.html#aee283b6d075581cdff38a6054e6f63a2">bmSNDTOG1</a></div><div class="ttdeci">#define bmSNDTOG1</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00188">max3421e.h:188</a></div></div> <div class="ttc" id="max3421e_8h_html_aee283b6d075581cdff38a6054e6f63a2"><div class="ttname"><a href="max3421e_8h.html#aee283b6d075581cdff38a6054e6f63a2">bmSNDTOG1</a></div><div class="ttdeci">#define bmSNDTOG1</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00188">max3421e.h:188</a></div></div>
<div class="ttc" id="class_u_s_b_html_ac681c6c98e1641f705bc14d670a2663a"><div class="ttname"><a href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a></div><div class="ttdeci">uint8_t ReleaseDevice(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00741">Usb.cpp:741</a></div></div> <div class="ttc" id="class_u_s_b_html_ac681c6c98e1641f705bc14d670a2663a"><div class="ttname"><a href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a></div><div class="ttdeci">uint8_t ReleaseDevice(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00744">Usb.cpp:744</a></div></div>
<div class="ttc" id="_usb_core_8h_html_ae691ccb027b8e281ac87522a0e66aaa7"><div class="ttname"><a href="_usb_core_8h.html#ae691ccb027b8e281ac87522a0e66aaa7">USB_ERROR_TRANSFER_TIMEOUT</a></div><div class="ttdeci">#define USB_ERROR_TRANSFER_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00076">UsbCore.h:76</a></div></div> <div class="ttc" id="_usb_core_8h_html_ae691ccb027b8e281ac87522a0e66aaa7"><div class="ttname"><a href="_usb_core_8h.html#ae691ccb027b8e281ac87522a0e66aaa7">USB_ERROR_TRANSFER_TIMEOUT</a></div><div class="ttdeci">#define USB_ERROR_TRANSFER_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00076">UsbCore.h:76</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a7cad2f024e98c4b2b1b52df76b10c01e"><div class="ttname"><a href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a></div><div class="ttdeci">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00072">UsbCore.h:72</a></div></div> <div class="ttc" id="_usb_core_8h_html_a7cad2f024e98c4b2b1b52df76b10c01e"><div class="ttname"><a href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a></div><div class="ttdeci">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00072">UsbCore.h:72</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_a0353d430ba18466706337ed623a224e3"><div class="ttname"><a href="class_m_a_x3421e.html#a0353d430ba18466706337ed623a224e3">MAX3421e::getVbusState</a></div><div class="ttdeci">uint8_t getVbusState(void)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00081">usbhost.h:81</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_a0353d430ba18466706337ed623a224e3"><div class="ttname"><a href="class_m_a_x3421e.html#a0353d430ba18466706337ed623a224e3">MAX3421e::getVbusState</a></div><div class="ttdeci">uint8_t getVbusState(void)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00100">usbhost.h:100</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html_ae7faae82a8d68c38b43833b8fddcb8e8"><div class="ttname"><a href="class_m_a_x3421e.html#ae7faae82a8d68c38b43833b8fddcb8e8">MAX3421e::regRd</a></div><div class="ttdeci">uint8_t regRd(uint8_t reg)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00149">usbhost.h:149</a></div></div> <div class="ttc" id="class_m_a_x3421e_html_ae7faae82a8d68c38b43833b8fddcb8e8"><div class="ttname"><a href="class_m_a_x3421e.html#ae7faae82a8d68c38b43833b8fddcb8e8">MAX3421e::regRd</a></div><div class="ttdeci">uint8_t regRd(uint8_t reg)</div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00181">usbhost.h:181</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->

View file

@ -94,7 +94,7 @@ This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent"> <div class="dyncontent">
<div class="center"><img src="_usb_8h__dep__incl.png" border="0" usemap="#_usb_8hdep" alt=""/></div> <div class="center"><img src="_usb_8h__dep__incl.png" border="0" usemap="#_usb_8hdep" alt=""/></div>
<map name="_usb_8hdep" id="_usb_8hdep"> <map name="_usb_8hdep" id="_usb_8hdep">
<area shape="rect" id="node2" href="adk_8h.html" title="adk.h" alt="" coords="113,83,167,111"/><area shape="rect" id="node4" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="290,83,349,111"/><area shape="rect" id="node12" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="571,83,649,111"/><area shape="rect" id="node16" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="749,83,819,111"/><area shape="rect" id="node18" href="hid_8h.html" title="hid.h" alt="" coords="906,83,955,111"/><area shape="rect" id="node26" href="masstorage_8h.html" title="masstorage.h" alt="" coords="980,83,1081,111"/><area shape="rect" id="node28" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1106,83,1197,111"/><area shape="rect" id="node30" href="message_8cpp.html" title="message.cpp" alt="" coords="1222,83,1321,111"/><area shape="rect" id="node31" href="parsetools_8cpp.html" title="parsetools.cpp" alt="" coords="1346,83,1453,111"/><area shape="rect" id="node32" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1477,83,1561,111"/><area shape="rect" id="node34" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1586,83,1656,111"/><area shape="rect" id="node35" href="usbhub_8h.html" title="usbhub.h" alt="" coords="1681,83,1756,111"/><area shape="rect" id="node37" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="1781,83,1877,111"/><area shape="rect" id="node39" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1909,83,2013,111"/><area shape="rect" id="node41" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="2052,83,2148,111"/><area shape="rect" id="node3" href="adk_8cpp.html" title="adk.cpp" alt="" coords="5,161,72,189"/><area shape="rect" id="node5" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="97,161,169,189"/><area shape="rect" id="node6" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="194,161,267,189"/><area shape="rect" id="node8" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="291,161,348,189"/><area shape="rect" id="node10" href="_wii_8h.html" title="Wii.h" alt="" coords="373,161,424,189"/><area shape="rect" id="node7" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="172,238,259,266"/><area shape="rect" id="node9" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="284,238,355,266"/><area shape="rect" id="node11" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="379,238,444,266"/><area shape="rect" id="node13" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="448,161,540,189"/><area shape="rect" id="node14" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="565,161,656,189"/><area shape="rect" id="node15" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="558,238,663,266"/><area shape="rect" id="node17" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="680,161,764,189"/><area shape="rect" id="node19" href="hid_8cpp.html" title="hid.cpp" alt="" coords="789,161,853,189"/><area shape="rect" id="node20" href="hidboot_8h.html" title="hidboot.h" alt="" coords="878,161,953,189"/><area shape="rect" id="node22" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="977,161,1115,189"/><area shape="rect" id="node24" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="1140,161,1243,189"/><area shape="rect" id="node21" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="856,238,945,266"/><area shape="rect" id="node23" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="970,238,1123,266"/><area shape="rect" id="node25" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="1146,238,1264,266"/><area shape="rect" id="node27" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1267,161,1383,189"/><area shape="rect" id="node29" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1407,161,1512,189"/><area shape="rect" id="node33" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1537,161,1636,189"/><area shape="rect" id="node36" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1660,161,1749,189"/><area shape="rect" id="node38" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="1774,161,1884,189"/><area shape="rect" id="node40" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1908,161,2027,189"/><area shape="rect" id="node42" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="2051,161,2161,189"/></map> <area shape="rect" id="node2" href="adk_8h.html" title="adk.h" alt="" coords="113,83,167,111"/><area shape="rect" id="node4" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="330,83,389,111"/><area shape="rect" id="node14" href="hid_8h.html" title="hid.h" alt="" coords="732,83,781,111"/><area shape="rect" id="node22" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="1043,83,1121,111"/><area shape="rect" id="node26" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="1146,83,1216,111"/><area shape="rect" id="node28" href="masstorage_8h.html" title="masstorage.h" alt="" coords="1241,83,1343,111"/><area shape="rect" id="node30" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1367,83,1459,111"/><area shape="rect" id="node32" href="message_8cpp.html" title="message.cpp" alt="" coords="1483,83,1583,111"/><area shape="rect" id="node33" href="parsetools_8cpp.html" title="parsetools.cpp" alt="" coords="1607,83,1715,111"/><area shape="rect" id="node34" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1739,83,1823,111"/><area shape="rect" id="node36" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1848,83,1917,111"/><area shape="rect" id="node37" href="usbhub_8h.html" title="usbhub.h" alt="" coords="1942,83,2017,111"/><area shape="rect" id="node39" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="2042,83,2139,111"/><area shape="rect" id="node41" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="2170,83,2275,111"/><area shape="rect" id="node43" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="2313,83,2409,111"/><area shape="rect" id="node3" href="adk_8cpp.html" title="adk.cpp" alt="" coords="5,161,72,189"/><area shape="rect" id="node5" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="97,161,169,189"/><area shape="rect" id="node6" href="_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="460,238,532,266"/><area shape="rect" id="node8" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="194,161,267,189"/><area shape="rect" id="node10" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="291,161,348,189"/><area shape="rect" id="node12" href="_wii_8h.html" title="Wii.h" alt="" coords="373,161,424,189"/><area shape="rect" id="node7" href="_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="453,315,539,343"/><area shape="rect" id="node9" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="163,238,249,266"/><area shape="rect" id="node11" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="275,238,345,266"/><area shape="rect" id="node13" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="370,238,435,266"/><area shape="rect" id="node15" href="hidboot_8h.html" title="hidboot.h" alt="" coords="499,161,575,189"/><area shape="rect" id="node17" href="hid_8cpp.html" title="hid.cpp" alt="" coords="600,161,664,189"/><area shape="rect" id="node18" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="688,161,825,189"/><area shape="rect" id="node20" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="851,161,953,189"/><area shape="rect" id="node16" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="556,238,645,266"/><area shape="rect" id="node19" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="674,238,827,266"/><area shape="rect" id="node21" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="850,238,968,266"/><area shape="rect" id="node23" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="979,161,1071,189"/><area shape="rect" id="node24" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="1095,161,1187,189"/><area shape="rect" id="node25" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="1088,238,1193,266"/><area shape="rect" id="node27" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="1211,161,1295,189"/><area shape="rect" id="node29" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1319,161,1435,189"/><area shape="rect" id="node31" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1459,161,1564,189"/><area shape="rect" id="node35" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1732,161,1831,189"/><area shape="rect" id="node38" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1919,161,2008,189"/><area shape="rect" id="node40" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="2032,161,2143,189"/><area shape="rect" id="node42" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="2167,161,2285,189"/><area shape="rect" id="node44" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="2310,161,2420,189"/></map>
</div> </div>
</div> </div>
<p><a href="_usb_8h_source.html">Go to the source code of this file.</a></p> <p><a href="_usb_8h_source.html">Go to the source code of this file.</a></p>

View file

@ -1,43 +1,45 @@
<map id="Usb.h" name="Usb.h"> <map id="Usb.h" name="Usb.h">
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="113,83,167,111"/> <area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="113,83,167,111"/>
<area shape="rect" id="node4" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="290,83,349,111"/> <area shape="rect" id="node4" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="330,83,389,111"/>
<area shape="rect" id="node12" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="571,83,649,111"/> <area shape="rect" id="node14" href="$hid_8h.html" title="hid.h" alt="" coords="732,83,781,111"/>
<area shape="rect" id="node16" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="749,83,819,111"/> <area shape="rect" id="node22" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="1043,83,1121,111"/>
<area shape="rect" id="node18" href="$hid_8h.html" title="hid.h" alt="" coords="906,83,955,111"/> <area shape="rect" id="node26" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="1146,83,1216,111"/>
<area shape="rect" id="node26" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="980,83,1081,111"/> <area shape="rect" id="node28" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="1241,83,1343,111"/>
<area shape="rect" id="node28" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1106,83,1197,111"/> <area shape="rect" id="node30" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1367,83,1459,111"/>
<area shape="rect" id="node30" href="$message_8cpp.html" title="message.cpp" alt="" coords="1222,83,1321,111"/> <area shape="rect" id="node32" href="$message_8cpp.html" title="message.cpp" alt="" coords="1483,83,1583,111"/>
<area shape="rect" id="node31" href="$parsetools_8cpp.html" title="parsetools.cpp" alt="" coords="1346,83,1453,111"/> <area shape="rect" id="node33" href="$parsetools_8cpp.html" title="parsetools.cpp" alt="" coords="1607,83,1715,111"/>
<area shape="rect" id="node32" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1477,83,1561,111"/> <area shape="rect" id="node34" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1739,83,1823,111"/>
<area shape="rect" id="node34" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1586,83,1656,111"/> <area shape="rect" id="node36" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1848,83,1917,111"/>
<area shape="rect" id="node35" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1681,83,1756,111"/> <area shape="rect" id="node37" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1942,83,2017,111"/>
<area shape="rect" id="node37" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="1781,83,1877,111"/> <area shape="rect" id="node39" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="2042,83,2139,111"/>
<area shape="rect" id="node39" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1909,83,2013,111"/> <area shape="rect" id="node41" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="2170,83,2275,111"/>
<area shape="rect" id="node41" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="2052,83,2148,111"/> <area shape="rect" id="node43" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="2313,83,2409,111"/>
<area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,161,72,189"/> <area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,161,72,189"/>
<area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="97,161,169,189"/> <area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="97,161,169,189"/>
<area shape="rect" id="node6" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="194,161,267,189"/> <area shape="rect" id="node6" href="$_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="460,238,532,266"/>
<area shape="rect" id="node8" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="291,161,348,189"/> <area shape="rect" id="node8" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="194,161,267,189"/>
<area shape="rect" id="node10" href="$_wii_8h.html" title="Wii.h" alt="" coords="373,161,424,189"/> <area shape="rect" id="node10" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="291,161,348,189"/>
<area shape="rect" id="node7" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="172,238,259,266"/> <area shape="rect" id="node12" href="$_wii_8h.html" title="Wii.h" alt="" coords="373,161,424,189"/>
<area shape="rect" id="node9" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="284,238,355,266"/> <area shape="rect" id="node7" href="$_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="453,315,539,343"/>
<area shape="rect" id="node11" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="379,238,444,266"/> <area shape="rect" id="node9" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="163,238,249,266"/>
<area shape="rect" id="node13" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="448,161,540,189"/> <area shape="rect" id="node11" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="275,238,345,266"/>
<area shape="rect" id="node14" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="565,161,656,189"/> <area shape="rect" id="node13" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="370,238,435,266"/>
<area shape="rect" id="node15" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="558,238,663,266"/> <area shape="rect" id="node15" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="499,161,575,189"/>
<area shape="rect" id="node17" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="680,161,764,189"/> <area shape="rect" id="node17" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="600,161,664,189"/>
<area shape="rect" id="node19" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="789,161,853,189"/> <area shape="rect" id="node18" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="688,161,825,189"/>
<area shape="rect" id="node20" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="878,161,953,189"/> <area shape="rect" id="node20" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="851,161,953,189"/>
<area shape="rect" id="node22" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="977,161,1115,189"/> <area shape="rect" id="node16" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="556,238,645,266"/>
<area shape="rect" id="node24" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="1140,161,1243,189"/> <area shape="rect" id="node19" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="674,238,827,266"/>
<area shape="rect" id="node21" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="856,238,945,266"/> <area shape="rect" id="node21" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="850,238,968,266"/>
<area shape="rect" id="node23" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="970,238,1123,266"/> <area shape="rect" id="node23" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="979,161,1071,189"/>
<area shape="rect" id="node25" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="1146,238,1264,266"/> <area shape="rect" id="node24" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="1095,161,1187,189"/>
<area shape="rect" id="node27" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1267,161,1383,189"/> <area shape="rect" id="node25" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="1088,238,1193,266"/>
<area shape="rect" id="node29" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1407,161,1512,189"/> <area shape="rect" id="node27" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="1211,161,1295,189"/>
<area shape="rect" id="node33" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1537,161,1636,189"/> <area shape="rect" id="node29" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1319,161,1435,189"/>
<area shape="rect" id="node36" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1660,161,1749,189"/> <area shape="rect" id="node31" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1459,161,1564,189"/>
<area shape="rect" id="node38" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="1774,161,1884,189"/> <area shape="rect" id="node35" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1732,161,1831,189"/>
<area shape="rect" id="node40" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1908,161,2027,189"/> <area shape="rect" id="node38" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1919,161,2008,189"/>
<area shape="rect" id="node42" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="2051,161,2161,189"/> <area shape="rect" id="node40" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="2032,161,2143,189"/>
<area shape="rect" id="node42" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="2167,161,2285,189"/>
<area shape="rect" id="node44" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="2310,161,2420,189"/>
</map> </map>

View file

@ -1 +1 @@
db0776ced886791ac6bd3116b722fcad 19d142dcf235fa4191381f3fc2835694

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View file

@ -229,15 +229,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; } wVal_u;</div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; } wVal_u;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e"> 139</a></span>&#160; uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e">wIndex</a>; <span class="comment">// 4 Depends on bRequest</span></div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e"> 139</a></span>&#160; uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e">wIndex</a>; <span class="comment">// 4 Depends on bRequest</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537"> 140</a></span>&#160; uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">wLength</a>; <span class="comment">// 6 Depends on bRequest</span></div> <div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537"> 140</a></span>&#160; uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">wLength</a>; <span class="comment">// 6 Depends on bRequest</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;} <a class="code" href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a>, *<a class="code" href="struct_s_e_t_u_p___p_k_t.html">PSETUP_PKT</a> __attribute__((packed));</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;}__attribute__((packed)) <a class="code" href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a>, *<a class="code" href="struct_s_e_t_u_p___p_k_t.html">PSETUP_PKT</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="comment">// Base class for incoming data parser</span></div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="comment">// Base class for incoming data parser</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_u_s_b_read_parser.html"> 147</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> {</div> <div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_u_s_b_read_parser.html"> 147</a></span>&#160;class <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> {</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_u_s_b_read_parser.html#afdb9cea2a2fe18d26f4ec595b86a7f7c">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) = 0;</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> Parse(<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) = 0;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;};</div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;};</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_u_s_b.html"> 152</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_u_s_b.html">USB</a> : <span class="keyword">public</span> <a class="code" href="class_m_a_x3421e.html">MAX3421E</a> {</div> <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_u_s_b.html"> 152</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_u_s_b.html">USB</a> : <span class="keyword">public</span> <a class="code" href="class_m_a_x3421e.html">MAX3421E</a> {</div>
@ -343,7 +343,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* USBCORE_H */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* USBCORE_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<span class="preprocessor"></span></div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1382f4a10a9b0774f803d1125dd9bb52"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52">SETUP_PKT::wValue</a></div><div class="ttdeci">uint16_t wValue</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00132">UsbCore.h:132</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1382f4a10a9b0774f803d1125dd9bb52"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52">SETUP_PKT::wValue</a></div><div class="ttdeci">uint16_t wValue</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00132">UsbCore.h:132</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a893ea73deab98be837c257201e7da25a"><div class="ttname"><a href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00110">UsbCore.h:110</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a893ea73deab98be837c257201e7da25a"><div class="ttname"><a href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00110">UsbCore.h:110</a></div></div>
@ -352,11 +352,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_u_s_b_html_a59ee57083ba492d87ff2947547848d58"><div class="ttname"><a href="class_u_s_b.html#a59ee57083ba492d87ff2947547848d58">USB::getEpInfoEntry</a></div><div class="ttdeci">EpInfo * getEpInfoEntry(uint8_t addr, uint8_t ep)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00044">Usb.cpp:44</a></div></div> <div class="ttc" id="class_u_s_b_html_a59ee57083ba492d87ff2947547848d58"><div class="ttname"><a href="class_u_s_b.html#a59ee57083ba492d87ff2947547848d58">USB::getEpInfoEntry</a></div><div class="ttdeci">EpInfo * getEpInfoEntry(uint8_t addr, uint8_t ep)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00044">Usb.cpp:44</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_abbad38caa1ca9c52f47adccd3a850aed"><div class="ttname"><a href="usb__ch9_8h.html#abbad38caa1ca9c52f47adccd3a850aed">USB_DESCRIPTOR_STRING</a></div><div class="ttdeci">#define USB_DESCRIPTOR_STRING</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00065">usb_ch9.h:65</a></div></div> <div class="ttc" id="usb__ch9_8h_html_abbad38caa1ca9c52f47adccd3a850aed"><div class="ttname"><a href="usb__ch9_8h.html#abbad38caa1ca9c52f47adccd3a850aed">USB_DESCRIPTOR_STRING</a></div><div class="ttdeci">#define USB_DESCRIPTOR_STRING</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00065">usb_ch9.h:65</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1ec9b19c0ed1e66e399ad9cf3c4a6537"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">SETUP_PKT::wLength</a></div><div class="ttdeci">uint16_t wLength</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00140">UsbCore.h:140</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a1ec9b19c0ed1e66e399ad9cf3c4a6537"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537">SETUP_PKT::wLength</a></div><div class="ttdeci">uint16_t wLength</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00140">UsbCore.h:140</a></div></div>
<div class="ttc" id="class_u_s_b_read_parser_html_afdb9cea2a2fe18d26f4ec595b86a7f7c"><div class="ttname"><a href="class_u_s_b_read_parser.html#afdb9cea2a2fe18d26f4ec595b86a7f7c">USBReadParser::Parse</a></div><div class="ttdeci">virtual void Parse(const uint16_t len, const uint8_t *pbuf, const uint16_t &amp;offset)=0</div></div> <div class="ttc" id="class_m_a_x3421e_html"><div class="ttname"><a href="class_m_a_x3421e.html">MAX3421e</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00081">usbhost.h:81</a></div></div>
<div class="ttc" id="class_m_a_x3421e_html"><div class="ttname"><a href="class_m_a_x3421e.html">MAX3421e</a></div><div class="ttdef"><b>Definition:</b> <a href="usbhost_8h_source.html#l00062">usbhost.h:62</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_a3572226ee2137c7fbf7487a02b0f560f"><div class="ttname"><a href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a></div><div class="ttdeci">#define USB_REQUEST_GET_DESCRIPTOR</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00037">usb_ch9.h:37</a></div></div> <div class="ttc" id="usb__ch9_8h_html_a3572226ee2137c7fbf7487a02b0f560f"><div class="ttname"><a href="usb__ch9_8h.html#a3572226ee2137c7fbf7487a02b0f560f">USB_REQUEST_GET_DESCRIPTOR</a></div><div class="ttdeci">#define USB_REQUEST_GET_DESCRIPTOR</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00037">usb_ch9.h:37</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_ac6d0566773ed4549fe1a7a932e6c46de"><div class="ttname"><a href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a></div><div class="ttdeci">#define USB_DESCRIPTOR_DEVICE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00063">usb_ch9.h:63</a></div></div> <div class="ttc" id="usb__ch9_8h_html_ac6d0566773ed4549fe1a7a932e6c46de"><div class="ttname"><a href="usb__ch9_8h.html#ac6d0566773ed4549fe1a7a932e6c46de">USB_DESCRIPTOR_DEVICE</a></div><div class="ttdeci">#define USB_DESCRIPTOR_DEVICE</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00063">usb_ch9.h:63</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a0282f9f7a0313f957e02449d7313b7b5"><div class="ttname"><a href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a></div><div class="ttdeci">#define USB_NUMDEVICES</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00083">UsbCore.h:83</a></div></div> <div class="ttc" id="_usb_core_8h_html_a0282f9f7a0313f957e02449d7313b7b5"><div class="ttname"><a href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a></div><div class="ttdeci">#define USB_NUMDEVICES</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00083">UsbCore.h:83</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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div> <div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
@ -365,7 +364,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div> <div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_aa17b365c4eb8bd2f6a4d4e4fb5f881c7"><div class="ttname"><a href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a></div><div class="ttdeci">#define USB_DESCRIPTOR_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00064">usb_ch9.h:64</a></div></div> <div class="ttc" id="usb__ch9_8h_html_aa17b365c4eb8bd2f6a4d4e4fb5f881c7"><div class="ttname"><a href="usb__ch9_8h.html#aa17b365c4eb8bd2f6a4d4e4fb5f881c7">USB_DESCRIPTOR_CONFIGURATION</a></div><div class="ttdeci">#define USB_DESCRIPTOR_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00064">usb_ch9.h:64</a></div></div>
<div class="ttc" id="class_u_s_b_html_a5b4de045ea7fefe0fab967ddf44c39b1"><div class="ttname"><a href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">USB::ResetHubPreMask</a></div><div class="ttdeci">void ResetHubPreMask()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00164">UsbCore.h:164</a></div></div> <div class="ttc" id="class_u_s_b_html_a5b4de045ea7fefe0fab967ddf44c39b1"><div class="ttname"><a href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">USB::ResetHubPreMask</a></div><div class="ttdeci">void ResetHubPreMask()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00164">UsbCore.h:164</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="class_u_s_b_html_ab18915ffbd8a70ac5bd6abc3e0f3c66a"><div class="ttname"><a href="class_u_s_b.html#ab18915ffbd8a70ac5bd6abc3e0f3c66a">USB::ctrlStatus</a></div><div class="ttdeci">uint8_t ctrlStatus(uint8_t ep, boolean direction, uint16_t nak_limit)</div></div> <div class="ttc" id="class_u_s_b_html_ab18915ffbd8a70ac5bd6abc3e0f3c66a"><div class="ttname"><a href="class_u_s_b.html#ab18915ffbd8a70ac5bd6abc3e0f3c66a">USB::ctrlStatus</a></div><div class="ttdeci">uint8_t ctrlStatus(uint8_t ep, boolean direction, uint16_t nak_limit)</div></div>
<div class="ttc" id="class_u_s_b_html_a8ff8cd03496bdcb0ca26f18878ad299d"><div class="ttname"><a href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB::USB</a></div><div class="ttdeci">USB(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00025">Usb.cpp:25</a></div></div> <div class="ttc" id="class_u_s_b_html_a8ff8cd03496bdcb0ca26f18878ad299d"><div class="ttname"><a href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB::USB</a></div><div class="ttdeci">USB(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00025">Usb.cpp:25</a></div></div>
<div class="ttc" id="address_8h_html_a90edb051235924cb5280032df397f393"><div class="ttname"><a href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a></div><div class="ttdeci">void(* UsbDeviceHandleFunc)(UsbDevice *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00090">address.h:90</a></div></div> <div class="ttc" id="address_8h_html_a90edb051235924cb5280032df397f393"><div class="ttname"><a href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a></div><div class="ttdeci">void(* UsbDeviceHandleFunc)(UsbDevice *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00090">address.h:90</a></div></div>
@ -377,7 +376,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="_usb_core_8h_html_a060f3a6423f1e3640aa7b14d5ce72285"><div class="ttname"><a href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a></div><div class="ttdeci">#define bmREQ_GET_DESCR</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00031">UsbCore.h:31</a></div></div> <div class="ttc" id="_usb_core_8h_html_a060f3a6423f1e3640aa7b14d5ce72285"><div class="ttname"><a href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285">bmREQ_GET_DESCR</a></div><div class="ttdeci">#define bmREQ_GET_DESCR</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00031">UsbCore.h:31</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a12bb63558ded5bb6661bb173b07ff391"><div class="ttname"><a href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">USBDeviceConfig::ResetHubPort</a></div><div class="ttdeci">virtual void ResetHubPort(uint8_t port)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00112">UsbCore.h:112</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a12bb63558ded5bb6661bb173b07ff391"><div class="ttname"><a href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">USBDeviceConfig::ResetHubPort</a></div><div class="ttdeci">virtual void ResetHubPort(uint8_t port)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00112">UsbCore.h:112</a></div></div>
<div class="ttc" id="_usb_core_8h_html_ad4929f74079f3bc22b00936ae84d18b0"><div class="ttname"><a href="_usb_core_8h.html#ad4929f74079f3bc22b00936ae84d18b0">USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</a></div><div class="ttdeci">#define USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00063">UsbCore.h:63</a></div></div> <div class="ttc" id="_usb_core_8h_html_ad4929f74079f3bc22b00936ae84d18b0"><div class="ttname"><a href="_usb_core_8h.html#ad4929f74079f3bc22b00936ae84d18b0">USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</a></div><div class="ttdeci">#define USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00063">UsbCore.h:63</a></div></div>
<div class="ttc" id="class_u_s_b_html_a372ecbe1d23955e8b04b5e95e0e4a833"><div class="ttname"><a href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a></div><div class="ttdeci">uint8_t getStrDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00785">Usb.cpp:785</a></div></div> <div class="ttc" id="class_u_s_b_html_a372ecbe1d23955e8b04b5e95e0e4a833"><div class="ttname"><a href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a></div><div class="ttdeci">uint8_t getStrDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00788">Usb.cpp:788</a></div></div>
<div class="ttc" id="usb__ch9_8h_html_ac87659819bfd6491120c819fae2d46bc"><div class="ttname"><a href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a></div><div class="ttdeci">#define USB_REQUEST_SET_ADDRESS</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00036">usb_ch9.h:36</a></div></div> <div class="ttc" id="usb__ch9_8h_html_ac87659819bfd6491120c819fae2d46bc"><div class="ttname"><a href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a></div><div class="ttdeci">#define USB_REQUEST_SET_ADDRESS</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00036">usb_ch9.h:36</a></div></div>
<div class="ttc" id="_usb_core_8h_html_ae8ea2a106e94f5bb20be2fcbd4e402fb"><div class="ttname"><a href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a></div><div class="ttdeci">MAX3421e&lt; P10, P9 &gt; MAX3421E</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00027">UsbCore.h:27</a></div></div> <div class="ttc" id="_usb_core_8h_html_ae8ea2a106e94f5bb20be2fcbd4e402fb"><div class="ttname"><a href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a></div><div class="ttdeci">MAX3421e&lt; P10, P9 &gt; MAX3421E</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00027">UsbCore.h:27</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#l00147">UsbCore.h:147</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#l00147">UsbCore.h:147</a></div></div>
@ -392,7 +391,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_u_s_b_html_a343d4b321cf8e99f0504cb04c7ce8b10"><div class="ttname"><a href="class_u_s_b.html#a343d4b321cf8e99f0504cb04c7ce8b10">USB::dispatchPkt</a></div><div class="ttdeci">uint8_t dispatchPkt(uint8_t token, uint8_t ep, uint16_t nak_limit)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00374">Usb.cpp:374</a></div></div> <div class="ttc" id="class_u_s_b_html_a343d4b321cf8e99f0504cb04c7ce8b10"><div class="ttname"><a href="class_u_s_b.html#a343d4b321cf8e99f0504cb04c7ce8b10">USB::dispatchPkt</a></div><div class="ttdeci">uint8_t dispatchPkt(uint8_t token, uint8_t ep, uint16_t nak_limit)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00374">Usb.cpp:374</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a3706cf6b18785aff823171e280bab738"><div class="ttname"><a href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00107">UsbCore.h:107</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a3706cf6b18785aff823171e280bab738"><div class="ttname"><a href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00107">UsbCore.h:107</a></div></div>
<div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div> <div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div>
<div class="ttc" id="class_u_s_b_html_af4008dfc1c2d15c23cf8a7815cc17765"><div class="ttname"><a href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a></div><div class="ttdeci">uint8_t Configuring(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00647">Usb.cpp:647</a></div></div> <div class="ttc" id="class_u_s_b_html_af4008dfc1c2d15c23cf8a7815cc17765"><div class="ttname"><a href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">USB::Configuring</a></div><div class="ttdeci">uint8_t Configuring(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00650">Usb.cpp:650</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html_a1cf695242e2e22893eea9c892282221b"><div class="ttname"><a href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00113">UsbCore.h:113</a></div></div> <div class="ttc" id="class_u_s_b_device_config_html_a1cf695242e2e22893eea9c892282221b"><div class="ttname"><a href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00113">UsbCore.h:113</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a321b931277d6ce278416dc5d74059016"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">SETUP_PKT::bRequest</a></div><div class="ttdeci">uint8_t bRequest</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00129">UsbCore.h:129</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a321b931277d6ce278416dc5d74059016"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">SETUP_PKT::bRequest</a></div><div class="ttdeci">uint8_t bRequest</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00129">UsbCore.h:129</a></div></div>
@ -403,9 +402,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="usb__ch9_8h_html_aadef005acc40340955d34d9767ef297c"><div class="ttname"><a href="usb__ch9_8h.html#aadef005acc40340955d34d9767ef297c">USB_REQUEST_SET_CONFIGURATION</a></div><div class="ttdeci">#define USB_REQUEST_SET_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00040">usb_ch9.h:40</a></div></div> <div class="ttc" id="usb__ch9_8h_html_aadef005acc40340955d34d9767ef297c"><div class="ttname"><a href="usb__ch9_8h.html#aadef005acc40340955d34d9767ef297c">USB_REQUEST_SET_CONFIGURATION</a></div><div class="ttdeci">#define USB_REQUEST_SET_CONFIGURATION</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00040">usb_ch9.h:40</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a04ea2d151f9edb6575fc159a58f1e443"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">SETUP_PKT::wValueHi</a></div><div class="ttdeci">uint8_t wValueHi</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00136">UsbCore.h:136</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a04ea2d151f9edb6575fc159a58f1e443"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">SETUP_PKT::wValueHi</a></div><div class="ttdeci">uint8_t wValueHi</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00136">UsbCore.h:136</a></div></div>
<div class="ttc" id="class_u_s_b_html_a5eb0d31372d26f0015a0d7be0b9ff4e1"><div class="ttname"><a href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">USB::DefaultAddressing</a></div><div class="ttdeci">uint8_t DefaultAddressing(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00528">Usb.cpp:528</a></div></div> <div class="ttc" id="class_u_s_b_html_a5eb0d31372d26f0015a0d7be0b9ff4e1"><div class="ttname"><a href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">USB::DefaultAddressing</a></div><div class="ttdeci">uint8_t DefaultAddressing(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00528">Usb.cpp:528</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a68c9436c00560f96e044052c3fb681e9"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">SETUP_PKT::wValueLo</a></div><div class="ttdeci">uint8_t wValueLo</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00135">UsbCore.h:135</a></div></div> <div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a68c9436c00560f96e044052c3fb681e9"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">SETUP_PKT::wValueLo</a></div><div class="ttdeci">uint8_t wValueLo</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00135">UsbCore.h:135</a></div></div>
<div class="ttc" id="class_u_s_b_html_ac681c6c98e1641f705bc14d670a2663a"><div class="ttname"><a href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a></div><div class="ttdeci">uint8_t ReleaseDevice(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00741">Usb.cpp:741</a></div></div> <div class="ttc" id="class_u_s_b_html_ac681c6c98e1641f705bc14d670a2663a"><div class="ttname"><a href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">USB::ReleaseDevice</a></div><div class="ttdeci">uint8_t ReleaseDevice(uint8_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00744">Usb.cpp:744</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> */</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</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"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_wii_8h.html">Wii.h</a>&quot;</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_wii_8h.html">Wii.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// To enable serial debugging uncomment &quot;#define DEBUG_USB_HOST&quot; in message.h</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// To enable serial debugging see &quot;settings.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Wii controllers</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Wii controllers</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;}</div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;}</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</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"><a class="line" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370"> 117</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a>() { <span class="comment">// Use this void to disconnect any of the controllers</span></div> <div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370"> 117</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a>() { <span class="comment">// Use this void to disconnect any of the controllers</span></div>
@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">// First the HID interrupt channel has to be disconnected, then the HID control channel and finally the HCI connection</span></div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">// First the HID interrupt channel has to be disconnected, then the HID control channel and finally the HCI connection</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, 0x0A, interrupt_scid, interrupt_dcid);</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, 0x0A, interrupt_scid, interrupt_dcid);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>;</div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;}</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;</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7"> 134</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a>(uint8_t* l2capinbuf) {</div> <div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7"> 134</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a>(uint8_t* l2capinbuf) {</div>
@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>; <span class="comment">// Claim that the incoming connection belongs to this service</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>; <span class="comment">// Claim that the incoming connection belongs to this service</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; activeConnection = <span class="keyword">true</span>;</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; activeConnection = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; hci_handle = pBtd-&gt;<a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>; <span class="comment">// Store the HCI Handle for the connection</span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; hci_handle = pBtd-&gt;<a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>; <span class="comment">// Store the HCI Handle for the connection</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; }</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; }</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; }</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; }</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; }</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; }</div>
@ -259,13 +259,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; control_scid[0] = l2capinbuf[12];</div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; control_scid[0] = l2capinbuf[12];</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; control_scid[1] = l2capinbuf[13];</div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; control_scid[1] = l2capinbuf[13];</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; l2cap_event_flag |= <a class="code" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>;</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[14] == interrupt_dcid[0] &amp;&amp; l2capinbuf[15] == interrupt_dcid[1]) {</div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[14] == interrupt_dcid[0] &amp;&amp; l2capinbuf[15] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Connection Complete&quot;), 0x80);</span></div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Connection Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; interrupt_scid[0] = l2capinbuf[12];</div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; interrupt_scid[0] = l2capinbuf[12];</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; interrupt_scid[1] = l2capinbuf[13];</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; interrupt_scid[1] = l2capinbuf[13];</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; l2cap_event_flag |= <a class="code" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>;</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; }</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; }</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; }</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="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a>) {</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a>) {</div>
@ -285,23 +285,23 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; control_scid[0] = l2capinbuf[14];</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; control_scid[0] = l2capinbuf[14];</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; control_scid[1] = l2capinbuf[15];</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; control_scid[1] = l2capinbuf[15];</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>;</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((l2capinbuf[12] | (l2capinbuf[13] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>) {</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((l2capinbuf[12] | (l2capinbuf[13] &lt;&lt; 8)) == <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>) {</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; interrupt_scid[0] = l2capinbuf[14];</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; interrupt_scid[0] = l2capinbuf[14];</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; interrupt_scid[1] = l2capinbuf[15];</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; interrupt_scid[1] = l2capinbuf[15];</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>;</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; }</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; }</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a>) {</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a>) {</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[16] | (l2capinbuf[17] &lt;&lt; 8)) == 0x0000) { <span class="comment">// Success</span></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">if</span> ((l2capinbuf[16] | (l2capinbuf[17] &lt;&lt; 8)) == 0x0000) { <span class="comment">// Success</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_dcid[0] &amp;&amp; l2capinbuf[13] == control_dcid[1]) {</div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_dcid[0] &amp;&amp; l2capinbuf[13] == control_dcid[1]) {</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Control Configuration Complete&quot;), 0x80);</span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Control Configuration Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>;</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_dcid[0] &amp;&amp; l2capinbuf[13] == interrupt_dcid[1]) {</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_dcid[0] &amp;&amp; l2capinbuf[13] == interrupt_dcid[1]) {</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Configuration Complete&quot;), 0x80);</span></div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nHID Interrupt Configuration Complete&quot;), 0x80);</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>;</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; }</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; }</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; }</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; }</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a>) {</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[8] == <a class="code" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a>) {</div>
@ -332,11 +332,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_scid[0] &amp;&amp; l2capinbuf[13] == control_scid[1]) {</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">if</span> (l2capinbuf[12] == control_scid[0] &amp;&amp; l2capinbuf[13] == control_scid[1]) {</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Control Channel&quot;), 0x80);</span></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Control Channel&quot;), 0x80);</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_scid[0] &amp;&amp; l2capinbuf[13] == interrupt_scid[1]) {</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l2capinbuf[12] == interrupt_scid[0] &amp;&amp; l2capinbuf[13] == interrupt_scid[1]) {</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Interrupt Channel&quot;), 0x80);</span></div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="comment">//Notify(PSTR(&quot;\r\nDisconnect Response: Interrupt Channel&quot;), 0x80);</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; identifier = l2capinbuf[9];</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; identifier = l2capinbuf[9];</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; l2cap_event_flag |= <a class="code" href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>;</div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; l2cap_event_flag |= <a class="code" href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; }</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; }</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; }</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; }</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor">#ifdef EXTRADEBUG</span></div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor">#ifdef EXTRADEBUG</span></div>
@ -564,11 +564,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> = (double)<a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a> / ((<span class="keywordtype">double</span>)<a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a> / <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>);</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> = (double)<a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a> / ((<span class="keywordtype">double</span>)<a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a> / <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>);</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160;</div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160;</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <span class="comment">/* The onboard gyro has two ranges for slow and fast mode */</span></div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <span class="comment">/* The onboard gyro has two ranges for slow and fast mode */</span></div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[18] &amp; 0x02)) <span class="comment">// Check if fast more is used</span></div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[18] &amp; 0x02)) <span class="comment">// Check if fast mode is used</span></div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a> *= 4.545;</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a> *= 4.545;</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[18] &amp; 0x01)) <span class="comment">// Check if fast more is used</span></div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[18] &amp; 0x01)) <span class="comment">// Check if fast mode is used</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> *= 4.545;</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> *= 4.545;</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[19] &amp; 0x02)) <span class="comment">// Check if fast more is used</span></div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; <span class="keywordflow">if</span> (!(l2capinbuf[19] &amp; 0x02)) <span class="comment">// Check if fast mode is used</span></div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a> *= 4.545;</div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a> *= 4.545;</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160;</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160;</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; compPitch = (0.93 * (compPitch + (<a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> * (double)(micros() - timer) / 1000000)))+(0.07 * <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>()); <span class="comment">// Use a complimentary filter to calculate the angle</span></div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; compPitch = (0.93 * (compPitch + (<a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a> * (double)(micros() - timer) / 1000000)))+(0.07 * <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>()); <span class="comment">// Use a complimentary filter to calculate the angle</span></div>
@ -672,17 +672,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;<span class="keywordtype">void</span> WII::L2CAP_task() {</div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;<span class="keywordtype">void</span> WII::L2CAP_task() {</div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; <span class="comment">/* These states are used if the Wiimote is the host */</span></div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; <span class="comment">/* These states are used if the Wiimote is the host */</span></div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>:</div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>:</div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Successfully Configured&quot;</span>), 0x80);</div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Successfully Configured&quot;</span>), 0x80);</div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;<span class="preprocessor"></span> l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>;</div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;<span class="preprocessor"></span> l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>;</div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; }</div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; }</div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;</div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>:</div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>:</div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>) {</div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>) {</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Interrupt Incoming Connection Request&quot;</span>), 0x80);</div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Interrupt Incoming Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;<span class="preprocessor">#endif</span></div>
@ -693,46 +693,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; delay(1);</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; delay(1);</div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div> <div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160;</div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160;</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; l2cap_state = <a class="code" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; }</div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; }</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;</div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; <span class="comment">/* These states are used if the Arduino is the host */</span></div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; <span class="comment">/* These states are used if the Arduino is the host */</span></div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>:</div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>:</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a>) {</div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a>) {</div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Control Config Request&quot;</span>), 0x80);</div> <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Control Config Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="preprocessor"></span> identifier++;</div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160; l2cap_state = <a class="code" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>;</div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; }</div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; }</div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;</div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>:</div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>:</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>) {</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Connection Request&quot;</span>), 0x80);</div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="preprocessor"></span> identifier++;</div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, interrupt_dcid, <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>);</div> <div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, interrupt_dcid, <a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a>);</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; l2cap_state = <a class="code" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>;</div> <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>;</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; }</div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; }</div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;</div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>:</div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>:</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a>) {</div> <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a>) {</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Config Request&quot;</span>), 0x80);</div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nSend HID Interrupt Config Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;<span class="preprocessor"></span> identifier++;</div> <div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div> <div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, interrupt_scid);</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; l2cap_state = <a class="code" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div> <div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>;</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; }</div> <div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; }</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;</div> <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;</div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>:</div> <div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>:</div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>) { <span class="comment">// Now the HID channels is established</span></div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>) { <span class="comment">// Now the HID channels is established</span></div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Channels Established&quot;</span>), 0x80);</div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Channels Established&quot;</span>), 0x80);</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160;<span class="preprocessor">#endif</span></div>
@ -745,37 +745,37 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <span class="comment">/* The next states are in run() */</span></div> <div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <span class="comment">/* The next states are in run() */</span></div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160;</div> <div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160;</div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>:</div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>:</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a> &amp;&amp; millis() &gt; timer) {</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a> &amp;&amp; millis() &gt; timer) {</div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Interrupt Channel&quot;</span>), 0x80);</div> <div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Interrupt Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160;<span class="preprocessor"></span> identifier++;</div> <div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160;<span class="preprocessor"></span> identifier++;</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, identifier, control_scid, control_dcid);</div> <div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(hci_handle, identifier, control_scid, control_dcid);</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>;</div> <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>;</div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; }</div> <div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; }</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160;</div> <div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160;</div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>:</div> <div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>:</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>) {</div> <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>) {</div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Control Channel&quot;</span>), 0x80);</div> <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nDisconnected Control Channel&quot;</span>), 0x80);</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(hci_handle);</div> <div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;<span class="preprocessor"></span> pBtd-&gt;<a class="code" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(hci_handle);</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; hci_handle = -1; <span class="comment">// Reset handle</span></div> <div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; hci_handle = -1; <span class="comment">// Reset handle</span></div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div> <div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div> <div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>;</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; }</div> <div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; }</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; }</div> <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; }</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;}</div> <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;}</div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;</div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;</div>
<div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72"> 682</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII::Run</a>() {</div> <div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72"> 682</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII::Run</a>() {</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keywordflow">if</span> (l2cap_state == <a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a> &amp;&amp; millis() &gt; timer)</div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keywordflow">if</span> (l2cap_state == <a class="code" href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a> &amp;&amp; millis() &gt; timer)</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; L2CAP_task(); <span class="comment">// Call the rest of the disconnection routine after we have waited long enough</span></div> <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; L2CAP_task(); <span class="comment">// Call the rest of the disconnection routine after we have waited long enough</span></div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div> <div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div> <div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; <span class="keywordflow">switch</span> (l2cap_state) {</div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>:</div> <div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>:</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <span class="keywordflow">if</span> (pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a> &amp;&amp; !pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> &amp;&amp; !<a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a> &amp;&amp; !activeConnection) {</div> <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <span class="keywordflow">if</span> (pBtd-&gt;<a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a> &amp;&amp; !pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> &amp;&amp; !<a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a> &amp;&amp; !activeConnection) {</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; activeConnection = <span class="keyword">true</span>;</div> <div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; activeConnection = <span class="keyword">true</span>;</div>
@ -787,8 +787,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div> <div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; l2cap_event_flag = 0; <span class="comment">// Reset flags</span></div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; identifier = 0;</div> <div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; identifier = 0;</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, control_dcid, <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>);</div> <div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(hci_handle, identifier, control_dcid, <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>);</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; l2cap_state = <a class="code" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>;</div> <div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>;</div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>) {</div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>) {</div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Incoming Connection Request&quot;</span>), 0x80);</div> <div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nHID Control Incoming Connection Request&quot;</span>), 0x80);</div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;<span class="preprocessor">#endif</span></div>
@ -798,7 +798,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; identifier++;</div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; identifier++;</div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; delay(1);</div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; delay(1);</div>
<div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div> <div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(hci_handle, identifier, control_scid);</div>
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>;</div> <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>;</div>
<div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; }</div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; }</div>
<div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160;</div> <div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160;</div>
@ -875,10 +875,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160; <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160; <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160; <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160; <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160; onInit();</div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160; onInit();</div>
<div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160; l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>;</div> <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160; l2cap_state = <a class="code" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>;</div>
<div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;</div> <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;</div>
<div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>:</div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160; <span class="keywordflow">case</span> <a class="code" href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>:</div>
<div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160; <span class="keywordflow">if</span> (unknownExtensionConnected) {</div> <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160; <span class="keywordflow">if</span> (unknownExtensionConnected) {</div>
<div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (stateCounter == 0) <span class="comment">// Only print once</span></div> <div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (stateCounter == 0) <span class="comment">// Only print once</span></div>
@ -969,7 +969,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00878"></a><span class="lineno"> 878</span>&#160; HIDBuffer[2] = value | (HIDBuffer[2] &amp; 0x01); <span class="comment">// Keep the rumble bit</span></div> <div class="line"><a name="l00878"></a><span class="lineno"> 878</span>&#160; HIDBuffer[2] = value | (HIDBuffer[2] &amp; 0x01); <span class="comment">// Keep the rumble bit</span></div>
<div class="line"><a name="l00879"></a><span class="lineno"> 879</span>&#160; HID_Command(HIDBuffer, 3);</div> <div class="line"><a name="l00879"></a><span class="lineno"> 879</span>&#160; HID_Command(HIDBuffer, 3);</div>
<div class="line"><a name="l00880"></a><span class="lineno"> 880</span>&#160;}</div> <div class="line"><a name="l00880"></a><span class="lineno"> 880</span>&#160;}</div>
<div class="line"><a name="l00881"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242"> 881</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">WII::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div> <div class="line"><a name="l00881"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242"> 881</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">WII::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
<div class="line"><a name="l00882"></a><span class="lineno"> 882</span>&#160; HIDBuffer[1] = 0x11;</div> <div class="line"><a name="l00882"></a><span class="lineno"> 882</span>&#160; HIDBuffer[1] = 0x11;</div>
<div class="line"><a name="l00883"></a><span class="lineno"> 883</span>&#160; HIDBuffer[2] &amp;= ~(pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]));</div> <div class="line"><a name="l00883"></a><span class="lineno"> 883</span>&#160; HIDBuffer[2] &amp;= ~(pgm_read_byte(&amp;<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]));</div>
<div class="line"><a name="l00884"></a><span class="lineno"> 884</span>&#160; HID_Command(HIDBuffer, 3);</div> <div class="line"><a name="l00884"></a><span class="lineno"> 884</span>&#160; HID_Command(HIDBuffer, 3);</div>
@ -1285,24 +1285,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;}</div> <div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;}</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_w_i_i_html_ae25a8ea1b0713801e0209e795b4596fa"><div class="ttname"><a href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">WII::wiimoteConnected</a></div><div class="ttdeci">bool wiimoteConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00239">Wii.h:239</a></div></div> <div class="ttc" id="class_w_i_i_html_ae25a8ea1b0713801e0209e795b4596fa"><div class="ttname"><a href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">WII::wiimoteConnected</a></div><div class="ttdeci">bool wiimoteConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00239">Wii.h:239</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4dc8f94fe85028f3d54f13dde1e5b4ee"><div class="ttname"><a href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">BTD::incomingWii</a></div><div class="ttdeci">bool incomingWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00419">BTD.h:419</a></div></div> <div class="ttc" id="class_b_t_d_html_a4dc8f94fe85028f3d54f13dde1e5b4ee"><div class="ttname"><a href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">BTD::incomingWii</a></div><div class="ttdeci">bool incomingWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00432">BTD.h:432</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a15cc1db556ad9a4ec6144ca8a42f8919"><div class="ttname"><a href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a></div><div class="ttdeci">#define L2CAP_WAIT</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00027">PS3BT.h:27</a></div></div>
<div class="ttc" id="class_w_i_i_html_a749ea9dd39ba9a5320c5b24ce93bc544"><div class="ttname"><a href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">WII::gyroPitchRaw</a></div><div class="ttdeci">int16_t gyroPitchRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00307">Wii.h:307</a></div></div> <div class="ttc" id="class_w_i_i_html_a749ea9dd39ba9a5320c5b24ce93bc544"><div class="ttname"><a href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">WII::gyroPitchRaw</a></div><div class="ttdeci">int16_t gyroPitchRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00307">Wii.h:307</a></div></div>
<div class="ttc" id="_wii_8h_html_a7ae9154397104e4df34302ed0884bbfb"><div class="ttname"><a href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb">nunchuck_connected_flag</a></div><div class="ttdeci">#define nunchuck_connected_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00077">Wii.h:77</a></div></div> <div class="ttc" id="_wii_8h_html_a7ae9154397104e4df34302ed0884bbfb"><div class="ttname"><a href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb">nunchuck_connected_flag</a></div><div class="ttdeci">#define nunchuck_connected_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00077">Wii.h:77</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a27057737ae0b2246442511c01eeed192"><div class="ttname"><a href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00046">PS3BT.h:46</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6c0971ae4c9ab752888a5871020c8331"><div class="ttname"><a href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">WII::rollGyroScale</a></div><div class="ttdeci">uint16_t rollGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00299">Wii.h:299</a></div></div> <div class="ttc" id="class_w_i_i_html_a6c0971ae4c9ab752888a5871020c8331"><div class="ttname"><a href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">WII::rollGyroScale</a></div><div class="ttdeci">uint16_t rollGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00299">Wii.h:299</a></div></div>
<div class="ttc" id="class_b_t_d_html_a7d34c62b1d561679dea5cd27356b38a7"><div class="ttname"><a href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">BTD::l2cap_connection_response</a></div><div class="ttdeci">void l2cap_connection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01157">BTD.cpp:1157</a></div></div> <div class="ttc" id="class_b_t_d_html_a7d34c62b1d561679dea5cd27356b38a7"><div class="ttname"><a href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">BTD::l2cap_connection_response</a></div><div class="ttdeci">void l2cap_connection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01222">BTD.cpp:1222</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a1be7a56cdddcdb7dedf16d4dee381e93"><div class="ttname"><a href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a></div><div class="ttdeci">#define SUCCESSFUL</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00121">BTD.h:121</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a1be7a56cdddcdb7dedf16d4dee381e93"><div class="ttname"><a href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a></div><div class="ttdeci">#define SUCCESSFUL</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00121">BTD.h:121</a></div></div>
<div class="ttc" id="class_b_t_d_html_a55cf412a2053972a353b1ab964ca9d3e"><div class="ttname"><a href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">BTD::l2cap_connection_request</a></div><div class="ttdeci">void l2cap_connection_request(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01144">BTD.cpp:1144</a></div></div> <div class="ttc" id="class_b_t_d_html_a55cf412a2053972a353b1ab964ca9d3e"><div class="ttname"><a href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">BTD::l2cap_connection_request</a></div><div class="ttdeci">void l2cap_connection_request(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01209">BTD.cpp:1209</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_aaaf733ee2c84bd8df4d24f2ae1f3b378"><div class="ttname"><a href="_b_t_h_i_d_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00034">BTHID.h:34</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae7e07f929fba8f0ff061a1405baa2b58"><div class="ttname"><a href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">WII::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00876">Wii.cpp:876</a></div></div> <div class="ttc" id="class_w_i_i_html_ae7e07f929fba8f0ff061a1405baa2b58"><div class="ttname"><a href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">WII::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00876">Wii.cpp:876</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0694969a30092b9b1dcb26120c7cff73"><div class="ttname"><a href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a></div><div class="ttdeci">uint16_t yawGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00300">Wii.h:300</a></div></div> <div class="ttc" id="class_w_i_i_html_a0694969a30092b9b1dcb26120c7cff73"><div class="ttname"><a href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a></div><div class="ttdeci">uint16_t yawGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00300">Wii.h:300</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div> <div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00084">Wii.h:84</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00082">Wii.h:82</a></div></div>
<div class="ttc" id="_wii_8h_html_ae0ff99c8862a05df8877329982e1ef61"><div class="ttname"><a href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a></div><div class="ttdeci">#define WII_FLAG_NUNCHUCK_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00074">Wii.h:74</a></div></div> <div class="ttc" id="_wii_8h_html_ae0ff99c8862a05df8877329982e1ef61"><div class="ttname"><a href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a></div><div class="ttdeci">#define WII_FLAG_NUNCHUCK_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00074">Wii.h:74</a></div></div>
<div class="ttc" id="class_b_t_d_html_ac7053ef7ac690be3afbbdd985b163f10"><div class="ttname"><a href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">BTD::l2cap_disconnection_request</a></div><div class="ttdeci">void l2cap_disconnection_request(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01210">BTD.cpp:1210</a></div></div> <div class="ttc" id="class_b_t_d_html_ac7053ef7ac690be3afbbdd985b163f10"><div class="ttname"><a href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">BTD::l2cap_disconnection_request</a></div><div class="ttdeci">void l2cap_disconnection_request(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01275">BTD.cpp:1275</a></div></div>
<div class="ttc" id="class_w_i_i_html_a81e1eb4d9ef9999a84e71d764d54dff7"><div class="ttname"><a href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00134">Wii.cpp:134</a></div></div> <div class="ttc" id="class_w_i_i_html_a81e1eb4d9ef9999a84e71d764d54dff7"><div class="ttname"><a href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00134">Wii.cpp:134</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a667178a4486c4dee88e052b3562362cd"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00059">BTHID.h:59</a></div></div>
<div class="ttc" id="_wii_8h_html_a3d4b4f06162f96e91d97650f5c2e60f7"><div class="ttname"><a href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7">motion_plus_connected_flag</a></div><div class="ttdeci">#define motion_plus_connected_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00076">Wii.h:76</a></div></div> <div class="ttc" id="_wii_8h_html_a3d4b4f06162f96e91d97650f5c2e60f7"><div class="ttname"><a href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7">motion_plus_connected_flag</a></div><div class="ttdeci">#define motion_plus_connected_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00076">Wii.h:76</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><div class="ttname"><a href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">BTD::pairWithWii</a></div><div class="ttdeci">bool pairWithWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00421">BTD.h:421</a></div></div> <div class="ttc" id="class_b_t_d_html_a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><div class="ttname"><a href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">BTD::pairWithWii</a></div><div class="ttdeci">bool pairWithWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00434">BTD.h:434</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2a0e4745bff7cfec644bcebe984c2bc8"><div class="ttname"><a href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">WII::gyroRoll</a></div><div class="ttdeci">double gyroRoll</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00285">Wii.h:285</a></div></div> <div class="ttc" id="class_w_i_i_html_a2a0e4745bff7cfec644bcebe984c2bc8"><div class="ttname"><a href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">WII::gyroRoll</a></div><div class="ttdeci">double gyroRoll</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00285">Wii.h:285</a></div></div>
<div class="ttc" id="class_w_i_i_html_af7755e2b2a161a550c99de2ca1018ce3"><div class="ttname"><a href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">WII::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00893">Wii.cpp:893</a></div></div> <div class="ttc" id="class_w_i_i_html_af7755e2b2a161a550c99de2ca1018ce3"><div class="ttname"><a href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">WII::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00893">Wii.cpp:893</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0d9c869bd3677c4488a586c38558a137"><div class="ttname"><a href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">WII::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00864">Wii.cpp:864</a></div></div> <div class="ttc" id="class_w_i_i_html_a0d9c869bd3677c4488a586c38558a137"><div class="ttname"><a href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">WII::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00864">Wii.cpp:864</a></div></div>
@ -1312,93 +1312,93 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="_wii_8h_html_a11f7dbb22bf86e28848abc165e22c2de"><div class="ttname"><a href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de">L2CAP_LED_STATE</a></div><div class="ttdeci">#define L2CAP_LED_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00046">Wii.h:46</a></div></div> <div class="ttc" id="_wii_8h_html_a11f7dbb22bf86e28848abc165e22c2de"><div class="ttname"><a href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de">L2CAP_LED_STATE</a></div><div class="ttdeci">#define L2CAP_LED_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00046">Wii.h:46</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_af83672eccf0c7a02847ce75bc5c55a1a"><div class="ttname"><a href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a></div><div class="ttdeci">const uint8_t LEDS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00043">PS3Enums.h:43</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_af83672eccf0c7a02847ce75bc5c55a1a"><div class="ttname"><a href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a></div><div class="ttdeci">const uint8_t LEDS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00043">PS3Enums.h:43</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae946f7d6e9ce89fb083f5f138c0736c2"><div class="ttname"><a href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">WII::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00912">Wii.cpp:912</a></div></div> <div class="ttc" id="class_w_i_i_html_ae946f7d6e9ce89fb083f5f138c0736c2"><div class="ttname"><a href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">WII::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00912">Wii.cpp:912</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a728c7d92dd341dcc1b8f4bf95bb4826d"><div class="ttname"><a href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a></div><div class="ttdeci">#define l2cap_connection_request_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00050">PS3BT.h:50</a></div></div>
<div class="ttc" id="class_w_i_i_html_aabe4780f258dada1c0564a4ac7607370"><div class="ttname"><a href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00117">Wii.cpp:117</a></div></div> <div class="ttc" id="class_w_i_i_html_aabe4780f258dada1c0564a4ac7607370"><div class="ttname"><a href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00117">Wii.cpp:117</a></div></div>
<div class="ttc" id="class_b_t_d_html_a3aea445b2349e99ef057db1a4ffdd9dc"><div class="ttname"><a href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">BTD::motionPlusInside</a></div><div class="ttdeci">bool motionPlusInside</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00423">BTD.h:423</a></div></div> <div class="ttc" id="class_b_t_d_html_a3aea445b2349e99ef057db1a4ffdd9dc"><div class="ttname"><a href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">BTD::motionPlusInside</a></div><div class="ttdeci">bool motionPlusInside</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00436">BTD.h:436</a></div></div>
<div class="ttc" id="_wii_8h_html_a2e5a9c283f0912833f3e0418d3feadd7"><div class="ttname"><a href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_CONTROL_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00053">Wii.h:53</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7efe7577ba30c218f6fbd3804a53d242"><div class="ttname"><a href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">WII::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00881">Wii.cpp:881</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_ac7aa7fd7a8a34a6c9e420e3cb114737b"><div class="ttname"><a href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_SETUP</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00030">PS3BT.h:30</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a13b5931284d5bcd6647f681cda95b4"><div class="ttname"><a href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">WII::accXnunchuck</a></div><div class="ttdeci">int16_t accXnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div> <div class="ttc" id="class_w_i_i_html_a3a13b5931284d5bcd6647f681cda95b4"><div class="ttname"><a href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">WII::accXnunchuck</a></div><div class="ttdeci">int16_t accXnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_adbf9ccb1725dc432e07ca19468713116"><div class="ttname"><a href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">WII::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01041">Wii.cpp:1041</a></div></div> <div class="ttc" id="class_w_i_i_html_adbf9ccb1725dc432e07ca19468713116"><div class="ttname"><a href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">WII::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01041">Wii.cpp:1041</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a2b3cdcd3124251a40ce825da0d8dcb6f"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00047">BTHID.h:47</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="_wii_8h_html_ac72a2b645fafc5bdbd85c1f59cc937cc"><div class="ttname"><a href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connected_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00064">Wii.h:64</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_a728c7d92dd341dcc1b8f4bf95bb4826d"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a></div><div class="ttdeci">#define l2cap_connection_request_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00060">BTHID.h:60</a></div></div>
<div class="ttc" id="_wii_8h_html_aaaf733ee2c84bd8df4d24f2ae1f3b378"><div class="ttname"><a href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00038">Wii.h:38</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0784c779ebeae2d459996c35a54ee3b8"><div class="ttname"><a href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">WII::gyroRollRaw</a></div><div class="ttdeci">int16_t gyroRollRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00306">Wii.h:306</a></div></div> <div class="ttc" id="class_w_i_i_html_a0784c779ebeae2d459996c35a54ee3b8"><div class="ttname"><a href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">WII::gyroRollRaw</a></div><div class="ttdeci">int16_t gyroRollRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00306">Wii.h:306</a></div></div>
<div class="ttc" id="_wii_8cpp_html_a6571a59427c954eefde75bb40f02443e"><div class="ttname"><a href="_wii_8cpp.html#a6571a59427c954eefde75bb40f02443e">PROCONTROLLERBUTTONS</a></div><div class="ttdeci">const uint32_t PROCONTROLLERBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00058">Wii.cpp:58</a></div></div> <div class="ttc" id="_wii_8cpp_html_a6571a59427c954eefde75bb40f02443e"><div class="ttname"><a href="_wii_8cpp.html#a6571a59427c954eefde75bb40f02443e">PROCONTROLLERBUTTONS</a></div><div class="ttdeci">const uint32_t PROCONTROLLERBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00058">Wii.cpp:58</a></div></div>
<div class="ttc" id="_wii_8h_html"><div class="ttname"><a href="_wii_8h.html">Wii.h</a></div></div> <div class="ttc" id="_wii_8h_html"><div class="ttname"><a href="_wii_8h.html">Wii.h</a></div></div>
<div class="ttc" id="class_b_t_d_html_a29d176d9194e5c92fbe54791fc245407"><div class="ttname"><a href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">BTD::l2cap_disconnection_response</a></div><div class="ttdeci">void l2cap_disconnection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01223">BTD.cpp:1223</a></div></div> <div class="ttc" id="class_b_t_d_html_a29d176d9194e5c92fbe54791fc245407"><div class="ttname"><a href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">BTD::l2cap_disconnection_response</a></div><div class="ttdeci">void l2cap_disconnection_response(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01288">BTD.cpp:1288</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3505abbc01c71d134ce301dfb7c0c5b5"><div class="ttname"><a href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a></div><div class="ttdeci">void IRinitialize()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01089">Wii.cpp:1089</a></div></div> <div class="ttc" id="class_w_i_i_html_a3505abbc01c71d134ce301dfb7c0c5b5"><div class="ttname"><a href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a></div><div class="ttdeci">void IRinitialize()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01089">Wii.cpp:1089</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a9b5140e7ca5941e5535c575255ffc1cc"><div class="ttname"><a href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_CONTROL_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00037">PS3BT.h:37</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_aad823543553cc7500ac49d7479eb858f"><div class="ttname"><a href="_b_t_h_i_d_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_INTERRUPT_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00045">BTHID.h:45</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00086">Wii.h:86</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00084">Wii.h:84</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#l00044">message.h:44</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#l00044">message.h:44</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a15cc1db556ad9a4ec6144ca8a42f8919"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a></div><div class="ttdeci">#define L2CAP_WAIT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00026">BTHID.h:26</a></div></div>
<div class="ttc" id="class_w_i_i_html_a841396b533cccccb05db37d35f6fef9c"><div class="ttname"><a href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">WII::setRumbleToggle</a></div><div class="ttdeci">void setRumbleToggle()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00870">Wii.cpp:870</a></div></div> <div class="ttc" id="class_w_i_i_html_a841396b533cccccb05db37d35f6fef9c"><div class="ttname"><a href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">WII::setRumbleToggle</a></div><div class="ttdeci">void setRumbleToggle()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00870">Wii.cpp:870</a></div></div>
<div class="ttc" id="class_w_i_i_html_abbc31ecd4495d70258cfa095e34cb3c3"><div class="ttname"><a href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">WII::gyroPitchZero</a></div><div class="ttdeci">int16_t gyroPitchZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00314">Wii.h:314</a></div></div> <div class="ttc" id="class_w_i_i_html_abbc31ecd4495d70258cfa095e34cb3c3"><div class="ttname"><a href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">WII::gyroPitchZero</a></div><div class="ttdeci">int16_t gyroPitchZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00314">Wii.h:314</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_acc096a05301f3cbdece4ad372cc149c3"><div class="ttname"><a href="_b_t_h_i_d_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00049">BTHID.h:49</a></div></div>
<div class="ttc" id="class_w_i_i_html_aea6ce6f3222df3e547e9957673c7a07a"><div class="ttname"><a href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">WII::pitchGyroScale</a></div><div class="ttdeci">uint16_t pitchGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00298">Wii.h:298</a></div></div> <div class="ttc" id="class_w_i_i_html_aea6ce6f3222df3e547e9957673c7a07a"><div class="ttname"><a href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">WII::pitchGyroScale</a></div><div class="ttdeci">uint16_t pitchGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00298">Wii.h:298</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a9fa7bceb44bbdff3229fd431627b9868"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connection_request_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00061">BTHID.h:61</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a1465673868452307bcdab8e201430c27"><div class="ttname"><a href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a></div><div class="ttdeci">#define HID_CTRL_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00126">BTD.h:126</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a1465673868452307bcdab8e201430c27"><div class="ttname"><a href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a></div><div class="ttdeci">#define HID_CTRL_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00126">BTD.h:126</a></div></div>
<div class="ttc" id="class_w_i_i_html_a9a58b857c84fa82152be7983efe70f60"><div class="ttname"><a href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">WII::getWiimoteRoll</a></div><div class="ttdeci">double getWiimoteRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00260">Wii.h:260</a></div></div> <div class="ttc" id="class_w_i_i_html_a9a58b857c84fa82152be7983efe70f60"><div class="ttname"><a href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">WII::getWiimoteRoll</a></div><div class="ttdeci">double getWiimoteRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00260">Wii.h:260</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6597cb0e240a8ccb4ebdb236daef712e"><div class="ttname"><a href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII::WII</a></div><div class="ttdeci">WII(BTD *p, bool pair=false)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00084">Wii.cpp:84</a></div></div> <div class="ttc" id="class_w_i_i_html_a6597cb0e240a8ccb4ebdb236daef712e"><div class="ttname"><a href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII::WII</a></div><div class="ttdeci">WII(BTD *p, bool pair=false)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00084">Wii.cpp:84</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a7f0cab74308e812106252c53b18c0391"><div class="ttname"><a href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00056">PS3BT.h:56</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3fb552c6ad486e23434dcb347a2a4b84"><div class="ttname"><a href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">WII::rollGyroSpeed</a></div><div class="ttdeci">double rollGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00292">Wii.h:292</a></div></div> <div class="ttc" id="class_w_i_i_html_a3fb552c6ad486e23434dcb347a2a4b84"><div class="ttname"><a href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">WII::rollGyroSpeed</a></div><div class="ttdeci">double rollGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00292">Wii.h:292</a></div></div>
<div class="ttc" id="_wii_8h_html_af0b913a7e9e54b1f6ab95d82bd36f954"><div class="ttname"><a href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00039">Wii.h:39</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_ab569b2085ad29f41d1da9c0ed352bd65"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00040">BTHID.h:40</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_acc096a05301f3cbdece4ad372cc149c3"><div class="ttname"><a href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00047">PS3BT.h:47</a></div></div> <div class="ttc" id="class_b_t_d_html_ac7caac80fb6f5f0e794af3644887d88e"><div class="ttname"><a href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">BTD::connectToWii</a></div><div class="ttdeci">bool connectToWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00428">BTD.h:428</a></div></div>
<div class="ttc" id="class_b_t_d_html_ac7caac80fb6f5f0e794af3644887d88e"><div class="ttname"><a href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">BTD::connectToWii</a></div><div class="ttdeci">bool connectToWii</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00415">BTD.h:415</a></div></div> <div class="ttc" id="class_b_t_d_html_a962a5714c225dcb633434f02e3657583"><div class="ttname"><a href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">BTD::wiiUProController</a></div><div class="ttdeci">bool wiiUProController</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00438">BTD.h:438</a></div></div>
<div class="ttc" id="class_b_t_d_html_a962a5714c225dcb633434f02e3657583"><div class="ttname"><a href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">BTD::wiiUProController</a></div><div class="ttdeci">bool wiiUProController</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00425">BTD.h:425</a></div></div> <div class="ttc" id="class_b_t_d_html_aa3bb6c692701cb33dfad1ea4d68b6f98"><div class="ttname"><a href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">BTD::hci_handle</a></div><div class="ttdeci">uint16_t hci_handle</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div>
<div class="ttc" id="class_b_t_d_html_aa3bb6c692701cb33dfad1ea4d68b6f98"><div class="ttname"><a href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">BTD::hci_handle</a></div><div class="ttdeci">uint16_t hci_handle</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00399">BTD.h:399</a></div></div> <div class="ttc" id="class_b_t_d_html_a1bea5dd793a2f47006b4a7642efc9e56"><div class="ttname"><a href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">BTD::hci_disconnect</a></div><div class="ttdeci">void hci_disconnect(uint16_t handle)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01133">BTD.cpp:1133</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_ab569b2085ad29f41d1da9c0ed352bd65"><div class="ttname"><a href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00036">PS3BT.h:36</a></div></div>
<div class="ttc" id="class_b_t_d_html_a1bea5dd793a2f47006b4a7642efc9e56"><div class="ttname"><a href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">BTD::hci_disconnect</a></div><div class="ttdeci">void hci_disconnect(uint16_t handle)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01068">BTD.cpp:1068</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><div class="ttname"><a href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">WII::setLedStatus</a></div><div class="ttdeci">void setLedStatus()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00899">Wii.cpp:899</a></div></div> <div class="ttc" id="class_w_i_i_html_a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><div class="ttname"><a href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">WII::setLedStatus</a></div><div class="ttdeci">void setLedStatus()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00899">Wii.cpp:899</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca">LeftHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00111">controllerEnums.h:111</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca">LeftHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00111">controllerEnums.h:111</a></div></div>
<div class="ttc" id="_wii_8h_html_a34631633d4557244dc8eda52e8505acd"><div class="ttname"><a href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd">WII_FLAG_MOTION_PLUS_CONNECTED</a></div><div class="ttdeci">#define WII_FLAG_MOTION_PLUS_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00073">Wii.h:73</a></div></div> <div class="ttc" id="_wii_8h_html_a34631633d4557244dc8eda52e8505acd"><div class="ttname"><a href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd">WII_FLAG_MOTION_PLUS_CONNECTED</a></div><div class="ttdeci">#define WII_FLAG_MOTION_PLUS_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00073">Wii.h:73</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a68bcdd68c269cd7970d5271a00bbe5fe"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00033">BTHID.h:33</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a7b9dd571c5a8597bfb194000bd517c"><div class="ttname"><a href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">WII::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00887">Wii.cpp:887</a></div></div> <div class="ttc" id="class_w_i_i_html_a3a7b9dd571c5a8597bfb194000bd517c"><div class="ttname"><a href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">WII::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00887">Wii.cpp:887</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_ae4da52ca67e1f8b977199b24e8f3a400"><div class="ttname"><a href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a></div><div class="ttdeci">#define L2CAP_DONE</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00035">PS3BT.h:35</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a969a1ee84797f3ee5006c41f67373f96"><div class="ttname"><a href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00040">PS3BT.h:40</a></div></div>
<div class="ttc" id="_wii_8h_html_a73e3a81d9a8850075fd10933acc5a035"><div class="ttname"><a href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00041">Wii.h:41</a></div></div>
<div class="ttc" id="class_w_i_i_html_aa2c14275d9e482e6add06cb34ccf1197"><div class="ttname"><a href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">WII::accYwiimote</a></div><div class="ttdeci">int16_t accYwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div> <div class="ttc" id="class_w_i_i_html_aa2c14275d9e482e6add06cb34ccf1197"><div class="ttname"><a href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">WII::accYwiimote</a></div><div class="ttdeci">int16_t accYwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ae4da52ca67e1f8b977199b24e8f3a400"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a></div><div class="ttdeci">#define L2CAP_DONE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00038">BTHID.h:38</a></div></div>
<div class="ttc" id="class_w_i_i_html_a461f5b7a5f2bc874e107fc776c284b16"><div class="ttname"><a href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">WII::wiiUProControllerConnected</a></div><div class="ttdeci">bool wiiUProControllerConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00250">Wii.h:250</a></div></div> <div class="ttc" id="class_w_i_i_html_a461f5b7a5f2bc874e107fc776c284b16"><div class="ttname"><a href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">WII::wiiUProControllerConnected</a></div><div class="ttdeci">bool wiiUProControllerConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00250">Wii.h:250</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a667178a4486c4dee88e052b3562362cd"><div class="ttname"><a href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00057">PS3BT.h:57</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_ac7aa7fd7a8a34a6c9e420e3cb114737b"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_SETUP</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00030">BTHID.h:30</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a9fa7bceb44bbdff3229fd431627b9868"><div class="ttname"><a href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connection_request_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00053">PS3BT.h:53</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_a7f0cab74308e812106252c53b18c0391"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a></div><div class="ttdeci">#define l2cap_disconnect_response_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00058">BTHID.h:58</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a015f3b25bd7a2908c84b973dec453f45"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00051">BTHID.h:51</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a969a1ee84797f3ee5006c41f67373f96"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00050">BTHID.h:50</a></div></div>
<div class="ttc" id="_wii_8h_html_ab84d043703110a74ba9b8d7afa30c5de"><div class="ttname"><a href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de">L2CAP_CHECK_EXTENSION_STATE</a></div><div class="ttdeci">#define L2CAP_CHECK_EXTENSION_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00044">Wii.h:44</a></div></div> <div class="ttc" id="_wii_8h_html_ab84d043703110a74ba9b8d7afa30c5de"><div class="ttname"><a href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de">L2CAP_CHECK_EXTENSION_STATE</a></div><div class="ttdeci">#define L2CAP_CHECK_EXTENSION_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00044">Wii.h:44</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2c5c32841b020b248f757cb793acb936"><div class="ttname"><a href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">WII::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00858">Wii.cpp:858</a></div></div> <div class="ttc" id="class_w_i_i_html_a2c5c32841b020b248f757cb793acb936"><div class="ttname"><a href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">WII::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00858">Wii.cpp:858</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a48bcd73461d736d0ef889e1fe6e36f69"><div class="ttname"><a href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00112">BTD.h:112</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a48bcd73461d736d0ef889e1fe6e36f69"><div class="ttname"><a href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69">L2CAP_CMD_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00112">BTD.h:112</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a398676a2e9a2351a5a52afdddf4b660b"><div class="ttname"><a href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b">L2CAP_CMD_DISCONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00114">BTD.h:114</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a398676a2e9a2351a5a52afdddf4b660b"><div class="ttname"><a href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b">L2CAP_CMD_DISCONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00114">BTD.h:114</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6e97bfcfb134b63d7190ba1bc326e1d3"><div class="ttname"><a href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">WII::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00852">Wii.cpp:852</a></div></div> <div class="ttc" id="class_w_i_i_html_a6e97bfcfb134b63d7190ba1bc326e1d3"><div class="ttname"><a href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">WII::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00852">Wii.cpp:852</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a2b3cdcd3124251a40ce825da0d8dcb6f"><div class="ttname"><a href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00045">PS3BT.h:45</a></div></div> <div class="ttc" id="class_w_i_i_html_ae3eb7942181a9c9e681e18bd5c8eaef4"><div class="ttname"><a href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">WII::setLedOff</a></div><div class="ttdeci">void setLedOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00193">Wii.h:193</a></div></div>
<div class="ttc" id="class_w_i_i_html_a988db5b35cfc3c543f93f49587a50e62"><div class="ttname"><a href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">WII::gyroYaw</a></div><div class="ttdeci">double gyroYaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00287">Wii.h:287</a></div></div> <div class="ttc" id="class_w_i_i_html_a988db5b35cfc3c543f93f49587a50e62"><div class="ttname"><a href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">WII::gyroYaw</a></div><div class="ttdeci">double gyroYaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00287">Wii.h:287</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a015f3b25bd7a2908c84b973dec453f45"><div class="ttname"><a href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00043">PS3BT.h:43</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a4c5ac96db74d61d4a5a5d945a400e7da"><div class="ttname"><a href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a></div><div class="ttdeci">#define HID_INTR_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00127">BTD.h:127</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a4c5ac96db74d61d4a5a5d945a400e7da"><div class="ttname"><a href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da">HID_INTR_PSM</a></div><div class="ttdeci">#define HID_INTR_PSM</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00127">BTD.h:127</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_af0b913a7e9e54b1f6ab95d82bd36f954"><div class="ttname"><a href="_b_t_h_i_d_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00035">BTHID.h:35</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7cb4cec343c65fd350e6b05043d7f1a8"><div class="ttname"><a href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">WII::nunchuckConnected</a></div><div class="ttdeci">bool nunchuckConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00246">Wii.h:246</a></div></div> <div class="ttc" id="class_w_i_i_html_a7cb4cec343c65fd350e6b05043d7f1a8"><div class="ttname"><a href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">WII::nunchuckConnected</a></div><div class="ttdeci">bool nunchuckConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00246">Wii.h:246</a></div></div>
<div class="ttc" id="class_b_t_d_html_a4adfc7e51ad3b3c03e7c37d1af159e73"><div class="ttname"><a href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">BTD::registerServiceClass</a></div><div class="ttdeci">int8_t registerServiceClass(BluetoothService *pService)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00250">BTD.h:250</a></div></div> <div class="ttc" id="class_b_t_d_html_a4adfc7e51ad3b3c03e7c37d1af159e73"><div class="ttname"><a href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">BTD::registerServiceClass</a></div><div class="ttdeci">int8_t registerServiceClass(BluetoothService *pService)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00258">BTD.h:258</a></div></div>
<div class="ttc" id="class_b_t_d_html_a0f1c28a03bcbe62cc7c083f97ea27594"><div class="ttname"><a href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">BTD::l2capConnectionClaimed</a></div><div class="ttdeci">bool l2capConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00385">BTD.h:385</a></div></div> <div class="ttc" id="class_b_t_d_html_a0f1c28a03bcbe62cc7c083f97ea27594"><div class="ttname"><a href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">BTD::l2capConnectionClaimed</a></div><div class="ttdeci">bool l2capConnectionClaimed</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00398">BTD.h:398</a></div></div>
<div class="ttc" id="class_w_i_i_html_ab813b65548e827f41a5192fcc34056ea"><div class="ttname"><a href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">WII::gyroYawRaw</a></div><div class="ttdeci">int16_t gyroYawRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00305">Wii.h:305</a></div></div> <div class="ttc" id="class_w_i_i_html_ab813b65548e827f41a5192fcc34056ea"><div class="ttname"><a href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">WII::gyroYawRaw</a></div><div class="ttdeci">int16_t gyroYawRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00305">Wii.h:305</a></div></div>
<div class="ttc" id="class_w_i_i_html_acf4b3ef0a4fa0cf71133a22213361288"><div class="ttname"><a href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">WII::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01034">Wii.cpp:1034</a></div></div> <div class="ttc" id="class_w_i_i_html_acf4b3ef0a4fa0cf71133a22213361288"><div class="ttname"><a href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">WII::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01034">Wii.cpp:1034</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0a444d7e348026e062751cf723877e8f"><div class="ttname"><a href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">WII::isIRCameraEnabled</a></div><div class="ttdeci">bool isIRCameraEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00425">Wii.h:425</a></div></div> <div class="ttc" id="class_w_i_i_html_a0a444d7e348026e062751cf723877e8f"><div class="ttname"><a href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">WII::isIRCameraEnabled</a></div><div class="ttdeci">bool isIRCameraEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00425">Wii.h:425</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></div><div class="ttdeci">Hat</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00082">Wii.h:82</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></div><div class="ttdeci">Hat</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00080">Wii.h:80</a></div></div>
<div class="ttc" id="_wii_8h_html_a68bcdd68c269cd7970d5271a00bbe5fe"><div class="ttname"><a href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_CONNECT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00037">Wii.h:37</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a4c64a41200714e457b397496183dc0e4"><div class="ttname"><a href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4">L2CAP_CMD_DISCONNECT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00115">BTD.h:115</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a4c64a41200714e457b397496183dc0e4"><div class="ttname"><a href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4">L2CAP_CMD_DISCONNECT_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_DISCONNECT_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00115">BTD.h:115</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_aef7b306479de265d725dbe5816a8227b"><div class="ttname"><a href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b">L2CAP_CMD_CONNECTION_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00111">BTD.h:111</a></div></div> <div class="ttc" id="_b_t_d_8h_html_aef7b306479de265d725dbe5816a8227b"><div class="ttname"><a href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b">L2CAP_CMD_CONNECTION_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00111">BTD.h:111</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_ac72a2b645fafc5bdbd85c1f59cc937cc"><div class="ttname"><a href="_b_t_h_i_d_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a></div><div class="ttdeci">#define l2cap_connected_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00055">BTHID.h:55</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a8151b1fe5d940a5a7a34f43a8b8ce434"><div class="ttname"><a href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00113">BTD.h:113</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a8151b1fe5d940a5a7a34f43a8b8ce434"><div class="ttname"><a href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434">L2CAP_CMD_CONFIG_RESPONSE</a></div><div class="ttdeci">#define L2CAP_CMD_CONFIG_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00113">BTD.h:113</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a2e5a9c283f0912833f3e0418d3feadd7"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_CONTROL_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00044">BTHID.h:44</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2fb34f50b5374c9442af263f61595af4"><div class="ttname"><a href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">WII::getWiimotePitch</a></div><div class="ttdeci">double getWiimotePitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00257">Wii.h:257</a></div></div> <div class="ttc" id="class_w_i_i_html_a2fb34f50b5374c9442af263f61595af4"><div class="ttname"><a href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">WII::getWiimotePitch</a></div><div class="ttdeci">double getWiimotePitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00257">Wii.h:257</a></div></div>
<div class="ttc" id="class_w_i_i_html_a39c3101b26cc549d5258018b3d05c608"><div class="ttname"><a href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">WII::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00133">Wii.h:133</a></div></div> <div class="ttc" id="class_w_i_i_html_a39c3101b26cc549d5258018b3d05c608"><div class="ttname"><a href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">WII::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00131">Wii.h:131</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a9b3e87e1f460bc011e69f5e53e79c104"><div class="ttname"><a href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a></div><div class="ttdeci">#define l2cap_config_success_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00055">PS3BT.h:55</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_a39a58b19fb4ef26cf503ed57a43570a4"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a></div><div class="ttdeci">#define l2cap_config_success_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00056">BTHID.h:56</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a39a58b19fb4ef26cf503ed57a43570a4"><div class="ttname"><a href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a></div><div class="ttdeci">#define l2cap_config_success_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00052">PS3BT.h:52</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_a9b3e87e1f460bc011e69f5e53e79c104"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a></div><div class="ttdeci">#define l2cap_config_success_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00057">BTHID.h:57</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_acaec1ddc53593c80dc625c1f361e3a24"><div class="ttname"><a href="_b_t_h_i_d_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a></div><div class="ttdeci">#define l2cap_connected_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00054">BTHID.h:54</a></div></div>
<div class="ttc" id="_wii_8h_html_a44edf5415459cba3cc378992fef7560b"><div class="ttname"><a href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b">L2CAP_CHECK_MOTION_PLUS_STATE</a></div><div class="ttdeci">#define L2CAP_CHECK_MOTION_PLUS_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00043">Wii.h:43</a></div></div> <div class="ttc" id="_wii_8h_html_a44edf5415459cba3cc378992fef7560b"><div class="ttname"><a href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b">L2CAP_CHECK_MOTION_PLUS_STATE</a></div><div class="ttdeci">#define L2CAP_CHECK_MOTION_PLUS_STATE</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00043">Wii.h:43</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad5df436cc5d073f26bf3ea5c60d788d6"><div class="ttname"><a href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">WII::yawGyroSpeed</a></div><div class="ttdeci">double yawGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00293">Wii.h:293</a></div></div> <div class="ttc" id="class_w_i_i_html_ad5df436cc5d073f26bf3ea5c60d788d6"><div class="ttname"><a href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">WII::yawGyroSpeed</a></div><div class="ttdeci">double yawGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00293">Wii.h:293</a></div></div>
<div class="ttc" id="_wii_8h_html_acaec1ddc53593c80dc625c1f361e3a24"><div class="ttname"><a href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a></div><div class="ttdeci">#define l2cap_connected_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00063">Wii.h:63</a></div></div>
<div class="ttc" id="_wii_8h_html_aad823543553cc7500ac49d7479eb858f"><div class="ttname"><a href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a></div><div class="ttdeci">#define L2CAP_FLAG_INTERRUPT_CONNECTED</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00054">Wii.h:54</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae657585a560e9d214e6c0219f8b47aeb"><div class="ttname"><a href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">WII::accYnunchuck</a></div><div class="ttdeci">int16_t accYnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div> <div class="ttc" id="class_w_i_i_html_ae657585a560e9d214e6c0219f8b47aeb"><div class="ttname"><a href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">WII::accYnunchuck</a></div><div class="ttdeci">int16_t accYnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad4f0d2456c56414f9b8013b85a1ee7d2"><div class="ttname"><a href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">WII::gyroYawZero</a></div><div class="ttdeci">int16_t gyroYawZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00312">Wii.h:312</a></div></div> <div class="ttc" id="class_w_i_i_html_ad4f0d2456c56414f9b8013b85a1ee7d2"><div class="ttname"><a href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">WII::gyroYawZero</a></div><div class="ttdeci">int16_t gyroYawZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00312">Wii.h:312</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_abac08b5b24a1cd2b12517cd9aa6c616b"><div class="ttname"><a href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00029">PS3BT.h:29</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_abac08b5b24a1cd2b12517cd9aa6c616b"><div class="ttname"><a href="_b_t_h_i_d_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00029">BTHID.h:29</a></div></div>
<div class="ttc" id="class_w_i_i_html_acfb290a86aa9a65dd4ae84d02e3c6ded"><div class="ttname"><a href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">WII::pitchGyroSpeed</a></div><div class="ttdeci">double pitchGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00291">Wii.h:291</a></div></div> <div class="ttc" id="class_w_i_i_html_acfb290a86aa9a65dd4ae84d02e3c6ded"><div class="ttname"><a href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">WII::pitchGyroSpeed</a></div><div class="ttdeci">double pitchGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00291">Wii.h:291</a></div></div>
<div class="ttc" id="class_w_i_i_html_af61f57d34b81f2a878f0126a074e3af4"><div class="ttname"><a href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">WII::gyroPitch</a></div><div class="ttdeci">double gyroPitch</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00283">Wii.h:283</a></div></div> <div class="ttc" id="class_w_i_i_html_af61f57d34b81f2a878f0126a074e3af4"><div class="ttname"><a href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">WII::gyroPitch</a></div><div class="ttdeci">double gyroPitch</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00283">Wii.h:283</a></div></div>
<div class="ttc" id="class_b_t_d_html_aad7d8ef46e60b48ff4aaabefb0b290e7"><div class="ttname"><a href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">BTD::L2CAP_Command</a></div><div class="ttdeci">void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01116">BTD.cpp:1116</a></div></div> <div class="ttc" id="class_b_t_d_html_aad7d8ef46e60b48ff4aaabefb0b290e7"><div class="ttname"><a href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">BTD::L2CAP_Command</a></div><div class="ttdeci">void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01181">BTD.cpp:1181</a></div></div>
<div class="ttc" id="class_b_t_d_html_a792ac4529b65235698ecf3d37982c05e"><div class="ttname"><a href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">BTD::l2cap_config_response</a></div><div class="ttdeci">void l2cap_config_response(uint16_t handle, uint8_t rxid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01191">BTD.cpp:1191</a></div></div> <div class="ttc" id="class_b_t_d_html_a792ac4529b65235698ecf3d37982c05e"><div class="ttname"><a href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">BTD::l2cap_config_response</a></div><div class="ttdeci">void l2cap_config_response(uint16_t handle, uint8_t rxid, uint8_t *scid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01256">BTD.cpp:1256</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a9960d0d5ae92fc92c70bbb84c2a5c0cc"><div class="ttname"><a href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a></div><div class="ttdeci">#define PENDING</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00120">BTD.h:120</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a9960d0d5ae92fc92c70bbb84c2a5c0cc"><div class="ttname"><a href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a></div><div class="ttdeci">#define PENDING</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00120">BTD.h:120</a></div></div>
<div class="ttc" id="class_b_t_d_html_ab646a59311344966f139bb3b78f30233"><div class="ttname"><a href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">BTD::l2cap_config_request</a></div><div class="ttdeci">void l2cap_config_request(uint16_t handle, uint8_t rxid, uint8_t *dcid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01174">BTD.cpp:1174</a></div></div> <div class="ttc" id="class_b_t_d_html_ab646a59311344966f139bb3b78f30233"><div class="ttname"><a href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">BTD::l2cap_config_request</a></div><div class="ttdeci">void l2cap_config_request(uint16_t handle, uint8_t rxid, uint8_t *dcid)</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8cpp_source.html#l01239">BTD.cpp:1239</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a73e3a81d9a8850075fd10933acc5a035"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_CONFIG_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00037">BTHID.h:37</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_ac4bae0c65fd00ed849cb226302d19c85"><div class="ttname"><a href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00110">BTD.h:110</a></div></div> <div class="ttc" id="_b_t_d_8h_html_ac4bae0c65fd00ed849cb226302d19c85"><div class="ttname"><a href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a></div><div class="ttdeci">#define L2CAP_CMD_CONNECTION_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00110">BTD.h:110</a></div></div>
<div class="ttc" id="class_w_i_i_html_a72bd4fad2e524276712a154b8cc2a16c"><div class="ttname"><a href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">WII::motionPlusConnected</a></div><div class="ttdeci">bool motionPlusConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00248">Wii.h:248</a></div></div> <div class="ttc" id="class_w_i_i_html_a72bd4fad2e524276712a154b8cc2a16c"><div class="ttname"><a href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">WII::motionPlusConnected</a></div><div class="ttdeci">bool motionPlusConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00248">Wii.h:248</a></div></div>
<div class="ttc" id="class_w_i_i_html_a10d91cd5d73bc655be776b44d27004c9"><div class="ttname"><a href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">WII::gyroRollZero</a></div><div class="ttdeci">int16_t gyroRollZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00313">Wii.h:313</a></div></div> <div class="ttc" id="class_w_i_i_html_a10d91cd5d73bc655be776b44d27004c9"><div class="ttname"><a href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">WII::gyroRollZero</a></div><div class="ttdeci">int16_t gyroRollZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00313">Wii.h:313</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a9b5140e7ca5941e5535c575255ffc1cc"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a></div><div class="ttdeci">#define L2CAP_CONTROL_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00041">BTHID.h:41</a></div></div>
<div class="ttc" id="_b_t_h_i_d_8h_html_a27057737ae0b2246442511c01eeed192"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a></div><div class="ttdeci">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00048">BTHID.h:48</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_af3392eea150ac9151bef45148f0d7895"><div class="ttname"><a href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a></div><div class="ttdeci">const uint32_t BUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00062">PS3Enums.h:62</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_af3392eea150ac9151bef45148f0d7895"><div class="ttname"><a href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a></div><div class="ttdeci">const uint32_t BUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00062">PS3Enums.h:62</a></div></div>
@ -1406,7 +1406,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_ac5cd06f3e9aa2a0d9b9691f00c047e72"><div class="ttname"><a href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00682">Wii.cpp:682</a></div></div> <div class="ttc" id="class_w_i_i_html_ac5cd06f3e9aa2a0d9b9691f00c047e72"><div class="ttname"><a href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00682">Wii.cpp:682</a></div></div>
<div class="ttc" id="class_w_i_i_html_afaafee11ac191ba43b6a2b989cdd137c"><div class="ttname"><a href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">WII::accXwiimote</a></div><div class="ttdeci">int16_t accXwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div> <div class="ttc" id="class_w_i_i_html_afaafee11ac191ba43b6a2b989cdd137c"><div class="ttname"><a href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">WII::accXwiimote</a></div><div class="ttdeci">int16_t accXwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="class_w_i_i_html_ab16e907132354be9848fd91a6a5171db"><div class="ttname"><a href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">WII::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(Hat a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01052">Wii.cpp:1052</a></div></div> <div class="ttc" id="class_w_i_i_html_ab16e907132354be9848fd91a6a5171db"><div class="ttname"><a href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">WII::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(Hat a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01052">Wii.cpp:1052</a></div></div>
<div class="ttc" id="_p_s3_b_t_8h_html_a0c444d5d06ec604820d426556c2f38d7"><div class="ttname"><a href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00042">PS3BT.h:42</a></div></div> <div class="ttc" id="_b_t_h_i_d_8h_html_a0c444d5d06ec604820d426556c2f38d7"><div class="ttname"><a href="_b_t_h_i_d_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_h_i_d_8h_source.html#l00046">BTHID.h:46</a></div></div>
<div class="ttc" id="class_w_i_i_html_acdebdaab544ffcecf8ab09adacbd28c8"><div class="ttname"><a href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">WII::accZwiimote</a></div><div class="ttdeci">int16_t accZwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div> <div class="ttc" id="class_w_i_i_html_acdebdaab544ffcecf8ab09adacbd28c8"><div class="ttname"><a href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">WII::accZwiimote</a></div><div class="ttdeci">int16_t accZwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a6ffcd72787c86f248192eb06a3fe18cb"><div class="ttname"><a href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb">L2CAP_CMD_COMMAND_REJECT</a></div><div class="ttdeci">#define L2CAP_CMD_COMMAND_REJECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00109">BTD.h:109</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a6ffcd72787c86f248192eb06a3fe18cb"><div class="ttname"><a href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb">L2CAP_CMD_COMMAND_REJECT</a></div><div class="ttdeci">#define L2CAP_CMD_COMMAND_REJECT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00109">BTD.h:109</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->

View file

@ -189,8 +189,6 @@ Macros</h2></td></tr>
<tr class="separator:a3d4b4f06162f96e91d97650f5c2e60f7"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a3d4b4f06162f96e91d97650f5c2e60f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae9154397104e4df34302ed0884bbfb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb">nunchuck_connected_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a>)</td></tr> <tr class="memitem:a7ae9154397104e4df34302ed0884bbfb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb">nunchuck_connected_flag</a>&#160;&#160;&#160;(l2cap_event_flag &amp; <a class="el" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a>)</td></tr>
<tr class="separator:a7ae9154397104e4df34302ed0884bbfb"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a7ae9154397104e4df34302ed0884bbfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls"> </table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr> Enumerations</h2></td></tr>
@ -689,20 +687,6 @@ Enumerations</h2></td></tr>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00077">77</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00077">77</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8f0b5b0dedaf5c25c4887f03ebfdd425"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PAIR&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00079">79</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
<h2 class="groupheader">Enumeration Type Documentation</h2> <h2 class="groupheader">Enumeration Type Documentation</h2>
@ -725,7 +709,7 @@ Enumerations</h2></td></tr>
</td></tr> </td></tr>
</table> </table>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00082">82</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00080">80</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>

View file

@ -166,55 +166,56 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 76</a></span>&#160;<span class="preprocessor">#define motion_plus_connected_flag (l2cap_event_flag &amp; WII_FLAG_MOTION_PLUS_CONNECTED)</span></div> <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 76</a></span>&#160;<span class="preprocessor">#define motion_plus_connected_flag (l2cap_event_flag &amp; WII_FLAG_MOTION_PLUS_CONNECTED)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb"> 77</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define nunchuck_connected_flag (l2cap_event_flag &amp; WII_FLAG_NUNCHUCK_CONNECTED)</span></div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb"> 77</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define nunchuck_connected_flag (l2cap_event_flag &amp; WII_FLAG_NUNCHUCK_CONNECTED)</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 79</a></span>&#160;<span class="preprocessor">#define PAIR 1</span></div> <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7"> 80</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> {</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 82</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7"> 82</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> {</div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 84</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 84</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;};</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 86</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;};</div> <div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="class_w_i_i.html"> 92</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_w_i_i.html">WII</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_w_i_i.html"> 94</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_w_i_i.html">WII</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a> = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a> = <span class="keyword">false</span>);</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>(uint8_t* <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>();</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>(uint8_t* <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>);</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>();</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a>();</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a>();</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div> <div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608"> 131</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">if</span>(pBtd)</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608"> 133</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a>(<span class="keywordtype">void</span>) {</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>();</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span>(pBtd)</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"> 135</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>();</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; uint16_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a);</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; uint16_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div> <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 152</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() {</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 154</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() {</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">return</span> compPitch;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">return</span> compPitch;</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; };</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>();</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"> 158</span>&#160; };</div> <div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 162</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 164</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() {</div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">return</span> compRoll;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>();</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> compRoll;</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; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>();</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"> 168</span>&#160; };</div> <div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 174</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() {</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 176</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() {</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; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; };</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>();</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>();</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</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; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(uint8_t value);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div> <div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4"> 193</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">setLedOff</a>() {</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(uint8_t value);</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <a class="code" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(0);</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; }</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>();</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>();</div>
@ -413,9 +414,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_a052ed48b0eea76fbd3858024ce962c6f"><div class="ttname"><a href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">WII::getNunchuckPitch</a></div><div class="ttdeci">double getNunchuckPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00267">Wii.h:267</a></div></div> <div class="ttc" id="class_w_i_i_html_a052ed48b0eea76fbd3858024ce962c6f"><div class="ttname"><a href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">WII::getNunchuckPitch</a></div><div class="ttdeci">double getNunchuckPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00267">Wii.h:267</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae7e07f929fba8f0ff061a1405baa2b58"><div class="ttname"><a href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">WII::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00876">Wii.cpp:876</a></div></div> <div class="ttc" id="class_w_i_i_html_ae7e07f929fba8f0ff061a1405baa2b58"><div class="ttname"><a href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">WII::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00876">Wii.cpp:876</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0694969a30092b9b1dcb26120c7cff73"><div class="ttname"><a href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a></div><div class="ttdeci">uint16_t yawGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00300">Wii.h:300</a></div></div> <div class="ttc" id="class_w_i_i_html_a0694969a30092b9b1dcb26120c7cff73"><div class="ttname"><a href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a></div><div class="ttdeci">uint16_t yawGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00300">Wii.h:300</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div> <div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00158">BTD.h:158</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2d8fd822e6e9c271d59c71dc7b757421"><div class="ttname"><a href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">WII::getIRs1</a></div><div class="ttdeci">uint8_t getIRs1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00344">Wii.h:344</a></div></div> <div class="ttc" id="class_w_i_i_html_a2d8fd822e6e9c271d59c71dc7b757421"><div class="ttname"><a href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">WII::getIRs1</a></div><div class="ttdeci">uint8_t getIRs1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00344">Wii.h:344</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00084">Wii.h:84</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00082">Wii.h:82</a></div></div>
<div class="ttc" id="class_w_i_i_html_a05841e1975803d561f80aeb3dd0a4a1e"><div class="ttname"><a href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">WII::getIRs3</a></div><div class="ttdeci">uint8_t getIRs3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00392">Wii.h:392</a></div></div> <div class="ttc" id="class_w_i_i_html_a05841e1975803d561f80aeb3dd0a4a1e"><div class="ttname"><a href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">WII::getIRs3</a></div><div class="ttdeci">uint8_t getIRs3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00392">Wii.h:392</a></div></div>
<div class="ttc" id="class_w_i_i_html_a73e82829c5d13a4117ecd6d23b6c3d98"><div class="ttname"><a href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">WII::getNunchuckRoll</a></div><div class="ttdeci">double getNunchuckRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00270">Wii.h:270</a></div></div> <div class="ttc" id="class_w_i_i_html_a73e82829c5d13a4117ecd6d23b6c3d98"><div class="ttname"><a href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">WII::getNunchuckRoll</a></div><div class="ttdeci">double getNunchuckRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00270">Wii.h:270</a></div></div>
<div class="ttc" id="class_w_i_i_html_a81e1eb4d9ef9999a84e71d764d54dff7"><div class="ttname"><a href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00134">Wii.cpp:134</a></div></div> <div class="ttc" id="class_w_i_i_html_a81e1eb4d9ef9999a84e71d764d54dff7"><div class="ttname"><a href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00134">Wii.cpp:134</a></div></div>
@ -424,12 +425,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_af7755e2b2a161a550c99de2ca1018ce3"><div class="ttname"><a href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">WII::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00893">Wii.cpp:893</a></div></div> <div class="ttc" id="class_w_i_i_html_af7755e2b2a161a550c99de2ca1018ce3"><div class="ttname"><a href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">WII::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00893">Wii.cpp:893</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0d9c869bd3677c4488a586c38558a137"><div class="ttname"><a href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">WII::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00864">Wii.cpp:864</a></div></div> <div class="ttc" id="class_w_i_i_html_a0d9c869bd3677c4488a586c38558a137"><div class="ttname"><a href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">WII::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00864">Wii.cpp:864</a></div></div>
<div class="ttc" id="class_w_i_i_html_a769ee2f9a0088da097438bc3cc677f7c"><div class="ttname"><a href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00103">Wii.cpp:103</a></div></div> <div class="ttc" id="class_w_i_i_html_a769ee2f9a0088da097438bc3cc677f7c"><div class="ttname"><a href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00103">Wii.cpp:103</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6ac037d884f97319892e8671ef070c03"><div class="ttname"><a href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">WII::getRoll</a></div><div class="ttdeci">double getRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00164">Wii.h:164</a></div></div> <div class="ttc" id="class_w_i_i_html_a6ac037d884f97319892e8671ef070c03"><div class="ttname"><a href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">WII::getRoll</a></div><div class="ttdeci">double getRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00162">Wii.h:162</a></div></div>
<div class="ttc" id="class_w_i_i_html_a42af5743d2e3c2dbc01ea0b5531cc7c6"><div class="ttname"><a href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">WII::accZnunchuck</a></div><div class="ttdeci">int16_t accZnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div> <div class="ttc" id="class_w_i_i_html_a42af5743d2e3c2dbc01ea0b5531cc7c6"><div class="ttname"><a href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">WII::accZnunchuck</a></div><div class="ttdeci">int16_t accZnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae946f7d6e9ce89fb083f5f138c0736c2"><div class="ttname"><a href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">WII::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00912">Wii.cpp:912</a></div></div> <div class="ttc" id="class_w_i_i_html_ae946f7d6e9ce89fb083f5f138c0736c2"><div class="ttname"><a href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">WII::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00912">Wii.cpp:912</a></div></div>
<div class="ttc" id="class_w_i_i_html_aabe4780f258dada1c0564a4ac7607370"><div class="ttname"><a href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00117">Wii.cpp:117</a></div></div> <div class="ttc" id="class_w_i_i_html_aabe4780f258dada1c0564a4ac7607370"><div class="ttname"><a href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00117">Wii.cpp:117</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7efe7577ba30c218f6fbd3804a53d242"><div class="ttname"><a href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">WII::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00881">Wii.cpp:881</a></div></div> <div class="ttc" id="class_w_i_i_html_a748172bd57804856594ea8e21601319e"><div class="ttname"><a href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">WII::getPitch</a></div><div class="ttdeci">double getPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00152">Wii.h:152</a></div></div>
<div class="ttc" id="class_w_i_i_html_a748172bd57804856594ea8e21601319e"><div class="ttname"><a href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">WII::getPitch</a></div><div class="ttdeci">double getPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00154">Wii.h:154</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a13b5931284d5bcd6647f681cda95b4"><div class="ttname"><a href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">WII::accXnunchuck</a></div><div class="ttdeci">int16_t accXnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div> <div class="ttc" id="class_w_i_i_html_a3a13b5931284d5bcd6647f681cda95b4"><div class="ttname"><a href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">WII::accXnunchuck</a></div><div class="ttdeci">int16_t accXnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_adbf9ccb1725dc432e07ca19468713116"><div class="ttname"><a href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">WII::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01041">Wii.cpp:1041</a></div></div> <div class="ttc" id="class_w_i_i_html_adbf9ccb1725dc432e07ca19468713116"><div class="ttname"><a href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">WII::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01041">Wii.cpp:1041</a></div></div>
<div class="ttc" id="class_w_i_i_html_a8e9ac1d379db5c07c478401046a1c0ac"><div class="ttname"><a href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">WII::getWiiState</a></div><div class="ttdeci">uint8_t getWiiState()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00229">Wii.h:229</a></div></div> <div class="ttc" id="class_w_i_i_html_a8e9ac1d379db5c07c478401046a1c0ac"><div class="ttname"><a href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">WII::getWiiState</a></div><div class="ttdeci">uint8_t getWiiState()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00229">Wii.h:229</a></div></div>
@ -437,7 +437,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_ae148de3c99b3fb4ef65ea62d2848df7d"><div class="ttname"><a href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">WII::getIRy2</a></div><div class="ttdeci">uint16_t getIRy2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00360">Wii.h:360</a></div></div> <div class="ttc" id="class_w_i_i_html_ae148de3c99b3fb4ef65ea62d2848df7d"><div class="ttname"><a href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">WII::getIRy2</a></div><div class="ttdeci">uint16_t getIRy2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00360">Wii.h:360</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0784c779ebeae2d459996c35a54ee3b8"><div class="ttname"><a href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">WII::gyroRollRaw</a></div><div class="ttdeci">int16_t gyroRollRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00306">Wii.h:306</a></div></div> <div class="ttc" id="class_w_i_i_html_a0784c779ebeae2d459996c35a54ee3b8"><div class="ttname"><a href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">WII::gyroRollRaw</a></div><div class="ttdeci">int16_t gyroRollRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00306">Wii.h:306</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3505abbc01c71d134ce301dfb7c0c5b5"><div class="ttname"><a href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a></div><div class="ttdeci">void IRinitialize()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01089">Wii.cpp:1089</a></div></div> <div class="ttc" id="class_w_i_i_html_a3505abbc01c71d134ce301dfb7c0c5b5"><div class="ttname"><a href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a></div><div class="ttdeci">void IRinitialize()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01089">Wii.cpp:1089</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00086">Wii.h:86</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00084">Wii.h:84</a></div></div>
<div class="ttc" id="controller_enums_8h_html"><div class="ttname"><a href="controller_enums_8h.html">controllerEnums.h</a></div></div> <div class="ttc" id="controller_enums_8h_html"><div class="ttname"><a href="controller_enums_8h.html">controllerEnums.h</a></div></div>
<div class="ttc" id="class_w_i_i_html_a551e48a50c7b60722e807e68ae25f084"><div class="ttname"><a href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">WII::getIRx2</a></div><div class="ttdeci">uint16_t getIRx2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00352">Wii.h:352</a></div></div> <div class="ttc" id="class_w_i_i_html_a551e48a50c7b60722e807e68ae25f084"><div class="ttname"><a href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">WII::getIRx2</a></div><div class="ttdeci">uint16_t getIRx2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00352">Wii.h:352</a></div></div>
<div class="ttc" id="class_w_i_i_html_af380eb3bf65ce33a60aaf35f74a44f6d"><div class="ttname"><a href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">WII::getIRx1</a></div><div class="ttdeci">uint16_t getIRx1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00328">Wii.h:328</a></div></div> <div class="ttc" id="class_w_i_i_html_af380eb3bf65ce33a60aaf35f74a44f6d"><div class="ttname"><a href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">WII::getIRx1</a></div><div class="ttdeci">uint16_t getIRx1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00328">Wii.h:328</a></div></div>
@ -449,13 +449,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_a3fb552c6ad486e23434dcb347a2a4b84"><div class="ttname"><a href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">WII::rollGyroSpeed</a></div><div class="ttdeci">double rollGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00292">Wii.h:292</a></div></div> <div class="ttc" id="class_w_i_i_html_a3fb552c6ad486e23434dcb347a2a4b84"><div class="ttname"><a href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">WII::rollGyroSpeed</a></div><div class="ttdeci">double rollGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00292">Wii.h:292</a></div></div>
<div class="ttc" id="class_w_i_i_html_aef56b9f37422b0a41642b39d10db0735"><div class="ttname"><a href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">WII::getIRs4</a></div><div class="ttdeci">uint8_t getIRs4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00416">Wii.h:416</a></div></div> <div class="ttc" id="class_w_i_i_html_aef56b9f37422b0a41642b39d10db0735"><div class="ttname"><a href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">WII::getIRs4</a></div><div class="ttdeci">uint8_t getIRs4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00416">Wii.h:416</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5e778f879c6d0a73a94bd61e42d05b8d"><div class="ttname"><a href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">WII::getIRy3</a></div><div class="ttdeci">uint16_t getIRy3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00384">Wii.h:384</a></div></div> <div class="ttc" id="class_w_i_i_html_a5e778f879c6d0a73a94bd61e42d05b8d"><div class="ttname"><a href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">WII::getIRy3</a></div><div class="ttdeci">uint16_t getIRy3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00384">Wii.h:384</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00137">BTD.h:137</a></div></div> <div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00139">BTD.h:139</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><div class="ttname"><a href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">WII::setLedStatus</a></div><div class="ttdeci">void setLedStatus()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00899">Wii.cpp:899</a></div></div> <div class="ttc" id="class_w_i_i_html_a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><div class="ttname"><a href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">WII::setLedStatus</a></div><div class="ttdeci">void setLedStatus()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00899">Wii.cpp:899</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a7b9dd571c5a8597bfb194000bd517c"><div class="ttname"><a href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">WII::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00887">Wii.cpp:887</a></div></div> <div class="ttc" id="class_w_i_i_html_a3a7b9dd571c5a8597bfb194000bd517c"><div class="ttname"><a href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">WII::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00887">Wii.cpp:887</a></div></div>
<div class="ttc" id="class_w_i_i_html_aa2c14275d9e482e6add06cb34ccf1197"><div class="ttname"><a href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">WII::accYwiimote</a></div><div class="ttdeci">int16_t accYwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div> <div class="ttc" id="class_w_i_i_html_aa2c14275d9e482e6add06cb34ccf1197"><div class="ttname"><a href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">WII::accYwiimote</a></div><div class="ttdeci">int16_t accYwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="class_w_i_i_html_a461f5b7a5f2bc874e107fc776c284b16"><div class="ttname"><a href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">WII::wiiUProControllerConnected</a></div><div class="ttdeci">bool wiiUProControllerConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00250">Wii.h:250</a></div></div> <div class="ttc" id="class_w_i_i_html_a461f5b7a5f2bc874e107fc776c284b16"><div class="ttname"><a href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">WII::wiiUProControllerConnected</a></div><div class="ttdeci">bool wiiUProControllerConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00250">Wii.h:250</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2c5c32841b020b248f757cb793acb936"><div class="ttname"><a href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">WII::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00858">Wii.cpp:858</a></div></div> <div class="ttc" id="class_w_i_i_html_a2c5c32841b020b248f757cb793acb936"><div class="ttname"><a href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">WII::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00858">Wii.cpp:858</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6e97bfcfb134b63d7190ba1bc326e1d3"><div class="ttname"><a href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">WII::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00852">Wii.cpp:852</a></div></div> <div class="ttc" id="class_w_i_i_html_a6e97bfcfb134b63d7190ba1bc326e1d3"><div class="ttname"><a href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">WII::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00852">Wii.cpp:852</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae3eb7942181a9c9e681e18bd5c8eaef4"><div class="ttname"><a href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">WII::setLedOff</a></div><div class="ttdeci">void setLedOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00193">Wii.h:193</a></div></div>
<div class="ttc" id="class_w_i_i_html_a341b9a50bfdb18af9c66a3079e5804d9"><div class="ttname"><a href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">WII::getIRy1</a></div><div class="ttdeci">uint16_t getIRy1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00336">Wii.h:336</a></div></div> <div class="ttc" id="class_w_i_i_html_a341b9a50bfdb18af9c66a3079e5804d9"><div class="ttname"><a href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">WII::getIRy1</a></div><div class="ttdeci">uint16_t getIRy1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00336">Wii.h:336</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5648a03968d0c2331867f9b7bcaa3e3e"><div class="ttname"><a href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">WII::getIRx3</a></div><div class="ttdeci">uint16_t getIRx3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00376">Wii.h:376</a></div></div> <div class="ttc" id="class_w_i_i_html_a5648a03968d0c2331867f9b7bcaa3e3e"><div class="ttname"><a href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">WII::getIRx3</a></div><div class="ttdeci">uint16_t getIRx3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00376">Wii.h:376</a></div></div>
<div class="ttc" id="class_w_i_i_html_a988db5b35cfc3c543f93f49587a50e62"><div class="ttname"><a href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">WII::gyroYaw</a></div><div class="ttdeci">double gyroYaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00287">Wii.h:287</a></div></div> <div class="ttc" id="class_w_i_i_html_a988db5b35cfc3c543f93f49587a50e62"><div class="ttname"><a href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">WII::gyroYaw</a></div><div class="ttdeci">double gyroYaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00287">Wii.h:287</a></div></div>
@ -464,20 +465,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_w_i_i_html_ab813b65548e827f41a5192fcc34056ea"><div class="ttname"><a href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">WII::gyroYawRaw</a></div><div class="ttdeci">int16_t gyroYawRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00305">Wii.h:305</a></div></div> <div class="ttc" id="class_w_i_i_html_ab813b65548e827f41a5192fcc34056ea"><div class="ttname"><a href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">WII::gyroYawRaw</a></div><div class="ttdeci">int16_t gyroYawRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00305">Wii.h:305</a></div></div>
<div class="ttc" id="class_w_i_i_html_acf4b3ef0a4fa0cf71133a22213361288"><div class="ttname"><a href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">WII::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01034">Wii.cpp:1034</a></div></div> <div class="ttc" id="class_w_i_i_html_acf4b3ef0a4fa0cf71133a22213361288"><div class="ttname"><a href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">WII::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01034">Wii.cpp:1034</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0a444d7e348026e062751cf723877e8f"><div class="ttname"><a href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">WII::isIRCameraEnabled</a></div><div class="ttdeci">bool isIRCameraEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00425">Wii.h:425</a></div></div> <div class="ttc" id="class_w_i_i_html_a0a444d7e348026e062751cf723877e8f"><div class="ttname"><a href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">WII::isIRCameraEnabled</a></div><div class="ttdeci">bool isIRCameraEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00425">Wii.h:425</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></div><div class="ttdeci">Hat</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00082">Wii.h:82</a></div></div> <div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></div><div class="ttdeci">Hat</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00080">Wii.h:80</a></div></div>
<div class="ttc" id="class_w_i_i_html_af384f13c59fee08a4be0c541e6a9b387"><div class="ttname"><a href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">WII::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00237">Wii.h:237</a></div></div> <div class="ttc" id="class_w_i_i_html_af384f13c59fee08a4be0c541e6a9b387"><div class="ttname"><a href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">WII::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00237">Wii.h:237</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae92e129c54c8131f4a2c55582dfd2f11"><div class="ttname"><a href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">WII::getYaw</a></div><div class="ttdeci">double getYaw()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00176">Wii.h:176</a></div></div> <div class="ttc" id="class_w_i_i_html_ae92e129c54c8131f4a2c55582dfd2f11"><div class="ttname"><a href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">WII::getYaw</a></div><div class="ttdeci">double getYaw()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00174">Wii.h:174</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2fb34f50b5374c9442af263f61595af4"><div class="ttname"><a href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">WII::getWiimotePitch</a></div><div class="ttdeci">double getWiimotePitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00257">Wii.h:257</a></div></div> <div class="ttc" id="class_w_i_i_html_a2fb34f50b5374c9442af263f61595af4"><div class="ttname"><a href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">WII::getWiimotePitch</a></div><div class="ttdeci">double getWiimotePitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00257">Wii.h:257</a></div></div>
<div class="ttc" id="class_w_i_i_html_a39c3101b26cc549d5258018b3d05c608"><div class="ttname"><a href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">WII::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00133">Wii.h:133</a></div></div> <div class="ttc" id="class_w_i_i_html_a39c3101b26cc549d5258018b3d05c608"><div class="ttname"><a href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">WII::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00131">Wii.h:131</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad5df436cc5d073f26bf3ea5c60d788d6"><div class="ttname"><a href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">WII::yawGyroSpeed</a></div><div class="ttdeci">double yawGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00293">Wii.h:293</a></div></div> <div class="ttc" id="class_w_i_i_html_ad5df436cc5d073f26bf3ea5c60d788d6"><div class="ttname"><a href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">WII::yawGyroSpeed</a></div><div class="ttdeci">double yawGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00293">Wii.h:293</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae657585a560e9d214e6c0219f8b47aeb"><div class="ttname"><a href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">WII::accYnunchuck</a></div><div class="ttdeci">int16_t accYnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div> <div class="ttc" id="class_w_i_i_html_ae657585a560e9d214e6c0219f8b47aeb"><div class="ttname"><a href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">WII::accYnunchuck</a></div><div class="ttdeci">int16_t accYnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad4f0d2456c56414f9b8013b85a1ee7d2"><div class="ttname"><a href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">WII::gyroYawZero</a></div><div class="ttdeci">int16_t gyroYawZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00312">Wii.h:312</a></div></div> <div class="ttc" id="class_w_i_i_html_ad4f0d2456c56414f9b8013b85a1ee7d2"><div class="ttname"><a href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">WII::gyroYawZero</a></div><div class="ttdeci">int16_t gyroYawZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00312">Wii.h:312</a></div></div>
<div class="ttc" id="class_w_i_i_html_acfb290a86aa9a65dd4ae84d02e3c6ded"><div class="ttname"><a href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">WII::pitchGyroSpeed</a></div><div class="ttdeci">double pitchGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00291">Wii.h:291</a></div></div> <div class="ttc" id="class_w_i_i_html_acfb290a86aa9a65dd4ae84d02e3c6ded"><div class="ttname"><a href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">WII::pitchGyroSpeed</a></div><div class="ttdeci">double pitchGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00291">Wii.h:291</a></div></div>
<div class="ttc" id="class_b_t_d_html_a6b66a27c0fd359e3129f53451352b55c"><div class="ttname"><a href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">BTD::pairWithWiimote</a></div><div class="ttdeci">void pairWithWiimote()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div> <div class="ttc" id="class_b_t_d_html_a6b66a27c0fd359e3129f53451352b55c"><div class="ttname"><a href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">BTD::pairWithWiimote</a></div><div class="ttdeci">void pairWithWiimote()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00425">BTD.h:425</a></div></div>
<div class="ttc" id="class_w_i_i_html_accf6ca623ffe93b3c78aaf60c7fd1f46"><div class="ttname"><a href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">WII::getIRs2</a></div><div class="ttdeci">uint8_t getIRs2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00368">Wii.h:368</a></div></div> <div class="ttc" id="class_w_i_i_html_accf6ca623ffe93b3c78aaf60c7fd1f46"><div class="ttname"><a href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">WII::getIRs2</a></div><div class="ttdeci">uint8_t getIRs2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00368">Wii.h:368</a></div></div>
<div class="ttc" id="class_w_i_i_html_af61f57d34b81f2a878f0126a074e3af4"><div class="ttname"><a href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">WII::gyroPitch</a></div><div class="ttdeci">double gyroPitch</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00283">Wii.h:283</a></div></div> <div class="ttc" id="class_w_i_i_html_af61f57d34b81f2a878f0126a074e3af4"><div class="ttname"><a href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">WII::gyroPitch</a></div><div class="ttdeci">double gyroPitch</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00283">Wii.h:283</a></div></div>
<div class="ttc" id="class_w_i_i_html"><div class="ttname"><a href="class_w_i_i.html">WII</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00094">Wii.h:94</a></div></div> <div class="ttc" id="class_w_i_i_html"><div class="ttname"><a href="class_w_i_i.html">WII</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00092">Wii.h:92</a></div></div>
<div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div> <div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div>
<div class="ttc" id="class_w_i_i_html_a72bd4fad2e524276712a154b8cc2a16c"><div class="ttname"><a href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">WII::motionPlusConnected</a></div><div class="ttdeci">bool motionPlusConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00248">Wii.h:248</a></div></div> <div class="ttc" id="class_w_i_i_html_a72bd4fad2e524276712a154b8cc2a16c"><div class="ttname"><a href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">WII::motionPlusConnected</a></div><div class="ttdeci">bool motionPlusConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00248">Wii.h:248</a></div></div>
<div class="ttc" id="class_w_i_i_html_a10d91cd5d73bc655be776b44d27004c9"><div class="ttname"><a href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">WII::gyroRollZero</a></div><div class="ttdeci">int16_t gyroRollZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00313">Wii.h:313</a></div></div> <div class="ttc" id="class_w_i_i_html_a10d91cd5d73bc655be776b44d27004c9"><div class="ttname"><a href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">WII::gyroRollZero</a></div><div class="ttdeci">int16_t gyroRollZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00313">Wii.h:313</a></div></div>

View file

@ -87,20 +87,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="contents"> <div class="contents">
<a href="_wii_camera_readme_8md.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;Please see &lt;http:<span class="comment">//wiibrew.org/wiki/Wiimote#IR_Camera&gt; for the complete capabilities of the Wii camera. The IR camera code was written based on the above website and with support from Kristian Lauszus.</span></div> <a href="_wii_camera_readme_8md.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;Please see &lt;http:<span class="comment">//wiibrew.org/wiki/Wiimote#IR_Camera&gt; for the complete capabilities of the Wii camera. The IR camera code was written based on the above website and with support from Kristian Lauszus.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;Must omit the <span class="stringliteral">&quot;.&quot;</span> in the name of the USB\_Host\_Shiled\_2.0 library folder when inserting into the Arudino library folder.</div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;This library is large, <span class="keywordflow">if</span> you run into memory problems when uploading to the Arduino, disable serial debugging.</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;This library is large, <span class="keywordflow">if</span> you run into memory problems when uploading to the Arduino, comment out the \#define DEBUG in the <a class="code" href="class_b_t_d.html">BTD</a>.cpp and Wii.cpp files.</div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;To enable the IR camera code, uncomment \#define <a class="code" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147">WIICAMERA</a> in Wii.h.</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;To enable the IR camera code, uncomment \#define <a class="code" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147">WIICAMERA</a> in Wii.h.</div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;This library implements the following settings:</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;This library implements the following settings:</div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;* Report sensitivity mode: 00 00 00 00 00 00 90 00 41 40 00 Suggested by inio (high sensitivity)</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;* Data Format: Extended mode (0x03). <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> mode is not working yet. The output reports 0x3e and 0x3f need tampering with</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;* Report sensitivity mode: 00 00 00 00 00 00 90 00 41 40 00 Suggested by inio (high sensitivity)</div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; * In <span class="keyword">this</span> mode the camera outputs x and y coordinates and a size dimension <span class="keywordflow">for</span> the 4 brightest points.</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;* Data Format: Extended mode (0x03). <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> mode is not working yet. The output reports 0x3e and 0x3f need tampering with</div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; * In <span class="keyword">this</span> mode the camera outputs x and y coordinates and a size dimension <span class="keywordflow">for</span> the 4 brightest points.</div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;Again, read through &lt;http:<span class="comment">//wiibrew.org/wiki/Wiimote#IR_Camera&gt; to get an understanding of the camera and its settings.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;Again, read through &lt;http:<span class="comment">//wiibrew.org/wiki/Wiimote#IR_Camera&gt; to get an understanding of the camera and its settings.</span></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div>
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00194">PS3Enums.h:194</a></div></div> <div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00194">PS3Enums.h:194</a></div></div>
<div class="ttc" id="_wii_8h_html_a8a70a2d3fd20f9005aa8dc5849beb147"><div class="ttname"><a href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147">WIICAMERA</a></div><div class="ttdeci">#define WIICAMERA</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00027">Wii.h:27</a></div></div> <div class="ttc" id="_wii_8h_html_a8a70a2d3fd20f9005aa8dc5849beb147"><div class="ttname"><a href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147">WIICAMERA</a></div><div class="ttdeci">#define WIICAMERA</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00027">Wii.h:27</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->

View file

@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</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="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="_x_b_o_x_o_l_d_8h.html">XBOXOLD.h</a>&quot;</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_x_b_o_x_o_l_d_8h.html">XBOXOLD.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging uncomment &quot;#define DEBUG_USB_HOST&quot; in message.h</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging see &quot;settings.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Xbox controller</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Xbox controller</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; 0, <span class="comment">// A</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; 0, <span class="comment">// A</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; 2, <span class="comment">// X</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; 2, <span class="comment">// X</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; 3, <span class="comment">// Y</span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; 3, <span class="comment">// Y</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}; </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;};</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f"> 47</a></span>&#160;<a class="code" href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f">XBOXOLD::XBOXOLD</a>(<a class="code" href="class_u_s_b.html">USB</a> *p) :</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f"> 47</a></span>&#160;<a class="code" href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f">XBOXOLD::XBOXOLD</a>(<a class="code" href="class_u_s_b.html">USB</a> *p) :</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;pUsb(p), <span class="comment">// pointer to USB class instance - mandatory</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;pUsb(p), <span class="comment">// pointer to USB class instance - mandatory</span></div>
@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">if</span> ((VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a> &amp;&amp; VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a> &amp;&amp; VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>) || (PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a8495cfaf2039ba2399a3c6f3e107c90c">XBOX_OLD_PID1</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a>)) <span class="comment">// Check if VID and PID match</span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">if</span> ((VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a> &amp;&amp; VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a> &amp;&amp; VID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>) || (PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a8495cfaf2039ba2399a3c6f3e107c90c">XBOX_OLD_PID1</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a> &amp;&amp; PID != <a class="code" href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a>)) <span class="comment">// Check if VID and PID match</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">goto</span> FailUnknownDevice;</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">goto</span> FailUnknownDevice;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// Allocate new address according to device class</span></div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// Allocate new address according to device class</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a> = addrPool.<a class="code" href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AllocAddress</a>(parent, <span class="keyword">false</span>, port);</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a> = addrPool.<a class="code" href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AllocAddress</a>(parent, <span class="keyword">false</span>, port);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div>
@ -235,7 +235,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>, 0x80);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>, 0x80);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; </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; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="comment">//get pointer to assigned address record</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="comment">//get pointer to assigned address record</span></div>
@ -380,15 +380,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;<span class="preprocessor"></span>}</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a"> 292</a></span>&#160;uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">XBOXOLD::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div> <div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a"> 292</a></span>&#160;uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">XBOXOLD::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f">A</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4">X</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84">Y</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3">BLACK</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50">WHITE</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543">L1</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a>) <span class="comment">// A, B, X, Y, BLACK, WHITE, L1, and R1 are analog buttons</span></div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; uint8_t button = pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b]);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">return</span> buttonValues[pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b])]; <span class="comment">// Analog buttons</span></div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f">A</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4">X</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84">Y</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3">BLACK</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50">WHITE</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543">L1</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a>) <span class="comment">// A, B, X, Y, BLACK, WHITE, L1, and R1 are analog buttons</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordflow">return</span> (ButtonState &amp; pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b])); <span class="comment">// Digital buttons</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordflow">return</span> buttonValues[button]; <span class="comment">// Analog buttons</span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;}</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">return</span> (ButtonState &amp; button); <span class="comment">// Digital buttons</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;}</div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214"> 298</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; uint8_t button;</div> <div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214"> 299</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f">A</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4">X</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84">Y</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3">BLACK</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50">WHITE</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543">L1</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a>) { <span class="comment">// A, B, X, Y, BLACK, WHITE, L1, and R1 are analog buttons</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; uint8_t button = pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b]);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; button = pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b]);</div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f">A</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4">X</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84">Y</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3">BLACK</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50">WHITE</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543">L1</a> || b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a>) { <span class="comment">// A, B, X, Y, BLACK, WHITE, L1, and R1 are analog buttons</span></div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">if</span> (buttonClicked[button]) {</div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">if</span> (buttonClicked[button]) {</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; buttonClicked[button] = <span class="keyword">false</span>;</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; buttonClicked[button] = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
@ -396,34 +396,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; button = pgm_read_byte(&amp;<a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[(uint8_t)b]); <span class="comment">// Digital buttons</span></div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordtype">bool</span> click = (ButtonClickState &amp; button);</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keywordtype">bool</span> click = (ButtonClickState &amp; button);</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; ButtonClickState &amp;= ~button; <span class="comment">// clear &quot;click&quot; event</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; ButtonClickState &amp;= ~button; <span class="comment">// clear &quot;click&quot; event</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordflow">return</span> click;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="keywordflow">return</span> click;</div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;}</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;}</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div> <div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162"> 314</a></span>&#160;int16_t <a class="code" href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162"> 315</a></span>&#160;int16_t <a class="code" href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="keywordflow">return</span> hatValue[a];</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordflow">return</span> hatValue[a];</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;}</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;}</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;</div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="comment">/* Xbox Controller commands */</span></div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="comment">/* Xbox Controller commands */</span></div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="keywordtype">void</span> XBOXOLD::XboxCommand(uint8_t* data, uint16_t nbytes) {</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;<span class="keywordtype">void</span> XBOXOLD::XboxCommand(uint8_t* data, uint16_t nbytes) {</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x00), Report Type (Output 0x02), interface (0x00), datalength, datalength, data)</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x00), Report Type (Output 0x02), interface (0x00), datalength, datalength, data)</span></div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>, <a class="code" href="class_x_b_o_x_o_l_d.html#a06a318db8037f25a8d9bb62785dbacb9">epInfo</a>[<a class="code" href="_x_b_o_x_o_l_d_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x00, 0x02, 0x00, nbytes, nbytes, data, NULL);</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>, <a class="code" href="class_x_b_o_x_o_l_d.html#a06a318db8037f25a8d9bb62785dbacb9">epInfo</a>[<a class="code" href="_x_b_o_x_o_l_d_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x00, 0x02, 0x00, nbytes, nbytes, data, NULL);</div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;}</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;}</div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;</div> <div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9"> 324</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a>(uint8_t lValue, uint8_t rValue) {</div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9"> 325</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a>(uint8_t lValue, uint8_t rValue) {</div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; uint8_t writeBuf[6];</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; uint8_t writeBuf[6];</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;</div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; writeBuf[0] = 0x00;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; writeBuf[0] = 0x00;</div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; writeBuf[1] = 0x06;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; writeBuf[1] = 0x06;</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; writeBuf[2] = 0x00;</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; writeBuf[2] = 0x00;</div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; writeBuf[3] = rValue; <span class="comment">// small weight</span></div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; writeBuf[3] = rValue; <span class="comment">// small weight</span></div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; writeBuf[4] = 0x00;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; writeBuf[4] = 0x00;</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; writeBuf[5] = lValue; <span class="comment">// big weight</span></div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; writeBuf[5] = lValue; <span class="comment">// big weight</span></div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; XboxCommand(writeBuf, 6);</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; XboxCommand(writeBuf, 6);</div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;}</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;}</div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html">XBOXOLD.h</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html">XBOXOLD.h</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div> <div class="ttc" id="struct_ep_info_html_a9238dd40c096baedf041c98b19386a14"><div class="ttname"><a href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">EpInfo::bmRcvToggle</a></div><div class="ttdeci">uint8_t bmRcvToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00041">address.h:41</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
@ -438,10 +437,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div> <div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8cpp_html_af4ccffb7f90c323a0eba09065159f74b"><div class="ttname"><a href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a></div><div class="ttdeci">const uint8_t XBOXOLDBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00024">XBOXOLD.cpp:24</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8cpp_html_af4ccffb7f90c323a0eba09065159f74b"><div class="ttname"><a href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a></div><div class="ttdeci">const uint8_t XBOXOLDBUTTONS[]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00024">XBOXOLD.cpp:24</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00113">controllerEnums.h:113</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00113">controllerEnums.h:113</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00062">controllerEnums.h:62</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a3f2a77ecd272aa6d6b5902faa5e5fc68">B</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00062">controllerEnums.h:62</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_ab69673ea316c30268a5eedc893bea3a9"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00325">XBOXOLD.cpp:325</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_ab69673ea316c30268a5eedc893bea3a9"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00324">XBOXOLD.cpp:324</a></div></div>
<div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div> <div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div> <div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3bf8a81e24b9c3df304fdafb06bbeb4e"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a></div><div class="ttdeci">#define XBOX_OLD_PID4</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00043">XBOXOLD.h:43</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3bf8a81e24b9c3df304fdafb06bbeb4e"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a></div><div class="ttdeci">#define XBOX_OLD_PID4</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00043">XBOXOLD.h:43</a></div></div>
@ -453,7 +452,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div> <div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div>
<div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div>
<div class="ttc" id="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#l00044">message.h:44</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#l00044">message.h:44</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div> <div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div>
<div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div> <div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div> <div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div>
@ -473,7 +472,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div> <div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div>
<div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div> <div class="ttc" id="struct_ep_info_html_ac85bff70ad0e5d71e50cb501f4d8caf3"><div class="ttname"><a href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">EpInfo::bmSndToggle</a></div><div class="ttdeci">uint8_t bmSndToggle</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00040">address.h:40</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div> <div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_ad5a76d53ae0e101763ba5403707f5162"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00315">XBOXOLD.cpp:315</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_ad5a76d53ae0e101763ba5403707f5162"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00314">XBOXOLD.cpp:314</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a332bf499dd0434d70db8ad8a6f3f4850"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00242">XBOXOLD.cpp:242</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a332bf499dd0434d70db8ad8a6f3f4850"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00242">XBOXOLD.cpp:242</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a9c98134e7ea99b12f7e4724af5b9799c"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a></div><div class="ttdeci">#define XBOX_OLD_PID2</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00041">XBOXOLD.h:41</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a9c98134e7ea99b12f7e4724af5b9799c"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a></div><div class="ttdeci">#define XBOX_OLD_PID2</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00041">XBOXOLD.h:41</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00037">XBOXOLD.h:37</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00037">XBOXOLD.h:37</a></div></div>
@ -485,7 +484,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a7260253c704b147e6dfd762e13222434"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00062">XBOXOLD.cpp:62</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a7260253c704b147e6dfd762e13222434"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00062">XBOXOLD.cpp:62</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00049">XBOXOLD.h:49</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00049">XBOXOLD.h:49</a></div></div>
<div class="ttc" id="max3421e_8h_html_aca6a8aa4f0aebbe07c5e175572a92ef7"><div class="ttname"><a href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a></div><div class="ttdeci">#define bmRCVTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00185">max3421e.h:185</a></div></div> <div class="ttc" id="max3421e_8h_html_aca6a8aa4f0aebbe07c5e175572a92ef7"><div class="ttname"><a href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a></div><div class="ttdeci">#define bmRCVTOG0</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00185">max3421e.h:185</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a16cecc4a0dc7e0f4bc84f4602da65214"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00298">XBOXOLD.cpp:298</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a16cecc4a0dc7e0f4bc84f4602da65214"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00299">XBOXOLD.cpp:299</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3856d8cf87b39551ed2278691ad891b8"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a></div><div class="ttdeci">#define XBOX_OLD_PID3</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00042">XBOXOLD.h:42</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3856d8cf87b39551ed2278691ad891b8"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a></div><div class="ttdeci">#define XBOX_OLD_PID3</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00042">XBOXOLD.h:42</a></div></div>
<div class="ttc" id="_b_t_d_8h_html_a5bd4ea095da29635414952894bd527f5"><div class="ttname"><a href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a></div><div class="ttdeci">#define bmREQ_HID_OUT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00038">BTD.h:38</a></div></div> <div class="ttc" id="_b_t_d_8h_html_a5bd4ea095da29635414952894bd527f5"><div class="ttname"><a href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a></div><div class="ttdeci">#define bmREQ_HID_OUT</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00038">BTD.h:38</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a15370eb665cdded5514e69ca58d9f39d"><div class="ttname"><a href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00064">UsbCore.h:64</a></div></div> <div class="ttc" id="_usb_core_8h_html_a15370eb665cdded5514e69ca58d9f39d"><div class="ttname"><a href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00064">UsbCore.h:64</a></div></div>
@ -502,7 +501,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div> <div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00084">controllerEnums.h:84</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af8d87ff07efe24755164f550526f4dac">R1</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00084">controllerEnums.h:84</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>

View file

@ -209,7 +209,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html">XBOXOLD</a></div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00052">XBOXOLD.h:52</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html">XBOXOLD</a></div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00052">XBOXOLD.h:52</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_ab69673ea316c30268a5eedc893bea3a9"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00325">XBOXOLD.cpp:325</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_ab69673ea316c30268a5eedc893bea3a9"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9">XBOXOLD::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00324">XBOXOLD.cpp:324</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a20c8b928ca5e7c1a758a605ec45fe2ee"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a20c8b928ca5e7c1a758a605ec45fe2ee">XBOXOLD::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00102">XBOXOLD.h:102</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a20c8b928ca5e7c1a758a605ec45fe2ee"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a20c8b928ca5e7c1a758a605ec45fe2ee">XBOXOLD::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00102">XBOXOLD.h:102</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3bf8a81e24b9c3df304fdafb06bbeb4e"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a></div><div class="ttdeci">#define XBOX_OLD_PID4</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00043">XBOXOLD.h:43</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3bf8a81e24b9c3df304fdafb06bbeb4e"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3bf8a81e24b9c3df304fdafb06bbeb4e">XBOX_OLD_PID4</a></div><div class="ttdeci">#define XBOX_OLD_PID4</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00043">XBOXOLD.h:43</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_af4d77a5108f2e6812ba00be1b0374829"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#af4d77a5108f2e6812ba00be1b0374829">XBOXOLD::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00092">XBOXOLD.h:92</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_af4d77a5108f2e6812ba00be1b0374829"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#af4d77a5108f2e6812ba00be1b0374829">XBOXOLD::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00092">XBOXOLD.h:92</a></div></div>
@ -222,13 +222,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_ab029b2c21fb0c240022cc50f465d4580"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a></div><div class="ttdeci">#define JOYTECH_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00038">XBOXOLD.h:38</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_ab029b2c21fb0c240022cc50f465d4580"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a></div><div class="ttdeci">#define JOYTECH_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00038">XBOXOLD.h:38</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a7943af8e86fd9612891b88c7c7fb586a"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">XBOXOLD::getButtonPress</a></div><div class="ttdeci">uint8_t getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00292">XBOXOLD.cpp:292</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a7943af8e86fd9612891b88c7c7fb586a"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">XBOXOLD::getButtonPress</a></div><div class="ttdeci">uint8_t getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00292">XBOXOLD.cpp:292</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a2b4d7d994ab6f5e1d1344d4162e9f5fb"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">XBOXOLD::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00156">XBOXOLD.h:156</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a2b4d7d994ab6f5e1d1344d4162e9f5fb"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">XBOXOLD::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00156">XBOXOLD.h:156</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_ad5a76d53ae0e101763ba5403707f5162"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00315">XBOXOLD.cpp:315</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_ad5a76d53ae0e101763ba5403707f5162"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162">XBOXOLD::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00314">XBOXOLD.cpp:314</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a332bf499dd0434d70db8ad8a6f3f4850"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00242">XBOXOLD.cpp:242</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a332bf499dd0434d70db8ad8a6f3f4850"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00242">XBOXOLD.cpp:242</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a9c98134e7ea99b12f7e4724af5b9799c"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a></div><div class="ttdeci">#define XBOX_OLD_PID2</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00041">XBOXOLD.h:41</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a9c98134e7ea99b12f7e4724af5b9799c"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a9c98134e7ea99b12f7e4724af5b9799c">XBOX_OLD_PID2</a></div><div class="ttdeci">#define XBOX_OLD_PID2</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00041">XBOXOLD.h:41</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00037">XBOXOLD.h:37</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00037">XBOXOLD.h:37</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a7260253c704b147e6dfd762e13222434"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00062">XBOXOLD.cpp:62</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a7260253c704b147e6dfd762e13222434"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00062">XBOXOLD.cpp:62</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00049">XBOXOLD.h:49</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00049">XBOXOLD.h:49</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a16cecc4a0dc7e0f4bc84f4602da65214"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00298">XBOXOLD.cpp:298</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_a16cecc4a0dc7e0f4bc84f4602da65214"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">XBOXOLD::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00299">XBOXOLD.cpp:299</a></div></div>
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3856d8cf87b39551ed2278691ad891b8"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a></div><div class="ttdeci">#define XBOX_OLD_PID3</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00042">XBOXOLD.h:42</a></div></div> <div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a3856d8cf87b39551ed2278691ad891b8"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a3856d8cf87b39551ed2278691ad891b8">XBOX_OLD_PID3</a></div><div class="ttdeci">#define XBOX_OLD_PID3</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00042">XBOXOLD.h:42</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="class_x_b_o_x_o_l_d_html_aa091ff52ba7ad4216b0cd0f18651b755"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#aa091ff52ba7ad4216b0cd0f18651b755">XBOXOLD::XboxConnected</a></div><div class="ttdeci">bool XboxConnected</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00148">XBOXOLD.h:148</a></div></div> <div class="ttc" id="class_x_b_o_x_o_l_d_html_aa091ff52ba7ad4216b0cd0f18651b755"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#aa091ff52ba7ad4216b0cd0f18651b755">XBOXOLD::XboxConnected</a></div><div class="ttdeci">bool XboxConnected</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00148">XBOXOLD.h:148</a></div></div>

File diff suppressed because it is too large Load diff

View file

@ -145,128 +145,133 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>);</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a3dd42b9a1351f172fc6e39df2fe99398">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>();</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>();</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>();</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631"> 90</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>() {</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; };</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57"> 98</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>() {</div> <div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631"> 98</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>() {</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; };</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; };</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192"> 108</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div> <div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57"> 106</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>() {</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> ((vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a> || vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a> || vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>) &amp;&amp; (pid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a> || pid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a>));</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">return</span> bPollEnable;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; };</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; };</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b, uint8_t controller = 0);</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b, uint8_t controller = 0);</div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192"> 116</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; int16_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a, uint8_t controller = 0);</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">return</span> ((vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a> || vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a> || vid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>) &amp;&amp; (pid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a> || pid == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a>));</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; };</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751"> 143</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a>(uint8_t controller = 0) {</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b, uint8_t controller = 0);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(0, 0, controller);</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b, uint8_t controller = 0);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(controller);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; int16_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a, uint8_t controller = 0);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; };</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#acb95505bebd1a9a3aee37097e39187f4">disconnect</a>(uint8_t controller = 0);</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5"> 152</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a>(uint8_t controller = 0) {</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; <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(0, 0, controller);</div> <div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751"> 157</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a>(uint8_t controller = 0) {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; };</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(0, 0, controller);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(uint8_t lValue, uint8_t rValue, uint8_t controller = 0);</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(controller);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(uint8_t value, uint8_t controller = 0);</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; };</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a"> 175</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(uint8_t controller = 0) {</div> <div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5"> 166</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a>(uint8_t controller = 0) {</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(0, controller);</div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(0, 0, controller);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; };</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; };</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l, uint8_t controller = 0);</div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(uint8_t lValue, uint8_t rValue, uint8_t controller = 0);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">setLedBlink</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l, uint8_t controller = 0);</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(uint8_t value, uint8_t controller = 0);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">setLedMode</a>(<a class="code" href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm, uint8_t controller = 0);</div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">getBatteryLevel</a>(uint8_t controller = 0);</div> <div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a"> 189</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(uint8_t controller = 0) {</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">buttonChanged</a>(uint8_t controller = 0);</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="code" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(0, controller);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; };</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583"> 213</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l, uint8_t controller = 0);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; pFuncOnInit = funcOnInit;</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">setLedBlink</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l, uint8_t controller = 0);</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c"> 215</a></span>&#160; };</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">setLedMode</a>(<a class="code" href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm, uint8_t controller = 0);</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a>;</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">getBatteryLevel</a>(uint8_t controller = 0);</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a"> 221</a></span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a>[4];</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">buttonChanged</a>(uint8_t controller = 0);</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keyword">protected</span>:</div> <div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583"> 227</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8"> 225</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>;</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; pFuncOnInit = funcOnInit;</div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730"> 227</a></span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div> <div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c"> 229</a></span>&#160; };</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb"> 229</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>];</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div> <div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a"> 235</a></span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a>[4];</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordtype">void</span> onInit(uint8_t controller);</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div> <div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8"> 239</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div> <div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730"> 241</a></span>&#160; uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div> <div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb"> 243</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="comment">/* Variables to store the buttons */</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; uint32_t ButtonState[4];</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordtype">void</span> onInit(uint8_t controller);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; uint32_t OldButtonState[4];</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; uint16_t ButtonClickState[4];</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; int16_t hatValue[4][4];</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordtype">bool</span> bPollEnable;</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; uint16_t controllerStatus[4];</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordtype">bool</span> buttonStateChanged[4]; <span class="comment">// True if a button has changed</span></div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="comment">/* Variables to store the buttons */</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; uint32_t ButtonState[4];</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordtype">bool</span> L2Clicked[4]; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; uint32_t OldButtonState[4];</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordtype">bool</span> R2Clicked[4];</div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; uint16_t ButtonClickState[4];</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; int16_t hatValue[4][4];</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer; <span class="comment">// Timing for checkStatus() signals</span></div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; uint16_t controllerStatus[4];</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keywordtype">bool</span> buttonStateChanged[4]; <span class="comment">// True if a button has changed</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; uint8_t readBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; uint8_t writeBuf[7]; <span class="comment">// General purpose buffer for output data</span></div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordtype">bool</span> L2Clicked[4]; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordtype">bool</span> R2Clicked[4];</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordtype">void</span> readReport(uint8_t controller); <span class="comment">// read incoming data</span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keywordtype">void</span> printReport(uint8_t controller, uint8_t nBytes); <span class="comment">// print incoming date - Uncomment for debugging</span></div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; uint32_t checkStatusTimer; <span class="comment">// Timing for checkStatus() signals</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="comment">/* Private commands */</span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; uint8_t readBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keywordtype">void</span> XboxCommand(uint8_t controller, uint8_t* data, uint16_t nbytes);</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; uint8_t writeBuf[7]; <span class="comment">// General purpose buffer for output data</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="keywordtype">void</span> checkStatus();</div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;};</div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordtype">void</span> readReport(uint8_t controller); <span class="comment">// read incoming data</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordtype">void</span> printReport(uint8_t controller, uint8_t nBytes); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="comment">/* Private commands */</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> XboxCommand(uint8_t controller, uint8_t* data, uint16_t nbytes);</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">void</span> checkStatus();</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;};</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a6842663964e470b86786f046e4bc30d9"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a></div><div class="ttdeci">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00049">XBOXRECV.h:49</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a6842663964e470b86786f046e4bc30d9"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a></div><div class="ttdeci">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00049">XBOXRECV.h:49</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a163310ab5d09b8192bebf57b4db9131f"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">XBOXRECV::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00391">XBOXRECV.cpp:391</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a163310ab5d09b8192bebf57b4db9131f"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">XBOXRECV::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00426">XBOXRECV.cpp:426</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aafe1688ba3dc9b9ac425ebbbf001a1cc"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">XBOXRECV::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00266">XBOXRECV.cpp:266</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aafe1688ba3dc9b9ac425ebbbf001a1cc"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">XBOXRECV::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00301">XBOXRECV.cpp:301</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_addf7c0dcfbdb025f2283dcd118b5ab76"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">XBOXRECV::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00512">XBOXRECV.cpp:512</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_addf7c0dcfbdb025f2283dcd118b5ab76"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">XBOXRECV::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn(uint8_t lValue, uint8_t rValue, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00554">XBOXRECV.cpp:554</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a1a97ce2829a30b96ea6640d387d245a9"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a></div><div class="ttdeci">#define XBOX_WIRELESS_RECEIVER_PID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00048">XBOXRECV.h:48</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a1a97ce2829a30b96ea6640d387d245a9"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a></div><div class="ttdeci">#define XBOX_WIRELESS_RECEIVER_PID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00048">XBOXRECV.h:48</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a1d4bdb1b740c87fd51aca3969e67c730"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">XBOXRECV::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00227">XBOXRECV.h:227</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a1d4bdb1b740c87fd51aca3969e67c730"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">XBOXRECV::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00241">XBOXRECV.h:241</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a741fda8096331cf86cf8534b04373b4a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">XBOXRECV::setLedOff</a></div><div class="ttdeci">void setLedOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00175">XBOXRECV.h:175</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a741fda8096331cf86cf8534b04373b4a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">XBOXRECV::setLedOff</a></div><div class="ttdeci">void setLedOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00189">XBOXRECV.h:189</a></div></div>
<div class="ttc" id="xbox_enums_8h_html"><div class="ttname"><a href="xbox_enums_8h.html">xboxEnums.h</a></div></div> <div class="ttc" id="xbox_enums_8h_html"><div class="ttname"><a href="xbox_enums_8h.html">xboxEnums.h</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00027">XBOXRECV.h:27</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_abcb805b13bfd36145e252b0633bbcfc0"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a></div><div class="ttdeci">#define EP_MAXPKTSIZE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00027">XBOXRECV.h:27</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a2d58b0a20eb804d853713ade83d01631"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">XBOXRECV::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00090">XBOXRECV.h:90</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a2d58b0a20eb804d853713ade83d01631"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">XBOXRECV::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00098">XBOXRECV.h:98</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ac07faada38e159f1e7831d90863ebe3a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">XBOXRECV::Xbox360Connected</a></div><div class="ttdeci">uint8_t Xbox360Connected[4]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00221">XBOXRECV.h:221</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ac07faada38e159f1e7831d90863ebe3a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">XBOXRECV::Xbox360Connected</a></div><div class="ttdeci">uint8_t Xbox360Connected[4]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00235">XBOXRECV.h:235</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ae78ddfff307d26b0ed35dfb75173adf7"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">XBOXRECV::buttonChanged</a></div><div class="ttdeci">bool buttonChanged(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00415">XBOXRECV.cpp:415</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ae78ddfff307d26b0ed35dfb75173adf7"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">XBOXRECV::buttonChanged</a></div><div class="ttdeci">bool buttonChanged(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00450">XBOXRECV.cpp:450</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a2931e13960cde2c20adbcaf34cee84c5"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">XBOXRECV::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00152">XBOXRECV.h:152</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a2931e13960cde2c20adbcaf34cee84c5"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">XBOXRECV::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00166">XBOXRECV.h:166</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a3dd42b9a1351f172fc6e39df2fe99398"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a3dd42b9a1351f172fc6e39df2fe99398">XBOXRECV::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00040">XBOXRECV.cpp:40</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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a570568108edafee8d060aad8fe40db57"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">XBOXRECV::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00098">XBOXRECV.h:98</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a570568108edafee8d060aad8fe40db57"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">XBOXRECV::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00106">XBOXRECV.h:106</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a8e7834e5604c4fb588cceab9258d0568"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a></div><div class="ttdeci">#define XBOX_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00044">XBOXRECV.h:44</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a8e7834e5604c4fb588cceab9258d0568"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a></div><div class="ttdeci">#define XBOX_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00044">XBOXRECV.h:44</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad045d22c1e2f0657f72786539f418751"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">XBOXRECV::setAllOff</a></div><div class="ttdeci">void setAllOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00143">XBOXRECV.h:143</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad045d22c1e2f0657f72786539f418751"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">XBOXRECV::setAllOff</a></div><div class="ttdeci">void setAllOff(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00157">XBOXRECV.h:157</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad0e6b53a818516b7d6af0beaa8cebc7a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">XBOXRECV::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00256">XBOXRECV.cpp:256</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad0e6b53a818516b7d6af0beaa8cebc7a"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">XBOXRECV::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00291">XBOXRECV.cpp:291</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a5ff16bba78f05af3023f395a342b625c"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XBOXRECV::XboxReceiverConnected</a></div><div class="ttdeci">bool XboxReceiverConnected</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00215">XBOXRECV.h:215</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a5ff16bba78f05af3023f395a342b625c"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XBOXRECV::XboxReceiverConnected</a></div><div class="ttdeci">bool XboxReceiverConnected</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00229">XBOXRECV.h:229</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad66796b66d332bfa1cb57b4ba76cb0fc"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">XBOXRECV::setLedBlink</a></div><div class="ttdeci">void setLedBlink(LED l, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00478">XBOXRECV.cpp:478</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ad66796b66d332bfa1cb57b4ba76cb0fc"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">XBOXRECV::setLedBlink</a></div><div class="ttdeci">void setLedBlink(LED l, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00520">XBOXRECV.cpp:520</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a4ab056654c97c054aebb683cac95e21b"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">XBOXRECV::setLedOn</a></div><div class="ttdeci">void setLedOn(LED l, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00473">XBOXRECV.cpp:473</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a4ab056654c97c054aebb683cac95e21b"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">XBOXRECV::setLedOn</a></div><div class="ttdeci">void setLedOn(LED l, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00515">XBOXRECV.cpp:515</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aaa7a0d0861b8303a4b1654684d185b4f"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">XBOXRECV::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00440">XBOXRECV.cpp:440</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aaa7a0d0861b8303a4b1654684d185b4f"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">XBOXRECV::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00475">XBOXRECV.cpp:475</a></div></div>
<div class="ttc" id="xbox_enums_8h_html_a57effb96f46e458675a2653d4c543ca2"><div class="ttname"><a href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a></div><div class="ttdeci">LEDMode</div><div class="ttdef"><b>Definition:</b> <a href="xbox_enums_8h_source.html#l00024">xboxEnums.h:24</a></div></div> <div class="ttc" id="xbox_enums_8h_html_a57effb96f46e458675a2653d4c543ca2"><div class="ttname"><a href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a></div><div class="ttdeci">LEDMode</div><div class="ttdef"><b>Definition:</b> <a href="xbox_enums_8h_source.html#l00024">xboxEnums.h:24</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ac856259af28db351f85302b5eddabf1d"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV::XBOXRECV</a></div><div class="ttdeci">XBOXRECV(USB *pUsb)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00025">XBOXRECV.cpp:25</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ac856259af28db351f85302b5eddabf1d"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV::XBOXRECV</a></div><div class="ttdeci">XBOXRECV(USB *pUsb)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00025">XBOXRECV.cpp:25</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_ab029b2c21fb0c240022cc50f465d4580"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a></div><div class="ttdeci">#define JOYTECH_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00046">XBOXRECV.h:46</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_ab029b2c21fb0c240022cc50f465d4580"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a></div><div class="ttdeci">#define JOYTECH_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00046">XBOXRECV.h:46</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_abb75b732b431a29b6fef0fd7c895f41b"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">XBOXRECV::setLedMode</a></div><div class="ttdeci">void setLedMode(LEDMode lm, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00482">XBOXRECV.cpp:482</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_abb75b732b431a29b6fef0fd7c895f41b"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">XBOXRECV::setLedMode</a></div><div class="ttdeci">void setLedMode(LEDMode lm, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00524">XBOXRECV.cpp:524</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a07de216bf16a83501d74463c00bf1fc8"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">XBOXRECV::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00040">XBOXRECV.cpp:40</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a07de216bf16a83501d74463c00bf1fc8"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">XBOXRECV::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00137">XBOXRECV.cpp:137</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00045">XBOXRECV.h:45</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_a2f5523a1aaa6718e1d11c6bc5b29a575"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a></div><div class="ttdeci">#define MADCATZ_VID</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00045">XBOXRECV.h:45</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a7986a3cf050bd91c7fed44a7e7eac125"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">XBOXRECV::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00464">XBOXRECV.cpp:464</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a7986a3cf050bd91c7fed44a7e7eac125"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">XBOXRECV::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00506">XBOXRECV.cpp:506</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a3881c65a52835e2eb824af1bde0a4192"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">XBOXRECV::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00108">XBOXRECV.h:108</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a3881c65a52835e2eb824af1bde0a4192"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">XBOXRECV::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00116">XBOXRECV.h:116</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aef2c97b6f1d6eba631477f2d6c9f6de5"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">XBOXRECV::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00411">XBOXRECV.cpp:411</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_aef2c97b6f1d6eba631477f2d6c9f6de5"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">XBOXRECV::getAnalogHat</a></div><div class="ttdeci">int16_t getAnalogHat(AnalogHat a, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00446">XBOXRECV.cpp:446</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div> <div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ababaa2f28de8bf6749fe649b4e93c583"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">XBOXRECV::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00213">XBOXRECV.h:213</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_ababaa2f28de8bf6749fe649b4e93c583"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">XBOXRECV::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00227">XBOXRECV.h:227</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a14f355acaf2cfad072c0c7c139a3e1b2"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">XBOXRECV::getButtonPress</a></div><div class="ttdeci">uint8_t getButtonPress(Button b, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00383">XBOXRECV.cpp:383</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a14f355acaf2cfad072c0c7c139a3e1b2"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">XBOXRECV::getButtonPress</a></div><div class="ttdeci">uint8_t getButtonPress(Button b, uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00418">XBOXRECV.cpp:418</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_acb95505bebd1a9a3aee37097e39187f4"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#acb95505bebd1a9a3aee37097e39187f4">XBOXRECV::disconnect</a></div><div class="ttdeci">void disconnect(uint8_t controller=0)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00497">XBOXRECV.cpp:497</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00058">XBOXRECV.h:58</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00058">XBOXRECV.h:58</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a53047c86c8c2f625916af62238d50fc8"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">XBOXRECV::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00225">XBOXRECV.h:225</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_a53047c86c8c2f625916af62238d50fc8"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">XBOXRECV::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00239">XBOXRECV.h:239</a></div></div>
<div class="ttc" id="class_x_b_o_x_r_e_c_v_html_af97c8d0efc945fa4ba1d120c8a5a9cbb"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">XBOXRECV::epInfo</a></div><div class="ttdeci">EpInfo epInfo[XBOX_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00229">XBOXRECV.h:229</a></div></div> <div class="ttc" id="class_x_b_o_x_r_e_c_v_html_af97c8d0efc945fa4ba1d120c8a5a9cbb"><div class="ttname"><a href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">XBOXRECV::epInfo</a></div><div class="ttdeci">EpInfo epInfo[XBOX_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00243">XBOXRECV.h:243</a></div></div>
<div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00051">XBOXRECV.h:51</a></div></div> <div class="ttc" id="_x_b_o_x_r_e_c_v_8h_html_af35f872fc33e690571eb99de648e8e96"><div class="ttname"><a href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a></div><div class="ttdeci">#define XBOX_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_r_e_c_v_8h_source.html#l00051">XBOXRECV.h:51</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->

View file

@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</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="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="_x_b_o_x_u_s_b_8h.html">XBOXUSB.h</a>&quot;</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_x_b_o_x_u_s_b_8h.html">XBOXUSB.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging uncomment &quot;#define DEBUG_USB_HOST&quot; in message.h</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// To enable serial debugging see &quot;settings.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Xbox 360 Controller</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Xbox 360 Controller</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, 0x80);</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; D_PrintHex&lt;uint8_t &gt; (<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, 0x80);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span> delay(300); <span class="comment">// Spec says you should wait at least 200ms</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </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; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="comment">//get pointer to assigned address record</span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="comment">//get pointer to assigned address record</span></div>
@ -373,7 +373,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">return</span> (uint8_t)(ButtonState &gt;&gt; 8);</div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">return</span> (uint8_t)(ButtonState &gt;&gt; 8);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>)</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>)</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordflow">return</span> (uint8_t)ButtonState;</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordflow">return</span> (uint8_t)ButtonState;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">return</span> (ButtonState &amp; ((uint32_t)pgm_read_word(&amp;<a class="code" href="xbox_enums_8h.html#a7e55826e75b9b88578c8b0edaaf523d7">XBOXBUTTONS</a>[(uint8_t)b]) &lt;&lt; 16));</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">return</span> (<span class="keywordtype">bool</span>)(ButtonState &amp; ((uint32_t)pgm_read_word(&amp;<a class="code" href="xbox_enums_8h.html#a7e55826e75b9b88578c8b0edaaf523d7">XBOXBUTTONS</a>[(uint8_t)b]) &lt;&lt; 16));</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;}</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;}</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635"> 288</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635">XBOXUSB::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div> <div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635"> 288</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635">XBOXUSB::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
@ -462,7 +462,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00113">controllerEnums.h:113</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00113">controllerEnums.h:113</a></div></div>
<div class="ttc" id="class_x_b_o_x_u_s_b_html_a9c701658d4f63b5407cbcd5b78d8eb18"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">XBOXUSB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00193">XBOXUSB.h:193</a></div></div> <div class="ttc" id="class_x_b_o_x_u_s_b_html_a9c701658d4f63b5407cbcd5b78d8eb18"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">XBOXUSB::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00193">XBOXUSB.h:193</a></div></div>
<div class="ttc" id="_x_b_o_x_u_s_b_8h_html_aaa3e91675875fbf14a37369f9513874a"><div class="ttname"><a href="_x_b_o_x_u_s_b_8h.html#aaa3e91675875fbf14a37369f9513874a">XBOX_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define XBOX_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00047">XBOXUSB.h:47</a></div></div> <div class="ttc" id="_x_b_o_x_u_s_b_8h_html_aaa3e91675875fbf14a37369f9513874a"><div class="ttname"><a href="_x_b_o_x_u_s_b_8h.html#aaa3e91675875fbf14a37369f9513874a">XBOX_REPORT_BUFFER_SIZE</a></div><div class="ttdeci">#define XBOX_REPORT_BUFFER_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00047">XBOXUSB.h:47</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6ab1d5eac4b1dca480c8056eaea7663b7a"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6ab1d5eac4b1dca480c8056eaea7663b7a">ALL</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00040">controllerEnums.h:40</a></div></div> <div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6ab1d5eac4b1dca480c8056eaea7663b7a"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6ab1d5eac4b1dca480c8056eaea7663b7a">ALL</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00040">controllerEnums.h:40</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00115">controllerEnums.h:115</a></div></div>
<div class="ttc" id="class_x_b_o_x_u_s_b_html_a9d2ad06354787bc252058bb28015b56e"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">XBOXUSB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8cpp_source.html#l00038">XBOXUSB.cpp:38</a></div></div> <div class="ttc" id="class_x_b_o_x_u_s_b_html_a9d2ad06354787bc252058bb28015b56e"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">XBOXUSB::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8cpp_source.html#l00038">XBOXUSB.cpp:38</a></div></div>
@ -480,7 +480,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div> <div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div>
<div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_aa92d7e8f0f515340ae2dc1679b627056"><div class="ttname"><a href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool::GetUsbDevicePtr</a></div><div class="ttdeci">virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0</div></div>
<div class="ttc" id="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#l00044">message.h:44</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#l00044">message.h:44</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div> <div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div>
<div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div> <div class="ttc" id="message_8h_html_a0ce3a725ee65614d7f95cda10e4d2e91"><div class="ttname"><a href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a></div><div class="ttdeci">#define NotifyFailUnknownDevice(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00054">message.h:54</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div> <div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div>
@ -528,7 +528,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div> <div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div> <div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00117">controllerEnums.h:117</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="class_x_b_o_x_u_s_b_html_a2f4684fe0785e50de434d95f4336fa12"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">XBOXUSB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8cpp_source.html#l00229">XBOXUSB.cpp:229</a></div></div> <div class="ttc" id="class_x_b_o_x_u_s_b_html_a2f4684fe0785e50de434d95f4336fa12"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">XBOXUSB::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8cpp_source.html#l00229">XBOXUSB.cpp:229</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</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_x_b_o_x_u_s_b_html_abef4a852d877d8136f198431ce54550f"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">XBOXUSB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[XBOX_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00197">XBOXUSB.h:197</a></div></div> <div class="ttc" id="class_x_b_o_x_u_s_b_html_abef4a852d877d8136f198431ce54550f"><div class="ttname"><a href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">XBOXUSB::epInfo</a></div><div class="ttdeci">EpInfo epInfo[XBOX_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_u_s_b_8h_source.html#l00197">XBOXUSB.h:197</a></div></div>

View file

@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<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="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="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="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="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="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/* Google ADK interface */</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/* Google ADK interface */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
@ -121,348 +121,359 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial) :</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial) :</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">/* ADK ID Strings */</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">/* ADK ID Strings */</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;manufacturer(manufacturer),</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;manufacturer(manufacturer),</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;model(model),</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;model(model),</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;description(description),</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;description(description),</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;version(version),</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;version(version),</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;uri(uri),</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;uri(uri),</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;serial(serial),</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;serial(serial),</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;pUsb(p), <span class="comment">//pointer to USB class instance - mandatory</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;pUsb(p), <span class="comment">//pointer to USB class instance - mandatory</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;bAddress(0), <span class="comment">//device address - mandatory</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;bAddress(0), <span class="comment">//device address - mandatory</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;bConfNum(0), <span class="comment">//configuration number</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;bConfNum(0), <span class="comment">//configuration number</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;bNumEP(1), <span class="comment">//if config descriptor needs to be parsed</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;bNumEP(1), <span class="comment">//if config descriptor needs to be parsed</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;ready(false) {</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;ready(false) {</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="comment">// initialize endpoint data structures</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="comment">// initialize endpoint data structures</span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a>; i++) {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; <a class="code" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a>; i++) {</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0;</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (i) ? 0 : 8;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (i) ? 0 : 8;</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = 0;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = (0xfc &amp; (<a class="code" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a> &lt;&lt; 2));</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = (i) ? <a class="code" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a> : <a class="code" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; }<span class="comment">//for(uint8_t i=0; i&lt;ADK_MAX_ENDPOINTS; i++...</span></div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; }<span class="comment">//for(uint8_t i=0; i&lt;ADK_MAX_ENDPOINTS; i++...</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">//set bulk-IN EP naklimit to 1</span></div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// register in USB subsystem</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a>].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = (0xfc &amp; (<a class="code" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a> &lt;&lt; 2));</div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>) {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a>(<span class="keyword">this</span>); <span class="comment">//set devConfig[] entry</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// register in USB subsystem</span></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">if</span> (<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>) {</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;}</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a>(<span class="keyword">this</span>); <span class="comment">//set devConfig[] entry</span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; }</div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120"> 58</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;}</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">Init</a>(parent, port, lowspeed); <span class="comment">// Just call Init. Yes, really!</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</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"><a class="line" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120"> 61</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">Init</a>(parent, port, lowspeed); <span class="comment">// Just call Init. Yes, really!</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/* Connection initialization of an Android phone */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;}</div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063"> 63</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; uint8_t buf[<span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>)];</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment">/* Connection initialization of an Android phone */</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; uint8_t rcode;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063"> 66</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; uint8_t num_of_conf; <span class="comment">// number of configurations</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; uint8_t buf[<span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>)];</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> *oldep_ptr = NULL;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; uint8_t rcode;</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; uint8_t num_of_conf; <span class="comment">// number of configurations</span></div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// get memory address of USB device address pool</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="class_address_pool.html">AddressPool</a> &amp;addrPool = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>();</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> *oldep_ptr = NULL;</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nADK Init&quot;</span>);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="comment">// get memory address of USB device address pool</span></div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="class_address_pool.html">AddressPool</a> &amp;addrPool = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>();</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// check if address has already been assigned to an instance</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>) {</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nADK Init&quot;</span>);</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAddress in use&quot;</span>);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// check if address has already been assigned to an instance</span></div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>) {</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAddress in use&quot;</span>);</div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>;</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(0);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; }</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">if</span> (!p) {</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAddress not found&quot;</span>);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(0);</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; }</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">if</span> (!p) {</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAddress not found&quot;</span>);</div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordflow">if</span> (!p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>) {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;epinfo is null\r\n&quot;</span>);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; }</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; }</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordflow">if</span> (!p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>) {</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;epinfo is null\r\n&quot;</span>);</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a>;</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; oldep_ptr = p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; }</div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="comment">// Temporary assign new pointer to epInfo to p-&gt;epinfo in order to avoid toggle inconsistence</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; oldep_ptr = p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>;</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="comment">// Temporary assign new pointer to epInfo to p-&gt;epinfo in order to avoid toggle inconsistence</span></div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>;</div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="comment">// Get device descriptor</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a>(0, 0, <span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>), (uint8_t*)buf);</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// Restore p-&gt;epinfo</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="comment">// Get device descriptor</span></div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = oldep_ptr;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a>(0, 0, <span class="keyword">sizeof</span> (<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>), (uint8_t*)buf);</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="comment">// Restore p-&gt;epinfo</span></div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">goto</span> FailGetDevDescr;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = oldep_ptr;</div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="comment">// Allocate new address according to device class</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">goto</span> FailGetDevDescr;</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = addrPool.<a class="code" href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AllocAddress</a>(parent, <span class="keyword">false</span>, port);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; }</div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">// Extract Max Packet Size from device descriptor</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="comment">// Allocate new address according to device class</span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[0].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (uint8_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bMaxPacketSize0;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = addrPool.<a class="code" href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AllocAddress</a>(parent, <span class="keyword">false</span>, port);</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="comment">// Assign new address to the device</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="comment">// Extract Max Packet Size from device descriptor</span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a>(0, 0, <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[0].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (uint8_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bMaxPacketSize0;</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="comment">// Assign new address to the device</span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a>(0, 0, <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; addrPool.<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = 0;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="comment">//USBTRACE2(&quot;setAddr:&quot;,rcode);</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; addrPool.<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = 0;</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; }<span class="comment">//if (rcode...</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="comment">//USBTRACE2(&quot;setAddr:&quot;,rcode);</span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nAddr:&quot;, bAddress);</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }<span class="comment">//if (rcode...</span></div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="comment">// Spec says you should wait at least 200ms.</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; delay(300);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nAddr:&quot;, bAddress);</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="comment">// Spec says you should wait at least 200ms.</span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; delay(300);</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">//get pointer to assigned address record</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">if</span> (!p) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="comment">//get pointer to assigned address record</span></div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordflow">if</span> (!p) {</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="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// Assign epInfo to epinfo pointer - only EP0 is known</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; p-&gt;<a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 1, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// Assign epInfo to epinfo pointer - only EP0 is known</span></div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordflow">goto</span> FailSetDevTblEntry;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 1, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>);</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; }</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">goto</span> FailSetDevTblEntry;</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="comment">//check if ADK device is already in accessory mode; if yes, configure and exit</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; }</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">if</span> (((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idVendor == <a class="code" href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a> &amp;&amp;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; (((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct == <a class="code" href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a> || ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct == <a class="code" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>)) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="comment">//check if ADK device is already in accessory mode; if yes, configure and exit</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAcc.mode device detected&quot;</span>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordflow">if</span> (((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idVendor == <a class="code" href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a> &amp;&amp;</div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="comment">/* go through configurations, find first bulk-IN, bulk-OUT EP, fill epInfo and quit */</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; (((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct == <a class="code" href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a> || ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;idProduct == <a class="code" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>)) {</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; num_of_conf = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bNumConfigurations;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAcc.mode device detected&quot;</span>);</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">/* go through configurations, find first bulk-IN, bulk-OUT EP, fill epInfo and quit */</span></div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nNC:&quot;,num_of_conf);</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; num_of_conf = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)-&gt;bNumConfigurations;</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; num_of_conf; i++) {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="class_config_desc_parser.html">ConfigDescParser &lt; 0, 0, 0, 0 &gt;</a> confDescrParser(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nNC:&quot;,num_of_conf);</span></div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; delay(1);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, i, &amp;confDescrParser);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">for</span> (uint8_t i = 0; i &lt; num_of_conf; i++) {</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="preprocessor">#if defined(XOOM)</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="class_config_desc_parser.html">ConfigDescParser &lt; 0, 0, 0, 0 &gt;</a> confDescrParser(<span class="keyword">this</span>);</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="preprocessor"></span> <span class="comment">//added by Jaylen Scott Vanorden</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, i, &amp;confDescrParser);</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a>(<span class="stringliteral">&quot;\r\nGot 1st bad code for config: &quot;</span>, rcode);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">goto</span> FailGetConfDescr;</div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="comment">// Try once more</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; }</div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, i, &amp;confDescrParser);</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> &gt; 2) {</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; <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; }</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; } <span class="comment">// for (uint8_t i=0; i&lt;num_of_conf; i++...</span></div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordflow">goto</span> FailGetConfDescr;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; }</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> == 3) {</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> &gt; 2) {</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// Assign epInfo to epinfo pointer - this time all 3 endpoins</span></div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 3, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>);</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; }</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; } <span class="comment">// for (uint8_t i=0; i&lt;num_of_conf; i++...</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordflow">goto</span> FailSetDevTblEntry;</div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; }</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> == 3) {</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; }</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="comment">// Assign epInfo to epinfo pointer - this time all 3 endpoins</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 3, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>);</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">goto</span> FailSetDevTblEntry;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="comment">// Set Configuration Value</span></div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a>);</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="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordflow">goto</span> FailSetConfDescr;</div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="comment">// Set Configuration Value</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; }</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; rcode = <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a>);</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="comment">/* print endpoint structure */</span></div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="comment">// USBTRACE(&quot;\r\nEndpoint Structure:&quot;);</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordflow">goto</span> FailSetConfDescr;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="comment">// USBTRACE(&quot;\r\nEP0:&quot;);</span></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"> 189</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[0].epAddr );</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="comment">/* print endpoint structure */</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[0].maxPktSize );</span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="comment">/*</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[0].epAttribs );</span></div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="comment"> USBTRACE(&quot;\r\nEndpoint Structure:&quot;);</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="comment">// USBTRACE(&quot;\r\nEpout:&quot;);</span></div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="comment"> USBTRACE(&quot;\r\nEP0:&quot;);</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[epDataOutIndex].epAddr );</span></div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[0].epAddr);</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[epDataOutIndex].maxPktSize );</span></div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[0].maxPktSize);</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[epDataOutIndex].epAttribs );</span></div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[0].epAttribs);</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="comment">// USBTRACE(&quot;\r\nEpin:&quot;);</span></div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="comment"> USBTRACE(&quot;\r\nEpout:&quot;);</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[epDataInIndex].epAddr );</span></div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[epDataOutIndex].epAddr);</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[epDataInIndex].maxPktSize );</span></div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[epDataOutIndex].maxPktSize);</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="comment">// USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[epDataInIndex].epAttribs );</span></div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[epDataOutIndex].epAttribs);</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="comment"> USBTRACE(&quot;\r\nEpin:&quot;);</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nConfiguration successful&quot;</span>);</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAddr: &quot;, epInfo[epDataInIndex].epAddr);</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nMax.pkt.size: &quot;, epInfo[epDataInIndex].maxPktSize);</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">return</span> 0; <span class="comment">//successful configuration</span></div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="comment"> USBTRACE2(&quot;\r\nAttr: &quot;, epInfo[epDataInIndex].epAttribs);</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }<span class="comment">//if( buf-&gt;idVendor == ADK_VID...</span></div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="comment">//probe device - get accessory protocol revision</span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nConfiguration successful&quot;</span>);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; {</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; uint16_t adkproto = -1;</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">return</span> 0; <span class="comment">//successful configuration</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; rcode = getProto((uint8_t*) &amp; adkproto);</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }<span class="comment">//if( buf-&gt;idVendor == ADK_VID...</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">goto</span> FailGetProto; <span class="comment">//init fails</span></div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">//probe device - get accessory protocol revision</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; }</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; {</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a>(<span class="stringliteral">&quot;\r\nADK protocol rev. &quot;</span>, adkproto);</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; uint16_t adkproto = -1;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; }</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; delay(1);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; rcode = getProto((uint8_t*) &amp; adkproto);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="comment">//sending ID strings</span></div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor">#if defined(XOOM)</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; sendStr(<a class="code" href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062">ACCESSORY_STRING_MANUFACTURER</a>, manufacturer);</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor"></span> <span class="comment">//added by Jaylen Scott Vanorden</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; sendStr(<a class="code" href="adk_8h.html#a962954d4b489994aa347721c582fe242">ACCESSORY_STRING_MODEL</a>, model);</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; sendStr(<a class="code" href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b">ACCESSORY_STRING_DESCRIPTION</a>, description);</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <a class="code" href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a>(<span class="stringliteral">&quot;\r\nGot 1st bad code for proto: &quot;</span>, rcode);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; sendStr(<a class="code" href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5">ACCESSORY_STRING_VERSION</a>, version);</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="comment">// Try once more</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; sendStr(<a class="code" href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e">ACCESSORY_STRING_URI</a>, uri);</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; rcode = getProto((uint8_t*) &amp; adkproto);</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; sendStr(<a class="code" href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16">ACCESSORY_STRING_SERIAL</a>, serial);</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; }</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="comment">//switch to accessory mode</span></div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<span class="preprocessor"></span> <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">//the Android phone will reset</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">goto</span> FailGetProto; <span class="comment">//init fails</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; rcode = switchAcc();</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; }</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">if</span> (rcode) {</div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a>(<span class="stringliteral">&quot;\r\nADK protocol rev. &quot;</span>, adkproto);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">goto</span> FailSwAcc; <span class="comment">//init fails</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; }</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; rcode = <a class="code" href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a>;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="comment">//sending ID strings</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; delay(1000); <span class="comment">// Give Android a chance to do its reset. This is a guess, and possibly could be lower.</span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; sendStr(<a class="code" href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062">ACCESSORY_STRING_MANUFACTURER</a>, manufacturer);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keywordflow">goto</span> SwAttempt; <span class="comment">//switch to accessory mode attempted</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; sendStr(<a class="code" href="adk_8h.html#a962954d4b489994aa347721c582fe242">ACCESSORY_STRING_MODEL</a>, model);</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; sendStr(<a class="code" href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b">ACCESSORY_STRING_DESCRIPTION</a>, description);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="comment">/* diagnostic messages */</span></div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; sendStr(<a class="code" href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5">ACCESSORY_STRING_VERSION</a>, version);</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;FailGetDevDescr:</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; sendStr(<a class="code" href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e">ACCESSORY_STRING_URI</a>, uri);</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; sendStr(<a class="code" href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16">ACCESSORY_STRING_SERIAL</a>, serial);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a>(rcode);</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="comment">//switch to accessory mode</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="comment">//the Android phone will reset</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; rcode = switchAcc();</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;FailSetDevTblEntry:</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">if</span> (rcode) {</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordflow">goto</span> FailSwAcc; <span class="comment">//init fails</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a>(rcode);</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; }</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; rcode = <a class="code" href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; delay(1000); <span class="comment">// Give Android a chance to do its reset. This is a guess, and possibly could be lower.</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">goto</span> SwAttempt; <span class="comment">//switch to accessory mode attempted</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;FailGetConfDescr:</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="comment">/* diagnostic messages */</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a>(rcode);</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;FailGetDevDescr:</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a>(rcode);</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;FailSetConfDescr:</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a>(rcode);</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;FailSetDevTblEntry:</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a>(rcode);</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;FailGetProto:</div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\ngetProto:&quot;</span>);</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;FailGetConfDescr:</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a>(rcode);</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;FailSwAcc:</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nswAcc:&quot;</span>);</div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;FailSetConfDescr:</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordflow">goto</span> Fail;</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;<span class="preprocessor"></span> <a class="code" href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a>(rcode);</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;SwAttempt:</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAccessory mode switch attempt&quot;</span>);</div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;FailGetProto:</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor"></span> <span class="comment">//FailOnInit:</span></div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\ngetProto:&quot;</span>);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="comment">// USBTRACE(&quot;OnInit:&quot;);</span></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="comment">// goto Fail;</span></div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="comment">//</span></div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;Fail:</div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;FailSwAcc:</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nADK Init Failed, error code: &quot;, rcode);</span></div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="comment">//NotifyFail(rcode);</span></div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nswAcc:&quot;</span>);</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">Release</a>();</div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">goto</span> Fail;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">return</span> rcode;</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;}</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;SwAttempt:</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="comment">/* Extracts bulk-IN and bulk-OUT endpoint information from config descriptor */</span></div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75"> 287</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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> *pep) {</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;<span class="preprocessor"></span> <a class="code" href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a>(<span class="stringliteral">&quot;\r\nAccessory mode switch attempt&quot;</span>);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Conf.Val&quot;), conf);</span></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Iface Num&quot;),iface);</span></div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;<span class="preprocessor"></span><span class="comment">//FailOnInit:</span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Alt.Set&quot;), alt);</span></div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;<span class="comment">// USBTRACE(&quot;OnInit:&quot;);</span></div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="comment">// goto Fail;</span></div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="comment">//added by Yuuichi Akagawa</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;Fail:</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> == 3) {</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nADK Init Failed, error code: &quot;, rcode);</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">return</span>;</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="comment">//NotifyFail(rcode);</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; }</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">Release</a>();</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">return</span> rcode;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a> = conf;</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;}</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; uint8_t index;</div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="comment">/* Extracts bulk-IN and bulk-OUT endpoint information from config descriptor */</span></div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div> <div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75"> 300</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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> *pep) {</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="comment">// if ((pep-&gt;bmAttributes &amp; 0x02) == 2) {</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Conf.Val&quot;), conf);</span></div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; index = ((pep-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a> &amp; 0x80) == 0x80) ? <a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a> : <a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>;</div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Iface Num&quot;), iface);</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="comment">// }</span></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="comment">//ErrorMessage&lt;uint8_t&gt;(PSTR(&quot;Alt.Set&quot;), alt);</span></div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="comment">// Fill in the endpoint info structure</span></div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="comment">//added by Yuuichi Akagawa</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[index].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = (pep-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a> &amp; 0x0F);</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> == 3) {</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[index].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (uint8_t)pep-&gt;<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#af34105fa6bd0029d9c6b73d85f7853c6">wMaxPacketSize</a>;</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; }</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a>++;</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a> = conf;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="comment">//PrintEndpointDescriptor(pep);</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;}</div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="keywordflow">if</span> ((pep-&gt;<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#a8ee7f1bafac335258c6e742969387f57">bmAttributes</a> &amp; 0x02) == 2) {</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; uint8_t index = ((pep-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a> &amp; 0x80) == 0x80) ? <a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a> : <a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>;</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;<span class="comment">/* Performs a cleanup after failed Init() attempt */</span></div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="comment">// Fill in the endpoint info structure</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef"> 315</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a>() {</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[index].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = (pep-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a> &amp; 0x0F);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>().<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[index].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (uint8_t)pep-&gt;<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#af34105fa6bd0029d9c6b73d85f7853c6">wMaxPacketSize</a>;</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> = 1; <span class="comment">//must have to be reset to 1</span></div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a>++;</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = 0;</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="comment">//PrintEndpointDescriptor(pep);</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; }</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;}</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;}</div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;<span class="comment">/* Performs a cleanup after failed Init() attempt */</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1"> 325</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a>(uint16_t *bytes_rcvd, uint8_t *dataptr) {</div> <div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef"> 325</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a>() {</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nAddr: &quot;, bAddress );</span></div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>().<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>);</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nEP: &quot;,epInfo[epDataInIndex].epAddr);</span></div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a>].epAddr, bytes_rcvd, dataptr);</div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a> = 1; <span class="comment">//must have to be reset to 1</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;}</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a> = 0;</div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84"> 331</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a>(uint16_t nbytes, uint8_t *dataptr) {</div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>].epAddr, nbytes, dataptr);</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;}</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;}</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50"> 335</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a>(<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="l00335"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1"> 335</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a>(uint16_t *bytes_rcvd, uint8_t *dataptr) {</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;Endpoint descriptor:&quot;</span>), 0x80);</div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nAddr: &quot;, bAddress );</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nLength:\t\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="comment">//USBTRACE2(&quot;\r\nEP: &quot;,epInfo[epDataInIndex].epAddr);</span></div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a55263a9cc9dc17abc37226ac8a471ad0">bLength</a>, 0x80);</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a>].epAddr, bytes_rcvd, dataptr);</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nType:\t\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;}</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#af39d036ab903a96b9d4d56b879555d6c">bDescriptorType</a>, 0x80);</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nAddress:\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84"> 341</a></span>&#160;uint8_t <a class="code" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a>(uint16_t nbytes, uint8_t *dataptr) {</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a>, 0x80);</div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>].epAddr, nbytes, dataptr);</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nAttributes:\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;}</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a8ee7f1bafac335258c6e742969387f57">bmAttributes</a>, 0x80);</div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160;</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nMaxPktSize:\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50"> 345</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a>(<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="l00346"></a><span class="lineno"> 346</span>&#160; PrintHex&lt;uint16_t &gt; (ep_ptr-&gt;<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#af34105fa6bd0029d9c6b73d85f7853c6">wMaxPacketSize</a>, 0x80);</div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;Endpoint descriptor:&quot;</span>), 0x80);</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nPoll Intrv:\t&quot;</span>), 0x80);</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nLength:\t\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a95cd9669dee9cab375a7c5e62284a01b">bInterval</a>, 0x80);</div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a55263a9cc9dc17abc37226ac8a471ad0">bLength</a>, 0x80);</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nType:\t\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160;}</div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#af39d036ab903a96b9d4d56b879555d6c">bDescriptorType</a>, 0x80);</div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nAddress:\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a23fbb539d72d10a6cb12efedf7d3457c">bEndpointAddress</a>, 0x80);</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nAttributes:\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a8ee7f1bafac335258c6e742969387f57">bmAttributes</a>, 0x80);</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nMaxPktSize:\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; PrintHex&lt;uint16_t &gt; (ep_ptr-&gt;<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#af34105fa6bd0029d9c6b73d85f7853c6">wMaxPacketSize</a>, 0x80);</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\nPoll Intrv:\t&quot;</span>), 0x80);</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a95cd9669dee9cab375a7c5e62284a01b">bInterval</a>, 0x80);</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;}</div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="adk_8h_html_a355cd5e5557b754645d4e1bfffabbf99"><div class="ttname"><a href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a></div><div class="ttdeci">#define ADB_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00027">adk.h:27</a></div></div> <div class="ttc" id="adk_8h_html_a355cd5e5557b754645d4e1bfffabbf99"><div class="ttname"><a href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a></div><div class="ttdeci">#define ADB_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00027">adk.h:27</a></div></div>
<div class="ttc" id="adk_8h_html_a962954d4b489994aa347721c582fe242"><div class="ttname"><a href="adk_8h.html#a962954d4b489994aa347721c582fe242">ACCESSORY_STRING_MODEL</a></div><div class="ttdeci">#define ACCESSORY_STRING_MODEL</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00039">adk.h:39</a></div></div> <div class="ttc" id="adk_8h_html_a962954d4b489994aa347721c582fe242"><div class="ttname"><a href="adk_8h.html#a962954d4b489994aa347721c582fe242">ACCESSORY_STRING_MODEL</a></div><div class="ttdeci">#define ACCESSORY_STRING_MODEL</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00043">adk.h:43</a></div></div>
<div class="ttc" id="class_a_d_k_html_a964ec80ac133bf8d65cf0274e37b29da"><div class="ttname"><a href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">ADK::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00065">adk.h:65</a></div></div> <div class="ttc" id="class_a_d_k_html_a964ec80ac133bf8d65cf0274e37b29da"><div class="ttname"><a href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">ADK::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00069">adk.h:69</a></div></div>
<div class="ttc" id="class_a_d_k_html_a66b9943dfa89f783a8cdeb655e6fe9b1"><div class="ttname"><a href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00325">adk.cpp:325</a></div></div> <div class="ttc" id="class_a_d_k_html_a66b9943dfa89f783a8cdeb655e6fe9b1"><div class="ttname"><a href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00335">adk.cpp:335</a></div></div>
<div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div> <div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div>
<div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div> <div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div>
<div class="ttc" id="_usb_core_8h_html_af192c59cafe2192ad802b22e6dbc077d"><div class="ttname"><a href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a></div><div class="ttdeci">#define USB_ERROR_EPINFO_IS_NULL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00067">UsbCore.h:67</a></div></div> <div class="ttc" id="_usb_core_8h_html_af192c59cafe2192ad802b22e6dbc077d"><div class="ttname"><a href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a></div><div class="ttdeci">#define USB_ERROR_EPINFO_IS_NULL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00067">UsbCore.h:67</a></div></div>
<div class="ttc" id="struct_ep_info_html_a3a5b1c017a034cd9e06e76729e727c46"><div class="ttname"><a href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">EpInfo::bmNakPower</a></div><div class="ttdeci">uint8_t bmNakPower</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00042">address.h:42</a></div></div>
<div class="ttc" id="struct_usb_device_html"><div class="ttname"><a href="struct_usb_device.html">UsbDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00075">address.h:75</a></div></div> <div class="ttc" id="struct_usb_device_html"><div class="ttname"><a href="struct_usb_device.html">UsbDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00075">address.h:75</a></div></div>
<div class="ttc" id="class_a_d_k_html_a7f64af34d7890f87ceab5d144f6c26ef"><div class="ttname"><a href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00315">adk.cpp:315</a></div></div> <div class="ttc" id="class_a_d_k_html_a7f64af34d7890f87ceab5d144f6c26ef"><div class="ttname"><a href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00325">adk.cpp:325</a></div></div>
<div class="ttc" id="adk_8h_html"><div class="ttname"><a href="adk_8h.html">adk.h</a></div></div> <div class="ttc" id="adk_8h_html"><div class="ttname"><a href="adk_8h.html">adk.h</a></div></div>
<div class="ttc" id="class_a_d_k_html_ac37bde02b6ed1436712d3619afb07c84"><div class="ttname"><a href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a></div><div class="ttdeci">uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00331">adk.cpp:331</a></div></div> <div class="ttc" id="class_a_d_k_html_ac37bde02b6ed1436712d3619afb07c84"><div class="ttname"><a href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a></div><div class="ttdeci">uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00341">adk.cpp:341</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#l00141">usb_ch9.h:141</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#l00141">usb_ch9.h:141</a></div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a95cd9669dee9cab375a7c5e62284a01b"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a95cd9669dee9cab375a7c5e62284a01b">USB_ENDPOINT_DESCRIPTOR::bInterval</a></div><div class="ttdeci">uint8_t bInterval</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00147">usb_ch9.h:147</a></div></div> <div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a95cd9669dee9cab375a7c5e62284a01b"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a95cd9669dee9cab375a7c5e62284a01b">USB_ENDPOINT_DESCRIPTOR::bInterval</a></div><div class="ttdeci">uint8_t bInterval</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00147">usb_ch9.h:147</a></div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a55263a9cc9dc17abc37226ac8a471ad0"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a55263a9cc9dc17abc37226ac8a471ad0">USB_ENDPOINT_DESCRIPTOR::bLength</a></div><div class="ttdeci">uint8_t bLength</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00142">usb_ch9.h:142</a></div></div> <div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a55263a9cc9dc17abc37226ac8a471ad0"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a55263a9cc9dc17abc37226ac8a471ad0">USB_ENDPOINT_DESCRIPTOR::bLength</a></div><div class="ttdeci">uint8_t bLength</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00142">usb_ch9.h:142</a></div></div>
<div class="ttc" id="adk_8h_html_a0485b5be230520d0acde7ef32fb8210e"><div class="ttname"><a href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e">ACCESSORY_STRING_URI</a></div><div class="ttdeci">#define ACCESSORY_STRING_URI</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00042">adk.h:42</a></div></div> <div class="ttc" id="adk_8h_html_a0485b5be230520d0acde7ef32fb8210e"><div class="ttname"><a href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e">ACCESSORY_STRING_URI</a></div><div class="ttdeci">#define ACCESSORY_STRING_URI</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00046">adk.h:46</a></div></div>
<div class="ttc" id="adk_8h_html_a12e00d6841cbb8fd9ae7c97402efa062"><div class="ttname"><a href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062">ACCESSORY_STRING_MANUFACTURER</a></div><div class="ttdeci">#define ACCESSORY_STRING_MANUFACTURER</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00038">adk.h:38</a></div></div> <div class="ttc" id="adk_8h_html_a12e00d6841cbb8fd9ae7c97402efa062"><div class="ttname"><a href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062">ACCESSORY_STRING_MANUFACTURER</a></div><div class="ttdeci">#define ACCESSORY_STRING_MANUFACTURER</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00042">adk.h:42</a></div></div>
<div class="ttc" id="class_a_d_k_html_aac2fac5410faea0e439b4f7e688b3d75"><div class="ttname"><a href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00287">adk.cpp:287</a></div></div> <div class="ttc" id="class_a_d_k_html_aac2fac5410faea0e439b4f7e688b3d75"><div class="ttname"><a href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00300">adk.cpp:300</a></div></div>
<div class="ttc" id="class_a_d_k_html_ab28e3a19569c27f3ed5362e9800065c1"><div class="ttname"><a href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">ADK::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00069">adk.h:69</a></div></div> <div class="ttc" id="class_a_d_k_html_ab28e3a19569c27f3ed5362e9800065c1"><div class="ttname"><a href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">ADK::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00073">adk.h:73</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="class_a_d_k_html_a14f24ca8246c5b6126a5aa72cf6ee120"><div class="ttname"><a href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00061">adk.cpp:61</a></div></div> <div class="ttc" id="class_a_d_k_html_a14f24ca8246c5b6126a5aa72cf6ee120"><div class="ttname"><a href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00058">adk.cpp:58</a></div></div>
<div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div> <div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div>
<div class="ttc" id="class_a_d_k_html_acfc5a7e45f15bba7ff8cd42552796624"><div class="ttname"><a href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">ADK::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00066">adk.h:66</a></div></div> <div class="ttc" id="class_a_d_k_html_acfc5a7e45f15bba7ff8cd42552796624"><div class="ttname"><a href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">ADK::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00070">adk.h:70</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div> <div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
<div class="ttc" id="adk_8h_html_a32e861258886323d4dbcf066641597a4"><div class="ttname"><a href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a></div><div class="ttdeci">#define ADK_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00026">adk.h:26</a></div></div> <div class="ttc" id="adk_8h_html_a32e861258886323d4dbcf066641597a4"><div class="ttname"><a href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a></div><div class="ttdeci">#define ADK_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00026">adk.h:26</a></div></div>
<div class="ttc" id="class_address_pool_html_a15fde13223dcb1da89305ad229763562"><div class="ttname"><a href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">AddressPool::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)=0</div></div> <div class="ttc" id="class_address_pool_html_a15fde13223dcb1da89305ad229763562"><div class="ttname"><a href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">AddressPool::FreeAddress</a></div><div class="ttdeci">virtual void FreeAddress(uint8_t addr)=0</div></div>
@ -472,41 +483,41 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.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_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.h:145</a></div></div>
<div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div> <div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div>
<div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div> <div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div> <div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div> <div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div> <div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div>
<div class="ttc" id="class_a_d_k_html_a135db75b9e8cdd59b89f46c44dd83dd4"><div class="ttname"><a href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ADK::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00074">adk.h:74</a></div></div> <div class="ttc" id="class_a_d_k_html_a135db75b9e8cdd59b89f46c44dd83dd4"><div class="ttname"><a href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ADK::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00078">adk.h:78</a></div></div>
<div class="ttc" id="adk_8h_html_a31b2b6ec818e90cd9fe47bd4f7f86c16"><div class="ttname"><a href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16">ACCESSORY_STRING_SERIAL</a></div><div class="ttdeci">#define ACCESSORY_STRING_SERIAL</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00043">adk.h:43</a></div></div> <div class="ttc" id="adk_8h_html_a31b2b6ec818e90cd9fe47bd4f7f86c16"><div class="ttname"><a href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16">ACCESSORY_STRING_SERIAL</a></div><div class="ttdeci">#define ACCESSORY_STRING_SERIAL</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00047">adk.h:47</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="class_u_s_b_html_affbc018973a588995457d535b0ac7ee7"><div class="ttname"><a href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">USB::outTransfer</a></div><div class="ttdeci">uint8_t outTransfer(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00290">Usb.cpp:290</a></div></div> <div class="ttc" id="class_u_s_b_html_affbc018973a588995457d535b0ac7ee7"><div class="ttname"><a href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">USB::outTransfer</a></div><div class="ttdeci">uint8_t outTransfer(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00290">Usb.cpp:290</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_af34105fa6bd0029d9c6b73d85f7853c6"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af34105fa6bd0029d9c6b73d85f7853c6">USB_ENDPOINT_DESCRIPTOR::wMaxPacketSize</a></div><div class="ttdeci">uint16_t wMaxPacketSize</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00146">usb_ch9.h:146</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_af34105fa6bd0029d9c6b73d85f7853c6"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af34105fa6bd0029d9c6b73d85f7853c6">USB_ENDPOINT_DESCRIPTOR::wMaxPacketSize</a></div><div class="ttdeci">uint16_t wMaxPacketSize</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00146">usb_ch9.h:146</a></div></div>
<div class="ttc" id="adk_8h_html_aab852db9aa38642ad7be827ae95351c5"><div class="ttname"><a href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5">ACCESSORY_STRING_VERSION</a></div><div class="ttdeci">#define ACCESSORY_STRING_VERSION</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00041">adk.h:41</a></div></div> <div class="ttc" id="adk_8h_html_aab852db9aa38642ad7be827ae95351c5"><div class="ttname"><a href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5">ACCESSORY_STRING_VERSION</a></div><div class="ttdeci">#define ACCESSORY_STRING_VERSION</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00045">adk.h:45</a></div></div>
<div class="ttc" id="class_a_d_k_html_a29492dcd9b7f6023b7866cd05188d61c"><div class="ttname"><a href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK::ADK</a></div><div class="ttdeci">ADK(USB *pUsb, const char *manufacturer, const char *model, const char *description, const char *version, const char *uri, const char *serial)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00025">adk.cpp:25</a></div></div> <div class="ttc" id="class_a_d_k_html_a29492dcd9b7f6023b7866cd05188d61c"><div class="ttname"><a href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK::ADK</a></div><div class="ttdeci">ADK(USB *pUsb, const char *manufacturer, const char *model, const char *description, const char *version, const char *uri, const char *serial)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00025">adk.cpp:25</a></div></div>
<div class="ttc" id="class_a_d_k_html_a6ffc693d731ddeb9499c11e893fc467d"><div class="ttname"><a href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">ADK::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ADK_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00077">adk.h:77</a></div></div> <div class="ttc" id="class_a_d_k_html_a6ffc693d731ddeb9499c11e893fc467d"><div class="ttname"><a href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">ADK::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ADK_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00081">adk.h:81</a></div></div>
<div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div> <div class="ttc" id="class_address_pool_html_a97df4ef42e50960ce2165f4cdb53e590"><div class="ttname"><a href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AddressPool::AllocAddress</a></div><div class="ttdeci">virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0</div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a23fbb539d72d10a6cb12efedf7d3457c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a23fbb539d72d10a6cb12efedf7d3457c">USB_ENDPOINT_DESCRIPTOR::bEndpointAddress</a></div><div class="ttdeci">uint8_t bEndpointAddress</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00144">usb_ch9.h:144</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_a23fbb539d72d10a6cb12efedf7d3457c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a23fbb539d72d10a6cb12efedf7d3457c">USB_ENDPOINT_DESCRIPTOR::bEndpointAddress</a></div><div class="ttdeci">uint8_t bEndpointAddress</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00144">usb_ch9.h:144</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div> <div class="ttc" id="_usb_core_8h_html_a44416ff64fc0e3691f98addac13d4595"><div class="ttname"><a href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a></div><div class="ttdeci">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00069">UsbCore.h:69</a></div></div>
<div class="ttc" id="adk_8h_html_ac39da606ffc273bd855152107297d6a1"><div class="ttname"><a href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ADK_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00045">adk.h:45</a></div></div> <div class="ttc" id="adk_8h_html_ac39da606ffc273bd855152107297d6a1"><div class="ttname"><a href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ADK_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00049">adk.h:49</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_af39d036ab903a96b9d4d56b879555d6c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af39d036ab903a96b9d4d56b879555d6c">USB_ENDPOINT_DESCRIPTOR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00143">usb_ch9.h:143</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_af39d036ab903a96b9d4d56b879555d6c"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#af39d036ab903a96b9d4d56b879555d6c">USB_ENDPOINT_DESCRIPTOR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00143">usb_ch9.h:143</a></div></div>
<div class="ttc" id="class_a_d_k_html_ac4bd3303b99921289c3f59e2df219e50"><div class="ttname"><a href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00335">adk.cpp:335</a></div></div> <div class="ttc" id="class_a_d_k_html_ac4bd3303b99921289c3f59e2df219e50"><div class="ttname"><a href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00345">adk.cpp:345</a></div></div>
<div class="ttc" id="address_8h_html_a660e8da9c1167a8450aef91c5c03761d"><div class="ttname"><a href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a></div><div class="ttdeci">#define USB_NAK_NOWAIT</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00029">address.h:29</a></div></div> <div class="ttc" id="address_8h_html_a660e8da9c1167a8450aef91c5c03761d"><div class="ttname"><a href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a></div><div class="ttdeci">#define USB_NAK_NOWAIT</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00029">address.h:29</a></div></div>
<div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div> <div class="ttc" id="_usb_core_8h_html_afe2fedb4b0ccc89a688c0b4b59691ce0"><div class="ttname"><a href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a></div><div class="ttdeci">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00066">UsbCore.h:66</a></div></div>
<div class="ttc" id="class_u_s_b_html_ad75d64f648b102fab2bd75e53e1324a4"><div class="ttname"><a href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">USB::inTransfer</a></div><div class="ttdeci">uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00206">Usb.cpp:206</a></div></div> <div class="ttc" id="class_u_s_b_html_ad75d64f648b102fab2bd75e53e1324a4"><div class="ttname"><a href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">USB::inTransfer</a></div><div class="ttdeci">uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00206">Usb.cpp:206</a></div></div>
<div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div> <div class="ttc" id="struct_ep_info_html_aa2ca775b63736df4008e88da7dd4dddb"><div class="ttname"><a href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">EpInfo::maxPktSize</a></div><div class="ttdeci">uint8_t maxPktSize</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00034">address.h:34</a></div></div>
<div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div> <div class="ttc" id="class_u_s_b_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool &amp; GetAddressPool()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00168">UsbCore.h:168</a></div></div>
<div class="ttc" id="class_a_d_k_html_a8c5c2e212c748966ccd863499d202063"><div class="ttname"><a href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00066">adk.cpp:66</a></div></div> <div class="ttc" id="class_a_d_k_html_a8c5c2e212c748966ccd863499d202063"><div class="ttname"><a href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00063">adk.cpp:63</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="adk_8h_html_aa376dd887b57d0628df287dd1fce7f3b"><div class="ttname"><a href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b">ACCESSORY_STRING_DESCRIPTION</a></div><div class="ttdeci">#define ACCESSORY_STRING_DESCRIPTION</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00040">adk.h:40</a></div></div> <div class="ttc" id="adk_8h_html_aa376dd887b57d0628df287dd1fce7f3b"><div class="ttname"><a href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b">ACCESSORY_STRING_DESCRIPTION</a></div><div class="ttdeci">#define ACCESSORY_STRING_DESCRIPTION</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00044">adk.h:44</a></div></div>
<div class="ttc" id="class_a_d_k_html_adf969d306da15baecd5c59bbb568053e"><div class="ttname"><a href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">ADK::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00073">adk.h:73</a></div></div> <div class="ttc" id="class_a_d_k_html_adf969d306da15baecd5c59bbb568053e"><div class="ttname"><a href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">ADK::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00077">adk.h:77</a></div></div>
<div class="ttc" id="adk_8h_html_a37223416b6c1bba6b86ab17211bc9af2"><div class="ttname"><a href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a></div><div class="ttdeci">#define ADK_VID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00025">adk.h:25</a></div></div> <div class="ttc" id="adk_8h_html_a37223416b6c1bba6b86ab17211bc9af2"><div class="ttname"><a href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a></div><div class="ttdeci">#define ADK_VID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00025">adk.h:25</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3f66bf622590413ef2e1864f93a3e0d2"><div class="ttname"><a href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">USB::RegisterDeviceClass</a></div><div class="ttdeci">uint8_t RegisterDeviceClass(USBDeviceConfig *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00172">UsbCore.h:172</a></div></div> <div class="ttc" id="class_u_s_b_html_a3f66bf622590413ef2e1864f93a3e0d2"><div class="ttname"><a href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">USB::RegisterDeviceClass</a></div><div class="ttdeci">uint8_t RegisterDeviceClass(USBDeviceConfig *pdev)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00172">UsbCore.h:172</a></div></div>
<div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div> <div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div>
<div class="ttc" id="class_a_d_k_html_ae8fcc6a6fccab61116cea10dd1f17738"><div class="ttname"><a href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">ADK::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00071">adk.h:71</a></div></div> <div class="ttc" id="class_a_d_k_html_ae8fcc6a6fccab61116cea10dd1f17738"><div class="ttname"><a href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">ADK::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00075">adk.h:75</a></div></div>
<div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div> <div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</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_a_d_k_html_ab22a7c60cec56823727d4ff2cf2c4edf"><div class="ttname"><a href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">ADK::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00070">adk.h:70</a></div></div> <div class="ttc" id="class_a_d_k_html_ab22a7c60cec56823727d4ff2cf2c4edf"><div class="ttname"><a href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">ADK::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00074">adk.h:74</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a7cad2f024e98c4b2b1b52df76b10c01e"><div class="ttname"><a href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a></div><div class="ttdeci">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00072">UsbCore.h:72</a></div></div> <div class="ttc" id="_usb_core_8h_html_a7cad2f024e98c4b2b1b52df76b10c01e"><div class="ttname"><a href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e">USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</a></div><div class="ttdeci">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00072">UsbCore.h:72</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->

View file

@ -123,6 +123,8 @@ Macros</h2></td></tr>
<tr class="separator:a32e861258886323d4dbcf066641597a4"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a32e861258886323d4dbcf066641597a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a355cd5e5557b754645d4e1bfffabbf99"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>&#160;&#160;&#160;0x2D01</td></tr> <tr class="memitem:a355cd5e5557b754645d4e1bfffabbf99"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>&#160;&#160;&#160;0x2D01</td></tr>
<tr class="separator:a355cd5e5557b754645d4e1bfffabbf99"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a355cd5e5557b754645d4e1bfffabbf99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb9a797aace2bcf4a9d1f786a632ca4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#aeb9a797aace2bcf4a9d1f786a632ca4b">XOOM</a></td></tr>
<tr class="separator:aeb9a797aace2bcf4a9d1f786a632ca4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c3e43d4d2955f93260f3e5ffe207e41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a>&#160;&#160;&#160;51</td></tr> <tr class="memitem:a4c3e43d4d2955f93260f3e5ffe207e41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a>&#160;&#160;&#160;51</td></tr>
<tr class="separator:a4c3e43d4d2955f93260f3e5ffe207e41"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a4c3e43d4d2955f93260f3e5ffe207e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ab0e7e3adbc8bfc1bcdf29887c9a455"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a>&#160;&#160;&#160;52</td></tr> <tr class="memitem:a4ab0e7e3adbc8bfc1bcdf29887c9a455"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a>&#160;&#160;&#160;52</td></tr>
@ -189,6 +191,20 @@ Macros</h2></td></tr>
<p>Definition at line <a class="el" href="adk_8h_source.html#l00027">27</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00027">27</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div>
</div>
<a class="anchor" id="aeb9a797aace2bcf4a9d1f786a632ca4b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define XOOM</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00029">29</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
<a class="anchor" id="a4c3e43d4d2955f93260f3e5ffe207e41"></a> <a class="anchor" id="a4c3e43d4d2955f93260f3e5ffe207e41"></a>
@ -201,7 +217,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00031">31</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00035">35</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -215,7 +231,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00032">32</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00036">36</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -229,7 +245,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00033">33</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00037">37</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -243,7 +259,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00035">35</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00039">39</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -257,7 +273,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00036">36</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00040">40</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -271,7 +287,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00038">38</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00042">42</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -285,7 +301,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00039">39</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00043">43</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -299,7 +315,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00040">40</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00044">44</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -313,7 +329,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00041">41</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00045">45</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -327,7 +343,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00042">42</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00046">46</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -341,7 +357,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00043">43</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00047">47</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -355,7 +371,7 @@ Macros</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00045">45</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00049">49</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>

View file

@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<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="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="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="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="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="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/* Google ADK interface support header */</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/* Google ADK interface support header */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
@ -117,151 +117,155 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="adk_8h.html#a32e861258886323d4dbcf066641597a4"> 26</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_PID 0x2D00</span></div> <div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="adk_8h.html#a32e861258886323d4dbcf066641597a4"> 26</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_PID 0x2D00</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99"> 27</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADB_PID 0x2D01</span></div> <div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99"> 27</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADB_PID 0x2D01</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment">/* requests */</span></div> <div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="adk_8h.html#aeb9a797aace2bcf4a9d1f786a632ca4b"> 29</a></span>&#160;<span class="preprocessor">#define XOOM //enables repeating getProto() and getConf() attempts</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"></span> <span class="comment">//necessary for slow devices such as Motorola XOOM</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41"> 31</a></span>&#160;<span class="preprocessor">#define ADK_GETPROTO 51 //check USB accessory protocol version</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="comment">//defined by default, can be commented out to save memory</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455"> 32</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_SENDSTR 52 //send identifying string</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2"> 33</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_ACCSTART 53 //start device in accessory mode</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment">/* requests */</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"></span></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"><a class="line" href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0"> 35</a></span>&#160;<span class="preprocessor">#define bmREQ_ADK_GET USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE</span></div> <div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41"> 35</a></span>&#160;<span class="preprocessor">#define ADK_GETPROTO 51 //check USB accessory protocol version</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b"> 36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bmREQ_ADK_SEND USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE</span></div> <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455"> 36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_SENDSTR 52 //send identifying string</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2"> 37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADK_ACCSTART 53 //start device in accessory mode</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062"> 38</a></span>&#160;<span class="preprocessor">#define ACCESSORY_STRING_MANUFACTURER 0</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="adk_8h.html#a962954d4b489994aa347721c582fe242"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_MODEL 1</span></div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0"> 39</a></span>&#160;<span class="preprocessor">#define bmREQ_ADK_GET USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b"> 40</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_DESCRIPTION 2</span></div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b"> 40</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bmREQ_ADK_SEND USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5"> 41</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_VERSION 3</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e"> 42</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_URI 4</span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="adk_8h.html#a12e00d6841cbb8fd9ae7c97402efa062"> 42</a></span>&#160;<span class="preprocessor">#define ACCESSORY_STRING_MANUFACTURER 0</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_SERIAL 5</span></div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="adk_8h.html#a962954d4b489994aa347721c582fe242"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_MODEL 1</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="adk_8h.html#aa376dd887b57d0628df287dd1fce7f3b"> 44</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_DESCRIPTION 2</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1"> 45</a></span>&#160;<span class="preprocessor">#define ADK_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN, bulk_OUT</span></div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="adk_8h.html#aab852db9aa38642ad7be827ae95351c5"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_VERSION 3</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor"></span></div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="adk_8h.html#a0485b5be230520d0acde7ef32fb8210e"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_URI 4</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">class </span><a class="code" href="class_a_d_k.html">ADK</a>;</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="adk_8h.html#a31b2b6ec818e90cd9fe47bd4f7f86c16"> 47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ACCESSORY_STRING_SERIAL 5</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_a_d_k.html"> 49</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_a_d_k.html">ADK</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="l00049"></a><span class="lineno"><a class="line" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1"> 49</a></span>&#160;<span class="preprocessor">#define ADK_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN, bulk_OUT</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="comment">/* ID strings */</span></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">class </span><a class="code" href="class_a_d_k.html">ADK</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* manufacturer;</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="keyword">const</span> <span class="keywordtype">char</span>* model;</div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_a_d_k.html"> 53</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_a_d_k.html">ADK</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="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* description;</div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* version;</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">/* ID strings */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* uri;</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* manufacturer;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial;</div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* model;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* description;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">/* ADK proprietary requests */</span></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* version;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; uint8_t getProto(uint8_t* adkproto);</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* uri;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; uint8_t sendStr(uint8_t index, <span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; uint8_t switchAcc(<span class="keywordtype">void</span>);</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;</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">/* ADK proprietary requests */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keyword">protected</span>:</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; uint8_t getProto(uint8_t* adkproto);</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da"> 65</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a>; <span class="comment">// DataIn endpoint index</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; uint8_t sendStr(uint8_t index, <span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624"> 66</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>; <span class="comment">// DataOUT endpoint index</span></div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; uint8_t switchAcc(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">/* mandatory members */</span></div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1"> 69</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>;</div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da"> 69</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">epDataInIndex</a>; <span class="comment">// DataIn endpoint index</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf"> 70</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>;</div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624"> 70</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">epDataOutIndex</a>; <span class="comment">// DataOUT endpoint index</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738"> 71</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a>; <span class="comment">// configuration number</span></div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="comment">/* mandatory members */</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e"> 73</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a>; <span class="comment">// total number of EP in the configuration</span></div> <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1"> 73</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4"> 74</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a>;</div> <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf"> 74</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738"> 75</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">bConfNum</a>; <span class="comment">// configuration number</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">/* Endpoint data structure */</span></div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d"> 77</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a>];</div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e"> 77</a></span>&#160; uint8_t <a class="code" href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">bNumEP</a>; <span class="comment">// total number of EP in the configuration</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4"> 78</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">PrintEndpointDescriptor</a>(<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="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">/* Endpoint data structure */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d"> 81</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">epInfo</a>[<a class="code" href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* manufacturer,</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* model,</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">PrintEndpointDescriptor</a>(<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="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* description,</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* version,</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* uri,</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* manufacturer,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial);</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* model,</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* description,</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="comment">// Methods for receiving and sending data</span></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* version,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; uint8_t <a class="code" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">RcvData</a>(uint16_t *nbytesptr, uint8_t *dataptr);</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* uri,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">SndData</a>(uint16_t nbytes, uint8_t *dataptr);</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* serial);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="comment">// Methods for receiving and sending data</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// USBDeviceConfig implementation</span></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; uint8_t <a class="code" href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">RcvData</a>(uint16_t *nbytesptr, uint8_t *dataptr);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; uint8_t <a class="code" href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">SndData</a>(uint16_t nbytes, uint8_t *dataptr);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">Release</a>();</div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="comment">// USBDeviceConfig implementation</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703"> 99</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">Poll</a>() {</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; };</div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">Release</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3"> 103</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">GetAddress</a>() {</div> <div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703"> 103</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">Poll</a>() {</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>;</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; };</div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; };</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef"> 107</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef">isReady</a>() {</div> <div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3"> 107</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">GetAddress</a>() {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a>;</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; };</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; };</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427"> 111</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div> <div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef"> 111</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef">isReady</a>() {</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> (vid == <a class="code" href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a> &amp;&amp; (pid == <a class="code" href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a> || pid == <a class="code" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>));</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ready</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; };</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; };</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">//UsbConfigXtracter implementation</span></div> <div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427"> 115</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">VIDPIDOK</a>(uint16_t vid, uint16_t pid) {</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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);</div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">return</span> (vid == <a class="code" href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a> &amp;&amp; (pid == <a class="code" href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a> || pid == <a class="code" href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a>));</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;}; <span class="comment">//class ADK : public USBDeviceConfig ...</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; };</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="comment">/* get ADK protocol version */</span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="comment">//UsbConfigXtracter implementation</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="comment">/* returns 2 bytes in *adkproto */</span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;}; <span class="comment">//class ADK : public USBDeviceConfig ...</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="keyword">inline</span> uint8_t ADK::getProto(uint8_t* adkproto) {</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0">bmREQ_ADK_GET</a>, <a class="code" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a>, 0, 0, 0, 2, 2, adkproto, NULL));</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="comment">/* get ADK protocol version */</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;}</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"> 125</span>&#160;</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="comment">/* returns 2 bytes in *adkproto */</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="comment">/* send ADK string */</span></div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="keyword">inline</span> uint8_t ADK::getProto(uint8_t* adkproto) {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="keyword">inline</span> uint8_t ADK::sendStr(uint8_t index, <span class="keyword">const</span> <span class="keywordtype">char</span>* str) {</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0">bmREQ_ADK_GET</a>, <a class="code" href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a>, 0, 0, 0, 2, 2, adkproto, NULL));</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a>, <a class="code" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a>, 0, 0, index, strlen(str) + 1, strlen(str) + 1, (uint8_t*) str, NULL));</div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;}</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;}</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="comment">/* send ADK string */</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="comment">/* switch to accessory mode */</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="keyword">inline</span> uint8_t ADK::sendStr(uint8_t index, <span class="keyword">const</span> <span class="keywordtype">char</span>* str) {</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="keyword">inline</span> uint8_t ADK::switchAcc(<span class="keywordtype">void</span>) {</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a>, <a class="code" href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a>, 0, 0, index, strlen(str) + 1, strlen(str) + 1, (uint8_t*) str, NULL));</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a>, <a class="code" href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2">ADK_ACCSTART</a>, 0, 0, 0, 0, 0, NULL, NULL));</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;}</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;}</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"> 135</span>&#160;</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="comment">/* switch to accessory mode */</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="preprocessor">#endif // _ADK_H_</span></div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="keyword">inline</span> uint8_t ADK::switchAcc(<span class="keywordtype">void</span>) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span>( <a class="code" href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">pUsb</a>-&gt;<a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">bAddress</a>, 0, <a class="code" href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a>, <a class="code" href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2">ADK_ACCSTART</a>, 0, 0, 0, 0, 0, NULL, NULL));</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;}</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="preprocessor">#endif // _ADK_H_</span></div>
<div class="ttc" id="adk_8h_html_a355cd5e5557b754645d4e1bfffabbf99"><div class="ttname"><a href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a></div><div class="ttdeci">#define ADB_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00027">adk.h:27</a></div></div> <div class="ttc" id="adk_8h_html_a355cd5e5557b754645d4e1bfffabbf99"><div class="ttname"><a href="adk_8h.html#a355cd5e5557b754645d4e1bfffabbf99">ADB_PID</a></div><div class="ttdeci">#define ADB_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00027">adk.h:27</a></div></div>
<div class="ttc" id="class_a_d_k_html_a964ec80ac133bf8d65cf0274e37b29da"><div class="ttname"><a href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">ADK::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00065">adk.h:65</a></div></div> <div class="ttc" id="class_a_d_k_html_a964ec80ac133bf8d65cf0274e37b29da"><div class="ttname"><a href="class_a_d_k.html#a964ec80ac133bf8d65cf0274e37b29da">ADK::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00069">adk.h:69</a></div></div>
<div class="ttc" id="class_a_d_k_html_a66b9943dfa89f783a8cdeb655e6fe9b1"><div class="ttname"><a href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00325">adk.cpp:325</a></div></div> <div class="ttc" id="class_a_d_k_html_a66b9943dfa89f783a8cdeb655e6fe9b1"><div class="ttname"><a href="class_a_d_k.html#a66b9943dfa89f783a8cdeb655e6fe9b1">ADK::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00335">adk.cpp:335</a></div></div>
<div class="ttc" id="class_a_d_k_html_a7f64af34d7890f87ceab5d144f6c26ef"><div class="ttname"><a href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00315">adk.cpp:315</a></div></div> <div class="ttc" id="class_a_d_k_html_a7f64af34d7890f87ceab5d144f6c26ef"><div class="ttname"><a href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00325">adk.cpp:325</a></div></div>
<div class="ttc" id="class_a_d_k_html_ac37bde02b6ed1436712d3619afb07c84"><div class="ttname"><a href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a></div><div class="ttdeci">uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00331">adk.cpp:331</a></div></div> <div class="ttc" id="class_a_d_k_html_ac37bde02b6ed1436712d3619afb07c84"><div class="ttname"><a href="class_a_d_k.html#ac37bde02b6ed1436712d3619afb07c84">ADK::SndData</a></div><div class="ttdeci">uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00341">adk.cpp:341</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#l00141">usb_ch9.h:141</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#l00141">usb_ch9.h:141</a></div></div>
<div class="ttc" id="class_a_d_k_html_aac2fac5410faea0e439b4f7e688b3d75"><div class="ttname"><a href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00287">adk.cpp:287</a></div></div> <div class="ttc" id="class_a_d_k_html_aac2fac5410faea0e439b4f7e688b3d75"><div class="ttname"><a href="class_a_d_k.html#aac2fac5410faea0e439b4f7e688b3d75">ADK::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00300">adk.cpp:300</a></div></div>
<div class="ttc" id="class_a_d_k_html_ab28e3a19569c27f3ed5362e9800065c1"><div class="ttname"><a href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">ADK::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00069">adk.h:69</a></div></div> <div class="ttc" id="class_a_d_k_html_ab28e3a19569c27f3ed5362e9800065c1"><div class="ttname"><a href="class_a_d_k.html#ab28e3a19569c27f3ed5362e9800065c1">ADK::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00073">adk.h:73</a></div></div>
<div class="ttc" id="class_a_d_k_html_a14f24ca8246c5b6126a5aa72cf6ee120"><div class="ttname"><a href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00061">adk.cpp:61</a></div></div> <div class="ttc" id="class_a_d_k_html_a14f24ca8246c5b6126a5aa72cf6ee120"><div class="ttname"><a href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK::ConfigureDevice</a></div><div class="ttdeci">virtual uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00058">adk.cpp:58</a></div></div>
<div class="ttc" id="adk_8h_html_a4c3e43d4d2955f93260f3e5ffe207e41"><div class="ttname"><a href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a></div><div class="ttdeci">#define ADK_GETPROTO</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00031">adk.h:31</a></div></div> <div class="ttc" id="adk_8h_html_a4c3e43d4d2955f93260f3e5ffe207e41"><div class="ttname"><a href="adk_8h.html#a4c3e43d4d2955f93260f3e5ffe207e41">ADK_GETPROTO</a></div><div class="ttdeci">#define ADK_GETPROTO</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00035">adk.h:35</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#l00105">UsbCore.h:105</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#l00105">UsbCore.h:105</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="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="class_a_d_k_html_a1dee02856625dfcac4b0cdd4e8672cef"><div class="ttname"><a href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef">ADK::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00107">adk.h:107</a></div></div> <div class="ttc" id="class_a_d_k_html_a1dee02856625dfcac4b0cdd4e8672cef"><div class="ttname"><a href="class_a_d_k.html#a1dee02856625dfcac4b0cdd4e8672cef">ADK::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00111">adk.h:111</a></div></div>
<div class="ttc" id="class_a_d_k_html_acfc5a7e45f15bba7ff8cd42552796624"><div class="ttname"><a href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">ADK::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00066">adk.h:66</a></div></div> <div class="ttc" id="class_a_d_k_html_acfc5a7e45f15bba7ff8cd42552796624"><div class="ttname"><a href="class_a_d_k.html#acfc5a7e45f15bba7ff8cd42552796624">ADK::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00070">adk.h:70</a></div></div>
<div class="ttc" id="class_a_d_k_html"><div class="ttname"><a href="class_a_d_k.html">ADK</a></div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00049">adk.h:49</a></div></div> <div class="ttc" id="class_a_d_k_html"><div class="ttname"><a href="class_a_d_k.html">ADK</a></div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00053">adk.h:53</a></div></div>
<div class="ttc" id="adk_8h_html_a6ebdba027fb7072f681e6445a385e8f2"><div class="ttname"><a href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2">ADK_ACCSTART</a></div><div class="ttdeci">#define ADK_ACCSTART</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00033">adk.h:33</a></div></div> <div class="ttc" id="adk_8h_html_a6ebdba027fb7072f681e6445a385e8f2"><div class="ttname"><a href="adk_8h.html#a6ebdba027fb7072f681e6445a385e8f2">ADK_ACCSTART</a></div><div class="ttdeci">#define ADK_ACCSTART</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00037">adk.h:37</a></div></div>
<div class="ttc" id="adk_8h_html_a32e861258886323d4dbcf066641597a4"><div class="ttname"><a href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a></div><div class="ttdeci">#define ADK_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00026">adk.h:26</a></div></div> <div class="ttc" id="adk_8h_html_a32e861258886323d4dbcf066641597a4"><div class="ttname"><a href="adk_8h.html#a32e861258886323d4dbcf066641597a4">ADK_PID</a></div><div class="ttdeci">#define ADK_PID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00026">adk.h:26</a></div></div>
<div class="ttc" id="class_a_d_k_html_af3784434ee6a1c6f3dc5b591f467e703"><div class="ttname"><a href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">ADK::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00099">adk.h:99</a></div></div> <div class="ttc" id="class_a_d_k_html_af3784434ee6a1c6f3dc5b591f467e703"><div class="ttname"><a href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">ADK::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00103">adk.h:103</a></div></div>
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div> <div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00126">Usb.cpp:126</a></div></div>
<div class="ttc" id="adk_8h_html_a4ab0e7e3adbc8bfc1bcdf29887c9a455"><div class="ttname"><a href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a></div><div class="ttdeci">#define ADK_SENDSTR</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00032">adk.h:32</a></div></div> <div class="ttc" id="adk_8h_html_a4ab0e7e3adbc8bfc1bcdf29887c9a455"><div class="ttname"><a href="adk_8h.html#a4ab0e7e3adbc8bfc1bcdf29887c9a455">ADK_SENDSTR</a></div><div class="ttdeci">#define ADK_SENDSTR</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00036">adk.h:36</a></div></div>
<div class="ttc" id="adk_8h_html_a67b2829fb8d9f0e52eebef518ec6ebb0"><div class="ttname"><a href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0">bmREQ_ADK_GET</a></div><div class="ttdeci">#define bmREQ_ADK_GET</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00035">adk.h:35</a></div></div> <div class="ttc" id="adk_8h_html_a67b2829fb8d9f0e52eebef518ec6ebb0"><div class="ttname"><a href="adk_8h.html#a67b2829fb8d9f0e52eebef518ec6ebb0">bmREQ_ADK_GET</a></div><div class="ttdeci">#define bmREQ_ADK_GET</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00039">adk.h:39</a></div></div>
<div class="ttc" id="class_a_d_k_html_a135db75b9e8cdd59b89f46c44dd83dd4"><div class="ttname"><a href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ADK::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00074">adk.h:74</a></div></div> <div class="ttc" id="class_a_d_k_html_a135db75b9e8cdd59b89f46c44dd83dd4"><div class="ttname"><a href="class_a_d_k.html#a135db75b9e8cdd59b89f46c44dd83dd4">ADK::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00078">adk.h:78</a></div></div>
<div class="ttc" id="class_a_d_k_html_a1a972e8dc98b60ab27528db3af2618c3"><div class="ttname"><a href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">ADK::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00103">adk.h:103</a></div></div> <div class="ttc" id="class_a_d_k_html_a1a972e8dc98b60ab27528db3af2618c3"><div class="ttname"><a href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">ADK::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00107">adk.h:107</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="class_a_d_k_html_a1fc7e5918fa0b5fbffdd1e488dd08427"><div class="ttname"><a href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">ADK::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00111">adk.h:111</a></div></div> <div class="ttc" id="class_a_d_k_html_a1fc7e5918fa0b5fbffdd1e488dd08427"><div class="ttname"><a href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">ADK::VIDPIDOK</a></div><div class="ttdeci">virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00115">adk.h:115</a></div></div>
<div class="ttc" id="class_a_d_k_html_a29492dcd9b7f6023b7866cd05188d61c"><div class="ttname"><a href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK::ADK</a></div><div class="ttdeci">ADK(USB *pUsb, const char *manufacturer, const char *model, const char *description, const char *version, const char *uri, const char *serial)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00025">adk.cpp:25</a></div></div> <div class="ttc" id="class_a_d_k_html_a29492dcd9b7f6023b7866cd05188d61c"><div class="ttname"><a href="class_a_d_k.html#a29492dcd9b7f6023b7866cd05188d61c">ADK::ADK</a></div><div class="ttdeci">ADK(USB *pUsb, const char *manufacturer, const char *model, const char *description, const char *version, const char *uri, const char *serial)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00025">adk.cpp:25</a></div></div>
<div class="ttc" id="class_a_d_k_html_a6ffc693d731ddeb9499c11e893fc467d"><div class="ttname"><a href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">ADK::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ADK_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00077">adk.h:77</a></div></div> <div class="ttc" id="class_a_d_k_html_a6ffc693d731ddeb9499c11e893fc467d"><div class="ttname"><a href="class_a_d_k.html#a6ffc693d731ddeb9499c11e893fc467d">ADK::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ADK_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00081">adk.h:81</a></div></div>
<div class="ttc" id="adk_8h_html_a7da9c6adbc669b65ca3e4bd3f90c4c7b"><div class="ttname"><a href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a></div><div class="ttdeci">#define bmREQ_ADK_SEND</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00036">adk.h:36</a></div></div> <div class="ttc" id="adk_8h_html_a7da9c6adbc669b65ca3e4bd3f90c4c7b"><div class="ttname"><a href="adk_8h.html#a7da9c6adbc669b65ca3e4bd3f90c4c7b">bmREQ_ADK_SEND</a></div><div class="ttdeci">#define bmREQ_ADK_SEND</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00040">adk.h:40</a></div></div>
<div class="ttc" id="adk_8h_html_ac39da606ffc273bd855152107297d6a1"><div class="ttname"><a href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ADK_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00045">adk.h:45</a></div></div> <div class="ttc" id="adk_8h_html_ac39da606ffc273bd855152107297d6a1"><div class="ttname"><a href="adk_8h.html#ac39da606ffc273bd855152107297d6a1">ADK_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ADK_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00049">adk.h:49</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#l00024">confdescparser.h:24</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#l00024">confdescparser.h:24</a></div></div>
<div class="ttc" id="class_a_d_k_html_ac4bd3303b99921289c3f59e2df219e50"><div class="ttname"><a href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00335">adk.cpp:335</a></div></div> <div class="ttc" id="class_a_d_k_html_ac4bd3303b99921289c3f59e2df219e50"><div class="ttname"><a href="class_a_d_k.html#ac4bd3303b99921289c3f59e2df219e50">ADK::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00345">adk.cpp:345</a></div></div>
<div class="ttc" id="class_a_d_k_html_a8c5c2e212c748966ccd863499d202063"><div class="ttname"><a href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00066">adk.cpp:66</a></div></div> <div class="ttc" id="class_a_d_k_html_a8c5c2e212c748966ccd863499d202063"><div class="ttname"><a href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="adk_8cpp_source.html#l00063">adk.cpp:63</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#l00152">UsbCore.h:152</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#l00152">UsbCore.h:152</a></div></div>
<div class="ttc" id="class_a_d_k_html_adf969d306da15baecd5c59bbb568053e"><div class="ttname"><a href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">ADK::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00073">adk.h:73</a></div></div> <div class="ttc" id="class_a_d_k_html_adf969d306da15baecd5c59bbb568053e"><div class="ttname"><a href="class_a_d_k.html#adf969d306da15baecd5c59bbb568053e">ADK::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00077">adk.h:77</a></div></div>
<div class="ttc" id="adk_8h_html_a37223416b6c1bba6b86ab17211bc9af2"><div class="ttname"><a href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a></div><div class="ttdeci">#define ADK_VID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00025">adk.h:25</a></div></div> <div class="ttc" id="adk_8h_html_a37223416b6c1bba6b86ab17211bc9af2"><div class="ttname"><a href="adk_8h.html#a37223416b6c1bba6b86ab17211bc9af2">ADK_VID</a></div><div class="ttdeci">#define ADK_VID</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00025">adk.h:25</a></div></div>
<div class="ttc" id="class_a_d_k_html_ae8fcc6a6fccab61116cea10dd1f17738"><div class="ttname"><a href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">ADK::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00071">adk.h:71</a></div></div> <div class="ttc" id="class_a_d_k_html_ae8fcc6a6fccab61116cea10dd1f17738"><div class="ttname"><a href="class_a_d_k.html#ae8fcc6a6fccab61116cea10dd1f17738">ADK::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00075">adk.h:75</a></div></div>
<div class="ttc" id="class_a_d_k_html_ab22a7c60cec56823727d4ff2cf2c4edf"><div class="ttname"><a href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">ADK::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00070">adk.h:70</a></div></div> <div class="ttc" id="class_a_d_k_html_ab22a7c60cec56823727d4ff2cf2c4edf"><div class="ttname"><a href="class_a_d_k.html#ab22a7c60cec56823727d4ff2cf2c4edf">ADK::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="adk_8h_source.html#l00074">adk.h:74</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -97,75 +97,76 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr id="row_5_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_b_a_s_i_c_c_d_b.html" target="_self">BASICCDB</a></td><td class="desc"></td></tr> <tr id="row_5_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_b_a_s_i_c_c_d_b.html" target="_self">BASICCDB</a></td><td class="desc"></td></tr>
<tr id="row_6_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_bluetooth_service.html" target="_self">BluetoothService</a></td><td class="desc"></td></tr> <tr id="row_6_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_bluetooth_service.html" target="_self">BluetoothService</a></td><td class="desc"></td></tr>
<tr id="row_7_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_b_t_d.html" target="_self">BTD</a></td><td class="desc"></td></tr> <tr id="row_7_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_b_t_d.html" target="_self">BTD</a></td><td class="desc"></td></tr>
<tr id="row_8_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_bulk_only.html" target="_self">BulkOnly</a></td><td class="desc"></td></tr> <tr id="row_8_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_b_t_h_i_d.html" target="_self">BTHID</a></td><td class="desc"></td></tr>
<tr id="row_9_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_byte_skipper.html" target="_self">ByteSkipper</a></td><td class="desc"></td></tr> <tr id="row_9_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_bulk_only.html" target="_self">BulkOnly</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html" target="_self">CALL_MGMNT_FUNC_DESCR</a></td><td class="desc"></td></tr> <tr id="row_10_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_byte_skipper.html" target="_self">ByteSkipper</a></td><td class="desc"></td></tr>
<tr id="row_11_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_capacity.html" target="_self">Capacity</a></td><td class="desc"></td></tr> <tr id="row_11_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html" target="_self">CALL_MGMNT_FUNC_DESCR</a></td><td class="desc"></td></tr>
<tr id="row_12_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b10.html" target="_self">CDB10</a></td><td class="desc"></td></tr> <tr id="row_12_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_capacity.html" target="_self">Capacity</a></td><td class="desc"></td></tr>
<tr id="row_13_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b12.html" target="_self">CDB12</a></td><td class="desc"></td></tr> <tr id="row_13_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b10.html" target="_self">CDB10</a></td><td class="desc"></td></tr>
<tr id="row_14_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b6.html" target="_self">CDB6</a></td><td class="desc"></td></tr> <tr id="row_14_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b12.html" target="_self">CDB12</a></td><td class="desc"></td></tr>
<tr id="row_15_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b___l_b_a32__16.html" target="_self">CDB_LBA32_16</a></td><td class="desc"></td></tr> <tr id="row_15_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b6.html" target="_self">CDB6</a></td><td class="desc"></td></tr>
<tr id="row_16_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b___l_b_a64__16.html" target="_self">CDB_LBA64_16</a></td><td class="desc"></td></tr> <tr id="row_16_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b___l_b_a32__16.html" target="_self">CDB_LBA32_16</a></td><td class="desc"></td></tr>
<tr id="row_17_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_c_d_c_async_oper.html" target="_self">CDCAsyncOper</a></td><td class="desc"></td></tr> <tr id="row_17_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_d_b___l_b_a64__16.html" target="_self">CDB_LBA64_16</a></td><td class="desc"></td></tr>
<tr id="row_18_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html" target="_self">CLASS_NOTIFICATION</a></td><td class="desc"></td></tr> <tr id="row_18_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_c_d_c_async_oper.html" target="_self">CDCAsyncOper</a></td><td class="desc"></td></tr>
<tr id="row_19_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_block_wrapper.html" target="_self">CommandBlockWrapper</a></td><td class="desc"></td></tr> <tr id="row_19_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html" target="_self">CLASS_NOTIFICATION</a></td><td class="desc"></td></tr>
<tr id="row_20_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_block_wrapper_base.html" target="_self">CommandBlockWrapperBase</a></td><td class="desc"></td></tr> <tr id="row_20_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_block_wrapper.html" target="_self">CommandBlockWrapper</a></td><td class="desc"></td></tr>
<tr id="row_21_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_status_wrapper.html" target="_self">CommandStatusWrapper</a></td><td class="desc"></td></tr> <tr id="row_21_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_block_wrapper_base.html" target="_self">CommandBlockWrapperBase</a></td><td class="desc"></td></tr>
<tr id="row_22_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_config_desc_parser.html" target="_self">ConfigDescParser</a></td><td class="desc"></td></tr> <tr id="row_22_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_command_status_wrapper.html" target="_self">CommandStatusWrapper</a></td><td class="desc"></td></tr>
<tr id="row_23_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_ep_info.html" target="_self">EpInfo</a></td><td class="desc"></td></tr> <tr id="row_23_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_config_desc_parser.html" target="_self">ConfigDescParser</a></td><td class="desc"></td></tr>
<tr id="row_24_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_f_t_d_i.html" target="_self">FTDI</a></td><td class="desc"></td></tr> <tr id="row_24_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_ep_info.html" target="_self">EpInfo</a></td><td class="desc"></td></tr>
<tr id="row_25_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_f_t_d_i_async_oper.html" target="_self">FTDIAsyncOper</a></td><td class="desc"></td></tr> <tr id="row_25_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_f_t_d_i.html" target="_self">FTDI</a></td><td class="desc"></td></tr>
<tr id="row_26_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_hex_dumper.html" target="_self">HexDumper</a></td><td class="desc"></td></tr> <tr id="row_26_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_f_t_d_i_async_oper.html" target="_self">FTDIAsyncOper</a></td><td class="desc"></td></tr>
<tr id="row_27_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d.html" target="_self">HID</a></td><td class="desc"></td></tr> <tr id="row_27_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_hex_dumper.html" target="_self">HexDumper</a></td><td class="desc"></td></tr>
<tr id="row_28_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_h_i_d___c_l_a_s_s___d_e_s_c_r_i_p_t_o_r___l_e_n___a_n_d___t_y_p_e.html" target="_self">HID_CLASS_DESCRIPTOR_LEN_AND_TYPE</a></td><td class="desc"></td></tr> <tr id="row_28_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d.html" target="_self">HID</a></td><td class="desc"></td></tr>
<tr id="row_29_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_boot.html" target="_self">HIDBoot</a></td><td class="desc"></td></tr> <tr id="row_29_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_h_i_d___c_l_a_s_s___d_e_s_c_r_i_p_t_o_r___l_e_n___a_n_d___t_y_p_e.html" target="_self">HID_CLASS_DESCRIPTOR_LEN_AND_TYPE</a></td><td class="desc"></td></tr>
<tr id="row_30_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hid_item_prefix.html" target="_self">HidItemPrefix</a></td><td class="desc"></td></tr> <tr id="row_30_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_boot.html" target="_self">HIDBoot</a></td><td class="desc"></td></tr>
<tr id="row_31_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_report_parser.html" target="_self">HIDReportParser</a></td><td class="desc"></td></tr> <tr id="row_31_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hid_item_prefix.html" target="_self">HidItemPrefix</a></td><td class="desc"></td></tr>
<tr id="row_32_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_universal.html" target="_self">HIDUniversal</a></td><td class="desc"></td></tr> <tr id="row_32_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_report_parser.html" target="_self">HIDReportParser</a></td><td class="desc"></td></tr>
<tr id="row_33_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hub_descriptor.html" target="_self">HubDescriptor</a></td><td class="desc"></td></tr> <tr id="row_33_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_h_i_d_universal.html" target="_self">HIDUniversal</a></td><td class="desc"></td></tr>
<tr id="row_34_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hub_event.html" target="_self">HubEvent</a></td><td class="desc"></td></tr> <tr id="row_34_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hub_descriptor.html" target="_self">HubDescriptor</a></td><td class="desc"></td></tr>
<tr id="row_35_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_inquiry_response.html" target="_self">InquiryResponse</a></td><td class="desc"></td></tr> <tr id="row_35_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_hub_event.html" target="_self">HubEvent</a></td><td class="desc"></td></tr>
<tr id="row_36_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_k_b_d_i_n_f_o.html" target="_self">KBDINFO</a></td><td class="desc"></td></tr> <tr id="row_36_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_inquiry_response.html" target="_self">InquiryResponse</a></td><td class="desc"></td></tr>
<tr id="row_37_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_k_b_d_l_e_d_s.html" target="_self">KBDLEDS</a></td><td class="desc"></td></tr> <tr id="row_37_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_k_b_d_i_n_f_o.html" target="_self">KBDINFO</a></td><td class="desc"></td></tr>
<tr id="row_38_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_keyboard_report_parser.html" target="_self">KeyboardReportParser</a></td><td class="desc"></td></tr> <tr id="row_38_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_k_b_d_l_e_d_s.html" target="_self">KBDLEDS</a></td><td class="desc"></td></tr>
<tr id="row_39_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_l_i_n_e___c_o_d_i_n_g.html" target="_self">LINE_CODING</a></td><td class="desc"></td></tr> <tr id="row_39_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_keyboard_report_parser.html" target="_self">KeyboardReportParser</a></td><td class="desc"></td></tr>
<tr id="row_40_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_main_item_i_o_feature.html" target="_self">MainItemIOFeature</a></td><td class="desc"></td></tr> <tr id="row_40_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_l_i_n_e___c_o_d_i_n_g.html" target="_self">LINE_CODING</a></td><td class="desc"></td></tr>
<tr id="row_41_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_m_a_x3421e.html" target="_self">MAX3421e</a></td><td class="desc"></td></tr> <tr id="row_41_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_main_item_i_o_feature.html" target="_self">MainItemIOFeature</a></td><td class="desc"></td></tr>
<tr id="row_42_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_max___l_c_d.html" target="_self">Max_LCD</a></td><td class="desc"></td></tr> <tr id="row_42_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_m_a_x3421e.html" target="_self">MAX3421e</a></td><td class="desc"></td></tr>
<tr id="row_43_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_m_o_d_i_f_i_e_r_k_e_y_s.html" target="_self">MODIFIERKEYS</a></td><td class="desc"></td></tr> <tr id="row_43_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_max___l_c_d.html" target="_self">Max_LCD</a></td><td class="desc"></td></tr>
<tr id="row_44_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_m_o_u_s_e_i_n_f_o.html" target="_self">MOUSEINFO</a></td><td class="desc"></td></tr> <tr id="row_44_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_m_o_d_i_f_i_e_r_k_e_y_s.html" target="_self">MODIFIERKEYS</a></td><td class="desc"></td></tr>
<tr id="row_45_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_mouse_report_parser.html" target="_self">MouseReportParser</a></td><td class="desc"></td></tr> <tr id="row_45_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_m_o_u_s_e_i_n_f_o.html" target="_self">MOUSEINFO</a></td><td class="desc"></td></tr>
<tr id="row_46_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_multi_byte_value_parser.html" target="_self">MultiByteValueParser</a></td><td class="desc"></td></tr> <tr id="row_46_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_mouse_report_parser.html" target="_self">MouseReportParser</a></td><td class="desc"></td></tr>
<tr id="row_47_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_multi_value_buffer.html" target="_self">MultiValueBuffer</a></td><td class="desc"></td></tr> <tr id="row_47_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_multi_byte_value_parser.html" target="_self">MultiByteValueParser</a></td><td class="desc"></td></tr>
<tr id="row_48_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_l2303.html" target="_self">PL2303</a></td><td class="desc"></td></tr> <tr id="row_48_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_multi_value_buffer.html" target="_self">MultiValueBuffer</a></td><td class="desc"></td></tr>
<tr id="row_49_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_s3_b_t.html" target="_self">PS3BT</a></td><td class="desc"></td></tr> <tr id="row_49_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_l2303.html" target="_self">PL2303</a></td><td class="desc"></td></tr>
<tr id="row_50_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_s3_u_s_b.html" target="_self">PS3USB</a></td><td class="desc"></td></tr> <tr id="row_50_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_s3_b_t.html" target="_self">PS3BT</a></td><td class="desc"></td></tr>
<tr id="row_51_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_t_p_list_parser.html" target="_self">PTPListParser</a></td><td class="desc"></td></tr> <tr id="row_51_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_s3_u_s_b.html" target="_self">PS3USB</a></td><td class="desc"></td></tr>
<tr id="row_52_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser.html" target="_self">ReportDescParser</a></td><td class="desc"></td></tr> <tr id="row_52_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_p_t_p_list_parser.html" target="_self">PTPListParser</a></td><td class="desc"></td></tr>
<tr id="row_53_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser2.html" target="_self">ReportDescParser2</a></td><td class="desc"></td></tr> <tr id="row_53_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser.html" target="_self">ReportDescParser</a></td><td class="desc"></td></tr>
<tr id="row_54_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser_base.html" target="_self">ReportDescParserBase</a></td><td class="desc"></td></tr> <tr id="row_54_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser2.html" target="_self">ReportDescParser2</a></td><td class="desc"></td></tr>
<tr id="row_55_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_request_sense_responce.html" target="_self">RequestSenseResponce</a></td><td class="desc"></td></tr> <tr id="row_55_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_report_desc_parser_base.html" target="_self">ReportDescParserBase</a></td><td class="desc"></td></tr>
<tr id="row_56_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_s_e_t_u_p___p_k_t.html" target="_self">SETUP_PKT</a></td><td class="desc"></td></tr> <tr id="row_56_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_request_sense_responce.html" target="_self">RequestSenseResponce</a></td><td class="desc"></td></tr>
<tr id="row_57_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_s_pi.html" target="_self">SPi</a></td><td class="desc"></td></tr> <tr id="row_57_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_s_e_t_u_p___p_k_t.html" target="_self">SETUP_PKT</a></td><td class="desc"></td></tr>
<tr id="row_58_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_s_p_p.html" target="_self">SPP</a></td><td class="desc"></td></tr> <tr id="row_58_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_s_pi.html" target="_self">SPi</a></td><td class="desc"></td></tr>
<tr id="row_59_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html" target="_self">TEL_RINGER_FUNC_DESCR</a></td><td class="desc"></td></tr> <tr id="row_59_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_s_p_p.html" target="_self">SPP</a></td><td class="desc"></td></tr>
<tr id="row_60_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_universal_report_parser.html" target="_self">UniversalReportParser</a></td><td class="desc"></td></tr> <tr id="row_60_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html" target="_self">TEL_RINGER_FUNC_DESCR</a></td><td class="desc"></td></tr>
<tr id="row_61_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b.html" target="_self">USB</a></td><td class="desc"></td></tr> <tr id="row_61_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_universal_report_parser.html" target="_self">UniversalReportParser</a></td><td class="desc"></td></tr>
<tr id="row_62_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" 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" target="_self">USB_CONFIGURATION_DESCRIPTOR</a></td><td class="desc"></td></tr> <tr id="row_62_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b.html" target="_self">USB</a></td><td class="desc"></td></tr>
<tr id="row_63_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_DEVICE_DESCRIPTOR</a></td><td class="desc"></td></tr> <tr id="row_63_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" 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" target="_self">USB_CONFIGURATION_DESCRIPTOR</a></td><td class="desc"></td></tr>
<tr id="row_64_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_ENDPOINT_DESCRIPTOR</a></td><td class="desc"></td></tr> <tr id="row_64_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_DEVICE_DESCRIPTOR</a></td><td class="desc"></td></tr>
<tr id="row_65_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_HID_DESCRIPTOR</a></td><td class="desc"></td></tr> <tr id="row_65_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_ENDPOINT_DESCRIPTOR</a></td><td class="desc"></td></tr>
<tr id="row_66_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___i_n_t_e_r_f_a_c_e___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_INTERFACE_DESCRIPTOR</a></td><td class="desc"></td></tr> <tr id="row_66_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_HID_DESCRIPTOR</a></td><td class="desc"></td></tr>
<tr id="row_67_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_usb_config_xtracter.html" target="_self">UsbConfigXtracter</a></td><td class="desc"></td></tr> <tr id="row_67_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_u_s_b___i_n_t_e_r_f_a_c_e___d_e_s_c_r_i_p_t_o_r.html" target="_self">USB_INTERFACE_DESCRIPTOR</a></td><td class="desc"></td></tr>
<tr id="row_68_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_usb_device.html" target="_self">UsbDevice</a></td><td class="desc"></td></tr> <tr id="row_68_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_usb_config_xtracter.html" target="_self">UsbConfigXtracter</a></td><td class="desc"></td></tr>
<tr id="row_69_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_usb_device_address.html" target="_self">UsbDeviceAddress</a></td><td class="desc"></td></tr> <tr id="row_69_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_usb_device.html" target="_self">UsbDevice</a></td><td class="desc"></td></tr>
<tr id="row_70_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_device_config.html" target="_self">USBDeviceConfig</a></td><td class="desc"></td></tr> <tr id="row_70_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="struct_usb_device_address.html" target="_self">UsbDeviceAddress</a></td><td class="desc"></td></tr>
<tr id="row_71_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_hub.html" target="_self">USBHub</a></td><td class="desc"></td></tr> <tr id="row_71_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_device_config.html" target="_self">USBDeviceConfig</a></td><td class="desc"></td></tr>
<tr id="row_72_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_read_parser.html" target="_self">USBReadParser</a></td><td class="desc"></td></tr> <tr id="row_72_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_hub.html" target="_self">USBHub</a></td><td class="desc"></td></tr>
<tr id="row_73_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_w_i_i.html" target="_self">WII</a></td><td class="desc"></td></tr> <tr id="row_73_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_read_parser.html" target="_self">USBReadParser</a></td><td class="desc"></td></tr>
<tr id="row_74_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_o_l_d.html" target="_self">XBOXOLD</a></td><td class="desc"></td></tr> <tr id="row_74_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_w_i_i.html" target="_self">WII</a></td><td class="desc"></td></tr>
<tr id="row_75_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_r_e_c_v.html" target="_self">XBOXRECV</a></td><td class="desc"></td></tr> <tr id="row_75_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_o_l_d.html" target="_self">XBOXOLD</a></td><td class="desc"></td></tr>
<tr id="row_76_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_u_s_b.html" target="_self">XBOXUSB</a></td><td class="desc"></td></tr> <tr id="row_76_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_r_e_c_v.html" target="_self">XBOXRECV</a></td><td class="desc"></td></tr>
<tr id="row_77_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_u_s_b.html" target="_self">XBOXUSB</a></td><td class="desc"></td></tr>
</table> </table>
</div><!-- directory --> </div><!-- directory -->
</div><!-- contents --> </div><!-- contents -->

View file

@ -440,7 +440,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;}</div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;}</div>
<div class="ttc" id="_usb_core_8h_html_abb99f6b1f38ff79ec678cd957ac86758"><div class="ttname"><a href="_usb_core_8h.html#abb99f6b1f38ff79ec678cd957ac86758">USB_CLASS_COM_AND_CDC_CTRL</a></div><div class="ttdeci">#define USB_CLASS_COM_AND_CDC_CTRL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00042">UsbCore.h:42</a></div></div> <div class="ttc" id="_usb_core_8h_html_abb99f6b1f38ff79ec678cd957ac86758"><div class="ttname"><a href="_usb_core_8h.html#abb99f6b1f38ff79ec678cd957ac86758">USB_CLASS_COM_AND_CDC_CTRL</a></div><div class="ttdeci">#define USB_CLASS_COM_AND_CDC_CTRL</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00042">UsbCore.h:42</a></div></div>
<div class="ttc" id="_usb_core_8h_html_a7dae7df3ce2685f96775f2a0fb8658ae"><div class="ttname"><a href="_usb_core_8h.html#a7dae7df3ce2685f96775f2a0fb8658ae">USB_CLASS_CDC_DATA</a></div><div class="ttdeci">#define USB_CLASS_CDC_DATA</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00049">UsbCore.h:49</a></div></div> <div class="ttc" id="_usb_core_8h_html_a7dae7df3ce2685f96775f2a0fb8658ae"><div class="ttname"><a href="_usb_core_8h.html#a7dae7df3ce2685f96775f2a0fb8658ae">USB_CLASS_CDC_DATA</a></div><div class="ttdeci">#define USB_CLASS_CDC_DATA</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00049">UsbCore.h:49</a></div></div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="cdcacm_8h_html_acce3aedc4473cc5526efc16448b89221"><div class="ttname"><a href="cdcacm_8h.html#acce3aedc4473cc5526efc16448b89221">CDC_SUBCLASS_ACM</a></div><div class="ttdeci">#define CDC_SUBCLASS_ACM</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00027">cdcacm.h:27</a></div></div> <div class="ttc" id="cdcacm_8h_html_acce3aedc4473cc5526efc16448b89221"><div class="ttname"><a href="cdcacm_8h.html#acce3aedc4473cc5526efc16448b89221">CDC_SUBCLASS_ACM</a></div><div class="ttdeci">#define CDC_SUBCLASS_ACM</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00027">cdcacm.h:27</a></div></div>
<div class="ttc" id="class_a_c_m_html_aa5d83ef9d48dab404090e9136522707a"><div class="ttname"><a href="class_a_c_m.html#aa5d83ef9d48dab404090e9136522707a">ACM::ACM</a></div><div class="ttdeci">ACM(USB *pusb, CDCAsyncOper *pasync)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00023">cdcacm.cpp:23</a></div></div> <div class="ttc" id="class_a_c_m_html_aa5d83ef9d48dab404090e9136522707a"><div class="ttname"><a href="class_a_c_m.html#aa5d83ef9d48dab404090e9136522707a">ACM::ACM</a></div><div class="ttdeci">ACM(USB *pusb, CDCAsyncOper *pasync)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00023">cdcacm.cpp:23</a></div></div>
@ -465,7 +465,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div> <div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div>
<div class="ttc" id="class_a_c_m_html_a720b72b524e03da8f17c045e0d689ba1"><div class="ttname"><a href="class_a_c_m.html#a720b72b524e03da8f17c045e0d689ba1">ACM::bDataIface</a></div><div class="ttdeci">uint8_t bDataIface</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00150">cdcacm.h:150</a></div></div> <div class="ttc" id="class_a_c_m_html_a720b72b524e03da8f17c045e0d689ba1"><div class="ttname"><a href="class_a_c_m.html#a720b72b524e03da8f17c045e0d689ba1">ACM::bDataIface</a></div><div class="ttdeci">uint8_t bDataIface</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00150">cdcacm.h:150</a></div></div>
<div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00145">cdcacm.h:145</a></div></div> <div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00145">cdcacm.h:145</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="class_a_c_m_html_a058b4d4a088a002fcde4fb2b75e33f93"><div class="ttname"><a href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">ACM::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00151">cdcacm.h:151</a></div></div> <div class="ttc" id="class_a_c_m_html_a058b4d4a088a002fcde4fb2b75e33f93"><div class="ttname"><a href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">ACM::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00151">cdcacm.h:151</a></div></div>
<div class="ttc" id="cdcacm_8h_html_a5797aa38c730dde78bf3181282bd6bf9"><div class="ttname"><a href="cdcacm_8h.html#a5797aa38c730dde78bf3181282bd6bf9">bmREQ_CDCOUT</a></div><div class="ttdeci">#define bmREQ_CDCOUT</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00022">cdcacm.h:22</a></div></div> <div class="ttc" id="cdcacm_8h_html_a5797aa38c730dde78bf3181282bd6bf9"><div class="ttname"><a href="cdcacm_8h.html#a5797aa38c730dde78bf3181282bd6bf9">bmREQ_CDCOUT</a></div><div class="ttdeci">#define bmREQ_CDCOUT</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00022">cdcacm.h:22</a></div></div>
<div class="ttc" id="class_a_c_m_html_a60fb6a365b78fb80a4a9842e364cf1a3"><div class="ttname"><a href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">ACM::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ACM_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00156">cdcacm.h:156</a></div></div> <div class="ttc" id="class_a_c_m_html_a60fb6a365b78fb80a4a9842e364cf1a3"><div class="ttname"><a href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">ACM::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ACM_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00156">cdcacm.h:156</a></div></div>
@ -485,7 +485,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.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_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.h:145</a></div></div>
<div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div> <div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div>
<div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div> <div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="cdcacm_8h_html_aa11e629b02a0cd7d768f796732cb2694"><div class="ttname"><a href="cdcacm_8h.html#aa11e629b02a0cd7d768f796732cb2694">ACM_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ACM_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00137">cdcacm.h:137</a></div></div> <div class="ttc" id="cdcacm_8h_html_aa11e629b02a0cd7d768f796732cb2694"><div class="ttname"><a href="cdcacm_8h.html#aa11e629b02a0cd7d768f796732cb2694">ACM_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ACM_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00137">cdcacm.h:137</a></div></div>
<div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div> <div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div>
<div class="ttc" id="class_a_c_m_html_a9d922317b25a7ae086a6fe79984ab8d1"><div class="ttname"><a href="class_a_c_m.html#a9d922317b25a7ae086a6fe79984ab8d1">ACM::GetLineCoding</a></div><div class="ttdeci">uint8_t GetLineCoding(LINE_CODING *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00322">cdcacm.cpp:322</a></div></div> <div class="ttc" id="class_a_c_m_html_a9d922317b25a7ae086a6fe79984ab8d1"><div class="ttname"><a href="class_a_c_m.html#a9d922317b25a7ae086a6fe79984ab8d1">ACM::GetLineCoding</a></div><div class="ttdeci">uint8_t GetLineCoding(LINE_CODING *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00322">cdcacm.cpp:322</a></div></div>
@ -530,7 +530,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_a_c_m_html_a62c91ac62e8e3bf66bc3940d5b934c10"><div class="ttname"><a href="class_a_c_m.html#a62c91ac62e8e3bf66bc3940d5b934c10">ACM::SetCommFeature</a></div><div class="ttdeci">uint8_t SetCommFeature(uint16_t fid, uint8_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00306">cdcacm.cpp:306</a></div></div> <div class="ttc" id="class_a_c_m_html_a62c91ac62e8e3bf66bc3940d5b934c10"><div class="ttname"><a href="class_a_c_m.html#a62c91ac62e8e3bf66bc3940d5b934c10">ACM::SetCommFeature</a></div><div class="ttdeci">uint8_t SetCommFeature(uint16_t fid, uint8_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00306">cdcacm.cpp:306</a></div></div>
<div class="ttc" id="class_a_c_m_html_a74a3484a0f524ddf0e228c17addcebdf"><div class="ttname"><a href="class_a_c_m.html#a74a3484a0f524ddf0e228c17addcebdf">ACM::ClearCommFeature</a></div><div class="ttdeci">uint8_t ClearCommFeature(uint16_t fid)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00314">cdcacm.cpp:314</a></div></div> <div class="ttc" id="class_a_c_m_html_a74a3484a0f524ddf0e228c17addcebdf"><div class="ttname"><a href="class_a_c_m.html#a74a3484a0f524ddf0e228c17addcebdf">ACM::ClearCommFeature</a></div><div class="ttdeci">uint8_t ClearCommFeature(uint16_t fid)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00314">cdcacm.cpp:314</a></div></div>
<div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div> <div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</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_a_c_m_html_a7f455b7a649522c29f2e63d668b0ccca"><div class="ttname"><a href="class_a_c_m.html#a7f455b7a649522c29f2e63d668b0ccca">ACM::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00298">cdcacm.cpp:298</a></div></div> <div class="ttc" id="class_a_c_m_html_a7f455b7a649522c29f2e63d668b0ccca"><div class="ttname"><a href="class_a_c_m.html#a7f455b7a649522c29f2e63d668b0ccca">ACM::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00298">cdcacm.cpp:298</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>

View file

@ -430,7 +430,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a95cd9669dee9cab375a7c5e62284a01b">bInterval</a>, 0x80);</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; PrintHex&lt;uint8_t &gt; (ep_ptr-&gt;<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#a95cd9669dee9cab375a7c5e62284a01b">bInterval</a>, 0x80);</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">&quot;\r\n&quot;</span>), 0x80);</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;}</div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;}</div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="cdcftdi_8h_html_a92ff48c614d1c236c34d7b2dc4d28ad2"><div class="ttname"><a href="cdcftdi_8h.html#a92ff48c614d1c236c34d7b2dc4d28ad2">bmREQ_FTDI_OUT</a></div><div class="ttdeci">#define bmREQ_FTDI_OUT</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00022">cdcftdi.h:22</a></div></div> <div class="ttc" id="cdcftdi_8h_html_a92ff48c614d1c236c34d7b2dc4d28ad2"><div class="ttname"><a href="cdcftdi_8h.html#a92ff48c614d1c236c34d7b2dc4d28ad2">bmREQ_FTDI_OUT</a></div><div class="ttdeci">#define bmREQ_FTDI_OUT</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00022">cdcftdi.h:22</a></div></div>
<div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div> <div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div>
@ -452,7 +452,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div> <div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div>
<div class="ttc" id="cdcftdi_8h_html_ac7603bf715c4b1281f8e5907d0a61e0f"><div class="ttname"><a href="cdcftdi_8h.html#ac7603bf715c4b1281f8e5907d0a61e0f">FTDI_SIO_SET_DATA</a></div><div class="ttdeci">#define FTDI_SIO_SET_DATA</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00041">cdcftdi.h:41</a></div></div> <div class="ttc" id="cdcftdi_8h_html_ac7603bf715c4b1281f8e5907d0a61e0f"><div class="ttname"><a href="cdcftdi_8h.html#ac7603bf715c4b1281f8e5907d0a61e0f">FTDI_SIO_SET_DATA</a></div><div class="ttdeci">#define FTDI_SIO_SET_DATA</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00041">cdcftdi.h:41</a></div></div>
<div class="ttc" id="class_f_t_d_i_html_a7c107efeff2d46cb711cadd0a6c31636"><div class="ttname"><a href="class_f_t_d_i.html#a7c107efeff2d46cb711cadd0a6c31636">FTDI::SetFlowControl</a></div><div class="ttdeci">uint8_t SetFlowControl(uint8_t protocol, uint8_t xon=0x11, uint8_t xoff=0x13)</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8cpp_source.html#l00310">cdcftdi.cpp:310</a></div></div> <div class="ttc" id="class_f_t_d_i_html_a7c107efeff2d46cb711cadd0a6c31636"><div class="ttname"><a href="class_f_t_d_i.html#a7c107efeff2d46cb711cadd0a6c31636">FTDI::SetFlowControl</a></div><div class="ttdeci">uint8_t SetFlowControl(uint8_t protocol, uint8_t xon=0x11, uint8_t xoff=0x13)</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8cpp_source.html#l00310">cdcftdi.cpp:310</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="class_f_t_d_i_async_oper_html"><div class="ttname"><a href="class_f_t_d_i_async_oper.html">FTDIAsyncOper</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00079">cdcftdi.h:79</a></div></div> <div class="ttc" id="class_f_t_d_i_async_oper_html"><div class="ttname"><a href="class_f_t_d_i_async_oper.html">FTDIAsyncOper</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00079">cdcftdi.h:79</a></div></div>
<div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div> <div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div>
<div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div> <div class="ttc" id="class_u_s_b_html_a6c3ba3f7e6dccb450267011ce783d7ea"><div class="ttname"><a href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">USB::setEpInfoEntry</a></div><div class="ttdeci">uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00064">Usb.cpp:64</a></div></div>
@ -465,7 +465,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.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_a8ee7f1bafac335258c6e742969387f57"><div class="ttname"><a href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html#a8ee7f1bafac335258c6e742969387f57">USB_ENDPOINT_DESCRIPTOR::bmAttributes</a></div><div class="ttdeci">uint8_t bmAttributes</div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00145">usb_ch9.h:145</a></div></div>
<div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div> <div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div>
<div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div> <div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div> <div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div>
<div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div> <div class="ttc" id="struct_ep_info_html_a9f92be74c75c037b39e2cae1eb49b89b"><div class="ttname"><a href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">EpInfo::epAddr</a></div><div class="ttdeci">uint8_t epAddr</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00033">address.h:33</a></div></div>
<div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div> <div class="ttc" id="address_8h_html_a517dfa014946e2d087d197312234a1de"><div class="ttname"><a href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a></div><div class="ttdeci">#define USB_NAK_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00027">address.h:27</a></div></div>
@ -497,7 +497,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_f_t_d_i_html_ab7d7c305729fe4bbc746fa0569261a71"><div class="ttname"><a href="class_f_t_d_i.html#ab7d7c305729fe4bbc746fa0569261a71">FTDI::SetData</a></div><div class="ttdeci">uint8_t SetData(uint16_t databm)</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8cpp_source.html#l00314">cdcftdi.cpp:314</a></div></div> <div class="ttc" id="class_f_t_d_i_html_ab7d7c305729fe4bbc746fa0569261a71"><div class="ttname"><a href="class_f_t_d_i.html#ab7d7c305729fe4bbc746fa0569261a71">FTDI::SetData</a></div><div class="ttdeci">uint8_t SetData(uint16_t databm)</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8cpp_source.html#l00314">cdcftdi.cpp:314</a></div></div>
<div class="ttc" id="cdcftdi_8h_html_a9d25344c78c7608f2e49de9767abd0d9"><div class="ttname"><a href="cdcftdi_8h.html#a9d25344c78c7608f2e49de9767abd0d9">FTDI_MAX_ENDPOINTS</a></div><div class="ttdeci">#define FTDI_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00087">cdcftdi.h:87</a></div></div> <div class="ttc" id="cdcftdi_8h_html_a9d25344c78c7608f2e49de9767abd0d9"><div class="ttname"><a href="cdcftdi_8h.html#a9d25344c78c7608f2e49de9767abd0d9">FTDI_MAX_ENDPOINTS</a></div><div class="ttdeci">#define FTDI_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="cdcftdi_8h_source.html#l00087">cdcftdi.h:87</a></div></div>
<div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div> <div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->

View file

@ -300,7 +300,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="comment">//}</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="comment">//}</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div>
<div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00761">Usb.cpp:761</a></div></div> <div class="ttc" id="class_u_s_b_html_a618eedabc161d8315be45cae0c8b6f89"><div class="ttname"><a href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">USB::getConfDescr</a></div><div class="ttdeci">uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00764">Usb.cpp:764</a></div></div>
<div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div> <div class="ttc" id="class_address_pool_html"><div class="ttname"><a href="class_address_pool.html">AddressPool</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00083">address.h:83</a></div></div>
<div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div> <div class="ttc" id="struct_usb_device_html_a410d39fb7758157f57794335e990ed02"><div class="ttname"><a href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">UsbDevice::epinfo</a></div><div class="ttdeci">EpInfo * epinfo</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00076">address.h:76</a></div></div>
<div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div> <div class="ttc" id="struct_usb_device_html_a86a815577ad7883437d3ca72b32b8e8a"><div class="ttname"><a href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">UsbDevice::lowspeed</a></div><div class="ttdeci">bool lowspeed</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00079">address.h:79</a></div></div>
@ -313,7 +313,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_a_c_m_html_a8ebf4b872b0ed66e93b4ed39f46290fd"><div class="ttname"><a href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd">ACM::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00154">cdcacm.h:154</a></div></div> <div class="ttc" id="class_a_c_m_html_a8ebf4b872b0ed66e93b4ed39f46290fd"><div class="ttname"><a href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd">ACM::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00154">cdcacm.h:154</a></div></div>
<div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div> <div class="ttc" id="message_8h_html_a22695bdc18ebde4a87dbe8633cb39593"><div class="ttname"><a href="message_8h.html#a22695bdc18ebde4a87dbe8633cb39593">NotifyFail</a></div><div class="ttdeci">#define NotifyFail(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00055">message.h:55</a></div></div>
<div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00145">cdcacm.h:145</a></div></div> <div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00145">cdcacm.h:145</a></div></div>
<div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00795">Usb.cpp:795</a></div></div> <div class="ttc" id="class_u_s_b_html_a31e2c132ec32ffdde94dff72be87c378"><div class="ttname"><a href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">USB::setConf</a></div><div class="ttdeci">uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00798">Usb.cpp:798</a></div></div>
<div class="ttc" id="class_a_c_m_html_a058b4d4a088a002fcde4fb2b75e33f93"><div class="ttname"><a href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">ACM::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00151">cdcacm.h:151</a></div></div> <div class="ttc" id="class_a_c_m_html_a058b4d4a088a002fcde4fb2b75e33f93"><div class="ttname"><a href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">ACM::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00151">cdcacm.h:151</a></div></div>
<div class="ttc" id="class_a_c_m_html_a60fb6a365b78fb80a4a9842e364cf1a3"><div class="ttname"><a href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">ACM::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ACM_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00156">cdcacm.h:156</a></div></div> <div class="ttc" id="class_a_c_m_html_a60fb6a365b78fb80a4a9842e364cf1a3"><div class="ttname"><a href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">ACM::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ACM_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00156">cdcacm.h:156</a></div></div>
<div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div> <div class="ttc" id="message_8h_html_ae65e02f44cfdc490efd1b33f9882fbbd"><div class="ttname"><a href="message_8h.html#ae65e02f44cfdc490efd1b33f9882fbbd">NotifyFailGetDevDescr</a></div><div class="ttdeci">#define NotifyFailGetDevDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00050">message.h:50</a></div></div>
@ -323,7 +323,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_a_c_m_html_a3f160c6c757994f0c30bd5c5f1fb9d95"><div class="ttname"><a href="class_a_c_m.html#a3f160c6c757994f0c30bd5c5f1fb9d95">ACM::pAsync</a></div><div class="ttdeci">CDCAsyncOper * pAsync</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00146">cdcacm.h:146</a></div></div> <div class="ttc" id="class_a_c_m_html_a3f160c6c757994f0c30bd5c5f1fb9d95"><div class="ttname"><a href="class_a_c_m.html#a3f160c6c757994f0c30bd5c5f1fb9d95">ACM::pAsync</a></div><div class="ttdeci">CDCAsyncOper * pAsync</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00146">cdcacm.h:146</a></div></div>
<div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div> <div class="ttc" id="class_config_desc_parser_html"><div class="ttname"><a href="class_config_desc_parser.html">ConfigDescParser</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00039">confdescparser.h:39</a></div></div>
<div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div> <div class="ttc" id="macros_8h_html_adbe3f00986df48a9254f8bf0992041d3"><div class="ttname"><a href="macros_8h.html#adbe3f00986df48a9254f8bf0992041d3">USBTRACE2</a></div><div class="ttdeci">#define USBTRACE2(s, r)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00061">macros.h:61</a></div></div>
<div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00790">Usb.cpp:790</a></div></div> <div class="ttc" id="class_u_s_b_html_a3aea534daed66b5606fa798df7ad3c47"><div class="ttname"><a href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">USB::setAddr</a></div><div class="ttdeci">uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00793">Usb.cpp:793</a></div></div>
<div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div> <div class="ttc" id="message_8h_html_a38aabfb47a8bf743b0532e356c39faaf"><div class="ttname"><a href="message_8h.html#a38aabfb47a8bf743b0532e356c39faaf">NotifyFailGetConfDescr</a></div><div class="ttdeci">#define NotifyFailGetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00052">message.h:52</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div> <div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_ac33a32ea1e6c88a3041b8fd579bb439b"><div class="ttname"><a href="cdcprolific_8h.html#ac33a32ea1e6c88a3041b8fd579bb439b">PL_VID</a></div><div class="ttdeci">#define PL_VID</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00022">cdcprolific.h:22</a></div></div> <div class="ttc" id="cdcprolific_8h_html_ac33a32ea1e6c88a3041b8fd579bb439b"><div class="ttname"><a href="cdcprolific_8h.html#ac33a32ea1e6c88a3041b8fd579bb439b">PL_VID</a></div><div class="ttdeci">#define PL_VID</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00022">cdcprolific.h:22</a></div></div>
@ -344,7 +344,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="class_a_c_m_html"><div class="ttname"><a href="class_a_c_m.html">ACM</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00139">cdcacm.h:139</a></div></div> <div class="ttc" id="class_a_c_m_html"><div class="ttname"><a href="class_a_c_m.html">ACM</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00139">cdcacm.h:139</a></div></div>
<div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div> <div class="ttc" id="message_8h_html_a03e4088aafca36fd7a4be69e3a22b601"><div class="ttname"><a href="message_8h.html#a03e4088aafca36fd7a4be69e3a22b601">NotifyFailSetConfDescr</a></div><div class="ttdeci">#define NotifyFailSetConfDescr(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00053">message.h:53</a></div></div>
<div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div> <div class="ttc" id="macros_8h_html_afc6fe7f947af35317a49a4dcfc8189fd"><div class="ttname"><a href="macros_8h.html#afc6fe7f947af35317a49a4dcfc8189fd">USBTRACE</a></div><div class="ttdeci">#define USBTRACE(s)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00060">macros.h:60</a></div></div>
<div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00756">Usb.cpp:756</a></div></div> <div class="ttc" id="class_u_s_b_html_a193e63c149fad46adabd77ceb09b2b24"><div class="ttname"><a href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">USB::getDevDescr</a></div><div class="ttdeci">uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdoc">defined(USB_METHODS_INLINE) </div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00759">Usb.cpp:759</a></div></div>
<div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div> <div class="ttc" id="message_8h_html_a69619d86b1636f141c830ca82c7f45e7"><div class="ttname"><a href="message_8h.html#a69619d86b1636f141c830ca82c7f45e7">NotifyFailSetDevTblEntry</a></div><div class="ttdeci">#define NotifyFailSetDevTblEntry(...)</div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00051">message.h:51</a></div></div>
<div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div> <div class="ttc" id="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00098">usb_ch9.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -169,7 +169,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"> <div class="textblock">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00049">49</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00053">53</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a29492dcd9b7f6023b7866cd05188d61c"></a> <a class="anchor" id="a29492dcd9b7f6023b7866cd05188d61c"></a>
<div class="memitem"> <div class="memitem">
@ -252,7 +252,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00335">335</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00345">345</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -280,7 +280,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00325">325</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00335">335</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -308,7 +308,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00331">331</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00341">341</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -352,7 +352,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00061">61</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00058">58</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -396,7 +396,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00066">66</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00063">63</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -423,7 +423,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00315">315</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00325">325</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -450,7 +450,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8h_source.html#l00099">99</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00103">103</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -477,7 +477,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8h_source.html#l00103">103</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00107">107</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -502,7 +502,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00107">107</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00111">111</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -540,7 +540,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="adk_8h_source.html#l00111">111</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00115">115</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -596,7 +596,7 @@ Static Protected Attributes</h2></td></tr>
<p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p> <p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p>
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00287">287</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p> <p>Definition at line <a class="el" href="adk_8cpp_source.html#l00300">300</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
</div> </div>
</div> </div>
@ -619,7 +619,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00065">65</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00069">69</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -641,7 +641,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00066">66</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00070">70</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -663,7 +663,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00069">69</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00073">73</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -685,7 +685,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00070">70</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00074">74</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -707,7 +707,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00071">71</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00075">75</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -729,7 +729,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00073">73</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00077">77</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -751,7 +751,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00074">74</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00078">78</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>
@ -773,7 +773,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="adk_8h_source.html#l00077">77</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p> <p>Definition at line <a class="el" href="adk_8h_source.html#l00081">81</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -101,17 +101,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">ConfigureDevice</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">ConfigureDevice</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">DEVCLASSOK</a>(uint8_t klass)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">DEVCLASSOK</a>(uint8_t klass)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">hci_accept_connection</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">hci_authentication_request</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">hci_accept_connection</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">HCI_Command</a>(uint8_t *data, uint16_t nbytes)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">hci_authentication_request</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">HCI_Command</a>(uint8_t *data, uint16_t nbytes)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#ac6c4a65645421fc4be3743d41ef3a924">hci_connect</a>(uint8_t *bdaddr)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(uint16_t handle)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a>(uint16_t handle)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
@ -128,36 +130,39 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">hci_write_scan_disable</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">hci_write_scan_disable</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">hci_write_scan_enable</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">hci_write_scan_enable</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a>(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a>(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(uint16_t handle, uint8_t rxid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a>(uint16_t handle, uint8_t rxid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a>(uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">l2cap_information_response</a>(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a>(uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">l2cap_information_response</a>(uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">pairWithHID</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">Poll</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">Poll</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(BluetoothService *pService)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(BluetoothService *pService)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">VIDPIDOK</a>(uint16_t vid, uint16_t pid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">VIDPIDOK</a>(uint16_t vid, uint16_t pid)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -121,6 +121,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a4adfc7e51ad3b3c03e7c37d1af159e73"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a4adfc7e51ad3b3c03e7c37d1af159e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b66a27c0fd359e3129f53451352b55c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a> ()</td></tr> <tr class="memitem:a6b66a27c0fd359e3129f53451352b55c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a> ()</td></tr>
<tr class="separator:a6b66a27c0fd359e3129f53451352b55c"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a6b66a27c0fd359e3129f53451352b55c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b59db80825ffd5974e0d2c4a046b328"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">pairWithHID</a> ()</td></tr>
<tr class="separator:a0b59db80825ffd5974e0d2c4a046b328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a9ecb996243e070e70972370e45e4fd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a> ()</td></tr> <tr class="memitem:a2a9ecb996243e070e70972370e45e4fd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a> ()</td></tr>
<tr class="separator:a2a9ecb996243e070e70972370e45e4fd"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a2a9ecb996243e070e70972370e45e4fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr> <tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr>
@ -178,6 +180,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a45ffbc7a40bbb763b0ece907c3dfc9ff"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a45ffbc7a40bbb763b0ece907c3dfc9ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7066ea743f8907708db945ebef3ad76"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a> ()</td></tr> <tr class="memitem:ae7066ea743f8907708db945ebef3ad76"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a> ()</td></tr>
<tr class="separator:ae7066ea743f8907708db945ebef3ad76"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ae7066ea743f8907708db945ebef3ad76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c4a65645421fc4be3743d41ef3a924"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ac6c4a65645421fc4be3743d41ef3a924">hci_connect</a> (uint8_t *bdaddr)</td></tr>
<tr class="separator:ac6c4a65645421fc4be3743d41ef3a924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a17405df60591b909ff1502fb8f3141"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a> ()</td></tr> <tr class="memitem:a9a17405df60591b909ff1502fb8f3141"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a> ()</td></tr>
<tr class="separator:a9a17405df60591b909ff1502fb8f3141"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a9a17405df60591b909ff1502fb8f3141"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">L2CAP Commands</div></td></tr> <tr><td colspan="2"><div class="groupHeader">L2CAP Commands</div></td></tr>
@ -235,6 +239,12 @@ Public Attributes</h2></td></tr>
<tr class="separator:a3aea445b2349e99ef057db1a4ffdd9dc"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a3aea445b2349e99ef057db1a4ffdd9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962a5714c225dcb633434f02e3657583"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td></tr> <tr class="memitem:a962a5714c225dcb633434f02e3657583"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td></tr>
<tr class="separator:a962a5714c225dcb633434f02e3657583"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a962a5714c225dcb633434f02e3657583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af40b8d52df99192880c8a13443b6c6d8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a></td></tr>
<tr class="separator:af40b8d52df99192880c8a13443b6c6d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a685d6371fb0c950ff6bad4510a8cc85a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a></td></tr>
<tr class="separator:a685d6371fb0c950ff6bad4510a8cc85a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa418d820fb6b877ea079e0436a518e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a></td></tr>
<tr class="separator:a2aa418d820fb6b877ea079e0436a518e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls"> </table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr> Protected Member Functions</h2></td></tr>
@ -270,7 +280,7 @@ Static Protected Attributes</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The Bluetooth Dongle class will take care of all the <a class="el" href="class_u_s_b.html">USB</a> communication and then pass the data to the <a class="el" href="class_bluetooth_service.html">BluetoothService</a> classes. </p> <div class="textblock"><p>The Bluetooth Dongle class will take care of all the <a class="el" href="class_u_s_b.html">USB</a> communication and then pass the data to the <a class="el" href="class_bluetooth_service.html">BluetoothService</a> classes. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00156">156</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00158">158</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5f07597fe15a2b917cce405fe87f2981"></a> <a class="anchor" id="a5f07597fe15a2b917cce405fe87f2981"></a>
<div class="memitem"> <div class="memitem">
@ -348,7 +358,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00046">46</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00048">48</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -402,7 +412,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00119">119</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00121">121</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -431,7 +441,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00365">365</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00369">369</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -460,7 +470,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00371">371</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00375">375</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -489,7 +499,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00196">196</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00198">198</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -516,7 +526,7 @@ Static Protected Attributes</h2></td></tr>
<p>Used to check if the dongle has been initialized. </p> <p>Used to check if the dongle has been initialized. </p>
<dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00204">204</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00206">206</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -552,7 +562,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00212">212</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00214">214</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -599,7 +609,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00221">221</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00223">223</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -666,7 +676,7 @@ Static Protected Attributes</h2></td></tr>
<p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p> <p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00314">314</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00318">318</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -692,7 +702,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Disconnects both the L2CAP Channel and the HCI Connection for all Bluetooth services. </p> <p>Disconnects both the L2CAP Channel and the HCI Connection for all Bluetooth services. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00239">239</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00247">247</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -726,7 +736,7 @@ Static Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>The serice ID on succes or -1 on fail. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>The serice ID on succes or -1 on fail. </dd></dl>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00250">250</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00258">258</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -762,7 +772,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00851">851</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00912">912</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -780,7 +790,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reset the Bluetooth dongle. </p> <p>Reset the Bluetooth dongle. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00856">856</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00917">917</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -798,7 +808,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Read the Bluetooth address of the dongle. </p> <p>Read the Bluetooth address of the dongle. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00887">887</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00948">948</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -816,7 +826,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Read the HCI Version of the Bluetooth dongle. </p> <p>Read the HCI Version of the Bluetooth dongle. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00895">895</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00956">956</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -841,7 +851,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00938">938</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00999">999</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -859,7 +869,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Enable visibility to other Bluetooth devices. </p> <p>Enable visibility to other Bluetooth devices. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00865">865</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00926">926</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -877,7 +887,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Disable visibility to other Bluetooth devices. </p> <p>Disable visibility to other Bluetooth devices. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00878">878</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00939">939</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -895,7 +905,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Read the remote devices name. </p> <p>Read the remote devices name. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00919">919</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00980">980</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -913,7 +923,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Accept the connection with the Bluetooth device. </p> <p>Accept the connection with the Bluetooth device. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00903">903</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00964">964</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -938,7 +948,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01068">1068</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01133">1133</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -956,7 +966,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Respond with the pin for the connection. The pin is automatically set for the Wii library, but can be customized for the <a class="el" href="class_s_p_p.html">SPP</a> library. </p> <p>Respond with the pin for the connection. The pin is automatically set for the Wii library, but can be customized for the <a class="el" href="class_s_p_p.html">SPP</a> library. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00994">994</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01059">1059</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -974,7 +984,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Respons when no pin was set. </p> <p>Respons when no pin was set. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01030">1030</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01095">1095</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -992,7 +1002,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Command is used to reply to a Link Key Request event from the BR/EDR Controller if the Host does not have a stored Link Key for the connection. </p> <p>Command is used to reply to a Link Key Request event from the BR/EDR Controller if the Host does not have a stored Link Key for the connection. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01044">1044</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01109">1109</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1010,7 +1020,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to try to authenticate with the remote device. </p> <p>Used to try to authenticate with the remote device. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01058">1058</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01123">1123</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1028,7 +1038,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Start a HCI inquiry. </p> <p>Start a HCI inquiry. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00950">950</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01011">1011</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1046,7 +1056,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Cancel a HCI inquiry. </p> <p>Cancel a HCI inquiry. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00964">964</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01025">1025</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1062,9 +1072,34 @@ Static Protected Attributes</h2></td></tr>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Connect to a device. </p> <p>Connect to last device communicated with. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00972">972</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01033">1033</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac6c4a65645421fc4be3743d41ef3a924"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void BTD::hci_connect </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>bdaddr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Connect to device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">bdaddr</td><td>Bluetooth address of the device. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01037">1037</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1082,7 +1117,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to a set the class of the device. </p> <p>Used to a set the class of the device. </p>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01080">1080</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01145">1145</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1138,7 +1173,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01116">1116</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01181">1181</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1188,7 +1223,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01144">1144</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01209">1209</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1245,7 +1280,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01157">1157</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01222">1222</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1288,7 +1323,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01174">1174</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01239">1239</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1331,7 +1366,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01191">1191</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01256">1256</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1381,7 +1416,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01210">1210</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01275">1275</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1431,7 +1466,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01223">1223</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01288">1288</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1480,7 +1515,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01236">1236</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01301">1301</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1506,7 +1541,33 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Call this function to pair with a Wiimote </p> <p>Call this function to pair with a Wiimote </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00412">412</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00425">425</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0b59db80825ffd5974e0d2c4a046b328"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTD::pairWithHID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this function to pair with a Wiimote </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00441">441</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1533,7 +1594,7 @@ Static Protected Attributes</h2></td></tr>
<p>Read the poll interval taken from the endpoint descriptors. </p> <p>Read the poll interval taken from the endpoint descriptors. </p>
<dl class="section return"><dt>Returns</dt><dd>The poll interval in ms. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>The poll interval in ms. </dd></dl>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00431">431</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00456">456</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1566,7 +1627,7 @@ Static Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00346">346</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00350">350</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1582,7 +1643,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Use this to see if it is waiting for a incoming connection. </p> <p>Use this to see if it is waiting for a incoming connection. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00383">383</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00396">396</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1597,7 +1658,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>This is used by the service to know when to store the device information. </p> <p>This is used by the service to know when to store the device information. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00385">385</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00398">398</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1612,7 +1673,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current SDP incoming request. </p> <p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current SDP incoming request. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00387">387</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00400">400</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1627,7 +1688,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current RFCOMM incoming request. </p> <p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current RFCOMM incoming request. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00389">389</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00402">402</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1642,7 +1703,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>The name you wish to make the dongle show up as. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> library. </p> <p>The name you wish to make the dongle show up as. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> library. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00392">392</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00405">405</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1657,7 +1718,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>The pin you wish to make the dongle use for authentication. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> library. </p> <p>The pin you wish to make the dongle use for authentication. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> library. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00394">394</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00407">407</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1672,7 +1733,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>The bluetooth dongles Bluetooth address. </p> <p>The bluetooth dongles Bluetooth address. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00397">397</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00410">410</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1687,7 +1748,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>HCI handle for the last connection. </p> <p>HCI handle for the last connection. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00399">399</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00412">412</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1702,7 +1763,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Last incoming devices Bluetooth address. </p> <p>Last incoming devices Bluetooth address. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00401">401</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00414">414</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1717,7 +1778,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>First 30 chars of last remote name. </p> <p>First 30 chars of last remote name. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00403">403</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00416">416</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1732,7 +1793,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>The supported HCI Version read from the Bluetooth dongle. Used by the <a class="el" href="class_p_s3_b_t.html">PS3BT</a> library to check the HCI Version of the Bluetooth dongle, it should be at least 3 to work properly with the library. </p> <p>The supported HCI Version read from the Bluetooth dongle. Used by the <a class="el" href="class_p_s3_b_t.html">PS3BT</a> library to check the HCI Version of the Bluetooth dongle, it should be at least 3 to work properly with the library. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00409">409</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00422">422</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1747,7 +1808,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to only send the ACL data to the wiimote. </p> <p>Used to only send the ACL data to the wiimote. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00415">415</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00428">428</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1762,7 +1823,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>True if a Wiimote is connecting. </p> <p>True if a Wiimote is connecting. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00419">419</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00432">432</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1775,9 +1836,9 @@ Static Protected Attributes</h2></td></tr>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>True when it should pair with the incoming Wiimote. </p> <p>True when it should pair with a Wiimote. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00421">421</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00434">434</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1792,7 +1853,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>True if it's the new Wiimote with the Motion Plus Inside or a Wii U Pro Controller. </p> <p>True if it's the new Wiimote with the Motion Plus Inside or a Wii U Pro Controller. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00423">423</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00436">436</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1807,7 +1868,52 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>True if it's a Wii U Pro Controller. </p> <p>True if it's a Wii U Pro Controller. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00425">425</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00438">438</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a class="anchor" id="af40b8d52df99192880c8a13443b6c6d8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BTD::connectToHIDDevice</td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to only send the ACL data to the wiimote. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00444">444</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a class="anchor" id="a685d6371fb0c950ff6bad4510a8cc85a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BTD::incomingHIDDevice</td>
</tr>
</table>
</div><div class="memdoc">
<p>True if a Wiimote is connecting. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00448">448</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2aa418d820fb6b877ea079e0436a518e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BTD::pairWithHIDDevice</td>
</tr>
</table>
</div><div class="memdoc">
<p>True when it should pair with a device like a mouse or keyboard. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00450">450</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1830,7 +1936,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p> <p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00433">433</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00458">458</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1853,7 +1959,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Device address. </p> <p>Device address. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00439">439</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00464">464</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1876,7 +1982,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Endpoint info structure. </p> <p>Endpoint info structure. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00441">441</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00466">466</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1899,7 +2005,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Configuration number. </p> <p>Configuration number. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00444">444</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00469">469</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1922,7 +2028,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Total number of endpoints in the configuration. </p> <p>Total number of endpoints in the configuration. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00446">446</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00471">471</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1945,7 +2051,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Next poll time based on poll interval taken from the <a class="el" href="class_u_s_b.html">USB</a> descriptor. </p> <p>Next poll time based on poll interval taken from the <a class="el" href="class_u_s_b.html">USB</a> descriptor. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00448">448</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00473">473</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1968,7 +2074,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Bluetooth dongle control endpoint. </p> <p>Bluetooth dongle control endpoint. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00451">451</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00476">476</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -1991,7 +2097,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>HCI event endpoint index. </p> <p>HCI event endpoint index. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00453">453</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00478">478</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -2014,7 +2120,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>ACL In endpoint index. </p> <p>ACL In endpoint index. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00455">455</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00480">480</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>
@ -2037,7 +2143,7 @@ Static Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>ACL Out endpoint index. </p> <p>ACL Out endpoint index. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00457">457</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00482">482</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -0,0 +1,112 @@
<!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.5"/>
<title>USB Host Shield 2.0: Member List</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" />
<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 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.5 -->
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><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="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#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><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BTHID Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_b_t_h_i_d.html">BTHID</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">ACLData</a>(uint8_t *ACLData)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_h_i_d.html#ac2d67e173774e344bca86fbd0ed5a10c">attachOnInit</a>(void(*funcOnInit)(void))</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID</a>(BTD *p, bool pair=false, const char *pin=&quot;1234&quot;)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a></td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">disconnect</a>()</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575">GetReportParser</a>(uint8_t id)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>(void)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a>()</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">Run</a>()</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595">setProtocolMode</a>(uint8_t mode)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1">SetReportParser</a>(uint8_t id, HIDReportParser *prs)</td><td class="entry"><a class="el" href="class_b_t_h_i_d.html">BTHID</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></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.5
</small></address>
</body>
</html>

484
class_b_t_h_i_d.html Normal file
View file

@ -0,0 +1,484 @@
<!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.5"/>
<title>USB Host Shield 2.0: BTHID Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 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.5 -->
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><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="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_b_t_h_i_d-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BTHID Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BTHID:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_t_h_i_d__inherit__graph.png" border="0" usemap="#_b_t_h_i_d_inherit__map" alt="Inheritance graph"/></div>
<map name="_b_t_h_i_d_inherit__map" id="_b_t_h_i_d_inherit__map">
<area shape="rect" id="node2" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="4,6,125,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for BTHID:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_t_h_i_d__coll__graph.png" border="0" usemap="#_b_t_h_i_d_coll__map" alt="Collaboration graph"/></div>
<map name="_b_t_h_i_d_coll__map" id="_b_t_h_i_d_coll__map">
<area shape="rect" id="node2" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="4,6,125,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab81dcc90a64615b7ae38083dd8188505"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ab81dcc90a64615b7ae38083dd8188505">BTHID</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p, bool <a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>=false, const char *pin=&quot;1234&quot;)</td></tr>
<tr class="separator:ab81dcc90a64615b7ae38083dd8188505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade1924514bc9c9cd71f54a1f37529575"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575">GetReportParser</a> (uint8_t id)</td></tr>
<tr class="separator:ade1924514bc9c9cd71f54a1f37529575"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e903f0b5040f3561e5de6c4431027b1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1">SetReportParser</a> (uint8_t id, <a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a> *prs)</td></tr>
<tr class="separator:a0e903f0b5040f3561e5de6c4431027b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afceaafc89581441da40b141170b98595"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595">setProtocolMode</a> (uint8_t mode)</td></tr>
<tr class="separator:afceaafc89581441da40b141170b98595"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb19720b65cda69d910416c7a689dd45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a> (void)</td></tr>
<tr class="separator:afb19720b65cda69d910416c7a689dd45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2d67e173774e344bca86fbd0ed5a10c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ac2d67e173774e344bca86fbd0ed5a10c">attachOnInit</a> (void(*funcOnInit)(void))</td></tr>
<tr class="separator:ac2d67e173774e344bca86fbd0ed5a10c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">BluetoothService implementation</div></td></tr>
<tr class="memitem:a84eb1b910027f2d78741f65225c14e54"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">ACLData</a> (uint8_t *ACLData)</td></tr>
<tr class="separator:a84eb1b910027f2d78741f65225c14e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a938eab04e406a29cc9324dad3ccb52cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">Run</a> ()</td></tr>
<tr class="separator:a938eab04e406a29cc9324dad3ccb52cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c58b81414a037910dd6fb78f97b96e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a> ()</td></tr>
<tr class="separator:af4c58b81414a037910dd6fb78f97b96e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1ee62d7b9951ec7960f122c9fc2d2d0"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">disconnect</a> ()</td></tr>
<tr class="separator:ae1ee62d7b9951ec7960f122c9fc2d2d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab3a81823a1d8805383146a6baad6ccc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a></td></tr>
<tr class="separator:ab3a81823a1d8805383146a6baad6ccc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This <a class="el" href="class_bluetooth_service.html">BluetoothService</a> class implements support for the <a class="el" href="class_h_i_d.html">HID</a> keyboard and mice. </p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00068">68</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab81dcc90a64615b7ae38083dd8188505"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BTHID::BTHID </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_b_t_d.html">BTD</a> *&#160;</td>
<td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>pair</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>pin</em> = <code>&quot;1234&quot;</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for the <a class="el" href="class_b_t_h_i_d.html">BTHID</a> class. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p</td><td>Pointer to the <a class="el" href="class_b_t_d.html">BTD</a> class instance. </td></tr>
<tr><td class="paramname">pair</td><td>Set this to true in order to pair with the device. If the argument is omitted then it will not pair with it. One can use <a class="el" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr>
<tr><td class="paramname">pin</td><td>Write the pin to <a class="el" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">BTD::btdPin</a>. If argument is omitted, then "1234" will be used. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8cpp_source.html#l00023">23</a> of file <a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a84eb1b910027f2d78741f65225c14e54"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::ACLData </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>ACLData</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to pass acldata to the services. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ACLData</td><td>Incoming acldata. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8cpp_source.html#l00061">61</a> of file <a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a938eab04e406a29cc9324dad3ccb52cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::Run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to run part of the state maschine. </p>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8cpp_source.html#l00347">347</a> of file <a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="af4c58b81414a037910dd6fb78f97b96e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::Reset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Use this to reset the service. </p>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8cpp_source.html#l00047">47</a> of file <a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae1ee62d7b9951ec7960f122c9fc2d2d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::disconnect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used this to disconnect any of the controllers. </p>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8cpp_source.html#l00054">54</a> of file <a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ade1924514bc9c9cd71f54a1f37529575"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a>* BTHID::GetReportParser </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00092">92</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0e903f0b5040f3561e5de6c4431027b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool BTHID::SetReportParser </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a> *&#160;</td>
<td class="paramname"><em>prs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00096">96</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="afceaafc89581441da40b141170b98595"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::setProtocolMode </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00101">101</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="afb19720b65cda69d910416c7a689dd45"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::pair </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to start the paring sequence with a controller </p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00109">109</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac2d67e173774e344bca86fbd0ed5a10c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BTHID::attachOnInit </td>
<td>(</td>
<td class="paramtype">void(*)(void)&#160;</td>
<td class="paramname"><em>funcOnInit</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to call your own function when the controller is successfully initialized. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">funcOnInit</td><td>Function to call. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00118">118</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab3a81823a1d8805383146a6baad6ccc4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BTHID::connected</td>
</tr>
</table>
</div><div class="memdoc">
<p>True if a device is connected </p>
<p>Definition at line <a class="el" href="_b_t_h_i_d_8h_source.html#l00103">103</a> of file <a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_b_t_h_i_d_8h_source.html">BTHID.h</a></li>
<li><a class="el" href="_b_t_h_i_d_8cpp_source.html">BTHID.cpp</a></li>
</ul>
</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.5
</small></address>
</body>
</html>

View file

@ -0,0 +1,3 @@
<map id="BTHID" name="BTHID">
<area shape="rect" id="node2" href="$class_bluetooth_service.html" title="BluetoothService" alt="" coords="4,6,125,34"/>
</map>

View file

@ -0,0 +1 @@
602320ea47f1326cceede888211e600b

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -0,0 +1,3 @@
<map id="BTHID" name="BTHID">
<area shape="rect" id="node2" href="$class_bluetooth_service.html" title="BluetoothService" alt="" coords="4,6,125,34"/>
</map>

View file

@ -0,0 +1 @@
602320ea47f1326cceede888211e600b

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -97,7 +97,7 @@ Inheritance diagram for BluetoothService:</div>
<div class="dyncontent"> <div class="dyncontent">
<div class="center"><img src="class_bluetooth_service__inherit__graph.png" border="0" usemap="#_bluetooth_service_inherit__map" alt="Inheritance graph"/></div> <div class="center"><img src="class_bluetooth_service__inherit__graph.png" border="0" usemap="#_bluetooth_service_inherit__map" alt="Inheritance graph"/></div>
<map name="_bluetooth_service_inherit__map" id="_bluetooth_service_inherit__map"> <map name="_bluetooth_service_inherit__map" id="_bluetooth_service_inherit__map">
<area shape="rect" id="node2" href="class_p_s3_b_t.html" title="PS3BT" alt="" coords="4,83,67,111"/><area shape="rect" id="node3" href="class_s_p_p.html" title="SPP" alt="" coords="92,83,140,111"/><area shape="rect" id="node4" href="class_w_i_i.html" title="WII" alt="" coords="165,83,205,111"/></map> <area shape="rect" id="node2" href="class_b_t_h_i_d.html" title="BTHID" alt="" coords="5,83,67,111"/><area shape="rect" id="node3" href="class_p_s3_b_t.html" title="PS3BT" alt="" coords="91,83,153,111"/><area shape="rect" id="node4" href="class_s_p_p.html" title="SPP" alt="" coords="179,83,227,111"/><area shape="rect" id="node5" href="class_w_i_i.html" title="WII" alt="" coords="251,83,292,111"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls"> <table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
@ -114,7 +114,7 @@ Public Member Functions</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>All Bluetooth services should include this class. </p> <div class="textblock"><p>All Bluetooth services should include this class. </p>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00137">137</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p> <p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00139">139</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2> </div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8dc98310fe481357eaa86c53e49af113"></a> <a class="anchor" id="a8dc98310fe481357eaa86c53e49af113"></a>
<div class="memitem"> <div class="memitem">
@ -145,7 +145,7 @@ Public Member Functions</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Reimplemented in <a class="el" href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">SPP</a>, <a class="el" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII</a>, and <a class="el" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT</a>.</p> <p>Reimplemented in <a class="el" href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">SPP</a>, <a class="el" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII</a>, <a class="el" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">BTHID</a>, and <a class="el" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT</a>.</p>
</div> </div>
</div> </div>
@ -171,7 +171,7 @@ Public Member Functions</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to run the different state machines in the Bluetooth service. </p> <p>Used to run the different state machines in the Bluetooth service. </p>
<p>Reimplemented in <a class="el" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP</a>, <a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII</a>, and <a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT</a>.</p> <p>Reimplemented in <a class="el" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP</a>, <a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII</a>, <a class="el" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">BTHID</a>, and <a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT</a>.</p>
</div> </div>
</div> </div>
@ -197,7 +197,7 @@ Public Member Functions</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to reset the Bluetooth service. </p> <p>Used to reset the Bluetooth service. </p>
<p>Reimplemented in <a class="el" href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">SPP</a>, <a class="el" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII</a>, and <a class="el" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT</a>.</p> <p>Reimplemented in <a class="el" href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">SPP</a>, <a class="el" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII</a>, <a class="el" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">BTHID</a>, and <a class="el" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT</a>.</p>
</div> </div>
</div> </div>
@ -223,7 +223,7 @@ Public Member Functions</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p> <p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p>
<p>Reimplemented in <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</a>, and <a class="el" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT</a>.</p> <p>Reimplemented in <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</a>, <a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">BTHID</a>, and <a class="el" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT</a>.</p>
</div> </div>
</div> </div>

View file

@ -1,5 +1,6 @@
<map id="BluetoothService" name="BluetoothService"> <map id="BluetoothService" name="BluetoothService">
<area shape="rect" id="node2" href="$class_p_s3_b_t.html" title="PS3BT" alt="" coords="4,83,67,111"/> <area shape="rect" id="node2" href="$class_b_t_h_i_d.html" title="BTHID" alt="" coords="5,83,67,111"/>
<area shape="rect" id="node3" href="$class_s_p_p.html" title="SPP" alt="" coords="92,83,140,111"/> <area shape="rect" id="node3" href="$class_p_s3_b_t.html" title="PS3BT" alt="" coords="91,83,153,111"/>
<area shape="rect" id="node4" href="$class_w_i_i.html" title="WII" alt="" coords="165,83,205,111"/> <area shape="rect" id="node4" href="$class_s_p_p.html" title="SPP" alt="" coords="179,83,227,111"/>
<area shape="rect" id="node5" href="$class_w_i_i.html" title="WII" alt="" coords="251,83,292,111"/>
</map> </map>

View file

@ -1 +1 @@
c1f5b5dce6e2afeb359e0a223a01e9b7 79275e62170f23fa3a9f60c51db52c23

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -215,7 +215,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"> <div class="textblock">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00441">441</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00445">445</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a530fb250b0a0c92b48bc57e2957ace25"></a> <a class="anchor" id="a530fb250b0a0c92b48bc57e2957ace25"></a>
<div class="memitem"> <div class="memitem">
@ -289,7 +289,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00471">471</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00475">475</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -314,7 +314,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00477">477</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00481">481</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -339,7 +339,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00481">481</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00485">485</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -364,7 +364,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00485">485</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00489">489</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -897,7 +897,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00507">507</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00511">511</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -992,7 +992,7 @@ Static Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00514">514</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00518">518</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1117,7 +1117,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00443">443</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00447">447</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1139,7 +1139,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00444">444</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00448">448</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1161,7 +1161,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00445">445</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00449">449</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1183,7 +1183,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00447">447</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00451">451</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1205,7 +1205,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00448">448</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00452">452</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1227,7 +1227,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00449">449</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00453">453</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1249,7 +1249,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00450">450</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00454">454</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1271,7 +1271,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00451">451</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00455">455</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1293,7 +1293,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00452">452</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00456">456</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1315,7 +1315,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00453">453</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00457">457</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1337,7 +1337,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00455">455</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00459">459</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1359,7 +1359,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00457">457</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00461">461</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1381,7 +1381,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00459">459</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00463">463</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1403,7 +1403,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00460">460</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00464">464</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1425,7 +1425,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00461">461</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00465">465</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1447,7 +1447,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00462">462</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00466">466</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1469,7 +1469,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00463">463</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00467">467</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1491,7 +1491,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00464">464</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00468">468</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>
@ -1513,7 +1513,7 @@ Static Protected Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00465">465</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p> <p>Definition at line <a class="el" href="masstorage_8h_source.html#l00469">469</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -140,7 +140,7 @@ Public Member Functions</h2></td></tr>
class MAX3421e&lt; SS, INTR &gt;</h3> class MAX3421e&lt; SS, INTR &gt;</h3>
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00062">62</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00081">81</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac8b4177b9941d02042605d564fb37d0b"></a> <a class="anchor" id="ac8b4177b9941d02042605d564fb37d0b"></a>
<div class="memitem"> <div class="memitem">
@ -157,7 +157,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00095">95</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00114">114</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -188,7 +188,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00106">106</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00125">125</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -224,7 +224,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00121">121</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00147">147</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -244,7 +244,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00140">140</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00172">172</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -264,7 +264,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00149">149</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00181">181</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -300,7 +300,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00165">165</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00203">203</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -319,7 +319,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00194">194</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00238">238</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -338,7 +338,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00205">205</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00249">249</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -357,7 +357,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00219">219</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00263">263</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -377,7 +377,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00256">256</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00300">300</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -405,7 +405,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00077">77</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00096">96</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -433,7 +433,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00081">81</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00100">100</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -452,7 +452,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00300">300</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00344">344</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -488,7 +488,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00354">354</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00398">398</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>
@ -508,7 +508,7 @@ template&lt;typename SS , typename INTR &gt; </div>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00335">335</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00379">379</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -113,13 +113,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">Run</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">Run</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">setAllOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">setAllOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037">setLedOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(Rumble mode)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#ae309556e995afc10b13dfbe4e6c32798">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(Rumble mode)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_b_t.html#ae309556e995afc10b13dfbe4e6c32798">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower)</td><td class="entry"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td><td class="entry"></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -152,6 +152,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:ae309556e995afc10b13dfbe4e6c32798"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ae309556e995afc10b13dfbe4e6c32798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0acdc09661a8099b2d5e8b59cd8325bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a> (uint8_t value)</td></tr> <tr class="memitem:a0acdc09661a8099b2d5e8b59cd8325bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">setLedRaw</a> (uint8_t value)</td></tr>
<tr class="separator:a0acdc09661a8099b2d5e8b59cd8325bb"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a0acdc09661a8099b2d5e8b59cd8325bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ce9fb6251b56ec877cd22af7213a037"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037">setLedOff</a> ()</td></tr>
<tr class="separator:a2ce9fb6251b56ec877cd22af7213a037"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa84e4cb30f827c8d8d981c1de82c53ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:aa84e4cb30f827c8d8d981c1de82c53ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:aa84e4cb30f827c8d8d981c1de82c53ad"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aa84e4cb30f827c8d8d981c1de82c53ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad400e1ce37c2dadd48938187b5021d42"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:ad400e1ce37c2dadd48938187b5021d42"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
@ -280,7 +282,7 @@ Public Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService</a>.</p> <p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00248">248</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00233">233</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -308,7 +310,7 @@ Public Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p> <p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00496">496</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00479">479</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -336,7 +338,7 @@ Public Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService</a>.</p> <p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00228">228</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00213">213</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -364,7 +366,7 @@ Public Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService</a>.</p> <p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00241">241</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00226">226</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -458,7 +460,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range of 0-255. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range of 0-255. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00069">69</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00067">67</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -484,7 +486,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the raw sensor value. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the raw sensor value. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00075">75</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00071">71</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -510,7 +512,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the angle in the range of 0-360. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the angle in the range of 0-360. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00094">94</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00088">88</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -536,7 +538,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>The value in SI units. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>The value in SI units. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00126">126</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00115">115</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -562,7 +564,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>True if correct and false if not. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if correct and false if not. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00170">170</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00159">159</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -581,7 +583,7 @@ Public Attributes</h2></td></tr>
<p>Read all the available <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> from the controller. </p> <p>Read all the available <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> from the controller. </p>
<dl class="section return"><dt>Returns</dt><dd>One large string with all the information. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>One large string with all the information. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00178">178</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00163">163</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -600,7 +602,7 @@ Public Attributes</h2></td></tr>
<p>Read the temperature from the Move controller. </p> <p>Read the temperature from the Move controller. </p>
<dl class="section return"><dt>Returns</dt><dd>The temperature in degrees celsius. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>The temperature in degrees celsius. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00155">155</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00144">144</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -618,7 +620,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to set all LEDs and <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> off. </p> <p>Used to set all LEDs and <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> off. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00562">562</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00544">544</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -636,7 +638,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Turn off <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a>. </p> <p>Turn off <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a>. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00569">569</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00555">555</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -661,7 +663,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00578">578</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00564">564</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -711,7 +713,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00587">587</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00573">573</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -736,7 +738,33 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00595">595</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00581">581</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a2ce9fb6251b56ec877cd22af7213a037"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void PS3BT::setLedOff </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn all LEDs off. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00180">180</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
</div> </div>
</div> </div>
@ -761,7 +789,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00599">599</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00586">586</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -786,7 +814,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00604">604</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00591">591</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -811,7 +839,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00609">609</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00596">596</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -852,7 +880,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00635">635</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00622">622</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -877,7 +905,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00644">644</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00631">631</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -902,7 +930,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00648">648</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8cpp_source.html#l00635">635</a> of file <a class="el" href="_p_s3_b_t_8cpp_source.html">PS3BT.cpp</a>.</p>
</div> </div>
</div> </div>
@ -935,7 +963,7 @@ Public Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00215">215</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00219">219</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
</div> </div>
</div> </div>
@ -951,7 +979,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the normal Playstation controller is successfully connected. </p> <p>Variable used to indicate if the normal Playstation controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00217">217</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00221">221</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
</div> </div>
</div> </div>
@ -966,7 +994,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the Move controller is successfully connected. </p> <p>Variable used to indicate if the Move controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00223">223</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00227">227</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
</div> </div>
</div> </div>
@ -981,7 +1009,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the Navigation controller is successfully connected. </p> <p>Variable used to indicate if the Navigation controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00225">225</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00229">229</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
</div> </div>
</div> </div>

View file

@ -99,31 +99,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(Button a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(Button a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(AnalogHat a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(AnalogHat a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(Angle a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(Angle a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(Button b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">getBdaddr</a>(uint8_t *bdaddr)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(Button b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(Button b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(Sensor a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(Button b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(Status c)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">getMoveBdaddr</a>(uint8_t *bdaddr)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">getMoveCalibration</a>(uint8_t *data)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(Sensor a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">isReady</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(Status c)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a34c83190306752e68c5704eece875d49">moveSetBulb</a>(Colors color)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479">isReady</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">Poll</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a34c83190306752e68c5704eece875d49">moveSetBulb</a>(Colors color)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">Poll</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a>(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">Release</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a>(USB *pUsb, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a></td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">setBdaddr</a>(uint8_t *BDADDR)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">Release</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">setBdaddr</a>(uint8_t *bdaddr)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">setLedOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">setMoveBdaddr</a>(uint8_t *BDADDR)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">setMoveBdaddr</a>(uint8_t *bdaddr)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(Rumble mode)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(Rumble mode)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80">setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower)</td><td class="entry"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td><td class="entry"></td></tr>

View file

@ -113,10 +113,16 @@ Collaboration diagram for PS3USB:</div>
Public Member Functions</h2></td></tr> Public Member Functions</h2></td></tr>
<tr class="memitem:ac919404d4caf4625467756272f8d5502"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a> (<a class="el" href="class_u_s_b.html">USB</a> *<a class="el" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</td></tr> <tr class="memitem:ac919404d4caf4625467756272f8d5502"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB</a> (<a class="el" href="class_u_s_b.html">USB</a> *<a class="el" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)</td></tr>
<tr class="separator:ac919404d4caf4625467756272f8d5502"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ac919404d4caf4625467756272f8d5502"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13993073ab245ece6d3fe9e9f41df87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">setBdaddr</a> (uint8_t *BDADDR)</td></tr> <tr class="memitem:ad50962ff6194746c076084ec0714605a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#ad50962ff6194746c076084ec0714605a">setBdaddr</a> (uint8_t *bdaddr)</td></tr>
<tr class="separator:af13993073ab245ece6d3fe9e9f41df87"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ad50962ff6194746c076084ec0714605a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be69a3c6e24bf2b53bc06c85829e62a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">setMoveBdaddr</a> (uint8_t *BDADDR)</td></tr> <tr class="memitem:a1448bc51226a9b63f2937630da6bd48f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a1448bc51226a9b63f2937630da6bd48f">getBdaddr</a> (uint8_t *bdaddr)</td></tr>
<tr class="separator:a3be69a3c6e24bf2b53bc06c85829e62a"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a1448bc51226a9b63f2937630da6bd48f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a3fccc7ef5ac5c414ef8ebcd2e2cdfc80">setMoveBdaddr</a> (uint8_t *bdaddr)</td></tr>
<tr class="separator:a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c722086999db05d8abf5f1f26c19f77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a6c722086999db05d8abf5f1f26c19f77">getMoveBdaddr</a> (uint8_t *bdaddr)</td></tr>
<tr class="separator:a6c722086999db05d8abf5f1f26c19f77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6e97f59f4a62e52cf54cdd302679cd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#ab6e97f59f4a62e52cf54cdd302679cd9">getMoveCalibration</a> (uint8_t *data)</td></tr>
<tr class="separator:ab6e97f59f4a62e52cf54cdd302679cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr> <tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr>
<tr class="memitem:a0083545cb99fb8786e60281fe7a9050d"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr> <tr class="memitem:a0083545cb99fb8786e60281fe7a9050d"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
<tr class="separator:a0083545cb99fb8786e60281fe7a9050d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a0083545cb99fb8786e60281fe7a9050d"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -157,6 +163,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a0c2015b53aa60081aa28299800509f80"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a0c2015b53aa60081aa28299800509f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0aac5ea016db4cd6736a15e9d6eb41b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a> (uint8_t value)</td></tr> <tr class="memitem:aa0aac5ea016db4cd6736a15e9d6eb41b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b">setLedRaw</a> (uint8_t value)</td></tr>
<tr class="separator:aa0aac5ea016db4cd6736a15e9d6eb41b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aa0aac5ea016db4cd6736a15e9d6eb41b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac912fd49bd2a415206df7a8c2b672ea4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#ac912fd49bd2a415206df7a8c2b672ea4">setLedOff</a> ()</td></tr>
<tr class="separator:ac912fd49bd2a415206df7a8c2b672ea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb361fecbe4eb6fc5635dc7135cfff03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:adb361fecbe4eb6fc5635dc7135cfff03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:adb361fecbe4eb6fc5635dc7135cfff03"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:adb361fecbe4eb6fc5635dc7135cfff03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44c4bff09064a09ef97c7bb6b8c0810b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:a44c4bff09064a09ef97c7bb6b8c0810b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
@ -202,7 +210,7 @@ Protected Attributes</h2></td></tr>
<p>One can only set the color of the bulb, set the rumble, set and get the bluetooth address and calibrate the magnetometer via <a class="el" href="class_u_s_b.html">USB</a> on the Move controller.</p> <p>One can only set the color of the bulb, set the rumble, set and get the bluetooth address and calibrate the magnetometer via <a class="el" href="class_u_s_b.html">USB</a> on the Move controller.</p>
<p>Information about the protocol can be found at the wiki: <a href="https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information">https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information</a>. </p> <p>Information about the protocol can be found at the wiki: <a href="https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information">https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information</a>. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00055">55</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00058">58</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac919404d4caf4625467756272f8d5502"></a> <a class="anchor" id="ac919404d4caf4625467756272f8d5502"></a>
<div class="memitem"> <div class="memitem">
@ -408,7 +416,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00090">90</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00093">93</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -435,7 +443,7 @@ Protected Attributes</h2></td></tr>
<p>Used to check if the controller has been initialized. </p> <p>Used to check if the controller has been initialized. </p>
<dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00098">98</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00101">101</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -482,11 +490,11 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00108">108</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00111">111</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
<a class="anchor" id="af13993073ab245ece6d3fe9e9f41df87"></a> <a class="anchor" id="ad50962ff6194746c076084ec0714605a"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
@ -494,24 +502,49 @@ Protected Attributes</h2></td></tr>
<td class="memname">void PS3USB::setBdaddr </td> <td class="memname">void PS3USB::setBdaddr </td>
<td>(</td> <td>(</td>
<td class="paramtype">uint8_t *&#160;</td> <td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>BDADDR</em></td><td>)</td> <td class="paramname"><em>bdaddr</em></td><td>)</td>
<td></td> <td></td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to set the Bluetooth address inside the Dualshock 3 and Navigation controller. </p> <p>Used to set the Bluetooth address inside the Dualshock 3 and Navigation controller. Set using LSB first. </p>
<dl class="params"><dt>Parameters</dt><dd> <dl class="params"><dt>Parameters</dt><dd>
<table class="params"> <table class="params">
<tr><td class="paramname">BDADDR</td><td>Your dongles Bluetooth address. </td></tr> <tr><td class="paramname">bdaddr</td><td>Your dongles Bluetooth address. </td></tr>
</table> </table>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00477">477</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00458">458</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
<a class="anchor" id="a3be69a3c6e24bf2b53bc06c85829e62a"></a> <a class="anchor" id="a1448bc51226a9b63f2937630da6bd48f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PS3USB::getBdaddr </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>bdaddr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to get the Bluetooth address inside the Dualshock 3 and Navigation controller. Will return LSB first. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">bdaddr</td><td>Your dongles Bluetooth address. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00471">471</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a3fccc7ef5ac5c414ef8ebcd2e2cdfc80"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
@ -519,20 +552,70 @@ Protected Attributes</h2></td></tr>
<td class="memname">void PS3USB::setMoveBdaddr </td> <td class="memname">void PS3USB::setMoveBdaddr </td>
<td>(</td> <td>(</td>
<td class="paramtype">uint8_t *&#160;</td> <td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>BDADDR</em></td><td>)</td> <td class="paramname"><em>bdaddr</em></td><td>)</td>
<td></td> <td></td>
</tr> </tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to set the Bluetooth address inside the Move controller. </p> <p>Used to set the Bluetooth address inside the Move controller. Set using LSB first. </p>
<dl class="params"><dt>Parameters</dt><dd> <dl class="params"><dt>Parameters</dt><dd>
<table class="params"> <table class="params">
<tr><td class="paramname">BDADDR</td><td>Your dongles Bluetooth address. </td></tr> <tr><td class="paramname">bdaddr</td><td>Your dongles Bluetooth address. </td></tr>
</table> </table>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00529">529</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00520">520</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a6c722086999db05d8abf5f1f26c19f77"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PS3USB::getMoveBdaddr </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>bdaddr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to get the Bluetooth address inside the Move controller. Will return LSB first. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">bdaddr</td><td>Your dongles Bluetooth address. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00536">536</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ab6e97f59f4a62e52cf54cdd302679cd9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PS3USB::getMoveCalibration </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to get the calibration data inside the Move controller. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>Buffer to store data in. Must be at least 147 bytes </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00546">546</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -553,7 +636,7 @@ Protected Attributes</h2></td></tr>
<p>While <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a> will only return it once.</p> <p>While <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a> will only return it once.</p>
<p>So you instance if you need to increase a variable once you would use <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress(Button b)</a>. </p> <p>So you instance if you need to increase a variable once you would use <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress(Button b)</a>. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00318">318</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00312">312</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -574,7 +657,7 @@ Protected Attributes</h2></td></tr>
<p>While <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a> will only return it once.</p> <p>While <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a> will only return it once.</p>
<p>So you instance if you need to increase a variable once you would use <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress(Button b)</a>. </p> <p>So you instance if you need to increase a variable once you would use <a class="el" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress(Button b)</a>. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00322">322</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00316">316</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -600,7 +683,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Analog value in the range of 0-255. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Analog value in the range of 0-255. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00329">329</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00323">323</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -626,7 +709,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range of 0-255. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range of 0-255. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00335">335</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00327">327</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -652,7 +735,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the raw sensor value. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the raw sensor value. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00341">341</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00331">331</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -678,7 +761,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the angle in the range of 0-360. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the angle in the range of 0-360. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00347">347</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00335">335</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -704,7 +787,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>True if correct and false if not. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if correct and false if not. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00373">373</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00358">358</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -723,7 +806,7 @@ Protected Attributes</h2></td></tr>
<p>Read all the available <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> from the controller. </p> <p>Read all the available <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> from the controller. </p>
<dl class="section return"><dt>Returns</dt><dd>One large string with all the information. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>One large string with all the information. </dd></dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00381">381</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00362">362</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -741,7 +824,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Used to set all LEDs and <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> off. </p> <p>Used to set all LEDs and <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> off. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00422">422</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00403">403</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -759,7 +842,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Turn off <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a>. </p> <p>Turn off <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a>. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00429">429</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00410">410</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -784,7 +867,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00438">438</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00419">419</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -834,7 +917,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00449">449</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00430">430</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -859,7 +942,33 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00457">457</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00438">438</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac912fd49bd2a415206df7a8c2b672ea4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void PS3USB::setLedOff </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn all LEDs off. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00224">224</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -884,7 +993,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00462">462</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00443">443</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -909,7 +1018,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00467">467</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00448">448</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -934,7 +1043,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00472">472</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00453">453</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -975,7 +1084,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00505">505</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00497">497</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1000,7 +1109,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00514">514</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00506">506</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1025,7 +1134,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00518">518</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8cpp_source.html#l00510">510</a> of file <a class="el" href="_p_s3_u_s_b_8cpp_source.html">PS3USB.cpp</a>.</p>
</div> </div>
</div> </div>
@ -1058,7 +1167,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00236">236</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00263">263</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1074,7 +1183,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the normal playstation controller is successfully connected. </p> <p>Variable used to indicate if the normal playstation controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00238">238</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00265">265</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1089,7 +1198,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the move controller is successfully connected. </p> <p>Variable used to indicate if the move controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00244">244</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00271">271</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1104,7 +1213,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the navigation controller is successfully connected. </p> <p>Variable used to indicate if the navigation controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00246">246</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00273">273</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1127,7 +1236,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p> <p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00250">250</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00277">277</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1150,7 +1259,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Device address. </p> <p>Device address. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00252">252</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00279">279</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>
@ -1173,7 +1282,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Endpoint info structure. </p> <p>Endpoint info structure. </p>
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00254">254</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p> <p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00281">281</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -279,7 +279,7 @@ Public Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p> <p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00417">417</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00429">429</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -363,7 +363,7 @@ Public Attributes</h2></td></tr>
<p>Get number of bytes waiting to be read. </p> <p>Get number of bytes waiting to be read. </p>
<dl class="section return"><dt>Returns</dt><dd>Return the number of bytes ready to be read. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the number of bytes ready to be read. </dd></dl>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00780">780</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00800">800</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -390,7 +390,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Discard all the bytes in the buffer. </p> <p>Discard all the bytes in the buffer. </p>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00784">784</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00804">804</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -418,7 +418,7 @@ Public Attributes</h2></td></tr>
<p>Used to read the next value in the buffer without advancing to the next one. </p> <p>Used to read the next value in the buffer without advancing to the next one. </p>
<dl class="section return"><dt>Returns</dt><dd>Return the byte. Will return -1 if no bytes are available. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the byte. Will return -1 if no bytes are available. </dd></dl>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00788">788</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00808">808</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -446,7 +446,7 @@ Public Attributes</h2></td></tr>
<p>Used to read the buffer. </p> <p>Used to read the buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>Return the byte. Will return -1 if no bytes are available. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the byte. Will return -1 if no bytes are available. </dd></dl>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00794">794</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00814">814</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -480,7 +480,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the number of bytes written. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the number of bytes written. </dd></dl>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00739">739</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00759">759</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -525,7 +525,7 @@ Public Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Return the number of bytes written. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Return the number of bytes written. </dd></dl>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00743">743</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00763">763</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>
@ -544,7 +544,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>This will send all the bytes in the buffer. This is called whenever Usb.Task() is called, but can also be called via this function. </p> <p>This will send all the bytes in the buffer. This is called whenever Usb.Task() is called, but can also be called via this function. </p>
<p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00752">752</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p> <p>Definition at line <a class="el" href="_s_p_p_8cpp_source.html#l00772">772</a> of file <a class="el" href="_s_p_p_8cpp_source.html">SPP.cpp</a>.</p>
</div> </div>
</div> </div>

View file

@ -103,7 +103,7 @@ Static Public Member Functions</h2></td></tr>
class SPi&lt; CLK, MOSI, MISO, SPI_SS &gt;</h3> class SPi&lt; CLK, MOSI, MISO, SPI_SS &gt;</h3>
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00026">26</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00031">31</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2> </div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad26219fa147c50cd1cac105a235ee997"></a> <a class="anchor" id="ad26219fa147c50cd1cac105a235ee997"></a>
<div class="memitem"> <div class="memitem">
@ -128,7 +128,7 @@ template&lt;typename CLK , typename MOSI , typename MISO , typename SPI_SS &gt;
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="usbhost_8h_source.html#l00029">29</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p> <p>Definition at line <a class="el" href="usbhost_8h_source.html#l00047">47</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div> </div>
</div> </div>

View file

@ -482,7 +482,7 @@ Public Member Functions</h2></td></tr>
<p>defined(USB_METHODS_INLINE) </p> <p>defined(USB_METHODS_INLINE) </p>
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00756">756</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00759">759</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -528,7 +528,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00761">761</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00764">764</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -568,7 +568,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00767">767</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00770">770</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -620,7 +620,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00785">785</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00788">788</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -654,7 +654,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00790">790</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00793">793</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -688,7 +688,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00795">795</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00798">798</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -964,7 +964,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00647">647</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00650">650</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>
@ -982,7 +982,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00741">741</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p> <p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00744">744</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
</div> </div>
</div> </div>

View file

@ -161,7 +161,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_bulk_only.html#a51870da9badc037166b86da60bcda6ea">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#ab2b2e257556e3d59f9258dd84d6f636e">USBHub</a>, <a class="el" href="class_h_i_d_boot.html#aa30d7cf292378153f41d8a13380c6119">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">BTD</a>, <a class="el" href="class_a_c_m.html#ad3210651d58c77d3ded4b4b83a9476b7">ACM</a>, <a class="el" href="class_p_l2303.html#a23c849fb504c1fe6f46c84d04c0a47cf">PL2303</a>, <a class="el" href="class_f_t_d_i.html#a2d40115414dadfee8c284e0f5d397621">FTDI</a>, <a class="el" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">XBOXRECV</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#a384b0e219f763e2d6407636bfd4ccea7">HIDUniversal</a>.</p> <p>Reimplemented in <a class="el" href="class_bulk_only.html#a51870da9badc037166b86da60bcda6ea">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#ab2b2e257556e3d59f9258dd84d6f636e">USBHub</a>, <a class="el" href="class_h_i_d_boot.html#aa30d7cf292378153f41d8a13380c6119">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">BTD</a>, <a class="el" href="class_a_c_m.html#ad3210651d58c77d3ded4b4b83a9476b7">ACM</a>, <a class="el" href="class_p_l2303.html#a23c849fb504c1fe6f46c84d04c0a47cf">PL2303</a>, <a class="el" href="class_f_t_d_i.html#a2d40115414dadfee8c284e0f5d397621">FTDI</a>, <a class="el" href="class_a_d_k.html#a8c5c2e212c748966ccd863499d202063">ADK</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">XBOXRECV</a>, <a class="el" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#a384b0e219f763e2d6407636bfd4ccea7">HIDUniversal</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00107">107</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00107">107</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
@ -205,7 +205,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_bulk_only.html#aa8fe167a7af12dce9964fa5a430c53ea">BulkOnly</a>, <a class="el" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">BTD</a>, and <a class="el" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK</a>.</p> <p>Reimplemented in <a class="el" href="class_bulk_only.html#aa8fe167a7af12dce9964fa5a430c53ea">BulkOnly</a>, <a class="el" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">BTD</a>, <a class="el" href="class_a_d_k.html#a14f24ca8246c5b6126a5aa72cf6ee120">ADK</a>, and <a class="el" href="class_x_b_o_x_r_e_c_v.html#a3dd42b9a1351f172fc6e39df2fe99398">XBOXRECV</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00108">108</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00108">108</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
@ -232,7 +232,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#a3f0631a3bb6018319107af2fa2373fab">USBHub</a>, <a class="el" href="class_h_i_d_boot.html#aa21946ce7a4531c036180b5de2941502">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">BTD</a>, <a class="el" href="class_a_c_m.html#a768c0fd4ef7f5c52de9e5e7431685279">ACM</a>, <a class="el" href="class_f_t_d_i.html#aadee262e2eda31deda790d5d10090b6f">FTDI</a>, <a class="el" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">XBOXRECV</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#af999fc50ef4b5dec0391bda79ec83bda">HIDUniversal</a>.</p> <p>Reimplemented in <a class="el" href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#a3f0631a3bb6018319107af2fa2373fab">USBHub</a>, <a class="el" href="class_h_i_d_boot.html#aa21946ce7a4531c036180b5de2941502">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">BTD</a>, <a class="el" href="class_a_c_m.html#a768c0fd4ef7f5c52de9e5e7431685279">ACM</a>, <a class="el" href="class_f_t_d_i.html#aadee262e2eda31deda790d5d10090b6f">FTDI</a>, <a class="el" href="class_a_d_k.html#a7f64af34d7890f87ceab5d144f6c26ef">ADK</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">XBOXRECV</a>, <a class="el" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#af999fc50ef4b5dec0391bda79ec83bda">HIDUniversal</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00109">109</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00109">109</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
@ -259,7 +259,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#ae2d621225444f3186792617cecffbb1b">USBHub</a>, <a class="el" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">BTD</a>, <a class="el" href="class_h_i_d_boot.html#aa950fe6f7e492c2048f59c98a58ac005">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_a_c_m.html#a79e4da2cae9145d895a6a1211a96fe36">ACM</a>, <a class="el" href="class_f_t_d_i.html#a5f383dd8eb114563194da011f1d613fd">FTDI</a>, <a class="el" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">XBOXRECV</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#ac27e857a0d9619c8abc31be0b690c83c">HIDUniversal</a>.</p> <p>Reimplemented in <a class="el" href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#ae2d621225444f3186792617cecffbb1b">USBHub</a>, <a class="el" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">BTD</a>, <a class="el" href="class_h_i_d_boot.html#aa950fe6f7e492c2048f59c98a58ac005">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_a_c_m.html#a79e4da2cae9145d895a6a1211a96fe36">ACM</a>, <a class="el" href="class_f_t_d_i.html#a5f383dd8eb114563194da011f1d613fd">FTDI</a>, <a class="el" href="class_a_d_k.html#af3784434ee6a1c6f3dc5b591f467e703">ADK</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">XBOXRECV</a>, <a class="el" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#ac27e857a0d9619c8abc31be0b690c83c">HIDUniversal</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00110">110</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00110">110</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
@ -286,7 +286,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12">BulkOnly</a>, <a class="el" href="class_u_s_b_hub.html#af4052e34bdafa21db5376a3011778b99">USBHub</a>, <a class="el" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">BTD</a>, <a class="el" href="class_h_i_d_boot.html#a6fafa2711d72ff4efd6bf91984585aba">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_a_c_m.html#a7e0bb108012af9a99bb98aefca036d84">ACM</a>, <a class="el" href="class_f_t_d_i.html#ae224d7ea581e5df3b11416410a679086">FTDI</a>, <a class="el" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">PS3USB</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">XBOXRECV</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a42c870e64582980634423248d64500b4">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#ac2db53abfe0aae15d56ef65b57a2b38a">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#abcc6921b7beaf0aac2acbcdddd535626">HIDUniversal</a>.</p> <p>Reimplemented in <a class="el" href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12">BulkOnly</a>, <a class="el" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">BTD</a>, <a class="el" href="class_u_s_b_hub.html#af4052e34bdafa21db5376a3011778b99">USBHub</a>, <a class="el" href="class_h_i_d_boot.html#a6fafa2711d72ff4efd6bf91984585aba">HIDBoot&lt; BOOT_PROTOCOL &gt;</a>, <a class="el" href="class_a_c_m.html#a7e0bb108012af9a99bb98aefca036d84">ACM</a>, <a class="el" href="class_f_t_d_i.html#ae224d7ea581e5df3b11416410a679086">FTDI</a>, <a class="el" href="class_a_d_k.html#a1a972e8dc98b60ab27528db3af2618c3">ADK</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">XBOXRECV</a>, <a class="el" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">PS3USB</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#a42c870e64582980634423248d64500b4">XBOXUSB</a>, <a class="el" href="class_x_b_o_x_o_l_d.html#ac2db53abfe0aae15d56ef65b57a2b38a">XBOXOLD</a>, and <a class="el" href="class_h_i_d_universal.html#abcc6921b7beaf0aac2acbcdddd535626">HIDUniversal</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00111">111</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00111">111</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
@ -352,7 +352,7 @@ Public Member Functions</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">BTD</a>, <a class="el" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">PS3USB</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">XBOXRECV</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#aa25ae7e9161bf1f4cc03a007738a292b">XBOXUSB</a>, and <a class="el" href="class_x_b_o_x_o_l_d.html#a20c8b928ca5e7c1a758a605ec45fe2ee">XBOXOLD</a>.</p> <p>Reimplemented in <a class="el" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">BTD</a>, <a class="el" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">XBOXRECV</a>, <a class="el" href="class_a_d_k.html#a1fc7e5918fa0b5fbffdd1e488dd08427">ADK</a>, <a class="el" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a">PS3USB</a>, <a class="el" href="class_x_b_o_x_u_s_b.html#aa25ae7e9161bf1f4cc03a007738a292b">XBOXUSB</a>, and <a class="el" href="class_x_b_o_x_o_l_d.html#a20c8b928ca5e7c1a758a605ec45fe2ee">XBOXOLD</a>.</p>
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00113">113</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p> <p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00113">113</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>

View file

@ -145,19 +145,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">setLedOff</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(uint8_t value)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(LED a)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a>(BTD *p, bool pair=false)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>()</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a>(BTD *p, bool pair=false)</td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a></td><td class="entry"><a class="el" href="class_w_i_i.html">WII</a></td><td class="entry"></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -148,6 +148,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a841396b533cccccb05db37d35f6fef9c"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a841396b533cccccb05db37d35f6fef9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a> (uint8_t value)</td></tr> <tr class="memitem:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a> (uint8_t value)</td></tr>
<tr class="separator:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3eb7942181a9c9e681e18bd5c8eaef4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">setLedOff</a> ()</td></tr>
<tr class="separator:ae3eb7942181a9c9e681e18bd5c8eaef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7efe7577ba30c218f6fbd3804a53d242"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:a7efe7577ba30c218f6fbd3804a53d242"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:a7efe7577ba30c218f6fbd3804a53d242"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a7efe7577ba30c218f6fbd3804a53d242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7b9dd571c5a8597bfb194000bd517c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr> <tr class="memitem:a3a7b9dd571c5a8597bfb194000bd517c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
@ -267,7 +269,7 @@ Public Attributes</h2></td></tr>
<div class="textblock"><p>This <a class="el" href="class_bluetooth_service.html">BluetoothService</a> class implements support for the Wiimote including the Nunchuck and Motion Plus extension.</p> <div class="textblock"><p>This <a class="el" href="class_bluetooth_service.html">BluetoothService</a> class implements support for the Wiimote including the Nunchuck and Motion Plus extension.</p>
<p>It also support the Wii U Pro Controller. </p> <p>It also support the Wii U Pro Controller. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00094">94</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00092">92</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6597cb0e240a8ccb4ebdb236daef712e"></a> <a class="anchor" id="a6597cb0e240a8ccb4ebdb236daef712e"></a>
<div class="memitem"> <div class="memitem">
@ -296,7 +298,7 @@ Public Attributes</h2></td></tr>
<dl class="params"><dt>Parameters</dt><dd> <dl class="params"><dt>Parameters</dt><dd>
<table class="params"> <table class="params">
<tr><td class="paramname">p</td><td>Pointer to <a class="el" href="class_b_t_d.html">BTD</a> class instance. </td></tr> <tr><td class="paramname">p</td><td>Pointer to <a class="el" href="class_b_t_d.html">BTD</a> class instance. </td></tr>
<tr><td class="paramname">pair</td><td>Set this to true in order to pair with the Wiimote. If the argument is omitted then it won't pair with it. One can use <a class="el" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr> <tr><td class="paramname">pair</td><td>Set this to true in order to pair with the Wiimote. If the argument is omitted then it won't pair with it. One can use <a class="el" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr>
</table> </table>
</dd> </dd>
</dl> </dl>
@ -490,7 +492,7 @@ Public Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Call this to start the paring sequence with a controller </p> <p>Call this to start the paring sequence with a controller </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00133">133</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00131">131</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
@ -569,7 +571,7 @@ Public Attributes</h2></td></tr>
<p>Pitch calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p> <p>Pitch calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p>
<dl class="section return"><dt>Returns</dt><dd>Pitch in the range from 0-360. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Pitch in the range from 0-360. </dd></dl>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00154">154</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00152">152</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
@ -596,7 +598,7 @@ Public Attributes</h2></td></tr>
<p>Roll calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p> <p>Roll calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p>
<dl class="section return"><dt>Returns</dt><dd>Roll in the range from 0-360. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Roll in the range from 0-360. </dd></dl>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00164">164</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00162">162</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
@ -624,7 +626,7 @@ Public Attributes</h2></td></tr>
<p><b>NOTE:</b> This angle will drift a lot and is only available if the Motion Plus extension is connected. </p> <p><b>NOTE:</b> This angle will drift a lot and is only available if the Motion Plus extension is connected. </p>
<dl class="section return"><dt>Returns</dt><dd>The angle calculated using the gyro. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>The angle calculated using the gyro. </dd></dl>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00176">176</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p> <p>Definition at line <a class="el" href="_wii_8h_source.html#l00174">174</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
@ -723,6 +725,32 @@ Public Attributes</h2></td></tr>
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00876">876</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p> <p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00876">876</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae3eb7942181a9c9e681e18bd5c8eaef4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void WII::setLedOff </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn all LEDs off. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00193">193</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div> </div>
</div> </div>
<a class="anchor" id="a7efe7577ba30c218f6fbd3804a53d242"></a> <a class="anchor" id="a7efe7577ba30c218f6fbd3804a53d242"></a>
@ -813,9 +841,7 @@ Public Attributes</h2></td></tr>
</table> </table>
</div><div class="memdoc"> </div><div class="memdoc">
<p>This will set the LEDs, so the user can see which connections are active.</p> <p>This will set the LEDs, so the user can see which connections are active.</p>
<p>The first <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate that the Wiimote is connected,</p> <p>The first <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate that the Wiimote is connected, the second <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate indicate that a Motion Plus is also connected the third <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> will indicate that a Nunchuck controller is also connected. </p>
<p>the second <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate indicate that a Motion Plus is also connected</p>
<p>the third <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> will indicate that a Nunchuck controller is also connected. </p>
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00899">899</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p> <p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00899">899</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>

View file

@ -459,7 +459,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">getButtonClick(Button b)</a> will return a bool, but <a class="el" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">getButtonPress(Button b)</a> will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl> <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214">getButtonClick(Button b)</a> will return a bool, but <a class="el" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a">getButtonPress(Button b)</a> will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00298">298</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00299">299</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -485,7 +485,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a signed 16-bit integer. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Returns a signed 16-bit integer. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00315">315</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00314">314</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p>
</div> </div>
</div> </div>
@ -547,7 +547,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00325">325</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html#l00324">324</a> of file <a class="el" href="_x_b_o_x_o_l_d_8cpp_source.html">XBOXOLD.cpp</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -93,32 +93,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a>(void(*funcOnInit)(void))</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a>(void(*funcOnInit)(void))</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">buttonChanged</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ae78ddfff307d26b0ed35dfb75173adf7">buttonChanged</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a3dd42b9a1351f172fc6e39df2fe99398">ConfigureDevice</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(uint8_t klass)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(uint8_t klass)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#acb95505bebd1a9a3aee37097e39187f4">disconnect</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a>(AnalogHat a, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">getBatteryLevel</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a>(AnalogHat a, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">getButtonClick</a>(Button b, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aaa7a0d0861b8303a4b1654684d185b4f">getBatteryLevel</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">getButtonPress</a>(Button b, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a163310ab5d09b8192bebf57b4db9131f">getButtonClick</a>(Button b, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a14f355acaf2cfad072c0c7c139a3e1b2">getButtonPress</a>(Button b, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, bool lowspeed)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>()</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port)</td><td class="entry"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">setLedBlink</a>(LED l, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">setLedMode</a>(LEDMode lm, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad66796b66d332bfa1cb57b4ba76cb0fc">setLedBlink</a>(LED l, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#abb75b732b431a29b6fef0fd7c895f41b">setLedMode</a>(LEDMode lm, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">setLedOn</a>(LED l, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a741fda8096331cf86cf8534b04373b4a">setLedOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(uint8_t value, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a4ab056654c97c054aebb683cac95e21b">setLedOn</a>(LED l, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a7986a3cf050bd91c7fed44a7e7eac125">setLedRaw</a>(uint8_t value, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(uint8_t lValue, uint8_t rValue, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a>(uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">VIDPIDOK</a>(uint16_t vid, uint16_t pid)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#addf7c0dcfbdb025f2283dcd118b5ab76">setRumbleOn</a>(uint8_t lValue, uint8_t rValue, uint8_t controller=0)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a3881c65a52835e2eb824af1bde0a4192">VIDPIDOK</a>(uint16_t vid, uint16_t pid)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(USB *pUsb)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a></td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(USB *pUsb)</td><td class="entry"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td><td class="entry"></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View file

@ -114,6 +114,8 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ac856259af28db351f85302b5eddabf1d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a> (<a class="el" href="class_u_s_b.html">USB</a> *<a class="el" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>)</td></tr> <tr class="memitem:ac856259af28db351f85302b5eddabf1d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a> (<a class="el" href="class_u_s_b.html">USB</a> *<a class="el" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>)</td></tr>
<tr class="separator:ac856259af28db351f85302b5eddabf1d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ac856259af28db351f85302b5eddabf1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr> <tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr>
<tr class="memitem:a3dd42b9a1351f172fc6e39df2fe99398"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a3dd42b9a1351f172fc6e39df2fe99398">ConfigureDevice</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
<tr class="separator:a3dd42b9a1351f172fc6e39df2fe99398"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07de216bf16a83501d74463c00bf1fc8"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr> <tr class="memitem:a07de216bf16a83501d74463c00bf1fc8"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
<tr class="separator:a07de216bf16a83501d74463c00bf1fc8"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a07de216bf16a83501d74463c00bf1fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0e6b53a818516b7d6af0beaa8cebc7a"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a> ()</td></tr> <tr class="memitem:ad0e6b53a818516b7d6af0beaa8cebc7a"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a> ()</td></tr>
@ -133,6 +135,8 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a163310ab5d09b8192bebf57b4db9131f"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a163310ab5d09b8192bebf57b4db9131f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef2c97b6f1d6eba631477f2d6c9f6de5"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a, uint8_t controller=0)</td></tr> <tr class="memitem:aef2c97b6f1d6eba631477f2d6c9f6de5"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#aef2c97b6f1d6eba631477f2d6c9f6de5">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a, uint8_t controller=0)</td></tr>
<tr class="separator:aef2c97b6f1d6eba631477f2d6c9f6de5"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aef2c97b6f1d6eba631477f2d6c9f6de5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb95505bebd1a9a3aee37097e39187f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#acb95505bebd1a9a3aee37097e39187f4">disconnect</a> (uint8_t controller=0)</td></tr>
<tr class="separator:acb95505bebd1a9a3aee37097e39187f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad045d22c1e2f0657f72786539f418751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a> (uint8_t controller=0)</td></tr> <tr class="memitem:ad045d22c1e2f0657f72786539f418751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ad045d22c1e2f0657f72786539f418751">setAllOff</a> (uint8_t controller=0)</td></tr>
<tr class="separator:ad045d22c1e2f0657f72786539f418751"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ad045d22c1e2f0657f72786539f418751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2931e13960cde2c20adbcaf34cee84c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a> (uint8_t controller=0)</td></tr> <tr class="memitem:a2931e13960cde2c20adbcaf34cee84c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#a2931e13960cde2c20adbcaf34cee84c5">setRumbleOff</a> (uint8_t controller=0)</td></tr>
@ -156,8 +160,6 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ababaa2f28de8bf6749fe649b4e93c583"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a> (void(*funcOnInit)(void))</td></tr> <tr class="memitem:ababaa2f28de8bf6749fe649b4e93c583"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html#ababaa2f28de8bf6749fe649b4e93c583">attachOnInit</a> (void(*funcOnInit)(void))</td></tr>
<tr class="separator:ababaa2f28de8bf6749fe649b4e93c583"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ababaa2f28de8bf6749fe649b4e93c583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_u_s_b_device_config"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_s_b_device_config')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td></tr> <tr class="inherit_header pub_methods_class_u_s_b_device_config"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_s_b_device_config')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td></tr>
<tr class="memitem:aef77a1e62f78c04a1aad53e8795ec89e inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
<tr class="separator:aef77a1e62f78c04a1aad53e8795ec89e inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a> (uint8_t port)</td></tr> <tr class="memitem:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a> (uint8_t port)</td></tr>
<tr class="separator:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f13c42ed2c8e72e1f63562576ca82d2 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a> (uint8_t klass)</td></tr> <tr class="memitem:a7f13c42ed2c8e72e1f63562576ca82d2 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a> (uint8_t klass)</td></tr>
@ -211,6 +213,60 @@ Protected Attributes</h2></td></tr>
</div> </div>
</div> </div>
<h2 class="groupheader">Member Function Documentation</h2> <h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3dd42b9a1351f172fc6e39df2fe99398"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t XBOXRECV::ConfigureDevice </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>lowspeed</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Address assignment and basic initilization is done here. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>Hub number. </td></tr>
<tr><td class="paramname">port</td><td>Port number on the hub. </td></tr>
<tr><td class="paramname">lowspeed</td><td>Speed of the device. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00040">40</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a07de216bf16a83501d74463c00bf1fc8"></a> <a class="anchor" id="a07de216bf16a83501d74463c00bf1fc8"></a>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -261,7 +317,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00040">40</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00137">137</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -290,7 +346,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00256">256</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00291">291</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -319,7 +375,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00266">266</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00301">301</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -348,7 +404,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00090">90</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00098">98</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -375,7 +431,7 @@ Protected Attributes</h2></td></tr>
<p>Used to check if the controller has been initialized. </p> <p>Used to check if the controller has been initialized. </p>
<dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00098">98</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00106">106</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -422,7 +478,7 @@ Protected Attributes</h2></td></tr>
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p> <p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00108">108</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00116">116</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -461,7 +517,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>getButtonClick(uint8_t controller, Button b) will return a bool, but getButtonPress(uint8_t controller, Button b) will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>getButtonClick(uint8_t controller, Button b) will return a bool, but getButtonPress(uint8_t controller, Button b) will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00383">383</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00418">418</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -500,7 +556,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>getButtonClick(uint8_t controller, Button b) will return a bool, but getButtonPress(uint8_t controller, Button b) will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>getButtonClick(uint8_t controller, Button b) will return a bool, but getButtonPress(uint8_t controller, Button b) will return a byte if reading <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a> or <a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00391">391</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00426">426</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -537,7 +593,32 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a signed 16-bit integer. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Returns a signed 16-bit integer. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00411">411</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00446">446</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="acb95505bebd1a9a3aee37097e39187f4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XBOXRECV::disconnect </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>controller</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to disconnect any of the controllers. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">controller</td><td>The controller to disconnect. Default to 0. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00497">497</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -570,7 +651,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00143">143</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00157">157</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -603,7 +684,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00152">152</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00166">166</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -646,7 +727,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00512">512</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00554">554</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -682,7 +763,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00464">464</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00506">506</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -715,7 +796,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00175">175</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00189">189</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -751,7 +832,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00473">473</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00515">515</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -787,7 +868,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00478">478</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00520">520</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -823,7 +904,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00482">482</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00524">524</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -849,7 +930,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the battery level as an integer in the range of 0-3. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Returns the battery level as an integer in the range of 0-3. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00440">440</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00475">475</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -875,7 +956,7 @@ Protected Attributes</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>True if a button has changed. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>True if a button has changed. </dd></dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00415">415</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00450">450</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
</div> </div>
</div> </div>
@ -908,7 +989,7 @@ Protected Attributes</h2></td></tr>
</dd> </dd>
</dl> </dl>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00213">213</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00227">227</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -924,7 +1005,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>True if a wireless receiver is connected. </p> <p>True if a wireless receiver is connected. </p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00215">215</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00229">229</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -939,7 +1020,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Variable used to indicate if the XBOX 360 controller is successfully connected. </p> <p>Variable used to indicate if the XBOX 360 controller is successfully connected. </p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00221">221</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00235">235</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -962,7 +1043,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p> <p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00225">225</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00239">239</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -985,7 +1066,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Device address. </p> <p>Device address. </p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00227">227</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00241">241</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>
@ -1008,7 +1089,7 @@ Protected Attributes</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>Endpoint info structure. </p> <p>Endpoint info structure. </p>
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00229">229</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p> <p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00243">243</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -90,47 +90,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_F">F</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_K">K</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_P">P</a>&#160;|&#160;<a class="qindex" href="#letter_R">R</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_U">U</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a>&#160;|&#160;<a class="qindex" href="#letter_X">X</a></div> <div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_F">F</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_K">K</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_P">P</a>&#160;|&#160;<a class="qindex" href="#letter_R">R</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_U">U</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a>&#160;|&#160;<a class="qindex" href="#letter_X">X</a></div>
<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0"> <table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
<tr><td rowspan="2" valign="bottom"><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;A&#160;&#160;</div></td></tr></table> <tr><td rowspan="2" valign="bottom"><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;A&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_c_d_c_async_oper.html">CDCAsyncOper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hub_event.html">HubEvent</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_p_s3_b_t.html">PS3BT</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" 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>&#160;&#160;&#160;</td></tr> </td><td valign="top"><a class="el" href="struct_c_d_b___l_b_a64__16.html">CDB_LBA64_16</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hub_descriptor.html">HubDescriptor</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;P&#160;&#160;</div></td></tr></table>
<tr><td valign="top"><a class="el" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html">CLASS_NOTIFICATION</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;I&#160;&#160;</div></td></tr></table> </td><td valign="top"><a class="el" href="class_u_s_b.html">USB</a>&#160;&#160;&#160;</td></tr>
</td><td valign="top"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html">USB_HID_DESCRIPTOR</a>&#160;&#160;&#160;</td></tr> <tr><td valign="top"><a class="el" href="class_c_d_c_async_oper.html">CDCAsyncOper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hub_event.html">HubEvent</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" 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>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_a_c_m.html">ACM</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_block_wrapper.html">CommandBlockWrapper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_p_t_p_list_parser.html">PTPListParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_u_s_b___i_n_t_e_r_f_a_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_INTERFACE_DESCRIPTOR</a>&#160;&#160;&#160;</td></tr> <tr><td valign="top"><a class="el" href="class_a_c_m.html">ACM</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html">CLASS_NOTIFICATION</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;I&#160;&#160;</div></td></tr></table>
<tr><td valign="top"><a class="el" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_inquiry_response.html">InquiryResponse</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;R&#160;&#160;</div></td></tr></table> </td><td valign="top"><a class="el" href="class_p_l2303.html">PL2303</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_block_wrapper.html">CommandBlockWrapper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_p_s3_b_t.html">PS3BT</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" 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>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_address_pool.html">AddressPool</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_inquiry_response.html">InquiryResponse</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_u_s_b___h_i_d___d_e_s_c_r_i_p_t_o_r.html">USB_HID_DESCRIPTOR</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_status_wrapper.html">CommandStatusWrapper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;K&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_p_t_p_list_parser.html">PTPListParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_u_s_b___i_n_t_e_r_f_a_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_INTERFACE_DESCRIPTOR</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_a_d_k.html">ADK</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_config_desc_parser.html">ConfigDescParser</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;R&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_usb_config_xtracter.html">UsbConfigXtracter</a>&#160;&#160;&#160;</td></tr> </td><td valign="top"><a class="el" href="class_usb_config_xtracter.html">UsbConfigXtracter</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_address_pool.html">AddressPool</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_command_status_wrapper.html">CommandStatusWrapper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;K&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="struct_usb_device.html">UsbDevice</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_config_desc_parser.html">ConfigDescParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_report_desc_parser.html">ReportDescParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_usb_device_address.html">UsbDeviceAddress</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_a_d_k.html">ADK</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;E&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="struct_k_b_d_i_n_f_o.html">KBDINFO</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_report_desc_parser2.html">ReportDescParser2</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a>&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;B&#160;&#160;</div></td></tr></table> <tr><td rowspan="2" valign="bottom"><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;B&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="struct_k_b_d_l_e_d_s.html">KBDLEDS</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_report_desc_parser_base.html">ReportDescParserBase</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_hub.html">USBHub</a>&#160;&#160;&#160;</td></tr> </td><td rowspan="2" valign="bottom"><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;E&#160;&#160;</div></td></tr></table>
<tr><td valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_keyboard_report_parser.html">KeyboardReportParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_request_sense_responce.html">RequestSenseResponce</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a>&#160;&#160;&#160;</td></tr> </td><td valign="top"><a class="el" href="struct_k_b_d_i_n_f_o.html">KBDINFO</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_usb_device.html">UsbDevice</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_b_a_s_i_c_c_d_b.html">BASICCDB</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;F&#160;&#160;</div></td></tr></table> <tr><td valign="top"><a class="el" href="struct_k_b_d_l_e_d_s.html">KBDLEDS</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_report_desc_parser.html">ReportDescParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_usb_device_address.html">UsbDeviceAddress</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_b_a_s_i_c_c_d_b.html">BASICCDB</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_keyboard_report_parser.html">KeyboardReportParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_report_desc_parser2.html">ReportDescParser2</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_bluetooth_service.html">BluetoothService</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;F&#160;&#160;</div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;L&#160;&#160;</div></td></tr></table> </td><td rowspan="2" valign="bottom"><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;L&#160;&#160;</div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;S&#160;&#160;</div></td></tr></table> </td><td valign="top"><a class="el" href="class_report_desc_parser_base.html">ReportDescParserBase</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_hub.html">USBHub</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_b_t_d.html">BTD</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_request_sense_responce.html">RequestSenseResponce</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_b_t_h_i_d.html">BTHID</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_f_t_d_i.html">FTDI</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;S&#160;&#160;</div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_W"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;W&#160;&#160;</div></td></tr></table> </td><td rowspan="2" valign="bottom"><a name="letter_W"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;W&#160;&#160;</div></td></tr></table>
</td></tr> </td></tr>
<tr><td valign="top"><a class="el" href="class_bluetooth_service.html">BluetoothService</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_b_t_d.html">BTD</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_f_t_d_i.html">FTDI</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_w_i_i.html">WII</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_bulk_only.html">BulkOnly</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_f_t_d_i_async_oper.html">FTDIAsyncOper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;M&#160;&#160;</div></td></tr></table> <tr><td valign="top"><a class="el" href="class_bulk_only.html">BulkOnly</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_f_t_d_i_async_oper.html">FTDIAsyncOper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;M&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_s_pi.html">SPi</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_X"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;X&#160;&#160;</div></td></tr></table>
</td></tr> </td></tr>
<tr><td valign="top"><a class="el" href="class_byte_skipper.html">ByteSkipper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;H&#160;&#160;</div></td></tr></table> <tr><td valign="top"><a class="el" href="class_byte_skipper.html">ByteSkipper</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;H&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_s_p_p.html">SPP</a>&#160;&#160;&#160;</td></tr> </td><td valign="top"><a class="el" href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_w_i_i.html">WII</a>&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;C&#160;&#160;</div></td></tr></table> <tr><td rowspan="2" valign="bottom"><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;C&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="struct_main_item_i_o_feature.html">MainItemIOFeature</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_T"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;T&#160;&#160;</div></td></tr></table> </td><td valign="top"><a class="el" href="struct_main_item_i_o_feature.html">MainItemIOFeature</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_s_pi.html">SPi</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_X"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;X&#160;&#160;</div></td></tr></table>
</td></tr>
<tr><td valign="top"><a class="el" href="class_hex_dumper.html">HexDumper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_s_p_p.html">SPP</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html">CALL_MGMNT_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d.html">HID</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_max___l_c_d.html">Max_LCD</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_T"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;T&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="class_x_b_o_x_o_l_d.html">XBOXOLD</a>&#160;&#160;&#160;</td></tr> </td><td valign="top"><a class="el" href="class_x_b_o_x_o_l_d.html">XBOXOLD</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="class_hex_dumper.html">HexDumper</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a>&#160;&#160;&#160;</td></tr> <tr><td valign="top"><a class="el" href="struct_capacity.html">Capacity</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_h_i_d___c_l_a_s_s___d_e_s_c_r_i_p_t_o_r___l_e_n___a_n_d___t_y_p_e.html">HID_CLASS_DESCRIPTOR_LEN_AND_TYPE</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_m_o_d_i_f_i_e_r_k_e_y_s.html">MODIFIERKEYS</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html">CALL_MGMNT_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d.html">HID</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_max___l_c_d.html">Max_LCD</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html">TEL_RINGER_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_x_b_o_x_u_s_b.html">XBOXUSB</a>&#160;&#160;&#160;</td></tr> <tr><td valign="top"><a class="el" href="struct_c_d_b10.html">CDB10</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_boot.html">HIDBoot</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_m_o_u_s_e_i_n_f_o.html">MOUSEINFO</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html">TEL_RINGER_FUNC_DESCR</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_x_b_o_x_u_s_b.html">XBOXUSB</a>&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="struct_capacity.html">Capacity</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_h_i_d___c_l_a_s_s___d_e_s_c_r_i_p_t_o_r___l_e_n___a_n_d___t_y_p_e.html">HID_CLASS_DESCRIPTOR_LEN_AND_TYPE</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_m_o_d_i_f_i_e_r_k_e_y_s.html">MODIFIERKEYS</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;U&#160;&#160;</div></td></tr></table> <tr><td valign="top"><a class="el" href="struct_c_d_b12.html">CDB12</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hid_item_prefix.html">HidItemPrefix</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_mouse_report_parser.html">MouseReportParser</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;U&#160;&#160;</div></td></tr></table>
</td><td></td></tr> </td><td></td></tr>
<tr><td valign="top"><a class="el" href="struct_c_d_b10.html">CDB10</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_boot.html">HIDBoot</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_m_o_u_s_e_i_n_f_o.html">MOUSEINFO</a>&#160;&#160;&#160;</td><td></td></tr> <tr><td valign="top"><a class="el" href="struct_c_d_b6.html">CDB6</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_multi_byte_value_parser.html">MultiByteValueParser</a>&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="struct_c_d_b12.html">CDB12</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hid_item_prefix.html">HidItemPrefix</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_mouse_report_parser.html">MouseReportParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_universal_report_parser.html">UniversalReportParser</a>&#160;&#160;&#160;</td><td></td></tr> <tr><td valign="top"><a class="el" href="struct_c_d_b___l_b_a32__16.html">CDB_LBA32_16</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_universal.html">HIDUniversal</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_multi_value_buffer.html">MultiValueBuffer</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_universal_report_parser.html">UniversalReportParser</a>&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="struct_c_d_b6.html">CDB6</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_multi_byte_value_parser.html">MultiByteValueParser</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_u_s_b.html">USB</a>&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="struct_c_d_b___l_b_a32__16.html">CDB_LBA32_16</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_h_i_d_universal.html">HIDUniversal</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_multi_value_buffer.html">MultiValueBuffer</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" 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>&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="struct_c_d_b___l_b_a64__16.html">CDB_LBA64_16</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="struct_hub_descriptor.html">HubDescriptor</a>&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;P&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>&#160;&#160;&#160;</td><td></td></tr>
<tr><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td valign="top"><a class="el" href="class_p_l2303.html">PL2303</a>&#160;&#160;&#160;</td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td></tr>
</table> </table>
<div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_F">F</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_K">K</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_P">P</a>&#160;|&#160;<a class="qindex" href="#letter_R">R</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_U">U</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a>&#160;|&#160;<a class="qindex" href="#letter_X">X</a></div> <div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_F">F</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_K">K</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_P">P</a>&#160;|&#160;<a class="qindex" href="#letter_R">R</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_U">U</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a>&#160;|&#160;<a class="qindex" href="#letter_X">X</a></div>

View file

@ -96,7 +96,7 @@ This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent"> <div class="dyncontent">
<div class="center"><img src="controller_enums_8h__dep__incl.png" border="0" usemap="#controller_enums_8hdep" alt=""/></div> <div class="center"><img src="controller_enums_8h__dep__incl.png" border="0" usemap="#controller_enums_8hdep" alt=""/></div>
<map name="controller_enums_8hdep" id="controller_enums_8hdep"> <map name="controller_enums_8hdep" id="controller_enums_8hdep">
<area shape="rect" id="node2" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="112,83,211,111"/><area shape="rect" id="node7" href="_wii_8h.html" title="Wii.h" alt="" coords="239,83,289,111"/><area shape="rect" id="node9" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="318,83,420,111"/><area shape="rect" id="node14" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="509,83,605,111"/><area shape="rect" id="node3" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="15,161,88,189"/><area shape="rect" id="node5" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="119,161,203,189"/><area shape="rect" id="node4" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,238,91,266"/><area shape="rect" id="node6" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="116,238,215,266"/><area shape="rect" id="node8" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="227,161,292,189"/><area shape="rect" id="node10" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="317,161,421,189"/><area shape="rect" id="node12" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="446,161,543,189"/><area shape="rect" id="node11" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="303,238,421,266"/><area shape="rect" id="node13" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="446,238,556,266"/><area shape="rect" id="node15" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="567,161,677,189"/></map> <area shape="rect" id="node2" href="_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="60,83,132,111"/><area shape="rect" id="node4" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="205,83,304,111"/><area shape="rect" id="node9" href="_wii_8h.html" title="Wii.h" alt="" coords="328,83,379,111"/><area shape="rect" id="node11" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="412,83,513,111"/><area shape="rect" id="node16" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="602,83,699,111"/><area shape="rect" id="node3" href="_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="5,161,91,189"/><area shape="rect" id="node5" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="115,161,188,189"/><area shape="rect" id="node7" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="212,161,296,189"/><area shape="rect" id="node6" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="102,238,188,266"/><area shape="rect" id="node8" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="213,238,312,266"/><area shape="rect" id="node10" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="321,161,385,189"/><area shape="rect" id="node12" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="410,161,515,189"/><area shape="rect" id="node14" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="540,161,636,189"/><area shape="rect" id="node13" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="396,238,515,266"/><area shape="rect" id="node15" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="539,238,649,266"/><area shape="rect" id="node17" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="660,161,771,189"/></map>
</div> </div>
</div> </div>
<p><a href="controller_enums_8h_source.html">Go to the source code of this file.</a></p> <p><a href="controller_enums_8h_source.html">Go to the source code of this file.</a></p>

View file

@ -1,16 +1,18 @@
<map id="controllerEnums.h" name="controllerEnums.h"> <map id="controllerEnums.h" name="controllerEnums.h">
<area shape="rect" id="node2" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="112,83,211,111"/> <area shape="rect" id="node2" href="$_b_t_h_i_d_8h.html" title="BTHID.h" alt="" coords="60,83,132,111"/>
<area shape="rect" id="node7" href="$_wii_8h.html" title="Wii.h" alt="" coords="239,83,289,111"/> <area shape="rect" id="node4" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="205,83,304,111"/>
<area shape="rect" id="node9" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="318,83,420,111"/> <area shape="rect" id="node9" href="$_wii_8h.html" title="Wii.h" alt="" coords="328,83,379,111"/>
<area shape="rect" id="node14" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="509,83,605,111"/> <area shape="rect" id="node11" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="412,83,513,111"/>
<area shape="rect" id="node3" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="15,161,88,189"/> <area shape="rect" id="node16" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="602,83,699,111"/>
<area shape="rect" id="node5" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="119,161,203,189"/> <area shape="rect" id="node3" href="$_b_t_h_i_d_8cpp.html" title="BTHID.cpp" alt="" coords="5,161,91,189"/>
<area shape="rect" id="node4" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,238,91,266"/> <area shape="rect" id="node5" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="115,161,188,189"/>
<area shape="rect" id="node6" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="116,238,215,266"/> <area shape="rect" id="node7" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="212,161,296,189"/>
<area shape="rect" id="node8" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="227,161,292,189"/> <area shape="rect" id="node6" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="102,238,188,266"/>
<area shape="rect" id="node10" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="317,161,421,189"/> <area shape="rect" id="node8" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="213,238,312,266"/>
<area shape="rect" id="node12" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="446,161,543,189"/> <area shape="rect" id="node10" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="321,161,385,189"/>
<area shape="rect" id="node11" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="303,238,421,266"/> <area shape="rect" id="node12" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="410,161,515,189"/>
<area shape="rect" id="node13" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="446,238,556,266"/> <area shape="rect" id="node14" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="540,161,636,189"/>
<area shape="rect" id="node15" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="567,161,677,189"/> <area shape="rect" id="node13" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="396,238,515,266"/>
<area shape="rect" id="node15" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="539,238,649,266"/>
<area shape="rect" id="node17" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="660,161,771,189"/>
</map> </map>

Some files were not shown because too many files have changed in this diff Show more