Generated documentation
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: BTD.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -95,7 +95,7 @@ Include dependency graph for BTD.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_b_t_d_8cpp__incl.png" border="0" usemap="#_b_t_d_8cpp" alt=""/></div>
|
||||
<map name="_b_t_d_8cpp" id="_b_t_d_8cpp">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="356,283,412,304"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="735,283,796,304"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/></map>
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="12,83,71,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="13,161,69,189"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_b_t_d_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -104,7 +104,7 @@ Include dependency graph for BTD.cpp:</div>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
<map id="BTD.cpp" name="BTD.cpp">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="356,283,412,304"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="735,283,796,304"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/>
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="12,83,71,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="13,161,69,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
7529ebe55f58a22e586d9e98f0041b93
|
||||
c765cc95de530749422030983e73bab2
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 3.9 KiB |
183
_b_t_d_8h.html
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: BTD.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -93,20 +93,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="confdescparser_8h_source.html">confdescparser.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for BTD.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_b_t_d_8h__incl.png" border="0" usemap="#_b_t_d_8h" alt=""/></div>
|
||||
<map name="_b_t_d_8h" id="_b_t_d_8h">
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="330,144,372,165"/><area shape="rect" id="node18" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,75,771,96"/><area shape="rect" id="node5" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,283,88,304"/><area shape="rect" id="node7" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,283,351,304"/><area shape="rect" id="node8" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,213,208,235"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,283,559,304"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="356,213,412,235"/><area shape="rect" id="node14" href="message_8h.html" title="message.h" alt="" coords="735,213,796,235"/><area shape="rect" id="node16" href="printhex_8h.html" title="printhex.h" alt="" coords="737,352,794,373"/><area shape="rect" id="node17" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,283,796,304"/><area shape="rect" id="node19" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,144,832,165"/></map>
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="7,83,63,111"/></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_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">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,75,59,96"/><area shape="rect" id="node3" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="83,75,137,96"/><area shape="rect" id="node5" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="163,75,208,96"/><area shape="rect" id="node7" href="_wii_8h.html" title="Wii.h" alt="" coords="236,75,276,96"/><area shape="rect" id="node4" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="71,144,133,165"/><area shape="rect" id="node6" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="159,144,212,165"/><area shape="rect" id="node8" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="236,144,284,165"/></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="_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>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_b_t_d_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -304,7 +303,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00025">25</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#l00024">24</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -318,7 +317,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00026">26</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#l00025">25</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -332,7 +331,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00027">27</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#l00026">26</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -346,7 +345,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00028">28</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#l00027">27</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -360,7 +359,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00030">30</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#l00029">29</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -374,7 +373,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00031">31</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#l00030">30</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -388,7 +387,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00034">34</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#l00033">33</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -402,7 +401,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00037">37</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#l00036">36</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -416,7 +415,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00039">39</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#l00038">38</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -430,7 +429,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00040">40</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#l00039">39</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -444,7 +443,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00043">43</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#l00042">42</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -458,7 +457,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00044">44</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#l00043">43</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -472,7 +471,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00045">45</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#l00044">44</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -486,7 +485,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00046">46</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#l00045">45</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -500,7 +499,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00047">47</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#l00046">46</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -514,7 +513,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00048">48</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#l00047">47</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -528,7 +527,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00049">49</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#l00048">48</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -542,7 +541,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00051">51</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#l00050">50</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -556,7 +555,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00052">52</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#l00051">51</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -570,7 +569,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00053">53</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#l00052">52</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -584,7 +583,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00055">55</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#l00054">54</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -598,7 +597,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00056">56</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#l00055">55</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -612,7 +611,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00057">57</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#l00056">56</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -626,7 +625,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00058">58</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#l00057">57</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -640,7 +639,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00059">59</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#l00058">58</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -654,7 +653,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00060">60</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#l00059">59</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -668,7 +667,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00061">61</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#l00060">60</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -682,7 +681,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00064">64</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#l00063">63</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -696,7 +695,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00065">65</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#l00064">64</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -710,7 +709,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00066">66</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#l00065">65</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -724,7 +723,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00067">67</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#l00066">66</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -738,7 +737,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00068">68</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#l00067">67</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -752,7 +751,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00069">69</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#l00068">68</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -766,7 +765,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00070">70</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#l00069">69</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -780,7 +779,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00071">71</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#l00070">70</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -794,7 +793,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00072">72</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#l00071">71</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -808,7 +807,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00075">75</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#l00074">74</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -822,7 +821,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00076">76</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#l00075">75</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -836,7 +835,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00077">77</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#l00076">76</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -850,7 +849,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00078">78</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#l00077">77</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -864,7 +863,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00079">79</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#l00078">78</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -878,7 +877,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00080">80</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#l00079">79</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -892,7 +891,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00081">81</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#l00080">80</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -906,7 +905,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00082">82</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#l00081">81</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -920,7 +919,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00083">83</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#l00082">82</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -934,7 +933,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00086">86</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#l00085">85</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -948,7 +947,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00087">87</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#l00086">86</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -962,7 +961,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00088">88</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#l00087">87</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -976,7 +975,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00089">89</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#l00088">88</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -990,7 +989,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00090">90</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#l00089">89</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1004,7 +1003,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00091">91</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#l00090">90</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1018,7 +1017,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00092">92</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#l00091">91</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1032,7 +1031,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00093">93</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#l00092">92</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1046,7 +1045,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00094">94</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#l00093">93</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1060,7 +1059,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00095">95</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#l00094">94</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1074,7 +1073,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00096">96</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#l00095">95</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1088,7 +1087,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00097">97</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#l00096">96</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1102,7 +1101,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00098">98</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#l00097">97</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1116,7 +1115,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00099">99</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#l00098">98</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1130,7 +1129,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00100">100</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#l00099">99</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1144,7 +1143,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00101">101</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#l00100">100</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1158,7 +1157,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00102">102</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#l00101">101</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1172,7 +1171,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00103">103</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#l00102">102</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1186,7 +1185,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00104">104</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#l00103">103</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1200,7 +1199,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00105">105</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#l00104">104</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1214,7 +1213,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00106">106</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#l00105">105</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1228,7 +1227,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00107">107</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#l00106">106</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1242,7 +1241,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00110">110</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#l00109">109</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1256,7 +1255,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00111">111</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#l00110">110</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1270,7 +1269,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00112">112</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#l00111">111</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1284,7 +1283,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00113">113</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#l00112">112</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1298,7 +1297,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00114">114</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#l00113">113</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1312,7 +1311,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00115">115</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#l00114">114</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1326,7 +1325,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00116">116</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#l00115">115</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1340,7 +1339,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00117">117</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#l00116">116</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1354,7 +1353,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00118">118</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#l00117">117</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1368,7 +1367,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00121">121</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#l00120">120</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1382,7 +1381,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00122">122</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#l00121">121</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1396,7 +1395,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00125">125</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#l00124">124</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1410,7 +1409,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00126">126</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#l00125">125</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1424,7 +1423,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00127">127</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#l00126">126</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1438,7 +1437,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00128">128</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#l00127">127</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1452,7 +1451,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00131">131</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#l00130">130</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1466,7 +1465,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00132">132</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#l00131">131</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1480,7 +1479,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<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#l00133">133</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1494,7 +1493,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00135">135</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>
|
||||
|
@ -1503,7 +1502,7 @@ Macros</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<map id="BTD.h" name="BTD.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="5,75,59,96"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="83,75,137,96"/>
|
||||
<area shape="rect" id="node5" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="163,75,208,96"/>
|
||||
<area shape="rect" id="node7" href="$_wii_8h.html" title="Wii.h" alt="" coords="236,75,276,96"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="71,144,133,165"/>
|
||||
<area shape="rect" id="node6" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="159,144,212,165"/>
|
||||
<area shape="rect" id="node8" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="236,144,284,165"/>
|
||||
<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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
db3a4b72e92be35c9faeb952adb995de
|
||||
5aff5061ed5b75641b5314699a5d7713
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 14 KiB |
|
@ -1,13 +1,3 @@
|
|||
<map id="BTD.h" name="BTD.h">
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,144,372,165"/>
|
||||
<area shape="rect" id="node18" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,75,771,96"/>
|
||||
<area shape="rect" id="node5" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,283,88,304"/>
|
||||
<area shape="rect" id="node7" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,283,351,304"/>
|
||||
<area shape="rect" id="node8" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,213,208,235"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,283,559,304"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="356,213,412,235"/>
|
||||
<area shape="rect" id="node14" href="$message_8h.html" title="message.h" alt="" coords="735,213,796,235"/>
|
||||
<area shape="rect" id="node16" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,352,794,373"/>
|
||||
<area shape="rect" id="node17" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,283,796,304"/>
|
||||
<area shape="rect" id="node19" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,144,832,165"/>
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="7,83,63,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
1d31c5e59c7113c2b9f3932602cea4ca
|
||||
6a148ecdc8a7fa65c24885517e9426dd
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: BTD.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -110,269 +110,362 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _btd_h_</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="confdescparser_8h.html">confdescparser.h</a>"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">//PID and VID of the Sony PS3 devices</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514"> 25</a></span> <span class="preprocessor">#define PS3_VID 0x054C // Sony Corporation</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0"> 26</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3_PID 0x0268 // PS3 Controller DualShock 3</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632"> 27</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3NAVIGATION_PID 0x042F // Navigation controller</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f"> 28</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3MOVE_PID 0x03D5 // Motion controller</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d"> 30</a></span> <span class="preprocessor">#define IOGEAR_GBU521_VID 0x0A5C // The IOGEAR GBU521 dongle does not presents itself correctly, so we have to check for it manually</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad"> 31</a></span> <span class="preprocessor"></span><span class="preprocessor">#define IOGEAR_GBU521_PID 0x21E8</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/* Bluetooth dongle data taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787"> 34</a></span> <span class="preprocessor">#define BULK_MAXPKTSIZE 64 // max size for ACL data</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// Used in control endpoint header for HCI Commands</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad70df063f83bf7000558b1d73aa009e5"> 37</a></span> <span class="preprocessor">#define bmREQ_HCI_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_DEVICE</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="comment">// Used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5"> 39</a></span> <span class="preprocessor">#define bmREQ_HID_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 40</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">/* Bluetooth HCI states for hci_task() */</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac2b910cd6cc87c7bac09617815a1ee9a"> 43</a></span> <span class="preprocessor">#define HCI_INIT_STATE 0</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af3a7567dba1a0a7ed4272324d7684440"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_RESET_STATE 1</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa4e852587db5ad51c6c5cfb8e9d4f002"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CLASS_STATE 2</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a86fd72d2518d27c02c15af635b55fc8f"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_BDADDR_STATE 3</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8f1d666addd0c2bba7602fbd7a692228"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_LOCAL_VERSION_STATE 4</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_SET_NAME_STATE 5</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CHECK_WII_SERVICE 6</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e"> 51</a></span> <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="l00052"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2733141c8dae8cd14f78b11b21d58ebb"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_WII_STATE 8</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad497b58476b921e620f05791fa864f04"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_WII_STATE 9</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#acc9b6954b4bb6c19a9d25242869d5ddf"> 55</a></span> <span class="preprocessor">#define HCI_SCANNING_STATE 10</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_IN_STATE 11</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4bad48092981dffe97edb052f5ae08bd"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_REMOTE_NAME_STATE 12</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae0a16d1cc0142186a20379b5c68bd1e0"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_STATE 13</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad3500c7116f1bb564011dac09a387a5c"> 59</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DISABLE_SCAN_STATE 14</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a20fc1ebfc3da8e048f6afe53330e6b8f"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DONE_STATE 15</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a31398eae2e433d1b7b39ea3d6d07cdd0"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DISCONNECT_STATE 16</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">/* HCI event flags*/</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01"> 64</a></span> <span class="preprocessor">#define HCI_FLAG_CMD_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa05458d2a47122cd62cd0748c7e1e313"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONN_COMPLETE 0x02</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aec17e7d699b1023a0b6f675feddd7d58"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_DISCONN_COMPLETE 0x04</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a400af4b61f6e94ab821fa368d8bf2b07"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_REMOTE_NAME_COMPLETE 0x08</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a0e8a8ce5838e265c1732795bf8822043"> 68</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_INCOMING_REQUEST 0x10</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aabbf8a2ed694a2dc4d4e60fd389c44dd"> 69</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_BDADDR 0x20</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e"> 70</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_VERSION 0x40</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2"> 71</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_WII_FOUND 0x80</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3"> 72</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONNECT_EVENT 0x100</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment">/*Macros for HCI event flag tests */</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a9cc765dd92016efe6eaeff535a5193c1"> 75</a></span> <span class="preprocessor">#define hci_cmd_complete (hci_event_flag & HCI_FLAG_CMD_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae43eba7b19fa5c92de5344819b99ec61"> 76</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_connect_complete (hci_event_flag & HCI_FLAG_CONN_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae67c9cc739a52a8f4a3c28871a07bf1b"> 77</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_disconnect_complete (hci_event_flag & HCI_FLAG_DISCONN_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8f97f22fe3bc827916b8adb724b64a7f"> 78</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_remote_name_complete (hci_event_flag & HCI_FLAG_REMOTE_NAME_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aeb3a24db49f8158f85b928385e28d83a"> 79</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_incoming_connect_request (hci_event_flag & HCI_FLAG_INCOMING_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#afc5a7e103eb1301c12aa35af25cc8293"> 80</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_read_bdaddr_complete (hci_event_flag & HCI_FLAG_READ_BDADDR)</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4"> 81</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_read_version_complete (hci_event_flag & HCI_FLAG_READ_VERSION)</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa12b77df715652f4735cb6620cd595a4"> 82</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_wii_found (hci_event_flag & HCI_FLAG_WII_FOUND)</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b"> 83</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_connect_event (hci_event_flag & HCI_FLAG_CONNECT_EVENT)</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">/* HCI Events managed */</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c6ca5696adeab36258b3b0c58d804e0"> 86</a></span> <span class="preprocessor">#define EV_INQUIRY_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a335df6d48c8cac828d62196eeaff360b"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INQUIRY_RESULT 0x02</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad4bce42e1ef20447655f8916f23d07a7"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CONNECT_COMPLETE 0x03</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af6c5584636f8958689f5cd67290254e1"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INCOMING_CONNECT 0x04</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1cf7e4d4426dcabed8976b65beee0d99"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DISCONNECT_COMPLETE 0x05</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a68b8f78a0e0da80434afb1e6d40eacf4"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_AUTHENTICATION_COMPLETE 0x06</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a29c1744f72f3cd85865c8173eace5a36"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_REMOTE_NAME_COMPLETE 0x07</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa0bf5ac66c412d3415dbb753630d0e58"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ENCRYPTION_CHANGE 0x08</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a3e107e9d07793ca5cfaeea8b2181d4a4"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CHANGE_CONNECTION_LINK 0x09</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac61db50de3007a22e19e660bd7e68e69"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ROLE_CHANGED 0x12</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a0987119cfc40f3011a2cec69686034df"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_NUM_COMPLETE_PKT 0x13</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a935633384e87daa14b60549134014ec4"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PIN_CODE_REQUEST 0x16</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8c77c922bb61301760ebf5af5f1cc7f0"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_REQUEST 0x17</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8c662496af1164370e5fdf7149ecd842"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_NOTIFICATION 0x18</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a6f8b4cf8546d9928a34c9c681dc5a6d5"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DATA_BUFFER_OVERFLOW 0x1A</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2ad6543cdfe06cbf0924c287c08f36d7"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_MAX_SLOTS_CHANGE 0x1B</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a830b2a3bcb09c4802910e8b05531d317"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE 0x0C</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1b58792b76e0f216df8160bf055032c3"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_QOS_SETUP_COMPLETE 0x0D</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a81b71e0ba648260143529b04ae84e528"> 104</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_COMPLETE 0x0E</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a090ee10cc1a1c1c3bbb29a93c330d2d4"> 105</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_STATUS 0x0F</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#acd5f65703cc34b112a1f656d9a49551b"> 106</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LOOPBACK_COMMAND 0x19</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad8481acc0b144d97017f8a06d63ff47c"> 107</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PAGE_SCAN_REP_MODE 0x20</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment">/* L2CAP signaling commands */</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb"> 110</a></span> <span class="preprocessor">#define L2CAP_CMD_COMMAND_REJECT 0x01</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85"> 111</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_RESPONSE 0x03</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69"> 113</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_REQUEST 0x04</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434"> 114</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_RESPONSE 0x05</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b"> 115</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_REQUEST 0x06</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4"> 116</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_RESPONSE 0x07</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a200eb6c7c905ec74a9daf0f262af0448"> 117</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_REQUEST 0x0A</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af32d4c53927d596a8727ff232310dec1"> 118</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_RESPONSE 0x0B</span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// Used For Connection Response - Remember to Include High Byte</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc"> 121</a></span> <span class="preprocessor">#define PENDING 0x01</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93"> 122</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SUCCESSFUL 0x00</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment">/* Bluetooth L2CAP PSM - see http://www.bluetooth.org/Technical/AssignedNumbers/logical_link.htm */</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a25ce859d7ee2730e1d22d11c051ed60d"> 125</a></span> <span class="preprocessor">#define SDP_PSM 0x01 // Service Discovery Protocol PSM Value</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2924020f2e7e82fe956574538e2bc3eb"> 126</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_PSM 0x03 // RFCOMM PSM Value</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27"> 127</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_CTRL_PSM 0x11 // HID_Control PSM Value</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da"> 128</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_INTR_PSM 0x13 // HID_Interrupt PSM Value</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment">// Used to determine if it is a Bluetooth dongle</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a177fe269ddb7979d99b76d52bc281551"> 131</a></span> <span class="preprocessor">#define WI_SUBCLASS_RF 0x01 // RF Controller</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a05903a9351c5ced6b8be27b2869e62af"> 132</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WI_PROTOCOL_BT 0x01 // Bluetooth Programming Interface</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd"> 134</a></span> <span class="preprocessor">#define BTD_MAX_ENDPOINTS 4</span></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0"> 135</a></span> <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="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_bluetooth_service.html"> 138</a></span> <span class="keyword">class </span><a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <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="l00146"></a><span class="lineno"> 146</span>  <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="l00148"></a><span class="lineno"> 148</span>  <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="l00150"></a><span class="lineno"> 150</span>  <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="l00151"></a><span class="lineno"> 151</span> };</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_b_t_d.html"> 157</a></span> <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="l00158"></a><span class="lineno"> 158</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <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="l00164"></a><span class="lineno"> 164</span> </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <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="l00178"></a><span class="lineno"> 178</span>  <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="l00183"></a><span class="lineno"> 183</span>  <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="l00184"></a><span class="lineno"> 184</span> </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3"> 189</a></span>  <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="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">return</span> <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  };</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8"> 197</a></span>  <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="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  };</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e"> 205</a></span>  <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_8h.html#afce880b09049d7105f8e68ff36d9ad17">USB_CLASS_WIRELESS_CTRL</a>); }</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"><a class="code" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21"> 214</a></span>  <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="l00215"></a><span class="lineno"> 215</span>  <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>) && (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="l00216"></a><span class="lineno"> 216</span>  };</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <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="l00232"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da"> 232</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>() {</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++)</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">if</span>(btService[i])</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  btService[i]-><a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  };</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73"> 243</a></span>  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="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++) {</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordflow">if</span>(!btService[i]) {</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  btService[i] = pService;</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">return</span> i; <span class="comment">// Return ID</span></div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> -1; <span class="comment">// ErrorregisterServiceClass</span></div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  };</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <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="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">hci_reset</a>();</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <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="l00265"></a><span class="lineno"> 265</span>  <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="l00270"></a><span class="lineno"> 270</span>  <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="l00272"></a><span class="lineno"> 272</span>  <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="l00274"></a><span class="lineno"> 274</span>  <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="l00276"></a><span class="lineno"> 276</span>  <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="l00278"></a><span class="lineno"> 278</span>  <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="l00283"></a><span class="lineno"> 283</span>  <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="l00289"></a><span class="lineno"> 289</span>  <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="l00291"></a><span class="lineno"> 291</span>  <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="l00296"></a><span class="lineno"> 296</span>  <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="l00298"></a><span class="lineno"> 298</span>  <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="l00300"></a><span class="lineno"> 300</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>();</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <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="l00304"></a><span class="lineno"> 304</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>();</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <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="l00318"></a><span class="lineno"> 318</span>  <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="l00326"></a><span class="lineno"> 326</span>  <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="l00335"></a><span class="lineno"> 335</span>  <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="l00342"></a><span class="lineno"> 342</span>  <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="l00349"></a><span class="lineno"> 349</span>  <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="l00357"></a><span class="lineno"> 357</span>  <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="l00365"></a><span class="lineno"> 365</span>  <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="l00372"></a><span class="lineno"> 372</span>  <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="l00376"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737"> 376</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a>;</div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594"> 378</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"><a class="code" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590"> 380</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74"> 382</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9"> 385</a></span>  <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="l00387"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c"> 387</a></span>  <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="l00388"></a><span class="lineno"> 388</span> </div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a"> 390</a></span>  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"><a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98"> 392</a></span>  uint16_t <a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>;</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"><a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182"> 394</a></span>  uint8_t <a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a>[6];</div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e"> 396</a></span>  uint8_t <a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a>[30];</div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"><a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea"> 402</a></span>  uint8_t <a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a>;</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c"> 405</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>() {</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <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"> 407</span>  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"><a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e"> 408</a></span>  };</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <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="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee"> 412</a></span>  <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="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 414</a></span>  <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="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 416</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a>;</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583"> 418</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a>;</div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd"> 424</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>() {</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordflow">return</span> pollInterval;</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 426</a></span>  };</div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <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="l00432"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 432</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 434</a></span>  <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="l00435"></a><span class="lineno"> 435</span> </div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 437</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>;</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 439</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 441</a></span>  uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">//PID and VID of the Sony PS3 devices</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a5bb06f989db583d290ba79642d37c514"> 24</a></span> <span class="preprocessor">#define PS3_VID 0x054C // Sony Corporation</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a0ae276efa5e73a4da658c714e70402c0"> 25</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3_PID 0x0268 // PS3 Controller DualShock 3</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a54903b410722a45f8246653cd4d00632"> 26</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3NAVIGATION_PID 0x042F // Navigation controller</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#afc242b8a1b867f79c49ad78e3a47b37f"> 27</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3MOVE_PID 0x03D5 // Motion controller</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a6a28bb0589fbe2da75b238d7568d894d"> 29</a></span> <span class="preprocessor">#define IOGEAR_GBU521_VID 0x0A5C // The IOGEAR GBU521 dongle does not presents itself correctly, so we have to check for it manually</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aed4a7c4ebf618412176ef19023454fad"> 30</a></span> <span class="preprocessor"></span><span class="preprocessor">#define IOGEAR_GBU521_PID 0x21E8</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/* Bluetooth dongle data taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787"> 33</a></span> <span class="preprocessor">#define BULK_MAXPKTSIZE 64 // max size for ACL data</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Used in control endpoint header for HCI Commands</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad70df063f83bf7000558b1d73aa009e5"> 36</a></span> <span class="preprocessor">#define bmREQ_HCI_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_DEVICE</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="comment">// Used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5"> 38</a></span> <span class="preprocessor">#define bmREQ_HID_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 39</a></span> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <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> <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> <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> <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> <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> <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> <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> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CHECK_WII_SERVICE 6</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <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> <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> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_WII_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> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_WII_STATE 9</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <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> <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> <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> <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> <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> <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> <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> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <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> <span class="preprocessor">#define HCI_FLAG_CMD_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa05458d2a47122cd62cd0748c7e1e313"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONN_COMPLETE 0x02</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aec17e7d699b1023a0b6f675feddd7d58"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_DISCONN_COMPLETE 0x04</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a400af4b61f6e94ab821fa368d8bf2b07"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_REMOTE_NAME_COMPLETE 0x08</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> <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> <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> <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> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_WII_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> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">/*Macros for HCI event flag tests */</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a9cc765dd92016efe6eaeff535a5193c1"> 74</a></span> <span class="preprocessor">#define hci_cmd_complete (hci_event_flag & HCI_FLAG_CMD_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ae43eba7b19fa5c92de5344819b99ec61"> 75</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_connect_complete (hci_event_flag & HCI_FLAG_CONN_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ae67c9cc739a52a8f4a3c28871a07bf1b"> 76</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_disconnect_complete (hci_event_flag & HCI_FLAG_DISCONN_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8f97f22fe3bc827916b8adb724b64a7f"> 77</a></span> <span class="preprocessor"></span><span class="preprocessor">#define hci_remote_name_complete (hci_event_flag & HCI_FLAG_REMOTE_NAME_COMPLETE)</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> <span class="preprocessor"></span><span class="preprocessor">#define hci_incoming_connect_request (hci_event_flag & 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> <span class="preprocessor"></span><span class="preprocessor">#define hci_read_bdaddr_complete (hci_event_flag & 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> <span class="preprocessor"></span><span class="preprocessor">#define hci_read_version_complete (hci_event_flag & 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> <span class="preprocessor"></span><span class="preprocessor">#define hci_wii_found (hci_event_flag & HCI_FLAG_WII_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> <span class="preprocessor"></span><span class="preprocessor">#define hci_connect_event (hci_event_flag & HCI_FLAG_CONNECT_EVENT)</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment">/* HCI Events managed */</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a4c6ca5696adeab36258b3b0c58d804e0"> 85</a></span> <span class="preprocessor">#define EV_INQUIRY_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a335df6d48c8cac828d62196eeaff360b"> 86</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INQUIRY_RESULT 0x02</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad4bce42e1ef20447655f8916f23d07a7"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CONNECT_COMPLETE 0x03</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#af6c5584636f8958689f5cd67290254e1"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INCOMING_CONNECT 0x04</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1cf7e4d4426dcabed8976b65beee0d99"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DISCONNECT_COMPLETE 0x05</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a68b8f78a0e0da80434afb1e6d40eacf4"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_AUTHENTICATION_COMPLETE 0x06</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a29c1744f72f3cd85865c8173eace5a36"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_REMOTE_NAME_COMPLETE 0x07</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aa0bf5ac66c412d3415dbb753630d0e58"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ENCRYPTION_CHANGE 0x08</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a3e107e9d07793ca5cfaeea8b2181d4a4"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CHANGE_CONNECTION_LINK 0x09</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ac61db50de3007a22e19e660bd7e68e69"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ROLE_CHANGED 0x12</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a0987119cfc40f3011a2cec69686034df"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_NUM_COMPLETE_PKT 0x13</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a935633384e87daa14b60549134014ec4"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PIN_CODE_REQUEST 0x16</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8c77c922bb61301760ebf5af5f1cc7f0"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_REQUEST 0x17</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8c662496af1164370e5fdf7149ecd842"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_NOTIFICATION 0x18</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a6f8b4cf8546d9928a34c9c681dc5a6d5"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DATA_BUFFER_OVERFLOW 0x1A</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2ad6543cdfe06cbf0924c287c08f36d7"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_MAX_SLOTS_CHANGE 0x1B</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a830b2a3bcb09c4802910e8b05531d317"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE 0x0C</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1b58792b76e0f216df8160bf055032c3"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_QOS_SETUP_COMPLETE 0x0D</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a81b71e0ba648260143529b04ae84e528"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_COMPLETE 0x0E</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a090ee10cc1a1c1c3bbb29a93c330d2d4"> 104</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_STATUS 0x0F</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#acd5f65703cc34b112a1f656d9a49551b"> 105</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LOOPBACK_COMMAND 0x19</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ad8481acc0b144d97017f8a06d63ff47c"> 106</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PAGE_SCAN_REP_MODE 0x20</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment">/* L2CAP signaling commands */</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb"> 109</a></span> <span class="preprocessor">#define L2CAP_CMD_COMMAND_REJECT 0x01</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85"> 110</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b"> 111</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_RESPONSE 0x03</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_REQUEST 0x04</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434"> 113</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_RESPONSE 0x05</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b"> 114</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_REQUEST 0x06</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4"> 115</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_RESPONSE 0x07</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a200eb6c7c905ec74a9daf0f262af0448"> 116</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_REQUEST 0x0A</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#af32d4c53927d596a8727ff232310dec1"> 117</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_RESPONSE 0x0B</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment">// Used For Connection Response - Remember to Include High Byte</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc"> 120</a></span> <span class="preprocessor">#define PENDING 0x01</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93"> 121</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SUCCESSFUL 0x00</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment">/* Bluetooth L2CAP PSM - see http://www.bluetooth.org/Technical/AssignedNumbers/logical_link.htm */</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a25ce859d7ee2730e1d22d11c051ed60d"> 124</a></span> <span class="preprocessor">#define SDP_PSM 0x01 // Service Discovery Protocol PSM Value</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a2924020f2e7e82fe956574538e2bc3eb"> 125</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_PSM 0x03 // RFCOMM PSM Value</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27"> 126</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_CTRL_PSM 0x11 // HID_Control PSM Value</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da"> 127</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_INTR_PSM 0x13 // HID_Interrupt PSM Value</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment">// Used to determine if it is a Bluetooth dongle</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a177fe269ddb7979d99b76d52bc281551"> 130</a></span> <span class="preprocessor">#define WI_SUBCLASS_RF 0x01 // RF Controller</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="_b_t_d_8h.html#a05903a9351c5ced6b8be27b2869e62af"> 131</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WI_PROTOCOL_BT 0x01 // Bluetooth Programming Interface</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor"></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> <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> <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> <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> <span class="keyword">class </span><a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <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="l00145"></a><span class="lineno"> 145</span>  <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="l00147"></a><span class="lineno"> 147</span>  <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="l00149"></a><span class="lineno"> 149</span>  <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="l00150"></a><span class="lineno"> 150</span> };</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_b_t_d.html"> 156</a></span> <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="l00157"></a><span class="lineno"> 157</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <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="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <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="l00180"></a><span class="lineno"> 180</span>  <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="l00185"></a><span class="lineno"> 185</span>  <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="l00190"></a><span class="lineno"> 190</span>  <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="l00191"></a><span class="lineno"> 191</span> </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3"> 196</a></span>  <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="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  };</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8"> 204</a></span>  <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="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  };</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e"> 212</a></span>  <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="l00213"></a><span class="lineno"> 213</span> </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21"> 221</a></span>  <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="l00222"></a><span class="lineno"> 222</span>  <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>) && (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="l00223"></a><span class="lineno"> 223</span>  };</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <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="l00239"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da"> 239</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>() {</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++)</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">if</span>(btService[i])</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  btService[i]-><a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>();</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  };</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</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>  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="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>; i++) {</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span>(!btService[i]) {</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  btService[i] = pService;</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">return</span> i; <span class="comment">// Return ID</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  }</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">return</span> -1; <span class="comment">// ErrorregisterServiceClass</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  };</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <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="l00268"></a><span class="lineno"> 268</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">hci_reset</a>();</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <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="l00272"></a><span class="lineno"> 272</span>  <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="l00277"></a><span class="lineno"> 277</span>  <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="l00279"></a><span class="lineno"> 279</span>  <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="l00281"></a><span class="lineno"> 281</span>  <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="l00283"></a><span class="lineno"> 283</span>  <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="l00285"></a><span class="lineno"> 285</span>  <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="l00290"></a><span class="lineno"> 290</span>  <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="l00296"></a><span class="lineno"> 296</span>  <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="l00298"></a><span class="lineno"> 298</span>  <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="l00303"></a><span class="lineno"> 303</span>  <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="l00305"></a><span class="lineno"> 305</span>  <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="l00307"></a><span class="lineno"> 307</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a>();</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <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="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a>();</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <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="l00325"></a><span class="lineno"> 325</span>  <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="l00333"></a><span class="lineno"> 333</span>  <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="l00342"></a><span class="lineno"> 342</span>  <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="l00349"></a><span class="lineno"> 349</span>  <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="l00356"></a><span class="lineno"> 356</span>  <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="l00364"></a><span class="lineno"> 364</span>  <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="l00372"></a><span class="lineno"> 372</span>  <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="l00379"></a><span class="lineno"> 379</span>  <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="l00383"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737"> 383</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</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>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590"> 387</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74"> 389</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a>;</div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9"> 392</a></span>  <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="l00394"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c"> 394</a></span>  <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="l00395"></a><span class="lineno"> 395</span> </div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a"> 397</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[6];</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98"> 399</a></span>  uint16_t <a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</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>  uint8_t <a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a>[6];</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e"> 403</a></span>  uint8_t <a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a>[30];</div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea"> 409</a></span>  uint8_t <a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a>;</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c"> 412</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>() {</div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  hci_state = <a class="code" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124">HCI_CHECK_WII_SERVICE</a>;</div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e"> 415</a></span>  };</div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</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>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a>;</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 421</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a>;</div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 423</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</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>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a>;</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> </div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd"> 431</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>() {</div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keywordflow">return</span> pollInterval;</div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 433</a></span>  };</div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <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="l00439"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 439</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</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>  <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="l00442"></a><span class="lineno"> 442</span> </div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 444</a></span>  <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"><a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 446</a></span>  <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="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 448</a></span>  <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="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 450</a></span>  <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> </div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <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> </div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <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="l00460"></a><span class="lineno"> 460</span> </div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  uint8_t pollInterval;</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span> </div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="comment">/* Variables used by high level HCI task */</span></div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  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="l00468"></a><span class="lineno"> 468</span>  uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  uint8_t inquiry_counter;</div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 444</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</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>  uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 448</a></span>  uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 451</a></span>  <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="l00453"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 453</a></span>  <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="l00455"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 455</a></span>  <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="l00457"></a><span class="lineno"><a class="line" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 457</a></span>  <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="l00458"></a><span class="lineno"> 458</span> </div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <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="l00464"></a><span class="lineno"> 464</span> </div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <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="l00467"></a><span class="lineno"> 467</span>  <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="l00468"></a><span class="lineno"> 468</span> </div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  uint16_t PID, VID; <span class="comment">// PID and VID of device connected</span></div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  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="l00472"></a><span class="lineno"> 472</span>  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="l00473"></a><span class="lineno"> 473</span>  uint8_t l2capoutbuf[14]; <span class="comment">//General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
|
||||
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</span></div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> </div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
|
||||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span> };</div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  uint8_t pollInterval;</div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="comment">/* Variables used by high level HCI task */</span></div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  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"> 476</span>  uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  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="l00478"></a><span class="lineno"> 478</span>  uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  uint8_t inquiry_counter;</div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span> </div>
|
||||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  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>  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>  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> </div>
|
||||
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <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>  <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>  <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> </div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
|
||||
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> };</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span> <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#l00457">BTD.h:457</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_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="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="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="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="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_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_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="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="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_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="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_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="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="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="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="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="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_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_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_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_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_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_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_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_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="_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_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_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_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_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_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_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="_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_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_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_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="_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_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_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#l00399">BTD.h:399</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="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_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_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_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_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_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_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_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_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="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_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_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_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_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="_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="_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_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_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_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_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_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_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_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_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_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="_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_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_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_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_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_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_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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3BT.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -95,7 +95,7 @@ Include dependency graph for PS3BT.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_b_t_8cpp__incl.png" border="0" usemap="#_p_s3_b_t_8cpp" alt=""/></div>
|
||||
<map name="_p_s3_b_t_8cpp" id="_p_s3_b_t_8cpp">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="494,75,548,96"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="458,144,504,165"/><area shape="rect" id="node22" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="528,144,597,165"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="605,283,648,304"/><area shape="rect" id="node20" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="211,213,294,235"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="895,421,949,443"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="601,421,668,443"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="759,352,816,373"/><area shape="rect" id="node12" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="692,421,750,443"/><area shape="rect" id="node14" href="address_8h.html" title="address.h" alt="" coords="500,352,557,373"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="188,352,249,373"/><area shape="rect" id="node18" href="printhex_8h.html" title="printhex.h" alt="" coords="190,491,246,512"/><area shape="rect" id="node19" href="hexdump_8h.html" title="hexdump.h" alt="" coords="188,421,249,443"/><area shape="rect" id="node21" href="parsetools_8h.html" title="parsetools.h" alt="" coords="150,283,214,304"/><area shape="rect" id="node23" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="519,213,605,235"/></map>
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="54,83,127,111"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="6,161,65,189"/><area shape="rect" id="node5" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="96,161,195,189"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="5,238,61,266"/><area shape="rect" id="node6" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,238,213,266"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_b_t_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -104,7 +104,7 @@ Include dependency graph for PS3BT.cpp:</div>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,17 +1,7 @@
|
|||
<map id="PS3BT.cpp" name="PS3BT.cpp">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="494,75,548,96"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="458,144,504,165"/>
|
||||
<area shape="rect" id="node22" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="528,144,597,165"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="605,283,648,304"/>
|
||||
<area shape="rect" id="node20" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="211,213,294,235"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="895,421,949,443"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="601,421,668,443"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="759,352,816,373"/>
|
||||
<area shape="rect" id="node12" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="692,421,750,443"/>
|
||||
<area shape="rect" id="node14" href="$address_8h.html" title="address.h" alt="" coords="500,352,557,373"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="188,352,249,373"/>
|
||||
<area shape="rect" id="node18" href="$printhex_8h.html" title="printhex.h" alt="" coords="190,491,246,512"/>
|
||||
<area shape="rect" id="node19" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="188,421,249,443"/>
|
||||
<area shape="rect" id="node21" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="150,283,214,304"/>
|
||||
<area shape="rect" id="node23" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="519,213,605,235"/>
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="54,83,127,111"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="6,161,65,189"/>
|
||||
<area shape="rect" id="node5" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="96,161,195,189"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,238,61,266"/>
|
||||
<area shape="rect" id="node6" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,238,213,266"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
c9818ee4b6f8022146310289632b9ac6
|
||||
2a26709935401ef53e5fb70ac8d80eef
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 12 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3BT.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <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> <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> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7"> 23</a></span> <a class="code" href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7">PS3BT::PS3BT</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, uint8_t btadr5, uint8_t btadr4, uint8_t btadr3, uint8_t btadr2, uint8_t btadr1, uint8_t btadr0) :</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7"> 23</a></span> <a class="code" href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7">PS3BT::PS3BT</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, uint8_t btadr5, uint8_t btadr4, uint8_t btadr3, uint8_t btadr2, uint8_t btadr1, uint8_t btadr0) :</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> 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> {</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">if</span> (pBtd)</div>
|
||||
|
@ -140,30 +140,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61"> 52</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">PS3BT::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61"> 52</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">PS3BT::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">return</span> (ButtonState & pgm_read_dword(&<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]));</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> }</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9"> 56</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">PS3BT::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9"> 56</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">PS3BT::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  uint32_t button = pgm_read_dword(&<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]);</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">bool</span> click = (ButtonClickState & button);</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  ButtonClickState &= ~button; <span class="comment">// clear "click" event</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> click;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00"> 63</a></span> uint8_t <a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">PS3BT::getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a) {</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00"> 63</a></span> uint8_t <a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">PS3BT::getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a) {</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span> (l2capinbuf == NULL)</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> (uint8_t)(l2capinbuf[pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[(uint8_t)a])]);</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> }</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384"> 69</a></span> uint8_t <a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">PS3BT::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384"> 69</a></span> uint8_t <a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">PS3BT::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">if</span> (l2capinbuf == NULL)</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> (uint8_t)(l2capinbuf[(uint8_t)a + 15]);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a"> 75</a></span> int16_t <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">PS3BT::getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) {</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a"> 75</a></span> int16_t <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">PS3BT::getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) {</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">if</span> (l2capinbuf == NULL)</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>) {</div>
|
||||
|
@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60"> 94</a></span> <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">PS3BT::getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a) {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60"> 94</a></span> <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">PS3BT::getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a) {</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">double</span> accXval;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">double</span> accYval;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">double</span> accZval;</div>
|
||||
|
@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965"> 126</a></span> <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">PS3BT::get9DOFValues</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) { <span class="comment">// Thanks to Manfred Piendl</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965"> 126</a></span> <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">PS3BT::get9DOFValues</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a) { <span class="comment">// Thanks to Manfred Piendl</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (!<a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>)</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  int16_t value = <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">getSensor</a>(a);</div>
|
||||
|
@ -243,7 +243,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4"> 155</a></span> String <a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">PS3BT::getTemperature</a>() {</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4"> 155</a></span> String <a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">PS3BT::getTemperature</a>() {</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>) {</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  int16_t input = <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a>);</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
||||
|
@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Error"</span>;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6"> 170</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">PS3BT::getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c) {</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6"> 170</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">PS3BT::getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c) {</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">if</span> (l2capinbuf == NULL)</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">if</span> (l2capinbuf[(uint16_t)c >> 8] == ((uint8_t)c & 0xff))</div>
|
||||
|
@ -266,7 +266,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f"> 178</a></span> String <a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">PS3BT::getStatusString</a>() {</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f"> 178</a></span> String <a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">PS3BT::getStatusString</a>() {</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">if</span> (<a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a> || <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>) {</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">char</span> statusOutput[100];</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
|
@ -316,7 +316,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Error"</span>;</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> }</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f"> 228</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT::Reset</a>() {</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f"> 228</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT::Reset</a>() {</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a> = <span class="keyword">false</span>;</div>
|
||||
|
@ -329,14 +329,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  HIDBuffer[i + 2] = pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[i]); <span class="comment">// First two bytes reserved for report type and ID</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985"> 241</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT::disconnect</a>() { <span class="comment">// Use this void to disconnect any of the controllers</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985"> 241</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT::disconnect</a>() { <span class="comment">// Use this void to disconnect any of the controllers</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="comment">//First the HID interrupt channel has to be disconencted, then the HID control channel and finally the HCI connection</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  pBtd-><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="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>();</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  l2cap_state = <a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>;</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> }</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7"> 248</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT::ACLData</a>(uint8_t* ACLData) {</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7"> 248</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT::ACLData</a>(uint8_t* ACLData) {</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordflow">if</span> (!pBtd-><a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a> && !<a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a> && !<a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a> && !<a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a> && !activeConnection && !pBtd-><a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a> && !pBtd-><a class="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a> && !pBtd-><a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a>) {</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">if</span> (ACLData[8] == <a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85">L2CAP_CMD_CONNECTION_REQUEST</a>) {</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">if</span> ((ACLData[12] | (ACLData[13] << 8)) == <a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27">HID_CTRL_PSM</a>) {</div>
|
||||
|
@ -584,7 +584,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  }</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span> }</div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> </div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086"> 496</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT::Run</a>() {</div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086"> 496</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT::Run</a>() {</div>
|
||||
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keywordflow">switch</span> (l2cap_state) {</div>
|
||||
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="keywordflow">case</span> <a class="code" href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad">L2CAP_HID_ENABLE_SIXAXIS</a>:</div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keywordflow">if</span> (millis() - timer > 1000) { <span class="comment">// loop 1 second before sending the command</span></div>
|
||||
|
@ -650,14 +650,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  timerHID = millis();</div>
|
||||
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span> }</div>
|
||||
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span> </div>
|
||||
<div class="line"><a name="l00562"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2"> 562</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">PS3BT::setAllOff</a>() {</div>
|
||||
<div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2"> 562</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">PS3BT::setAllOff</a>() {</div>
|
||||
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  <span class="keywordflow">for</span> (uint8_t i = 0; i < <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++)</div>
|
||||
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  HIDBuffer[i + 2] = pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[i]); <span class="comment">// First two bytes reserved for report type and ID</span></div>
|
||||
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span> </div>
|
||||
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span> }</div>
|
||||
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span> </div>
|
||||
<div class="line"><a name="l00569"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e"> 569</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">PS3BT::setRumbleOff</a>() {</div>
|
||||
<div class="line"><a name="l00569"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e"> 569</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">PS3BT::setRumbleOff</a>() {</div>
|
||||
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  HIDBuffer[3] = 0x00;</div>
|
||||
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  HIDBuffer[4] = 0x00;</div>
|
||||
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  HIDBuffer[5] = 0x00;</div>
|
||||
|
@ -666,7 +666,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span> }</div>
|
||||
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span> </div>
|
||||
<div class="line"><a name="l00578"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4"> 578</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode) {</div>
|
||||
<div class="line"><a name="l00578"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4"> 578</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode) {</div>
|
||||
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  uint8_t power[2] = { 0xff, 0x00 }; <span class="comment">// Defaults to RumbleLow</span></div>
|
||||
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  <span class="keywordflow">if</span> (mode == <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a>) {</div>
|
||||
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  power[0] = 0x00;</div>
|
||||
|
@ -675,7 +675,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(0xfe, power[0], 0xfe, power[1]);</div>
|
||||
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span> }</div>
|
||||
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span> </div>
|
||||
<div class="line"><a name="l00587"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ae309556e995afc10b13dfbe4e6c32798"> 587</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower) {</div>
|
||||
<div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ae309556e995afc10b13dfbe4e6c32798"> 587</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">PS3BT::setRumbleOn</a>(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower) {</div>
|
||||
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  HIDBuffer[3] = rightDuration;</div>
|
||||
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  HIDBuffer[4] = rightPower;</div>
|
||||
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  HIDBuffer[5] = leftDuration;</div>
|
||||
|
@ -683,21 +683,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span> }</div>
|
||||
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span> </div>
|
||||
<div class="line"><a name="l00595"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb"> 595</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">PS3BT::setLedRaw</a>(uint8_t value) {</div>
|
||||
<div class="line"><a name="l00595"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb"> 595</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb">PS3BT::setLedRaw</a>(uint8_t value) {</div>
|
||||
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  HIDBuffer[11] = value << 1;</div>
|
||||
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span> }</div>
|
||||
<div class="line"><a name="l00599"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad"> 599</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">PS3BT::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00599"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad"> 599</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">PS3BT::setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  HIDBuffer[11] &= ~((uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1));</div>
|
||||
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span> }</div>
|
||||
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span> </div>
|
||||
<div class="line"><a name="l00604"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42"> 604</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">PS3BT::setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00604"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42"> 604</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">PS3BT::setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  HIDBuffer[11] |= (uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1);</div>
|
||||
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span> }</div>
|
||||
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span> </div>
|
||||
<div class="line"><a name="l00609"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61"> 609</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">PS3BT::setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61"> 609</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">PS3BT::setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a) {</div>
|
||||
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  HIDBuffer[11] ^= (uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1);</div>
|
||||
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  HID_Command(HIDBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span> }</div>
|
||||
|
@ -723,7 +723,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>  timerHID = millis();</div>
|
||||
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span> }</div>
|
||||
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> </div>
|
||||
<div class="line"><a name="l00635"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782"> 635</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::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="l00635"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782"> 635</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::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="l00636"></a><span class="lineno"> 636</span>  <span class="comment">//set the Bulb's values into the write buffer</span></div>
|
||||
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  HIDMoveBuffer[3] = r;</div>
|
||||
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>  HIDMoveBuffer[4] = g;</div>
|
||||
|
@ -732,11 +732,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  HIDMove_Command(HIDMoveBuffer, <a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>);</div>
|
||||
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span> }</div>
|
||||
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span> </div>
|
||||
<div class="line"><a name="l00644"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ae544ca1d76217d058c63d339d0701264"> 644</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::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 enum</span></div>
|
||||
<div class="line"><a name="l00644"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ae544ca1d76217d058c63d339d0701264"> 644</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">PS3BT::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 enum</span></div>
|
||||
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>((uint8_t)(color >> 16), (uint8_t)(color >> 8), (uint8_t)(color));</div>
|
||||
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span> }</div>
|
||||
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div>
|
||||
<div class="line"><a name="l00648"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689"> 648</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">PS3BT::moveSetRumble</a>(uint8_t rumble) {</div>
|
||||
<div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689"> 648</a></span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">PS3BT::moveSetRumble</a>(uint8_t rumble) {</div>
|
||||
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> <span class="preprocessor"></span> <span class="keywordflow">if</span> (rumble < 64 && 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="l00651"></a><span class="lineno"> 651</span>  <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nThe rumble value has to at least 64, or approximately 25%"</span>), 0x80);</div>
|
||||
|
@ -757,12 +757,148 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>  <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a>);</div>
|
||||
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>  }</div>
|
||||
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span> }</div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00200">PS3Enums.h:200</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="_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="_p_s3_b_t_8h_html_af693a78d3df21b24430347b804076b8e"><div class="ttname"><a href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00041">PS3BT.h:41</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_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="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="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="_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="_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_a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00163">PS3Enums.h:163</a></div></div>
|
||||
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00028">controllerEnums.h:28</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_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_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="_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"><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_a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00171">PS3Enums.h:171</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="_p_s3_b_t_8h_html_ad5c6ab585a398e53f2ee5616fe0d4346"><div class="ttname"><a href="_p_s3_b_t_8h.html#ad5c6ab585a398e53f2ee5616fe0d4346">l2cap_config_request_interrupt_flag</a></div><div class="ttdeci">#define l2cap_config_request_interrupt_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00054">PS3BT.h:54</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="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="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="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="_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_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="_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_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_a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00207">PS3Enums.h:207</a></div></div>
|
||||
<div class="ttc" id="_p_s3_b_t_8h_html_a0c004c746b90f2c8025bb1ddd20d811a"><div class="ttname"><a href="_p_s3_b_t_8h.html#a0c004c746b90f2c8025bb1ddd20d811a">L2CAP_INTERRUPT_REQUEST</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00031">PS3BT.h:31</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="_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_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_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="_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="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00196">PS3Enums.h:196</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00199">PS3Enums.h:199</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00166">PS3Enums.h:166</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_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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00169">PS3Enums.h:169</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="_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_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_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="_p_s3_b_t_8h_html_ac2fdeba844d7f2021e0aed9616aad5e4"><div class="ttname"><a href="_p_s3_b_t_8h.html#ac2fdeba844d7f2021e0aed9616aad5e4">L2CAP_INTERRUPT_SUCCESS</a></div><div class="ttdeci">#define L2CAP_INTERRUPT_SUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00032">PS3BT.h:32</a></div></div>
|
||||
<div class="ttc" id="_p_s3_b_t_8h_html_a48b27c08aa64a339eb1d358707927d3e"><div class="ttname"><a href="_p_s3_b_t_8h.html#a48b27c08aa64a339eb1d358707927d3e">l2cap_config_request_control_flag</a></div><div class="ttdeci">#define l2cap_config_request_control_flag</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00051">PS3BT.h:51</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_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="_p_s3_b_t_8h_html_ab8ff96117ba9c8f6a53c2ebbac0da33f"><div class="ttname"><a href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a></div><div class="ttdeci">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00044">PS3BT.h:44</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="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_b_t_8h_html_ad98e60fcc8acca70e545ba7c248af65a"><div class="ttname"><a href="_p_s3_b_t_8h.html#ad98e60fcc8acca70e545ba7c248af65a">L2CAP_CONTROL_REQUEST</a></div><div class="ttdeci">#define L2CAP_CONTROL_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00028">PS3BT.h:28</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_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="_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="_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_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_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="_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_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_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#l00415">BTD.h:415</a></div></div>
|
||||
<div class="ttc" id="_p_s3_b_t_8h_html"><div class="ttname"><a href="_p_s3_b_t_8h.html">PS3BT.h</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00202">PS3Enums.h:202</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="_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_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_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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00154">PS3Enums.h:154</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_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_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="_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="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="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00197">PS3Enums.h:197</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="_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="_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_a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00201">PS3Enums.h:201</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00198">PS3Enums.h:198</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="_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="_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_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_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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00173">PS3Enums.h:173</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="_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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00149">PS3Enums.h:149</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_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="_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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00152">PS3Enums.h:152</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00159">PS3Enums.h:159</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="_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="_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="_p_s3_b_t_8h_html_a8463be04d86ddc1d58f6388d5be501ad"><div class="ttname"><a href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad">L2CAP_HID_ENABLE_SIXAXIS</a></div><div class="ttdeci">#define L2CAP_HID_ENABLE_SIXAXIS</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00033">PS3BT.h:33</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00161">PS3Enums.h:161</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="_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="_p_s3_b_t_8h_html_a7e385f71ba4406d372f8210b48f5e133"><div class="ttname"><a href="_p_s3_b_t_8h.html#a7e385f71ba4406d372f8210b48f5e133">L2CAP_HID_PS3_LED</a></div><div class="ttdeci">#define L2CAP_HID_PS3_LED</div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_b_t_8h_source.html#l00034">PS3BT.h:34</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="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00156">PS3Enums.h:156</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="_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_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="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_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_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="_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="_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_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="_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_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="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="_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_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="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="_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_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  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3BT.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -99,14 +99,14 @@ Include dependency graph for PS3BT.h:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_b_t_8h__incl.png" border="0" usemap="#_p_s3_b_t_8h" alt=""/></div>
|
||||
<map name="_p_s3_b_t_8h" id="_p_s3_b_t_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="458,75,504,96"/><area shape="rect" id="node21" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="528,75,597,96"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="605,213,648,235"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="211,144,294,165"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="895,352,949,373"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="601,352,668,373"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="759,283,816,304"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="692,352,750,373"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="500,283,557,304"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="188,283,249,304"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="190,421,246,443"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="188,352,249,373"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="150,213,214,235"/><area shape="rect" id="node22" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="519,144,605,165"/></map>
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="6,83,65,111"/><area shape="rect" id="node4" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="96,83,195,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/><area shape="rect" id="node5" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,161,213,189"/></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="_p_s3_b_t_8h__dep__incl.png" border="0" usemap="#_p_s3_b_t_8hdep" alt=""/></div>
|
||||
<map name="_p_s3_b_t_8hdep" id="_p_s3_b_t_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="5,75,67,96"/></map>
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,83,91,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_b_t_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -573,7 +573,7 @@ Macros</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<map id="PS3BT.h" name="PS3BT.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="5,75,67,96"/>
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,83,91,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
e00e0e628279ee21896de46ca6209faf
|
||||
bb28c7be8b59850aa707116e8edbd78a
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 3.4 KiB |
|
@ -1,16 +1,6 @@
|
|||
<map id="PS3BT.h" name="PS3BT.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="458,75,504,96"/>
|
||||
<area shape="rect" id="node21" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="528,75,597,96"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="605,213,648,235"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="211,144,294,165"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="895,352,949,373"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="601,352,668,373"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="759,283,816,304"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="692,352,750,373"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="500,283,557,304"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="188,283,249,304"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="190,421,246,443"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="188,352,249,373"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="150,213,214,235"/>
|
||||
<area shape="rect" id="node22" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="519,144,605,165"/>
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="6,83,65,111"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="96,83,195,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/>
|
||||
<area shape="rect" id="node5" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,161,213,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
45e2d4cdf7248be76137773969f87724
|
||||
a835b66fa43df95b77c40211831fd028
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 9.8 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3BT.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -112,42 +112,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_b_t_d_8h.html">BTD.h</a>"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="_p_s3_enums_8h.html">PS3Enums.h</a>"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e"> 24</a></span> <span class="preprocessor">#define HID_BUFFERSIZE 50 // Size of the buffer for the Playstation Motion Controller</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e"> 24</a></span> <span class="preprocessor">#define HID_BUFFERSIZE 50 // Size of the buffer for the Playstation Motion Controller</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 27</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ad98e60fcc8acca70e545ba7c248af65a"> 28</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 29</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 30</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 3</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a0c004c746b90f2c8025bb1ddd20d811a"> 31</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ac2fdeba844d7f2021e0aed9616aad5e4"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SUCCESS 5</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_ENABLE_SIXAXIS 6</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a7e385f71ba4406d372f8210b48f5e133"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_PS3_LED 7</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 35</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 8</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 36</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 9</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 37</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 10</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 27</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ad98e60fcc8acca70e545ba7c248af65a"> 28</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 29</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 30</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 3</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a0c004c746b90f2c8025bb1ddd20d811a"> 31</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ac2fdeba844d7f2021e0aed9616aad5e4"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SUCCESS 5</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_ENABLE_SIXAXIS 6</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a7e385f71ba4406d372f8210b48f5e133"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_PS3_LED 7</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 35</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 8</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 36</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 9</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 37</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 10</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">/* L2CAP event flags */</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 40</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x01</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x04</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x08</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST 0x10</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x20</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x40</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x80</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 40</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x01</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x04</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x08</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST 0x10</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x20</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x40</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x80</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">/*Macros for L2CAP event flag tests */</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 50</a></span> <span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a48b27c08aa64a339eb1d358707927d3e"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ad5c6ab585a398e53f2ee5616fe0d4346"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 50</a></span> <span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a48b27c08aa64a339eb1d358707927d3e"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#ad5c6ab585a398e53f2ee5616fe0d4346"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html"> 65</a></span> <span class="keyword">class </span><a class="code" href="class_p_s3_b_t.html">PS3BT</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html"> 65</a></span> <span class="keyword">class </span><a class="code" href="class_p_s3_b_t.html">PS3BT</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7">PS3BT</a>(<a class="code" href="class_b_t_d.html">BTD</a> *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="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
|
@ -180,12 +180,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <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="l00209"></a><span class="lineno"> 209</span>  <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="l00210"></a><span class="lineno"> 210</span> </div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c"> 215</a></span>  <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="l00215"></a><span class="lineno"><a class="line" href="class_p_s3_b_t.html#a11a7a031b249e09c39aa0872fa1e4a6c"> 215</a></span>  <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="l00216"></a><span class="lineno"> 216</span>  pFuncOnInit = funcOnInit;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 217</a></span>  };</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>  };</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 223</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 225</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</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>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</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>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="comment">/* Mandatory members */</span></div>
|
||||
|
@ -231,12 +231,55 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <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="l00274"></a><span class="lineno"> 274</span> };</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <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#l00069">PS3BT.cpp:69</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_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_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_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_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="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_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_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_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_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="_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="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="_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="_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="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="_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_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_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_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_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="_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="_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="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_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_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="_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_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="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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3Enums.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -99,14 +99,14 @@ Include dependency graph for PS3Enums.h:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_enums_8h__incl.png" border="0" usemap="#_p_s3_enums_8h" alt=""/></div>
|
||||
<map name="_p_s3_enums_8h" id="_p_s3_enums_8h">
|
||||
<area shape="rect" id="node2" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="5,75,91,96"/></map>
|
||||
<area shape="rect" id="node2" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="5,83,133,111"/></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="_p_s3_enums_8h__dep__incl.png" border="0" usemap="#_p_s3_enums_8hdep" alt=""/></div>
|
||||
<map name="_p_s3_enums_8hdep" id="_p_s3_enums_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="11,75,65,96"/><area shape="rect" id="node4" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="94,75,153,96"/><area shape="rect" id="node3" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="5,144,67,165"/><area shape="rect" id="node5" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="92,144,161,165"/></map>
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="15,83,88,111"/><area shape="rect" id="node4" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="119,83,203,111"/><area shape="rect" id="node3" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,161,91,189"/><area shape="rect" id="node5" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="116,161,215,189"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_enums_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -569,7 +569,7 @@ Variables</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<map id="PS3Enums.h" name="PS3Enums.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="11,75,65,96"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="94,75,153,96"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="5,144,67,165"/>
|
||||
<area shape="rect" id="node5" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="92,144,161,165"/>
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="15,83,88,111"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="119,83,203,111"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="4,161,91,189"/>
|
||||
<area shape="rect" id="node5" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="116,161,215,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
ca0f094f56da3bdab09b3d4f31d65de7
|
||||
632aeb814444892cb4235318575b2052
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 11 KiB |
|
@ -1,3 +1,3 @@
|
|||
<map id="PS3Enums.h" name="PS3Enums.h">
|
||||
<area shape="rect" id="node2" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="5,75,91,96"/>
|
||||
<area shape="rect" id="node2" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="5,83,133,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
94fa129c84c23ed0352ec87e0b2a022a
|
||||
8cf971386ed8276013189d149241a27d
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3Enums.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74"> 24</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74"> 24</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#a8cf62ee374ebaa5f7582c073e624bc74">PS3_REPORT_BUFFER</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  0x00, 0x00, 0x00, 0x00, 0x00,</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  0x00, 0x00, 0x00, 0x00, 0x00,</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  0xff, 0x27, 0x10, 0x00, 0x32,</div>
|
||||
|
@ -123,11 +123,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f"> 37</a></span> <span class="preprocessor">#define PS3_REPORT_BUFFER_SIZE 48</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f"> 37</a></span> <span class="preprocessor">#define PS3_REPORT_BUFFER_SIZE 48</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17"> 40</a></span> <span class="preprocessor">#define MOVE_REPORT_BUFFER_SIZE 7</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17"> 40</a></span> <span class="preprocessor">#define MOVE_REPORT_BUFFER_SIZE 7</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a"> 43</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a"> 43</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  0x01, <span class="comment">// LED1</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  0x02, <span class="comment">// LED2</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  0x04, <span class="comment">// LED3</span></div>
|
||||
|
@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  0x0F <span class="comment">// LED10</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> };</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895"> 62</a></span> <span class="keyword">const</span> uint32_t <a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895"> 62</a></span> <span class="keyword">const</span> uint32_t <a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  0x10, <span class="comment">// UP</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  0x20, <span class="comment">// RIGHT</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  0x40, <span class="comment">// DOWN</span></div>
|
||||
|
@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  0x100000 <span class="comment">// T - covers 12 bits - we only need to read the top 8</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> };</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f"> 93</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f"> 93</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  23, <span class="comment">// UP_ANALOG</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  24, <span class="comment">// RIGHT_ANALOG</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  25, <span class="comment">// DOWN_ANALOG</span></div>
|
||||
|
@ -188,85 +188,141 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  15 <span class="comment">// T_ANALOG - Both at byte 14 (last reading) and byte 15 (current reading)</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> };</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967"> 115</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> {</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"> 117</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a> = 0xFF0000,</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106"> 119</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106">Green</a> = 0xFF00,</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8"> 121</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8">Blue</a> = 0xFF,</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967"> 115</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> {</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"> 117</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a> = 0xFF0000,</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106"> 119</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106">Green</a> = 0xFF00,</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8"> 121</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8">Blue</a> = 0xFF,</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82"> 124</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82">Yellow</a> = 0xFFEB04,</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a"> 126</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a">Lightblue</a> = 0xFFFF,</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c"> 128</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c">Purble</a> = 0xFF00FF,</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82"> 124</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82">Yellow</a> = 0xFFEB04,</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a"> 126</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a">Lightblue</a> = 0xFFFF,</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c"> 128</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c">Purble</a> = 0xFF00FF,</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094"> 131</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094">White</a> = 0xFFFFFF,</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b"> 133</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b">Off</a> = 0x00,</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094"> 131</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094">White</a> = 0xFFFFFF,</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b"> 133</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b">Off</a> = 0x00,</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> };</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a"> 141</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> {</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"> 143</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a> = 50,</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"> 145</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a> = 52,</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"> 147</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a> = 54,</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"> 149</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a> = 56,</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a"> 141</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> {</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"> 143</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a> = 50,</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"> 145</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a> = 52,</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"> 147</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a> = 54,</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"> 149</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a> = 56,</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"> 152</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a> = 28,</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"> 154</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a> = 30,</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"> 156</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a> = 32,</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"> 152</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a> = 28,</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"> 154</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a> = 30,</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"> 156</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a> = 32,</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"> 159</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a> = 40,</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"> 161</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a> = 42,</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"> 163</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a> = 44,</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"> 159</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a> = 40,</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"> 161</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a> = 42,</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"> 163</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a> = 44,</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"> 166</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a> = 46,</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"> 166</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a> = 46,</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"> 169</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a> = 47,</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"> 171</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a> = 49,</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"> 173</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a> = 50,</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"> 169</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a> = 47,</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"> 171</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a> = 49,</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"> 173</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a> = 50,</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> };</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1"> 177</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> {</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"> 178</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a> = 0x01,</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"> 179</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173">Roll</a> = 0x02,</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1"> 177</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> {</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"> 178</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a> = 0x01,</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"> 179</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173">Roll</a> = 0x02,</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> };</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b"> 182</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> {</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b"> 182</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> {</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="comment">// Note that the location is shiftet 9 when it's connected via USB</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="comment">// Byte location | bit location</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"> 185</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a> = (38 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"> 186</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a> = (38 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"> 185</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a> = (38 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"> 186</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a> = (38 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"> 188</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a> = (39 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"> 189</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a> = (39 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"> 190</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a> = (39 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"> 191</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a> = (39 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"> 192</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a> = (39 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"> 193</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a> = (39 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"> 194</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> = (39 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"> 188</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a> = (39 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"> 189</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a> = (39 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"> 190</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a> = (39 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"> 191</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a> = (39 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"> 192</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a> = (39 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"> 193</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a> = (39 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"> 194</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> = (39 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"> 196</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a> = (21 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"> 197</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a> = (21 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"> 198</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a> = (21 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"> 199</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a> = (21 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"> 200</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a> = (21 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"> 201</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a> = (21 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"> 202</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a> = (21 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"> 196</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a> = (21 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"> 197</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a> = (21 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"> 198</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a> = (21 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"> 199</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a> = (21 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"> 200</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a> = (21 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"> 201</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a> = (21 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"> 202</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a> = (21 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"> 204</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a> = (40 << 8) | 0x10, <span class="comment">//Opperating by USB and rumble is turned on</span></div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"> 205</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a> = (40 << 8) | 0x12, <span class="comment">//Opperating by USB and rumble is turned off</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"> 206</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a> = (40 << 8) | 0x14, <span class="comment">//Opperating by bluetooth and rumble is turned on</span></div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"> 207</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a> = (40 << 8) | 0x16, <span class="comment">//Opperating by bluetooth and rumble is turned off</span></div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"> 204</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a> = (40 << 8) | 0x10, <span class="comment">//Opperating by USB and rumble is turned on</span></div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"> 205</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a> = (40 << 8) | 0x12, <span class="comment">//Opperating by USB and rumble is turned off</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"> 206</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a> = (40 << 8) | 0x14, <span class="comment">//Opperating by bluetooth and rumble is turned on</span></div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"> 207</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a> = (40 << 8) | 0x16, <span class="comment">//Opperating by bluetooth and rumble is turned off</span></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> };</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231"> 210</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> {</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"> 211</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a> = 0x10,</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"> 212</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac">RumbleLow</a> = 0x20,</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231"> 210</a></span> <span class="keyword">enum</span> <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> {</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"> 211</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a> = 0x10,</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"> 212</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac">RumbleLow</a> = 0x20,</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> };</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00200">PS3Enums.h:200</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_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_a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00163">PS3Enums.h:163</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"><div class="ttname"><a href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173">Roll</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00179">PS3Enums.h:179</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00171">PS3Enums.h:171</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_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_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_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_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_a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00207">PS3Enums.h:207</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_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_a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00196">PS3Enums.h:196</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00199">PS3Enums.h:199</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00166">PS3Enums.h:166</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00169">PS3Enums.h:169</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a">Lightblue</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00126">PS3Enums.h:126</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="_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_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_a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82">Yellow</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00124">PS3Enums.h:124</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_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_a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106">Green</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00119">PS3Enums.h:119</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_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_aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"><div class="ttname"><a href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac">RumbleLow</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00212">PS3Enums.h:212</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00202">PS3Enums.h:202</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00154">PS3Enums.h:154</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00197">PS3Enums.h:197</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_a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00201">PS3Enums.h:201</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00198">PS3Enums.h:198</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_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_a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00173">PS3Enums.h:173</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094">White</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00131">PS3Enums.h:131</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00149">PS3Enums.h:149</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00152">PS3Enums.h:152</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00159">PS3Enums.h:159</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_a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00161">PS3Enums.h:161</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b">Off</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00133">PS3Enums.h:133</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"><div class="ttname"><a href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00156">PS3Enums.h:156</a></div></div>
|
||||
<div class="ttc" id="_p_s3_enums_8h_html_a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c">Purble</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00128">PS3Enums.h:128</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_a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8"><div class="ttname"><a href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8">Blue</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00121">PS3Enums.h:121</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_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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3USB.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -95,7 +95,7 @@ Include dependency graph for PS3USB.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_u_s_b_8cpp__incl.png" border="0" usemap="#_p_s3_u_s_b_8cpp" alt=""/></div>
|
||||
<map name="_p_s3_u_s_b_8cpp" id="_p_s3_u_s_b_8cpp">
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="411,75,471,96"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="420,144,463,165"/><area shape="rect" id="node19" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="725,144,795,165"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="43,283,97,304"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="325,283,392,304"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="186,213,243,235"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,283,301,304"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="413,213,469,235"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="659,213,720,235"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="627,352,684,373"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="693,283,755,304"/><area shape="rect" id="node20" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="955,213,1041,235"/></map>
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="41,83,125,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/><area shape="rect" id="node4" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="85,161,184,189"/><area shape="rect" id="node5" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="70,238,199,266"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_u_s_b_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -104,7 +104,7 @@ Include dependency graph for PS3USB.cpp:</div>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,14 +1,6 @@
|
|||
<map id="PS3USB.cpp" name="PS3USB.cpp">
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="411,75,471,96"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="420,144,463,165"/>
|
||||
<area shape="rect" id="node19" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="725,144,795,165"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="43,283,97,304"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="325,283,392,304"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="186,213,243,235"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,283,301,304"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="413,213,469,235"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="659,213,720,235"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="627,352,684,373"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="693,283,755,304"/>
|
||||
<area shape="rect" id="node20" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="955,213,1041,235"/>
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="41,83,125,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="85,161,184,189"/>
|
||||
<area shape="rect" id="node5" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="70,238,199,266"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
940a938e101921693d8ab2fbeb381a38
|
||||
68d8fca935dc486bd7b23a04cf3b7f24
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 11 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3USB.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <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> <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> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502"> 23</a></span> <a class="code" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a>(<a class="code" href="class_u_s_b.html">USB</a> *p, uint8_t btadr5, uint8_t btadr4, uint8_t btadr3, uint8_t btadr2, uint8_t btadr1, uint8_t btadr0) :</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502"> 23</a></span> <a class="code" href="class_p_s3_u_s_b.html#ac919404d4caf4625467756272f8d5502">PS3USB::PS3USB</a>(<a class="code" href="class_u_s_b.html">USB</a> *p, uint8_t btadr5, uint8_t btadr4, uint8_t btadr3, uint8_t btadr2, uint8_t btadr1, uint8_t btadr0) :</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> pUsb(p), <span class="comment">// pointer to USB class instance - mandatory</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> bAddress(0), <span class="comment">// device address - mandatory</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> bPollEnable(false) <span class="comment">// don't start polling before dongle is connected</span></div>
|
||||
|
@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  my_bdaddr[0] = btadr0;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d"> 46</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d"> 46</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a0083545cb99fb8786e60281fe7a9050d">PS3USB::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  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="l00048"></a><span class="lineno"> 48</span>  uint8_t rcode;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div>
|
||||
|
@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress in use"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span> <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="l00065"></a><span class="lineno"> 65</span>  }</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div>
|
||||
|
@ -162,14 +162,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress not found"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span> <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="l00075"></a><span class="lineno"> 75</span>  }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">if</span> (!p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>) {</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nepinfo is null"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a>;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor"></span> <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="l00082"></a><span class="lineno"> 82</span>  }</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div>
|
||||
|
@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// Get device descriptor</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  rcode = <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-><a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24" title="defined(USB_METHODS_INLINE) ">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); <span class="comment">// Get device descriptor - addr, ep, nbytes, data</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  rcode = <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-><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); <span class="comment">// Get device descriptor - addr, ep, nbytes, data</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// Restore p->epinfo</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = oldep_ptr;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
|
||||
|
@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">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="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">if</span> (!<a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>)</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// Extract Max Packet Size from device descriptor</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">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)->bMaxPacketSize0;</div>
|
||||
|
@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">//get pointer to assigned address record</span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(bAddress);</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span> (!p)</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <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="l00139"></a><span class="lineno"> 139</span> </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  p-><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> </div>
|
||||
|
@ -334,7 +334,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a>(VID, PID);</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor"></span> rcode = <a class="code" href="_usb_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a>;</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor"></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="l00247"></a><span class="lineno"> 247</span> Fail:</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
|
@ -346,7 +346,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> }</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment">/* Performs a cleanup after failed Init() attempt */</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98"> 258</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a>() {</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98"> 258</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a5750c5448bf1ec73a7669ca2e4799c98">PS3USB::Release</a>() {</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a> = <span class="keyword">false</span>;</div>
|
||||
|
@ -356,7 +356,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> }</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> </div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00"> 268</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a>() {</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00"> 268</a></span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a9068e2a036012614c0db163830cbcf00">PS3USB::Poll</a>() {</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">if</span> (!bPollEnable)</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
|
||||
|
@ -406,36 +406,36 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="preprocessor"></span>}</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141"> 318</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141"> 318</a></span> <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="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> (ButtonState & pgm_read_dword(&<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]));</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> }</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230"> 322</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230"> 322</a></span> <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="l00323"></a><span class="lineno"> 323</span>  uint32_t button = pgm_read_dword(&<a class="code" href="_p_s3_enums_8h.html#af3392eea150ac9151bef45148f0d7895">BUTTONS</a>[(uint8_t)b]);</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keywordtype">bool</span> click = (ButtonClickState & button);</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  ButtonClickState &= ~button; <span class="comment">// clear "click" event</span></div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">return</span> click;</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> }</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0"> 329</a></span> 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"><a class="line" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0"> 329</a></span> 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="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">return</span> (uint8_t)(readBuf[(pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#abb19c2ede75659ab3b926996a8a09f2f">ANALOGBUTTONS</a>[(uint8_t)a])) - 9]);</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> }</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3"> 335</a></span> 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#a2b0f391b8ae3e80b18cf9108c3e8f7e3"> 335</a></span> 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="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">return</span> (uint8_t)(readBuf[((uint8_t)a + 6)]);</div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> }</div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783"> 341</a></span> 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"><a class="line" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783"> 341</a></span> 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="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">return</span> ((readBuf[((uint16_t)a) - 9] << 8) | readBuf[((uint16_t)a + 1) - 9]);</div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> }</div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> </div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777"> 347</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777"> 347</a></span> <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="l00348"></a><span class="lineno"> 348</span>  <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="l00349"></a><span class="lineno"> 349</span>  <span class="keywordtype">double</span> accXval;</div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordtype">double</span> accYval;</div>
|
||||
|
@ -461,7 +461,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> }</div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448"> 373</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448"> 373</a></span> <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="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">if</span> (readBuf[((uint16_t)c >> 8) - 9] == ((uint8_t)c & 0xff))</div>
|
||||
|
@ -469,7 +469,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> }</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae"> 381</a></span> 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"><a class="line" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae"> 381</a></span> String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">PS3USB::getStatusString</a>() {</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <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="l00383"></a><span class="lineno"> 383</span>  <span class="keywordtype">char</span> statusOutput[100];</div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div>
|
||||
|
@ -510,14 +510,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-><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="l00420"></a><span class="lineno"> 420</span> }</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498"> 422</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498"> 422</a></span> <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="l00423"></a><span class="lineno"> 423</span>  <span class="keywordflow">for</span> (uint8_t i = 0; i < <a class="code" href="_p_s3_enums_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>; i++)</div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  writeBuf[i] = pgm_read_byte(&<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="l00425"></a><span class="lineno"> 425</span> </div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> }</div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a"> 429</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a"> 429</a></span> <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="l00430"></a><span class="lineno"> 430</span>  writeBuf[1] = 0x00;</div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  writeBuf[2] = 0x00; <span class="comment">//low mode off</span></div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  writeBuf[3] = 0x00;</div>
|
||||
|
@ -526,7 +526,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> }</div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"> 438</a></span> <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#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1"> 438</a></span> <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="l00439"></a><span class="lineno"> 439</span>  <span class="keywordflow">if</span> ((mode & 0x30) > 0x00) {</div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  uint8_t power[2] = {0xff, 0x00}; <span class="comment">// Defaults to RumbleLow</span></div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keywordflow">if</span> (mode == <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a>) {</div>
|
||||
|
@ -537,7 +537,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  }</div>
|
||||
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> }</div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80"> 449</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a0c2015b53aa60081aa28299800509f80"> 449</a></span> <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="l00450"></a><span class="lineno"> 450</span>  writeBuf[1] = rightDuration;</div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  writeBuf[2] = rightPower;</div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  writeBuf[3] = leftDuration;</div>
|
||||
|
@ -545,27 +545,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> }</div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> </div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b"> 457</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#aa0aac5ea016db4cd6736a15e9d6eb41b"> 457</a></span> <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="l00458"></a><span class="lineno"> 458</span>  writeBuf[9] = value << 1;</div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> }</div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> </div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03"> 462</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03"> 462</a></span> <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="l00463"></a><span class="lineno"> 463</span>  writeBuf[9] &= ~((uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1));</div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> }</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> </div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b"> 467</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b"> 467</a></span> <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="l00468"></a><span class="lineno"> 468</span>  writeBuf[9] |= (uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1);</div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> }</div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090"> 472</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090"> 472</a></span> <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="l00473"></a><span class="lineno"> 473</span>  writeBuf[9] ^= (uint8_t)((pgm_read_byte(&<a class="code" href="_p_s3_enums_8h.html#af83672eccf0c7a02847ce75bc5c55a1a">LEDS</a>[(uint8_t)a]) & 0x0f) << 1);</div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);</div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> }</div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> </div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87"> 477</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87"> 477</a></span> <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="l00478"></a><span class="lineno"> 478</span>  <span class="comment">/* Set the internal bluetooth address */</span></div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  uint8_t buf[8];</div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  buf[0] = 0x01;</div>
|
||||
|
@ -593,7 +593,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>-><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="l00503"></a><span class="lineno"> 503</span> }</div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span> </div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7"> 505</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7"> 505</a></span> <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="l00506"></a><span class="lineno"> 506</span>  <span class="comment">// set the Bulb's values into the write buffer</span></div>
|
||||
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  writeBuf[2] = r;</div>
|
||||
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  writeBuf[3] = g;</div>
|
||||
|
@ -602,11 +602,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div>
|
||||
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> }</div>
|
||||
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span> </div>
|
||||
<div class="line"><a name="l00514"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a34c83190306752e68c5704eece875d49"> 514</a></span> <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 "enums.h"</span></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> <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 "enums.h"</span></div>
|
||||
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>((uint8_t)(color >> 16), (uint8_t)(color >> 8), (uint8_t)(color));</div>
|
||||
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span> }</div>
|
||||
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span> </div>
|
||||
<div class="line"><a name="l00518"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a"> 518</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a"> 518</a></span> <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="l00519"></a><span class="lineno"> 519</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span> <span class="preprocessor"></span> <span class="keywordflow">if</span> (rumble < 64 && 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="l00521"></a><span class="lineno"> 521</span>  <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nThe rumble value has to at least 64, or approximately 25%"</span>), 0x80);</div>
|
||||
|
@ -617,7 +617,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  Move_Command(writeBuf, <a class="code" href="_p_s3_enums_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>);</div>
|
||||
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span> }</div>
|
||||
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span> </div>
|
||||
<div class="line"><a name="l00529"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a"> 529</a></span> <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"><a class="line" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a"> 529</a></span> <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="l00530"></a><span class="lineno"> 530</span>  <span class="comment">/* Set the internal bluetooth address */</span></div>
|
||||
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  uint8_t buf[11];</div>
|
||||
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  buf[0] = 0x05;</div>
|
||||
|
@ -643,12 +643,128 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <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="l00553"></a><span class="lineno"> 553</span>  }</div>
|
||||
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> }</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_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="_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_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="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="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00028">controllerEnums.h:28</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="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_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="_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="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="_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="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_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="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="_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_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_a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"><div class="ttname"><a href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_s3_enums_8h_source.html#l00207">PS3Enums.h:207</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_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_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="_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="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="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="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_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="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_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_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="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_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_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="_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="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="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_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="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="_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="_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="_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="_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_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="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_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="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="_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="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="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="_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="_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_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="_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="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="_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="_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="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="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 & 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="_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="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_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_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="_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="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="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="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="_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="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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3USB.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -92,22 +92,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="title">PS3USB.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br/>
|
||||
<code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<div class="textblock"><code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for PS3USB.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_u_s_b_8h__incl.png" border="0" usemap="#_p_s3_u_s_b_8h" alt=""/></div>
|
||||
<map name="_p_s3_u_s_b_8h" id="_p_s3_u_s_b_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="420,75,463,96"/><area shape="rect" id="node18" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="725,75,795,96"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="43,213,97,235"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="325,213,392,235"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="186,144,243,165"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,213,301,235"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="413,144,469,165"/><area shape="rect" id="node14" href="message_8h.html" title="message.h" alt="" coords="659,144,720,165"/><area shape="rect" id="node16" href="printhex_8h.html" title="printhex.h" alt="" coords="627,283,684,304"/><area shape="rect" id="node17" href="hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/><area shape="rect" id="node19" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="955,144,1041,165"/></map>
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="5,83,61,111"/><area shape="rect" id="node3" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="85,83,184,111"/><area shape="rect" id="node4" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="70,161,199,189"/></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="_p_s3_u_s_b_8h__dep__incl.png" border="0" usemap="#_p_s3_u_s_b_8hdep" alt=""/></div>
|
||||
<map name="_p_s3_u_s_b_8hdep" id="_p_s3_u_s_b_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="5,75,75,96"/></map>
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="5,83,104,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_u_s_b_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -155,7 +154,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00031">31</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#l00025">25</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -169,7 +168,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00034">34</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#l00028">28</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -183,7 +182,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00037">37</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#l00031">31</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -197,7 +196,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00038">38</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#l00032">32</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -211,7 +210,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00039">39</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#l00033">33</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -225,7 +224,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<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#l00036">36</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -239,7 +238,7 @@ Macros</h2></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>
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00037">37</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -253,7 +252,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00044">44</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#l00038">38</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -267,7 +266,7 @@ Macros</h2></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>
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00039">39</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -281,7 +280,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
@ -295,7 +294,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00049">49</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#l00043">43</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -309,7 +308,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00051">51</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#l00045">45</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -318,7 +317,7 @@ Macros</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<map id="PS3USB.h" name="PS3USB.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="5,75,75,96"/>
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="5,83,104,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
bbc0b7779319ea63e597b457c4e651c8
|
||||
10cd044b5bf58467538f65c844ab1455
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -1,13 +1,5 @@
|
|||
<map id="PS3USB.h" name="PS3USB.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="420,75,463,96"/>
|
||||
<area shape="rect" id="node18" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="725,75,795,96"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="43,213,97,235"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="325,213,392,235"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="186,144,243,165"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,213,301,235"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="413,144,469,165"/>
|
||||
<area shape="rect" id="node14" href="$message_8h.html" title="message.h" alt="" coords="659,144,720,165"/>
|
||||
<area shape="rect" id="node16" href="$printhex_8h.html" title="printhex.h" alt="" coords="627,283,684,304"/>
|
||||
<area shape="rect" id="node17" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/>
|
||||
<area shape="rect" id="node19" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="955,144,1041,165"/>
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,83,61,111"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="85,83,184,111"/>
|
||||
<area shape="rect" id="node4" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="70,161,199,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
997da459ce6865ea46e97e76129b7a25
|
||||
d7ca50c1f7f20fdedd5d4e89b29bcaf5
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 8.6 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: PS3USB.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -109,126 +109,173 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _ps3usb_h_</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _ps3usb_h_</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >= 100</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#include "WProgram.h"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="_p_s3_enums_8h.html">PS3Enums.h</a>"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <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> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_p_s3_enums_8h.html">PS3Enums.h</a>"</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* PS3 data taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 31</a></span> <span class="preprocessor">#define EP_MAXPKTSIZE 64 // max size for data via USB</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/* Endpoint types */</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e"> 34</a></span> <span class="preprocessor">#define EP_INTERRUPT 0x03</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <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="l00037"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333"> 37</a></span> <span class="preprocessor">#define PS3_CONTROL_PIPE 0</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3_OUTPUT_PIPE 1</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3_INPUT_PIPE 2</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <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> <span class="preprocessor">#define EP_INTERRUPT 0x03</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <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> <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> <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> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <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> <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> <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> <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> <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> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">//PID and VID of the different devices</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514"> 42</a></span> <span class="preprocessor">#define PS3_VID 0x054C // Sony Corporation</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3_PID 0x0268 // PS3 Controller DualShock 3</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3NAVIGATION_PID 0x042F // Navigation controller</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define PS3MOVE_PID 0x03D5 // Motion controller</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <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> <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> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <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> <span class="preprocessor">#define PS3_MAX_ENDPOINTS 3</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5"> 48</a></span> <span class="preprocessor">#define bmREQ_HID_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862"> 51</a></span> <span class="preprocessor">#define PS3_MAX_ENDPOINTS 3</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html"> 61</a></span> <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="l00062"></a><span class="lineno"> 62</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <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="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <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="l00085"></a><span class="lineno"> 85</span>  <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="l00090"></a><span class="lineno"> 90</span>  <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="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627"> 96</a></span>  <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="l00097"></a><span class="lineno"> 97</span>  <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="l00098"></a><span class="lineno"> 98</span>  };</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479"> 104</a></span>  <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="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  };</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ababb6cbf8297581b27400f9a39d75e5a"> 114</a></span>  <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="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">return</span> (vid == <a class="code" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> && (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="l00116"></a><span class="lineno"> 116</span>  };</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <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="l00128"></a><span class="lineno"> 128</span>  <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="l00129"></a><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <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="l00140"></a><span class="lineno"> 140</span>  <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="l00151"></a><span class="lineno"> 151</span>  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="l00157"></a><span class="lineno"> 157</span>  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="l00164"></a><span class="lineno"> 164</span>  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="l00170"></a><span class="lineno"> 170</span>  <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="l00176"></a><span class="lineno"> 176</span>  <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="l00181"></a><span class="lineno"> 181</span>  String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <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="l00186"></a><span class="lineno"> 186</span>  <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="l00191"></a><span class="lineno"> 191</span>  <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="l00199"></a><span class="lineno"> 199</span>  <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="l00200"></a><span class="lineno"> 200</span> </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <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="l00210"></a><span class="lineno"> 210</span>  <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="l00215"></a><span class="lineno"> 215</span>  <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="l00220"></a><span class="lineno"> 220</span>  <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="l00221"></a><span class="lineno"> 221</span> </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <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="l00231"></a><span class="lineno"> 231</span>  <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="l00236"></a><span class="lineno"> 236</span>  <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="l00237"></a><span class="lineno"> 237</span> </div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#ad06a172d85adf4ffc54dd8117b0be42e"> 242</a></span>  <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="l00243"></a><span class="lineno"> 243</span>  pFuncOnInit = funcOnInit;</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 244</a></span>  };</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <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="l00250"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 250</a></span>  <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="l00252"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 252</a></span>  <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="l00253"></a><span class="lineno"> 253</span> </div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 256</a></span>  <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="l00258"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 258</a></span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 260</a></span>  <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="l00261"></a><span class="lineno"> 261</span> </div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordtype">void</span> onInit();</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordtype">bool</span> bPollEnable;</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> <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="l00056"></a><span class="lineno"> 56</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <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="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <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="l00079"></a><span class="lineno"> 79</span>  <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="l00084"></a><span class="lineno"> 84</span>  <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="l00085"></a><span class="lineno"> 85</span> </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>  <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="l00091"></a><span class="lineno"> 91</span>  <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="l00092"></a><span class="lineno"> 92</span>  };</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </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>  <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="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">return</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  };</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </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>  <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="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> (vid == <a class="code" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a> && (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="l00110"></a><span class="lineno"> 110</span>  };</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <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="l00122"></a><span class="lineno"> 122</span>  <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="l00123"></a><span class="lineno"> 123</span> </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <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="l00134"></a><span class="lineno"> 134</span>  <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="l00145"></a><span class="lineno"> 145</span>  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="l00151"></a><span class="lineno"> 151</span>  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="l00158"></a><span class="lineno"> 158</span>  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="l00164"></a><span class="lineno"> 164</span>  <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="l00170"></a><span class="lineno"> 170</span>  <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="l00175"></a><span class="lineno"> 175</span>  String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <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="l00180"></a><span class="lineno"> 180</span>  <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="l00185"></a><span class="lineno"> 185</span>  <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="l00193"></a><span class="lineno"> 193</span>  <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="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <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="l00204"></a><span class="lineno"> 204</span>  <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="l00209"></a><span class="lineno"> 209</span>  <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="l00214"></a><span class="lineno"> 214</span>  <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="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <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="l00225"></a><span class="lineno"> 225</span>  <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="l00230"></a><span class="lineno"> 230</span>  <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="l00231"></a><span class="lineno"> 231</span> </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>  <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="l00237"></a><span class="lineno"> 237</span>  pFuncOnInit = funcOnInit;</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>  };</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <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="l00244"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 244</a></span>  <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="l00246"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 246</a></span>  <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="l00247"></a><span class="lineno"> 247</span> </div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="keyword">protected</span>:</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>  <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="l00252"></a><span class="lineno"><a class="line" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 252</a></span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</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>  <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="l00255"></a><span class="lineno"> 255</span> </div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordtype">void</span> onInit();</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  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="l00281"></a><span class="lineno"> 281</span>  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="l00282"></a><span class="lineno"> 282</span> </div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <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="l00289"></a><span class="lineno"> 289</span>  <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> };</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  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="l00275"></a><span class="lineno"> 275</span>  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="l00276"></a><span class="lineno"> 276</span> </div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <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="l00283"></a><span class="lineno"> 283</span>  <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> };</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <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#l00341">PS3USB.cpp:341</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#l00055">PS3USB.h:55</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_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="_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_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_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_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="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="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="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_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_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_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="_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_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_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_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_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_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="_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="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_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_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_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_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_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="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_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="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_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_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_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_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_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="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_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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: README.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: README.md Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -142,147 +142,164 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="stringliteral">### Enable debugging</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="stringliteral">By default serial debugging is disabled. To turn it on uncomment ```DEBUG_USB_HOST``` in [message.h](message.h).</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="stringliteral">By default serial debugging is disabled. To turn it on simply change ```ENABLE_UHS_DEBUGGING``` to 1 in [settings.h](settings.h) like so:</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="stringliteral">### Arduino ADK</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="stringliteral">To use this library with the official [Arduino ADK](http://arduino.cc/en/Main/ArduinoBoardADK) uncomment the following line in [avrpins.h](avrpins.h):</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="stringliteral">#define BOARD_MEGA_ADK</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="stringliteral">### [Bluetooth libraries](BTD.cpp)</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="stringliteral">The [BTD library](BTD.cpp) is a general purpose library for an ordinary Bluetooth dongle.</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="stringliteral">This library make it easy to add support for different Bluetooth services like a PS3 or a Wii controller or SPP which is a virtual serial port via Bluetooth.</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="stringliteral">Some different examples can be found in the [example directory](examples/Bluetooth).</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <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="l00074"></a><span class="lineno"> 74</span> <span class="stringliteral"><https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3SPP/PS3SPP.ino></span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="stringliteral">#define ENABLE_UHS_DEBUGGING 1</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="stringliteral">### Boards</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="stringliteral">Currently the following boards are supported by the library:</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="stringliteral">* All official Arduino AVR boards (Uno, Duemilanove, Mega, Mega 2560, Mega ADK, Leonardo etc.)</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="stringliteral">* Teensy (Teensy++ 1.0, Teensy 2.0, Teensy++ 2.0, and Teensy 3.0)</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="stringliteral">* Balanduino</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="stringliteral">* Sanguino</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="stringliteral">* Black Widdow</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="stringliteral">The following boards need to be activated manually in [settings.h](settings.h):</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="stringliteral">### [SPP library](SPP.cpp)</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="stringliteral">SPP stands for "Serial Port Profile" 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="l00079"></a><span class="lineno"> 79</span> <span class="stringliteral">It has been tested successfully on Windows, Mac OS X, Linux, and Android.</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="stringliteral">More information can be found at these blog posts:</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/bluetooth-rfcommspp-service-support-for-usb-host-2-0-library-released></span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/07/rfcommspp-library-for-arduino/></span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <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="l00087"></a><span class="lineno"> 87</span> <span class="stringliteral">It enables me to see the Bluetooth communication between my Mac and any device.</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="stringliteral">### PS3 Library</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="stringliteral">* Arduino Mega ADK</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="stringliteral"> * If you are using Arduino 1.5.5 or newer there is no need to activate the Arduino Mega ADK manually</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="stringliteral">* Black Widdow</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="stringliteral">Simply set the corresponding value to 1 instead of 0.</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="stringliteral">### [Bluetooth libraries](BTD.cpp)</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="stringliteral">The [BTD library](BTD.cpp) is a general purpose library for an ordinary Bluetooth dongle.</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="stringliteral">This library make it easy to add support for different Bluetooth services like a PS3 or a Wii controller or SPP which is a virtual serial port via Bluetooth.</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <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> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <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> <span class="stringliteral"><https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3SPP/PS3SPP.ino></span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <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="l00091"></a><span class="lineno"> 91</span> <span class="stringliteral">### [SPP library](SPP.cpp)</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <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="l00094"></a><span class="lineno"> 94</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <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: <https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino#L12>.</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="stringliteral">For more information about the PS3 protocol see the official wiki: <https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information>.</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="stringliteral">Also take a look at the blog posts:</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="stringliteral">SPP stands for "Serial Port Profile" 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="l00094"></a><span class="lineno"> 94</span> <span class="stringliteral">It has been tested successfully on Windows, Mac OS X, Linux, and Android.</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="stringliteral">More information can be found at these blog posts:</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/bluetooth-rfcommspp-service-support-for-usb-host-2-0-library-released></span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/07/rfcommspp-library-for-arduino/></span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/01/ps3-controller-bt-library-for-arduino/></span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/sony-ps3-controller-support-added-to-usb-host-library></span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/arduino/interfacing-ps3-controllers-via-usb></span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="stringliteral">A special thanks go to the following people:</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="stringliteral">1. _Richard Ibbotson_ who made this excellent guide: <http://www.circuitsathome.com/mcu/ps3-and-wiimote-game-controllers-on-the-arduino-host-shield-part></span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="stringliteral">2. _Tomoyuki Tanaka_ for releasing his code for the Arduino USB Host shield connected to the wiimote: <http://www.circuitsathome.com/mcu/rc-car-controlled-by-wii-remote-on-arduino></span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <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="l00102"></a><span class="lineno"> 102</span> <span class="stringliteral">It enables me to see the Bluetooth communication between my Mac and any device.</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="stringliteral">### PS3 Library</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <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="l00107"></a><span class="lineno"> 107</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <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="l00109"></a><span class="lineno"> 109</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="stringliteral">Also a big thanks all the people behind these sites about the Motion controller:</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <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: <https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino#L12>.</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="stringliteral">* <http://thp.io/2010/psmove/></span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="stringliteral">* <http://www.copenhagengamecollective.org/unimove/></span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="stringliteral">* <https://github.com/thp/psmoveapi></span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="stringliteral">* <http://code.google.com/p/moveonpc/></span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="stringliteral">### Xbox Libraries</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <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="l00120"></a><span class="lineno"> 120</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="stringliteral">#### Xbox library</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="stringliteral">The [XBOXOLD](XBOXOLD.cpp) class implements support for the original Xbox controller via USB.</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="stringliteral">For more information about the PS3 protocol see the official wiki: <https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information>.</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="stringliteral">Also take a look at the blog posts:</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/01/ps3-controller-bt-library-for-arduino/></span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/sony-ps3-controller-support-added-to-usb-host-library></span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/arduino/interfacing-ps3-controllers-via-usb></span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="stringliteral">A special thanks go to the following people:</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="stringliteral">1. _Richard Ibbotson_ who made this excellent guide: <http://www.circuitsathome.com/mcu/ps3-and-wiimote-game-controllers-on-the-arduino-host-shield-part></span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="stringliteral">2. _Tomoyuki Tanaka_ for releasing his code for the Arduino USB Host shield connected to the wiimote: <http://www.circuitsathome.com/mcu/rc-car-controlled-by-wii-remote-on-arduino></span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="stringliteral">All the information are from the following sites:</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="stringliteral">Also a big thanks all the people behind these sites about the Motion controller:</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="stringliteral">* <https://github.com/torvalds/linux/blob/master/Documentation/input/xpad.txt></span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="stringliteral">* <https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c></span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="stringliteral">* <http://euc.jp/periphs/xbox-controller.ja.html></span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="stringliteral">* <https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL#L15></span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="stringliteral">* <http://thp.io/2010/psmove/></span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="stringliteral">* <http://www.copenhagengamecollective.org/unimove/></span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="stringliteral">* <https://github.com/thp/psmoveapi></span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="stringliteral">* <http://code.google.com/p/moveonpc/></span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="stringliteral">#### Xbox 360 Library</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="stringliteral">### Xbox Libraries</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <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="l00134"></a><span class="lineno"> 134</span> <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="l00135"></a><span class="lineno"> 135</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <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="l00136"></a><span class="lineno"> 136</span> <span class="stringliteral">#### Xbox library</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="stringliteral">__Note that a Wireless controller can NOT be used via USB!__</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="stringliteral">The [XBOXOLD](XBOXOLD.cpp) class implements support for the original Xbox controller via USB.</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="stringliteral">Examples code can be found in the [examples directory](examples/Xbox).</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="stringliteral">All the information are from the following sites:</span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="stringliteral">Also see the following blog posts:</span></div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/xbox360-controller-support-added-to-usb-host-shield-2-0-library></span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/07/xbox-360-controller-support-added-to-the-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/12/xbox-360-receiver-added-to-the-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="stringliteral">All the information regarding the Xbox 360 controller protocol are form these sites:</span></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="stringliteral">* <http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/UsbInfo></span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="stringliteral">* <http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/WirelessUsbInfo></span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="stringliteral">* <https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL></span></div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="stringliteral">### [Wii library](Wii.cpp)</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <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="l00157"></a><span class="lineno"> 157</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <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="l00159"></a><span class="lineno"> 159</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="stringliteral">WII Wii(&Btd,PAIR);</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="stringliteral">And then press 1 & 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="l00165"></a><span class="lineno"> 165</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="stringliteral">After that you can simply create the instance like so:</span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="stringliteral">WII Wii(&Btd);</span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <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="l00173"></a><span class="lineno"> 173</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="stringliteral">Take a look at the example for more information: <https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/Wii/Wii.ino>.</span></div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="stringliteral">Also take a look at the blog post:</span></div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/08/wiimote-added-to-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="stringliteral">All the information about the Wii controllers are from these sites:</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote></span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers></span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck></span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Wii_Motion_Plus></span></div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="stringliteral">* The old library created by _Tomoyuki Tanaka_: <https://github.com/moyuchin/WiiRemote_on_Arduino> also helped a lot.</span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="stringliteral"># FAQ</span></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="stringliteral">> When I plug my device into the USB connector nothing happens?</span></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <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="l00142"></a><span class="lineno"> 142</span> <span class="stringliteral">* <https://github.com/torvalds/linux/blob/master/Documentation/input/xpad.txt></span></div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="stringliteral">* <https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c></span></div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="stringliteral">* <http://euc.jp/periphs/xbox-controller.ja.html></span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="stringliteral">* <https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL#L15></span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="stringliteral">#### Xbox 360 Library</span></div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <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="l00150"></a><span class="lineno"> 150</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <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="l00152"></a><span class="lineno"> 152</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="stringliteral">__Note that a Wireless controller can NOT be used via USB!__</span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="stringliteral">Examples code can be found in the [examples directory](examples/Xbox).</span></div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="stringliteral">Also see the following blog posts:</span></div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="stringliteral">* <http://www.circuitsathome.com/mcu/xbox360-controller-support-added-to-usb-host-shield-2-0-library></span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/07/xbox-360-controller-support-added-to-the-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/12/xbox-360-receiver-added-to-the-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="stringliteral">All the information regarding the Xbox 360 controller protocol are form these sites:</span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="stringliteral">* <http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/UsbInfo></span></div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="stringliteral">* <http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/WirelessUsbInfo></span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="stringliteral">* <https://github.com/Grumbel/xboxdrv/blob/master/PROTOCOL></span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="stringliteral">### [Wii library](Wii.cpp)</span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <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="l00172"></a><span class="lineno"> 172</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <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="l00174"></a><span class="lineno"> 174</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="stringliteral">WII Wii(&Btd,PAIR);</span></div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="stringliteral">And then press 1 & 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="l00180"></a><span class="lineno"> 180</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="stringliteral">After that you can simply create the instance like so:</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="stringliteral">WII Wii(&Btd);</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="stringliteral">```</span></div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <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="l00188"></a><span class="lineno"> 188</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="stringliteral">Take a look at the example for more information: <https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/Wii/Wii.ino>.</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="stringliteral">Also take a look at the blog post:</span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="stringliteral">* <http://blog.tkjelectronics.dk/2012/08/wiimote-added-to-usb-host-library/></span></div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="stringliteral">All the information about the Wii controllers are from these sites:</span></div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote></span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers></span></div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck></span></div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="stringliteral">* <http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Wii_Motion_Plus></span></div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="stringliteral">* The old library created by _Tomoyuki Tanaka_: <https://github.com/moyuchin/WiiRemote_on_Arduino> also helped a lot.</span></div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="stringliteral"># FAQ</span></div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="stringliteral">> When I plug my device into the USB connector nothing happens?</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="stringliteral"></span></div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <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#l00062">usbhost.h:62</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 -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: SPP.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -97,7 +97,7 @@ Include dependency graph for SPP.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_s_p_p_8cpp__incl.png" border="0" usemap="#_s_p_p_8cpp" alt=""/></div>
|
||||
<map name="_s_p_p_8cpp" id="_s_p_p_8cpp">
|
||||
<area shape="rect" id="node2" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="600,75,646,96"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="600,144,646,165"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="330,283,372,304"/><area shape="rect" id="node20" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,213,771,235"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,421,88,443"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,421,351,443"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,352,208,373"/><area shape="rect" id="node12" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,421,559,443"/><area shape="rect" id="node14" href="address_8h.html" title="address.h" alt="" coords="356,352,412,373"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="735,352,796,373"/><area shape="rect" id="node18" href="printhex_8h.html" title="printhex.h" alt="" coords="737,491,794,512"/><area shape="rect" id="node19" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,421,796,443"/><area shape="rect" id="node21" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,283,832,304"/></map>
|
||||
<area shape="rect" id="node2" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="11,83,68,111"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="10,161,69,189"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="12,238,68,266"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_s_p_p_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -145,7 +145,7 @@ Variables</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,15 +1,5 @@
|
|||
<map id="SPP.cpp" name="SPP.cpp">
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="600,75,646,96"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="600,144,646,165"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,283,372,304"/>
|
||||
<area shape="rect" id="node20" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,213,771,235"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,421,88,443"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,421,351,443"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,352,208,373"/>
|
||||
<area shape="rect" id="node12" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,421,559,443"/>
|
||||
<area shape="rect" id="node14" href="$address_8h.html" title="address.h" alt="" coords="356,352,412,373"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="735,352,796,373"/>
|
||||
<area shape="rect" id="node18" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,491,794,512"/>
|
||||
<area shape="rect" id="node19" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,421,796,443"/>
|
||||
<area shape="rect" id="node21" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,283,832,304"/>
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="11,83,68,111"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="10,161,69,189"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="12,238,68,266"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
8d742c290ffd813c9276b4445855a4c7
|
||||
7fcbcf3b461f8f3c5d0972f005f8a4e5
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 4.9 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: SPP.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -98,14 +98,14 @@ Include dependency graph for SPP.h:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_s_p_p_8h__incl.png" border="0" usemap="#_s_p_p_8h" alt=""/></div>
|
||||
<map name="_s_p_p_8h" id="_s_p_p_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="356,283,412,304"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="735,283,796,304"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/></map>
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="5,83,64,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="7,161,63,189"/></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="_s_p_p_8h__dep__incl.png" border="0" usemap="#_s_p_p_8hdep" alt=""/></div>
|
||||
<map name="_s_p_p_8hdep" id="_s_p_p_8hdep">
|
||||
<area shape="rect" id="node2" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="5,75,59,96"/></map>
|
||||
<area shape="rect" id="node2" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="4,83,75,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_s_p_p_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -796,7 +796,7 @@ Macros</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<map id="SPP.h" name="SPP.h">
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="5,75,59,96"/>
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="4,83,75,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
e2871ab5069f690182a543272f33ac58
|
||||
1f51bc8d7e57994b0706c73aa078945c
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.6 KiB |
|
@ -1,14 +1,4 @@
|
|||
<map id="SPP.h" name="SPP.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="356,283,412,304"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="735,283,796,304"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/>
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="5,83,64,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="7,161,63,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
2a91c387635437451a0ae64cc99908a9
|
||||
7a2283c4aaf9966c1076db5bf1388f90
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 3.5 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: SPP.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -112,62 +112,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_b_t_d_8h.html">BTD.h</a>"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/* Bluetooth L2CAP states for SDP_task() */</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a72444116eaac116983a3dec35b1944f0"> 24</a></span> <span class="preprocessor">#define L2CAP_SDP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ae100d60ef94dea996b12fc89d6a339f2"> 25</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a1b8e3e654e4f55e27ca5054aef956edc"> 26</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a25f7af87e6960e2e8ed49006b0b50f3e"> 27</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_DONE 3</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#adf2585ad5d49cf2df2595d860ad6b258"> 28</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DISCONNECT_RESPONSE 4</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a72444116eaac116983a3dec35b1944f0"> 24</a></span> <span class="preprocessor">#define L2CAP_SDP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ae100d60ef94dea996b12fc89d6a339f2"> 25</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a1b8e3e654e4f55e27ca5054aef956edc"> 26</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a25f7af87e6960e2e8ed49006b0b50f3e"> 27</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_SDP_DONE 3</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#adf2585ad5d49cf2df2595d860ad6b258"> 28</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DISCONNECT_RESPONSE 4</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* Bluetooth L2CAP states for RFCOMM_task() */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a0b7cbe1aa26664847a48bd4578bc50bd"> 31</a></span> <span class="preprocessor">#define L2CAP_RFCOMM_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ad7f3cf22bd76c9ccd377d96b4a751fc4"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a75321d181cfa3c485bcd96918c1b353e"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ac3b4f24642f460c347305dedbebc5e63"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_DONE 3</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a0b7cbe1aa26664847a48bd4578bc50bd"> 31</a></span> <span class="preprocessor">#define L2CAP_RFCOMM_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ad7f3cf22bd76c9ccd377d96b4a751fc4"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a75321d181cfa3c485bcd96918c1b353e"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ac3b4f24642f460c347305dedbebc5e63"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_RFCOMM_DONE 3</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">/* L2CAP event flags */</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3"> 37</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONNECTION_SDP_REQUEST 0x001</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST 0x002</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_SDP_REQUEST 0x004</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2"> 40</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST 0x008</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_SDP_SUCCESS 0x010</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS 0x020</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST 0x040</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST 0x080</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_RESPONSE 0x100</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3"> 37</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONNECTION_SDP_REQUEST 0x001</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST 0x002</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_SDP_REQUEST 0x004</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2"> 40</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST 0x008</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_SDP_SUCCESS 0x010</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS 0x020</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST 0x040</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST 0x080</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_RESPONSE 0x100</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">/* Macros for L2CAP event flag tests */</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a3b1cbac2f2fc44b393ff3cb96448892a"> 48</a></span> <span class="preprocessor">#define l2cap_connection_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a28cbb8ce9ab60e04e2e131a87e06d5f0"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a5f5f1cfcc3f39ee032185cac348cb068"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ae9459fccc82a24e23dc52ef0e0422273"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a37d324cfd5a79f623dcd0fc8fa047447"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a1c5c7dc5782a562f1b91e835f8aebdb4"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a05022c9cce93cccafc32337771c8704a"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#af565a91718a79907aece8a5c278aa0bc"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a1412e00ebed70b8d7b41afd769252530"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a3b1cbac2f2fc44b393ff3cb96448892a"> 48</a></span> <span class="preprocessor">#define l2cap_connection_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a28cbb8ce9ab60e04e2e131a87e06d5f0"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a5f5f1cfcc3f39ee032185cac348cb068"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ae9459fccc82a24e23dc52ef0e0422273"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a37d324cfd5a79f623dcd0fc8fa047447"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a1c5c7dc5782a562f1b91e835f8aebdb4"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a05022c9cce93cccafc32337771c8704a"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_SDP_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#af565a91718a79907aece8a5c278aa0bc"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a1412e00ebed70b8d7b41afd769252530"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">/* Used for SDP */</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#af98e9758e7c66f921d980b280a3f5b4b"> 59</a></span> <span class="preprocessor">#define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU 0x06 // See the RFCOMM specs</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a42a6f00a3828a932bae1509c813b5c98"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU 0x07 // See the RFCOMM specs</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a677a1fc4883355f7fad87551cc003c1b"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SERIALPORT_UUID 0x1101 // See http://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ac202a65fc9bc1a5d837e5d095b1bb9f2"> 62</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_UUID 0x0100</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#af98e9758e7c66f921d980b280a3f5b4b"> 59</a></span> <span class="preprocessor">#define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU 0x06 // See the RFCOMM specs</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a42a6f00a3828a932bae1509c813b5c98"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU 0x07 // See the RFCOMM specs</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a677a1fc4883355f7fad87551cc003c1b"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SERIALPORT_UUID 0x1101 // See http://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ac202a65fc9bc1a5d837e5d095b1bb9f2"> 62</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_UUID 0x0100</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">/* Used for RFCOMM */</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a5747e4c0826eb3341fe2476b5229e0d0"> 65</a></span> <span class="preprocessor">#define RFCOMM_SABM 0x2F</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a9f534220af893b5ae8c8927564db77c3"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_UA 0x63</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ae9ffac80725386a879ba956251f64373"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_UIH 0xEF</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a5747e4c0826eb3341fe2476b5229e0d0"> 65</a></span> <span class="preprocessor">#define RFCOMM_SABM 0x2F</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a9f534220af893b5ae8c8927564db77c3"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_UA 0x63</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ae9ffac80725386a879ba956251f64373"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_UIH 0xEF</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"></span><span class="comment">//#define RFCOMM_DM 0x0F</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a2c8ebc5e78dc22e7ae4e79370fada66f"> 69</a></span> <span class="preprocessor">#define RFCOMM_DISC 0x43</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a2c8ebc5e78dc22e7ae4e79370fada66f"> 69</a></span> <span class="preprocessor">#define RFCOMM_DISC 0x43</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#af31032289d962bc2408debecc2823b8c"> 71</a></span> <span class="preprocessor">#define extendAddress 0x01 // Always 1</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#af31032289d962bc2408debecc2823b8c"> 71</a></span> <span class="preprocessor">#define extendAddress 0x01 // Always 1</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">// Multiplexer message types</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a11185ec5287f08bf49c2c68d8cd52a16"> 74</a></span> <span class="preprocessor">#define BT_RFCOMM_PN_CMD 0x83</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a17b4a98661e30b6989cbe35ba5da4822"> 75</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_PN_RSP 0x81</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ad14b1def5eec64e94cc64a2dcba354ea"> 76</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_MSC_CMD 0xE3</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ab68e7621ab822c3bfb9507c78d0d0550"> 77</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_MSC_RSP 0xE1</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#ad9b8c11f7f4f8e8d59ac77999b2ec4a3"> 78</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_RPN_CMD 0x93</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="_s_p_p_8h.html#a336bf1805637fdd66033c9040e606a6b"> 79</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_RPN_RSP 0x91</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a11185ec5287f08bf49c2c68d8cd52a16"> 74</a></span> <span class="preprocessor">#define BT_RFCOMM_PN_CMD 0x83</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a17b4a98661e30b6989cbe35ba5da4822"> 75</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_PN_RSP 0x81</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ad14b1def5eec64e94cc64a2dcba354ea"> 76</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_MSC_CMD 0xE3</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ab68e7621ab822c3bfb9507c78d0d0550"> 77</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_MSC_RSP 0xE1</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#ad9b8c11f7f4f8e8d59ac77999b2ec4a3"> 78</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_RPN_CMD 0x93</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_s_p_p_8h.html#a336bf1805637fdd66033c9040e606a6b"> 79</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BT_RFCOMM_RPN_RSP 0x91</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span><span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment">#define BT_RFCOMM_TEST_CMD 0x23</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment">#define BT_RFCOMM_TEST_RSP 0x21</span></div>
|
||||
|
@ -180,14 +180,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">#define BT_RFCOMM_NSC_RSP 0x11</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_s_p_p.html"> 93</a></span> <span class="keyword">class </span><a class="code" href="class_s_p_p.html">SPP</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a>, <span class="keyword">public</span> Stream {</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_s_p_p.html"> 93</a></span> <span class="keyword">class </span><a class="code" href="class_s_p_p.html">SPP</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a>, <span class="keyword">public</span> Stream {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="class_s_p_p.html#ae5cb4167b3ab9c891398f54729c6da81">SPP</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name = <span class="stringliteral">"Arduino"</span>, <span class="keyword">const</span> <span class="keywordtype">char</span>* pin = <span class="stringliteral">"1234"</span>);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_s_p_p.html#ac90f0765c478bd624cee3b8d493d8432"> 107</a></span>  <span class="keyword">operator</span> bool() {</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_s_p_p.html#ac90f0765c478bd624cee3b8d493d8432"> 107</a></span>  <span class="keyword">operator</span> bool() {</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> <a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">connected</a>;</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028"> 111</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">connected</a>;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028"> 111</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">connected</a>;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">ACLData</a>(uint8_t* <a class="code" href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">ACLData</a>);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">Run</a>();</div>
|
||||
|
@ -266,12 +266,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint8_t __crc(uint8_t* data);</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> };</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="preprocessor">#endif</span></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="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_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_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_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_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_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="Arduino", const char *pin="1234")</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="_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"><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="_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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: Usb.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -89,17 +89,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="title">Usb.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="avrpins_8h_source.html">avrpins.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="max3421e_8h_source.html">max3421e.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="usbhost_8h_source.html">usbhost.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "Arduino.h"</code><br/>
|
||||
<div class="textblock"><code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for Usb.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_usb_8cpp__incl.png" border="0" usemap="#_usb_8cpp" alt=""/></div>
|
||||
<map name="_usb_8cpp" id="_usb_8cpp">
|
||||
<area shape="rect" id="node2" href="avrpins_8h.html" title="avrpins.h" alt="" coords="43,213,97,235"/><area shape="rect" id="node4" href="max3421e_8h.html" title="max3421e.h" alt="" coords="325,213,392,235"/><area shape="rect" id="node5" href="usbhost_8h.html" title="usbhost.h" alt="" coords="161,144,217,165"/><area shape="rect" id="node10" href="_usb_8h.html" title="Usb.h" alt="" coords="373,75,416,96"/><area shape="rect" id="node7" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,213,301,235"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="395,144,452,165"/><area shape="rect" id="node14" href="message_8h.html" title="message.h" alt="" coords="659,144,720,165"/><area shape="rect" id="node16" href="printhex_8h.html" title="printhex.h" alt="" coords="719,283,776,304"/><area shape="rect" id="node17" href="hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/></map>
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="12,83,68,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_usb_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -108,7 +104,7 @@ Include dependency graph for Usb.cpp:</div>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
<map id="Usb.cpp" name="Usb.cpp">
|
||||
<area shape="rect" id="node2" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="43,213,97,235"/>
|
||||
<area shape="rect" id="node4" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="325,213,392,235"/>
|
||||
<area shape="rect" id="node5" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="161,144,217,165"/>
|
||||
<area shape="rect" id="node10" href="$_usb_8h.html" title="Usb.h" alt="" coords="373,75,416,96"/>
|
||||
<area shape="rect" id="node7" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="243,213,301,235"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="395,144,452,165"/>
|
||||
<area shape="rect" id="node14" href="$message_8h.html" title="message.h" alt="" coords="659,144,720,165"/>
|
||||
<area shape="rect" id="node16" href="$printhex_8h.html" title="printhex.h" alt="" coords="719,283,776,304"/>
|
||||
<area shape="rect" id="node17" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/>
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="12,83,68,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
2c4125af802552f99104380c37456b8e
|
||||
86d6ea84d3f0ddc03b2836246a892476
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 2.7 KiB |
1058
_usb_8h.html
|
@ -1,41 +1,43 @@
|
|||
<map id="Usb.h" name="Usb.h">
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="86,75,127,96"/>
|
||||
<area shape="rect" id="node4" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="227,75,272,96"/>
|
||||
<area shape="rect" id="node12" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="465,75,521,96"/>
|
||||
<area shape="rect" id="node16" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="625,75,676,96"/>
|
||||
<area shape="rect" id="node14" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="461,144,525,165"/>
|
||||
<area shape="rect" id="node18" href="$hid_8h.html" title="hid.h" alt="" coords="801,75,841,96"/>
|
||||
<area shape="rect" id="node20" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="634,144,688,165"/>
|
||||
<area shape="rect" id="node22" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="881,144,975,165"/>
|
||||
<area shape="rect" id="node26" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="954,75,1024,96"/>
|
||||
<area shape="rect" id="node28" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1049,75,1113,96"/>
|
||||
<area shape="rect" id="node30" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1138,75,1197,96"/>
|
||||
<area shape="rect" id="node32" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1222,75,1273,96"/>
|
||||
<area shape="rect" id="node33" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1298,75,1352,96"/>
|
||||
<area shape="rect" id="node35" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="1379,75,1447,96"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1478,75,1551,96"/>
|
||||
<area shape="rect" id="node39" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="1587,75,1655,96"/>
|
||||
<area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,144,56,165"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="144,144,197,165"/>
|
||||
<area shape="rect" id="node6" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="222,144,276,165"/>
|
||||
<area shape="rect" id="node8" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="301,144,347,165"/>
|
||||
<area shape="rect" id="node10" href="$_wii_8h.html" title="Wii.h" alt="" coords="80,144,120,165"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="214,213,276,235"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="301,213,355,235"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="76,213,124,235"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="371,144,436,165"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="457,213,529,235"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="550,144,609,165"/>
|
||||
<area shape="rect" id="node19" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="713,144,761,165"/>
|
||||
<area shape="rect" id="node24" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="785,144,857,165"/>
|
||||
<area shape="rect" id="node21" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="629,213,693,235"/>
|
||||
<area shape="rect" id="node23" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="881,213,983,235"/>
|
||||
<area shape="rect" id="node25" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="777,213,857,235"/>
|
||||
<area shape="rect" id="node27" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="999,144,1077,165"/>
|
||||
<area shape="rect" id="node29" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1102,144,1175,165"/>
|
||||
<area shape="rect" id="node31" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1200,144,1269,165"/>
|
||||
<area shape="rect" id="node34" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1293,144,1357,165"/>
|
||||
<area shape="rect" id="node36" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="1382,144,1457,165"/>
|
||||
<area shape="rect" id="node38" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1482,144,1563,165"/>
|
||||
<area shape="rect" id="node40" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="1587,144,1663,165"/>
|
||||
<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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
8b47ac69fdc8cd76f60660a6c29d05dd
|
||||
db0776ced886791ac6bd3116b722fcad
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 100 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: Usb.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -109,285 +109,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _usb_h_</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _usb_h_</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">//#define BOARD_BLACK_WIDDOW</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// Not used anymore?</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">//#define USB_METHODS_INLINE</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// WARNING: Do not change the order of includes, or stuff will break!</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <inttypes.h></span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <stddef.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <stdio.h></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <inttypes.h></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <assert.h></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="avrpins_8h.html">avrpins.h</a>"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// None of these should ever be included by a driver, or a user's sketch.</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="settings_8h.html">settings.h</a>"</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="printhex_8h.html">printhex.h</a>"</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="hexdump_8h.html">hexdump.h</a>"</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="max3421e_8h.html">max3421e.h</a>"</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="usbhost_8h.html">usbhost.h</a>"</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="usb__ch9_8h.html">usb_ch9.h</a>"</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="address_8h.html">address.h</a>"</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >=100</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">/* shield pins. First parameter - SS pin, second parameter - INT pin */</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span><span class="preprocessor">#define BOARD_TEENSY_PLUS_PLUS</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#ifdef BOARD_BLACK_WIDDOW</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P6, P3></a> <a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Black Widow</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#elif defined(BOARD_TEENSY_PLUS_PLUS)</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P9, P8></a> <a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Teensy++ 2.0 & 1.0</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#elif defined(BOARD_MEGA_ADK)</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P53, P54></a> <a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Arduino Mega ADK</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#elif defined(BOARD_BALANDUINO)</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P20, P19></a> <a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Balanduino</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb"> 58</a></span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P10, P9></a> <a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.)</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">//Debug macros. In 1.0 it is possible to move strings to PROGMEM by defining USBTRACE (USB_HOST_SERIAL.print(F(s)))</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_usb_8h.html#afc6fe7f947af35317a49a4dcfc8189fd"> 62</a></span> <span class="preprocessor">#define USBTRACE(s) (Notify(PSTR(s), 0x80))</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_usb_8h.html#adbe3f00986df48a9254f8bf0992041d3"> 63</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USBTRACE2(s,r) (Notify(PSTR(s), 0x80), D_PrintHex((r), 0x80), Notify(PSTR("\r\n"), 0x80))</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">/* Common setup data constant combinations */</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="_usb_8h.html#a060f3a6423f1e3640aa7b14d5ce72285"> 68</a></span> <span class="preprocessor">#define bmREQ_GET_DESCR USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_DEVICE //get descriptor request type</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_usb_8h.html#af4965e768593007eacde7644979f56da"> 69</a></span> <span class="preprocessor"></span><span class="preprocessor">#define bmREQ_SET USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_DEVICE //set request type for all but 'set feature' and 'set interface'</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="_usb_8h.html#a9495c8ffdb784e111e8174e1541676f0"> 70</a></span> <span class="preprocessor"></span><span class="preprocessor">#define bmREQ_CL_GET_INTF USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE //get interface request type</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">// D7 data transfer direction (0 - host-to-device, 1 - device-to-host)</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">// D6-5 Type (0- standard, 1 - class, 2 - vendor, 3 - reserved)</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment">// D4-0 Recipient (0 - device, 1 - interface, 2 - endpoint, 3 - other, 4..31 - reserved)</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment">// USB Device Classes</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae157c9a62665e9ca41bf765518077f40"> 77</a></span> <span class="preprocessor">#define USB_CLASS_USE_CLASS_INFO 0x00 // Use Class Info in the Interface Descriptors</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="_usb_8h.html#a8785f84db1be6b0b5da34cd91a1b6138"> 78</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_AUDIO 0x01 // Audio</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="_usb_8h.html#abb99f6b1f38ff79ec678cd957ac86758"> 79</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_COM_AND_CDC_CTRL 0x02 // Communications and CDC Control</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="_usb_8h.html#af062e949014bed74a8b5fedcf1705602"> 80</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HID 0x03 // HID</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa5f3153d014b6267ba8da243b6b46443"> 81</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PHYSICAL 0x05 // Physical</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_usb_8h.html#a1cddf36a39f1299fcf654628c40eaafe"> 82</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_IMAGE 0x06 // Image</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="_usb_8h.html#ab3e03403111b64480ba298d2641cf92f"> 83</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PRINTER 0x07 // Printer</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa99b73e335df09e6545fc44798a3c1f2"> 84</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MASS_STORAGE 0x08 // Mass Storage</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="_usb_8h.html#aac5a936a2d1a6e3403798b031294992a"> 85</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HUB 0x09 // Hub</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7dae7df3ce2685f96775f2a0fb8658ae"> 86</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CDC_DATA 0x0a // CDC-Data</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="_usb_8h.html#a823e1d95a677968ba93d6bb1968c48db"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_SMART_CARD 0x0b // Smart-Card</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_usb_8h.html#a311fda5cdf4960e05a892084c1b11288"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CONTENT_SECURITY 0x0d // Content Security</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_usb_8h.html#a42a579e1be399e32a495b82634411449"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VIDEO 0x0e // Video</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="_usb_8h.html#aef502b63c6eb8229ba4d67224f19fb84"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PERSONAL_HEALTH 0x0f // Personal Healthcare</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa31549c5c0d9e18f310dddaeab27068b"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_DIAGNOSTIC_DEVICE 0xdc // Diagnostic Device</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="_usb_8h.html#afce880b09049d7105f8e68ff36d9ad17"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_WIRELESS_CTRL 0xe0 // Wireless Controller</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_usb_8h.html#a02fb07e20ad6d1af64439f40093bc80f"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MISC 0xef // Miscellaneous</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="_usb_8h.html#a47087a6e244a02251b650921ea3b71db"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_APP_SPECIFIC 0xfe // Application Specific</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7c6212a5385ca1b4af75eeff62f7a871"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VENDOR_SPECIFIC 0xff // Vendor Specific</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// Additional Error Codes</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589"> 98</a></span> <span class="preprocessor">#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED 0xD1</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7cb7070e699b7815e3c45dc8f7dd67f1"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE 0xD2</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="_usb_8h.html#ad4929f74079f3bc22b00936ae84d18b0"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS 0xD3</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="_usb_8h.html#a15370eb665cdded5514e69ca58d9f39d"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL 0xD4</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="_usb_8h.html#ada55913b93ef46c430ed6979022c31b1"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_HUB_ADDRESS_OVERFLOW 0xD5</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL 0xD6</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="_usb_8h.html#af192c59cafe2192ad802b22e6dbc077d"> 104</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_EPINFO_IS_NULL 0xD7</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="_usb_8h.html#a52c379fe7e22f53d3e3d47d65735fa3b"> 105</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_ARGUMENT 0xD8</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="_usb_8h.html#a44416ff64fc0e3691f98addac13d4595"> 106</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE 0xD9</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="_usb_8h.html#a272428aaee5fccec4661bd5457d1928f"> 107</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_MAX_PKT_SIZE 0xDA</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="_usb_8h.html#ad55f0079a95df5e4a9bb22e88a7395f5"> 108</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_EP_NOT_FOUND_IN_TBL 0xDB</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e"> 109</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET 0xE0</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="_usb_8h.html#a96a7af8bc5ba78235312e1084a5ee229"> 110</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailGetDevDescr 0xE1</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_usb_8h.html#a86f5704804d91e5b0333b418586f4c43"> 111</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailSetDevTblEntry 0xE2</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="_usb_8h.html#a5f181b47dbedffe69a32352247834b13"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailGetConfDescr 0xE3</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae691ccb027b8e281ac87522a0e66aaa7"> 113</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_TRANSFER_TIMEOUT 0xFF</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="_usb_8h.html#ad8686abbfa0d98547d450fe2a105a588"> 115</a></span> <span class="preprocessor">#define USB_XFER_TIMEOUT 10000 //30000 // (5000) USB transfer timeout in milliseconds, per section 9.2.6.1 of USB 2.0 spec</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor"></span><span class="comment">//#define USB_NAK_LIMIT 32000 //NAK limit for a transfer. 0 means NAKs are not counted</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_usb_8h.html#a857a9899ad4f277faf074c3012e14ffa"> 117</a></span> <span class="preprocessor">#define USB_RETRY_LIMIT 3 // 3 retry limit for a transfer</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="_usb_8h.html#a1b082667723b29243b021a1829bdd8d6"> 118</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_SETTLE_DELAY 200 //settle delay in milliseconds</span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="_usb_8h.html#a0282f9f7a0313f957e02449d7313b7b5"> 120</a></span> <span class="preprocessor">#define USB_NUMDEVICES 16 //number of USB devices</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span><span class="comment">//#define HUB_MAX_HUBS 7 // maximum number of hubs that can be attached to the host controller</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae843af5aa0de74b17c3d8c8f8fab4c00"> 122</a></span> <span class="preprocessor">#define HUB_PORT_RESET_DELAY 20 // hub port reset delay 10 ms recomended, can be up to 20 ms</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment">/* USB state machine states */</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="_usb_8h.html#a3168cf67661a2716677b9830f30b880c"> 125</a></span> <span class="preprocessor">#define USB_STATE_MASK 0xf0</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae7fd7c5bb6dc87f44724dde2ad57df87"> 127</a></span> <span class="preprocessor">#define USB_STATE_DETACHED 0x10</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_usb_8h.html#a60a744d0f1386e4b28053a41bd6a958f"> 128</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_INITIALIZE 0x11</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="_usb_8h.html#a3708f4e8166d5d099e1982aa956eacce"> 129</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE 0x12</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="_usb_8h.html#aff6ab2376cd29385b20c2b63d4ddd26d"> 130</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_ILLEGAL 0x13</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="_usb_8h.html#aaadb20392558e23e3eba073e358a4493"> 131</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_SETTLE 0x20</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="_usb_8h.html#ada22633d6de30155a60cb19f6e6452fe"> 132</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_RESET_DEVICE 0x30</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="_usb_8h.html#a311f11b79c4020d771cd6930e0a3223d"> 133</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_RESET_COMPLETE 0x40</span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="_usb_8h.html#a2d69537e663e7d5f188004f0d25ec0cc"> 134</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_SOF 0x50</span></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="_usb_8h.html#a80a8d6b8e75c76947e452b4afa04c84e"> 135</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_RESET 0x51</span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="_usb_8h.html#a23ebcbb956f600e06435b28ae0c855d4"> 136</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_GET_DEVICE_DESCRIPTOR_SIZE 0x60</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="_usb_8h.html#a474a95baaeb99abd17538c2a1364bf96"> 137</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ADDRESSING 0x70</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="_usb_8h.html#aac8c844e6a20f42298d70e4438a029e5"> 138</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_CONFIGURING 0x80</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="_usb_8h.html#a138c40c59f628eefbe273a8db0a96753"> 139</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_RUNNING 0x90</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="_usb_8h.html#a6fef5305841ac36f67d8ddb0bd9127d4"> 140</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ERROR 0xa0</span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html"> 142</a></span> <span class="keyword">class </span><a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738"> 144</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e"> 145</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {<span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432"> 146</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">Release</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a"> 147</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">Poll</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1"> 148</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">GetAddress</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391"> 149</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port) { <span class="keywordflow">return</span>; } <span class="comment">// Note used for hubs only!</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b"> 150</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">VIDPIDOK</a>(uint16_t vid, uint16_t pid) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2"> 151</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(uint8_t klass) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> };</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment">/* USB Setup Packet Structure */</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html"> 155</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">union </span>{ <span class="comment">// offset description</span></div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5"> 158</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5">bmRequestType</a>; <span class="comment">// 0 Bit-map of request type</span></div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a690a55f65b2ce4e69c426b92004a1cc6"> 161</a></span>  uint8_t recipient : 5; <span class="comment">// Recipient of the request</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#ad9346ba7b7a4da6829142e23e3ba8a2f"> 162</a></span>  uint8_t type : 2; <span class="comment">// Type of request</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#ab50c95fb951cdebc78c3e024de1d6d65"> 163</a></span>  uint8_t direction : 1; <span class="comment">// Direction of data X-fer</span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  } __attribute__((packed));</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  } ReqType_u;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016"> 166</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">bRequest</a>; <span class="comment">// 1 Request</span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">union </span>{</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52"> 169</a></span>  uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52">wValue</a>; <span class="comment">// 2 Depends on bRequest</span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9"> 172</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">wValueLo</a>;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443"> 173</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">wValueHi</a>;</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  } __attribute__((packed));</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  } wVal_u;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e"> 176</a></span>  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="l00177"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537"> 177</a></span>  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="l00178"></a><span class="lineno"> 178</span> } <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="l00179"></a><span class="lineno"> 179</span> </div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment">// Base class for incoming data parser</span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"><a class="code" href="class_u_s_b_read_parser.html"> 184</a></span> <span class="keyword">class </span><a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> {</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <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 &offset) = 0;</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> };</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_u_s_b.html"> 189</a></span> <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="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="class_address_pool_impl.html">AddressPoolImpl<USB_NUMDEVICES></a> addrPool;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a>* devConfig[<a class="code" href="_usb_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>];</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">//uint8_t devConfigIndex;</span></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  uint8_t bmHubPre;</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4"> 198</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4">SetHubPreMask</a>() {</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  bmHubPre |= <a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>;</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  };</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1"> 202</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">ResetHubPreMask</a>() {</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  bmHubPre &= (~<a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  };</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4"> 206</a></span>  <a class="code" href="class_address_pool.html">AddressPool</a>& <a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>() {</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">return</span>(<a class="code" href="class_address_pool.html">AddressPool</a>&) addrPool;</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  };</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2"> 210</a></span>  uint8_t <a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a>(<a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> *pdev) {</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_usb_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; i++) {</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">if</span>(!devConfig[i]) {</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  devConfig[i] = pdev;</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  }</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#ad4929f74079f3bc22b00936ae84d18b0">USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</a>;</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  };</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42"> 220</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42">ForEachUsbDevice</a>(<a class="code" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> pfunc) {</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  addrPool.<a class="code" href="class_address_pool_impl.html#a09e6dc797f82543eba0879369116182e">ForEachUsbDevice</a>(pfunc);</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  };</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  uint8_t <a class="code" href="class_u_s_b.html#a1c1aad8269403bf488e3bc4c79886ce4">getUsbTaskState</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a8ff697d334dc611720419374acd1e5fb">setUsbTaskState</a>(uint8_t state);</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <a class="code" href="struct_ep_info.html">EpInfo</a>* <a class="code" href="class_u_s_b.html#a59ee57083ba492d87ff2947547848d58">getEpInfoEntry</a>(uint8_t addr, uint8_t ep);</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  uint8_t <a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(uint8_t addr, uint8_t epcount, <a class="code" href="struct_ep_info.html">EpInfo</a>* eprecord_ptr);</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="comment">//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 nbytes, uint8_t* dataptr);</span></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">/* Control requests */</span></div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint8_t <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24" title="defined(USB_METHODS_INLINE) ">getDevDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">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="l00236"></a><span class="lineno"> 236</span> </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  uint8_t <a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a>(uint8_t oldaddr, uint8_t ep, uint8_t newaddr);</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  uint8_t <a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a>(uint8_t addr, uint8_t ep, uint8_t conf_value);</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  uint8_t <a class="code" href="class_u_s_b.html#a994f9488ac6f91040c42d9b816d202c6">ctrlData</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr, <span class="keywordtype">boolean</span> direction);</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  uint8_t <a class="code" href="class_u_s_b.html#ab18915ffbd8a70ac5bd6abc3e0f3c66a">ctrlStatus</a>(uint8_t ep, <span class="keywordtype">boolean</span> direction, uint16_t nak_limit);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  uint8_t <a class="code" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a>(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  uint8_t <a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  uint8_t <a class="code" href="class_u_s_b.html#a343d4b321cf8e99f0504cb04c7ce8b10">dispatchPkt</a>(uint8_t token, uint8_t ep, uint16_t nak_limit);</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#aff8d1b2009c760bc27fb12762bd3c9b6">Task</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  uint8_t <a class="code" href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">DefaultAddressing</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  uint8_t <a class="code" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">Configuring</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  uint8_t <a class="code" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">ReleaseDevice</a>(uint8_t addr);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  uint8_t <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi,</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t* dataptr, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *p);</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordtype">void</span> init();</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  uint8_t SetAddress(uint8_t addr, uint8_t ep, <a class="code" href="struct_ep_info.html">EpInfo</a> **ppep, uint16_t &nak_limit);</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  uint8_t OutTransfer(<a class="code" href="struct_ep_info.html">EpInfo</a> *pep, uint16_t nak_limit, uint16_t nbytes, uint8_t *data);</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  uint8_t InTransfer(<a class="code" href="struct_ep_info.html">EpInfo</a> *pep, uint16_t nak_limit, uint16_t *nbytesptr, uint8_t *data);</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  uint8_t AttemptConfig(uint8_t driver, uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> };</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor">#if 0 //defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="preprocessor"></span><span class="comment">//get device descriptor</span></div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">inline</span> uint8_t <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24" title="defined(USB_METHODS_INLINE) ">USB::getDevDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr) {</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span>( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_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, dataptr));</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> }</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">//get configuration descriptor</span></div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="keyword">inline</span> 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="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">return</span>( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_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, dataptr));</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> }</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment">//get string descriptor</span></div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">inline</span> uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t nuint8_ts, uint8_t index, uint16_t langid, uint8_t* dataptr) {</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordflow">return</span>( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_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, nuint8_ts, dataptr));</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> }</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment">//set address</span></div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="keyword">inline</span> 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="l00283"></a><span class="lineno"> 283</span>  <span class="keywordflow">return</span>( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(oldaddr, ep, <a class="code" href="_usb_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a>, <a class="code" href="usb__ch9_8h.html#ac87659819bfd6491120c819fae2d46bc">USB_REQUEST_SET_ADDRESS</a>, newaddr, 0x00, 0x0000, 0x0000, NULL));</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> }</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment">//set configuration</span></div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keyword">inline</span> 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="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span>( <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(addr, ep, <a class="code" href="_usb_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, NULL));</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> }</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#endif // defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor">#endif //_usb_h_</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="address_8h.html">address.h</a>"</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="avrpins_8h.html">avrpins.h</a>"</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="usb__ch9_8h.html">usb_ch9.h</a>"</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="usbhost_8h.html">usbhost.h</a>"</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_usb_core_8h.html">UsbCore.h</a>"</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="parsetools_8h.html">parsetools.h</a>"</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="confdescparser_8h.html">confdescparser.h</a>"</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif //_usb_h_</span></div>
|
||||
<div class="ttc" id="_usb_core_8h_html"><div class="ttname"><a href="_usb_core_8h.html">UsbCore.h</a></div></div>
|
||||
<div class="ttc" id="parsetools_8h_html"><div class="ttname"><a href="parsetools_8h.html">parsetools.h</a></div></div>
|
||||
<div class="ttc" id="message_8h_html"><div class="ttname"><a href="message_8h.html">message.h</a></div></div>
|
||||
<div class="ttc" id="avrpins_8h_html"><div class="ttname"><a href="avrpins_8h.html">avrpins.h</a></div></div>
|
||||
<div class="ttc" id="usbhost_8h_html"><div class="ttname"><a href="usbhost_8h.html">usbhost.h</a></div></div>
|
||||
<div class="ttc" id="usb__ch9_8h_html"><div class="ttname"><a href="usb__ch9_8h.html">usb_ch9.h</a></div></div>
|
||||
<div class="ttc" id="address_8h_html"><div class="ttname"><a href="address_8h.html">address.h</a></div></div>
|
||||
<div class="ttc" id="max3421e_8h_html"><div class="ttname"><a href="max3421e_8h.html">max3421e.h</a></div></div>
|
||||
<div class="ttc" id="settings_8h_html"><div class="ttname"><a href="settings_8h.html">settings.h</a></div></div>
|
||||
<div class="ttc" id="confdescparser_8h_html"><div class="ttname"><a href="confdescparser_8h.html">confdescparser.h</a></div></div>
|
||||
<div class="ttc" id="printhex_8h_html"><div class="ttname"><a href="printhex_8h.html">printhex.h</a></div></div>
|
||||
<div class="ttc" id="hexdump_8h_html"><div class="ttname"><a href="hexdump_8h.html">hexdump.h</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
1084
_usb_core_8h.html
Normal file
417
_usb_core_8h_source.html
Normal file
|
@ -0,0 +1,417 @@
|
|||
<!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: UsbCore.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 Page</span></a></li>
|
||||
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </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">UsbCore.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_usb_core_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * File: UsbCore.h</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Author: xxxajk</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Created on September 29, 2013, 9:25 PM</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#if !defined(_usb_h_) || defined(USBCORE_H)</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor">#error "Never include UsbCore.h directly; include Usb.h instead"</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"></span><span class="preprocessor">#define USBCORE_H</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// Not used anymore? If anyone uses this, please let us know so that this may be</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// moved to the proper place, settings.h.</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">//#define USB_METHODS_INLINE</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">/* shield pins. First parameter - SS pin, second parameter - INT pin */</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifdef BOARD_BLACK_WIDDOW</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P6, P3></a> <a class="code" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Black Widow</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#elif defined(CORE_TEENSY) && (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__))</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P9, P8></a> <a class="code" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Teensy++ 1.0 and 2.0</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#elif defined(BOARD_MEGA_ADK)</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P53, P54></a> <a class="code" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Arduino Mega ADK</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#elif defined(ARDUINO_AVR_BALANDUINO)</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P20, P19></a> <a class="code" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Balanduino</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb"> 27</a></span> <span class="preprocessor"></span><span class="keyword">typedef</span> <a class="code" href="class_m_a_x3421e.html">MAX3421e<P10, P9></a> <a class="code" href="_usb_core_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb">MAX3421E</a>; <span class="comment">// Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.) or Teensy 2.0 and 3.0</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* Common setup data constant combinations */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a060f3a6423f1e3640aa7b14d5ce72285"> 31</a></span> <span class="preprocessor">#define bmREQ_GET_DESCR USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_DEVICE //get descriptor request type</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#af4965e768593007eacde7644979f56da"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define bmREQ_SET USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_DEVICE //set request type for all but 'set feature' and 'set interface'</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a9495c8ffdb784e111e8174e1541676f0"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define bmREQ_CL_GET_INTF USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE //get interface request type</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// D7 data transfer direction (0 - host-to-device, 1 - device-to-host)</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// D6-5 Type (0- standard, 1 - class, 2 - vendor, 3 - reserved)</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// D4-0 Recipient (0 - device, 1 - interface, 2 - endpoint, 3 - other, 4..31 - reserved)</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// USB Device Classes</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae157c9a62665e9ca41bf765518077f40"> 40</a></span> <span class="preprocessor">#define USB_CLASS_USE_CLASS_INFO 0x00 // Use Class Info in the Interface Descriptors</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a8785f84db1be6b0b5da34cd91a1b6138"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_AUDIO 0x01 // Audio</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#abb99f6b1f38ff79ec678cd957ac86758"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_COM_AND_CDC_CTRL 0x02 // Communications and CDC Control</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#af062e949014bed74a8b5fedcf1705602"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HID 0x03 // HID</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aa5f3153d014b6267ba8da243b6b46443"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PHYSICAL 0x05 // Physical</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a1cddf36a39f1299fcf654628c40eaafe"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_IMAGE 0x06 // Image</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ab3e03403111b64480ba298d2641cf92f"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PRINTER 0x07 // Printer</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aa99b73e335df09e6545fc44798a3c1f2"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MASS_STORAGE 0x08 // Mass Storage</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aac5a936a2d1a6e3403798b031294992a"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HUB 0x09 // Hub</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a7dae7df3ce2685f96775f2a0fb8658ae"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CDC_DATA 0x0a // CDC-Data</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a823e1d95a677968ba93d6bb1968c48db"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_SMART_CARD 0x0b // Smart-Card</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a311fda5cdf4960e05a892084c1b11288"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CONTENT_SECURITY 0x0d // Content Security</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a42a579e1be399e32a495b82634411449"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VIDEO 0x0e // Video</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aef502b63c6eb8229ba4d67224f19fb84"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PERSONAL_HEALTH 0x0f // Personal Healthcare</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aa31549c5c0d9e18f310dddaeab27068b"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_DIAGNOSTIC_DEVICE 0xdc // Diagnostic Device</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#afce880b09049d7105f8e68ff36d9ad17"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_WIRELESS_CTRL 0xe0 // Wireless Controller</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a02fb07e20ad6d1af64439f40093bc80f"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MISC 0xef // Miscellaneous</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a47087a6e244a02251b650921ea3b71db"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_APP_SPECIFIC 0xfe // Application Specific</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a7c6212a5385ca1b4af75eeff62f7a871"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VENDOR_SPECIFIC 0xff // Vendor Specific</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// Additional Error Codes</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589"> 61</a></span> <span class="preprocessor">#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED 0xD1</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a7cb7070e699b7815e3c45dc8f7dd67f1"> 62</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DEV_CONFIG_ERROR_DEVICE_INIT_INCOMPLETE 0xD2</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ad4929f74079f3bc22b00936ae84d18b0"> 63</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS 0xD3</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL 0xD4</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ada55913b93ef46c430ed6979022c31b1"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_HUB_ADDRESS_OVERFLOW 0xD5</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL 0xD6</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#af192c59cafe2192ad802b22e6dbc077d"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_EPINFO_IS_NULL 0xD7</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a52c379fe7e22f53d3e3d47d65735fa3b"> 68</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_ARGUMENT 0xD8</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a44416ff64fc0e3691f98addac13d4595"> 69</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE 0xD9</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a272428aaee5fccec4661bd5457d1928f"> 70</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_MAX_PKT_SIZE 0xDA</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ad55f0079a95df5e4a9bb22e88a7395f5"> 71</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_EP_NOT_FOUND_IN_TBL 0xDB</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a7cad2f024e98c4b2b1b52df76b10c01e"> 72</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET 0xE0</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a96a7af8bc5ba78235312e1084a5ee229"> 73</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailGetDevDescr 0xE1</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a86f5704804d91e5b0333b418586f4c43"> 74</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailSetDevTblEntry 0xE2</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a5f181b47dbedffe69a32352247834b13"> 75</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_FailGetConfDescr 0xE3</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae691ccb027b8e281ac87522a0e66aaa7"> 76</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_TRANSFER_TIMEOUT 0xFF</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ad8686abbfa0d98547d450fe2a105a588"> 78</a></span> <span class="preprocessor">#define USB_XFER_TIMEOUT 10000 //30000 // (5000) USB transfer timeout in milliseconds, per section 9.2.6.1 of USB 2.0 spec</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span><span class="comment">//#define USB_NAK_LIMIT 32000 //NAK limit for a transfer. 0 means NAKs are not counted</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a857a9899ad4f277faf074c3012e14ffa"> 80</a></span> <span class="preprocessor">#define USB_RETRY_LIMIT 3 // 3 retry limit for a transfer</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a1b082667723b29243b021a1829bdd8d6"> 81</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_SETTLE_DELAY 200 //settle delay in milliseconds</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5"> 83</a></span> <span class="preprocessor">#define USB_NUMDEVICES 16 //number of USB devices</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span><span class="comment">//#define HUB_MAX_HUBS 7 // maximum number of hubs that can be attached to the host controller</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae843af5aa0de74b17c3d8c8f8fab4c00"> 85</a></span> <span class="preprocessor">#define HUB_PORT_RESET_DELAY 20 // hub port reset delay 10 ms recomended, can be up to 20 ms</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">/* USB state machine states */</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a3168cf67661a2716677b9830f30b880c"> 88</a></span> <span class="preprocessor">#define USB_STATE_MASK 0xf0</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ae7fd7c5bb6dc87f44724dde2ad57df87"> 90</a></span> <span class="preprocessor">#define USB_STATE_DETACHED 0x10</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a60a744d0f1386e4b28053a41bd6a958f"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_INITIALIZE 0x11</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a3708f4e8166d5d099e1982aa956eacce"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE 0x12</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aff6ab2376cd29385b20c2b63d4ddd26d"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_ILLEGAL 0x13</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aaadb20392558e23e3eba073e358a4493"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_SETTLE 0x20</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#ada22633d6de30155a60cb19f6e6452fe"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_RESET_DEVICE 0x30</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a311f11b79c4020d771cd6930e0a3223d"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_RESET_COMPLETE 0x40</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a2d69537e663e7d5f188004f0d25ec0cc"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_SOF 0x50</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a80a8d6b8e75c76947e452b4afa04c84e"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_RESET 0x51</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a23ebcbb956f600e06435b28ae0c855d4"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_GET_DEVICE_DESCRIPTOR_SIZE 0x60</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a474a95baaeb99abd17538c2a1364bf96"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ADDRESSING 0x70</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#aac8c844e6a20f42298d70e4438a029e5"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_CONFIGURING 0x80</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a138c40c59f628eefbe273a8db0a96753"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_RUNNING 0x90</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="_usb_core_8h.html#a6fef5305841ac36f67d8ddb0bd9127d4"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ERROR 0xa0</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html"> 105</a></span> <span class="keyword">class </span><a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738"> 107</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e"> 108</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {<span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432"> 109</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">Release</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a"> 110</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">Poll</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1"> 111</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">GetAddress</a>() { <span class="keywordflow">return</span> 0; }</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391"> 112</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a>(uint8_t port) { <span class="keywordflow">return</span>; } <span class="comment">// Note used for hubs only!</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b"> 113</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">VIDPIDOK</a>(uint16_t vid, uint16_t pid) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2"> 114</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">DEVCLASSOK</a>(uint8_t klass) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> };</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment">/* USB Setup Packet Structure */</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html"> 118</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">union </span>{ <span class="comment">// offset description</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5"> 121</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5">bmRequestType</a>; <span class="comment">// 0 Bit-map of request type</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a690a55f65b2ce4e69c426b92004a1cc6"> 124</a></span>  uint8_t recipient : 5; <span class="comment">// Recipient of the request</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#ad9346ba7b7a4da6829142e23e3ba8a2f"> 125</a></span>  uint8_t type : 2; <span class="comment">// Type of request</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#ab50c95fb951cdebc78c3e024de1d6d65"> 126</a></span>  uint8_t direction : 1; <span class="comment">// Direction of data X-fer</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  } __attribute__((packed));</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  } ReqType_u;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016"> 129</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016">bRequest</a>; <span class="comment">// 1 Request</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">union </span>{</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52"> 132</a></span>  uint16_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1382f4a10a9b0774f803d1125dd9bb52">wValue</a>; <span class="comment">// 2 Depends on bRequest</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9"> 135</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a68c9436c00560f96e044052c3fb681e9">wValueLo</a>;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443"> 136</a></span>  uint8_t <a class="code" href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443">wValueHi</a>;</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  } __attribute__((packed));</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  } 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>  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>  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> } <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="l00142"></a><span class="lineno"> 142</span> </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment">// Base class for incoming data parser</span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </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> <span class="keyword">class </span><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> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <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 &offset) = 0;</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> };</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_u_s_b.html"> 152</a></span> <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="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="class_address_pool_impl.html">AddressPoolImpl<USB_NUMDEVICES></a> addrPool;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a>* devConfig[<a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>];</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  uint8_t bmHubPre;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4"> 160</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4">SetHubPreMask</a>() {</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  bmHubPre |= <a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  };</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1"> 164</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">ResetHubPreMask</a>() {</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  bmHubPre &= (~<a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>);</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  };</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4"> 168</a></span>  <a class="code" href="class_address_pool.html">AddressPool</a>& <a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>() {</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span>(<a class="code" href="class_address_pool.html">AddressPool</a>&) addrPool;</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  };</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2"> 172</a></span>  uint8_t <a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a>(<a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> *pdev) {</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_usb_core_8h.html#a0282f9f7a0313f957e02449d7313b7b5">USB_NUMDEVICES</a>; i++) {</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">if</span>(!devConfig[i]) {</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  devConfig[i] = pdev;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#ad4929f74079f3bc22b00936ae84d18b0">USB_ERROR_UNABLE_TO_REGISTER_DEVICE_CLASS</a>;</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  };</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42"> 182</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42">ForEachUsbDevice</a>(<a class="code" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> pfunc) {</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  addrPool.<a class="code" href="class_address_pool_impl.html#a09e6dc797f82543eba0879369116182e">ForEachUsbDevice</a>(pfunc);</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  };</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  uint8_t <a class="code" href="class_u_s_b.html#a1c1aad8269403bf488e3bc4c79886ce4">getUsbTaskState</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a8ff697d334dc611720419374acd1e5fb">setUsbTaskState</a>(uint8_t state);</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="struct_ep_info.html">EpInfo</a>* <a class="code" href="class_u_s_b.html#a59ee57083ba492d87ff2947547848d58">getEpInfoEntry</a>(uint8_t addr, uint8_t ep);</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  uint8_t <a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(uint8_t addr, uint8_t epcount, <a class="code" href="struct_ep_info.html">EpInfo</a>* eprecord_ptr);</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">/* Control requests */</span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  uint8_t <a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  uint8_t <a class="code" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">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="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t index, uint16_t langid, uint8_t* dataptr);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  uint8_t <a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a>(uint8_t oldaddr, uint8_t ep, uint8_t newaddr);</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  uint8_t <a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a>(uint8_t addr, uint8_t ep, uint8_t conf_value);</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  uint8_t <a class="code" href="class_u_s_b.html#a994f9488ac6f91040c42d9b816d202c6">ctrlData</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* dataptr, <span class="keywordtype">boolean</span> direction);</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  uint8_t <a class="code" href="class_u_s_b.html#ab18915ffbd8a70ac5bd6abc3e0f3c66a">ctrlStatus</a>(uint8_t ep, <span class="keywordtype">boolean</span> direction, uint16_t nak_limit);</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  uint8_t <a class="code" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a>(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  uint8_t <a class="code" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a>(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  uint8_t <a class="code" href="class_u_s_b.html#a343d4b321cf8e99f0504cb04c7ce8b10">dispatchPkt</a>(uint8_t token, uint8_t ep, uint16_t nak_limit);</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#aff8d1b2009c760bc27fb12762bd3c9b6">Task</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  uint8_t <a class="code" href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">DefaultAddressing</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  uint8_t <a class="code" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">Configuring</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  uint8_t <a class="code" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">ReleaseDevice</a>(uint8_t addr);</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  uint8_t <a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(uint8_t addr, uint8_t ep, uint8_t bmReqType, uint8_t bRequest, uint8_t wValLo, uint8_t wValHi,</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t* dataptr, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *p);</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">void</span> init();</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  uint8_t SetAddress(uint8_t addr, uint8_t ep, <a class="code" href="struct_ep_info.html">EpInfo</a> **ppep, uint16_t &nak_limit);</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  uint8_t OutTransfer(<a class="code" href="struct_ep_info.html">EpInfo</a> *pep, uint16_t nak_limit, uint16_t nbytes, uint8_t *data);</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  uint8_t InTransfer(<a class="code" href="struct_ep_info.html">EpInfo</a> *pep, uint16_t nak_limit, uint16_t *nbytesptr, uint8_t *data);</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  uint8_t AttemptConfig(uint8_t driver, uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> };</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor">#if 0 //defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="preprocessor"></span><span class="comment">//get device descriptor</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">inline</span> 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="l00228"></a><span class="lineno"> 228</span>  <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, dataptr));</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment">//get configuration descriptor</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="keyword">inline</span> 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="l00233"></a><span class="lineno"> 233</span>  <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, dataptr));</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> }</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment">//get string descriptor</span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">inline</span> uint8_t <a class="code" href="class_u_s_b.html#a372ecbe1d23955e8b04b5e95e0e4a833">USB::getStrDescr</a>(uint8_t addr, uint8_t ep, uint16_t nuint8_ts, uint8_t index, uint16_t langid, uint8_t* dataptr) {</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <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, nuint8_ts, dataptr));</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment">//set address</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="keyword">inline</span> 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="l00243"></a><span class="lineno"> 243</span>  <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, NULL));</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> }</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment">//set configuration</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">inline</span> 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="l00248"></a><span class="lineno"> 248</span>  <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, NULL));</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> }</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="preprocessor">#endif // defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <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> <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_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="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="max3421e_8h_html_a8816c259368604d0de57f31bcb6c1674"><div class="ttname"><a href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a></div><div class="ttdeci">#define bmHUBPRE</div><div class="ttdef"><b>Definition:</b> <a href="max3421e_8h_source.html#l00170">max3421e.h:170</a></div></div>
|
||||
<div class="ttc" id="class_u_s_b_device_config_html_a2bfde6c290d32888a6f4e97fa1e222f1"><div class="ttname"><a href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00111">UsbCore.h:111</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="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 &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#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_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="_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_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_device_config_html_aef77a1e62f78c04a1aad53e8795ec89e"><div class="ttname"><a href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig::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="_usb_core_8h_source.html#l00108">UsbCore.h:108</a></div></div>
|
||||
<div class="ttc" id="struct_s_e_t_u_p___p_k_t_html_a9bbd6cf5a93a6433d2eb97c59b9102d5"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5">SETUP_PKT::bmRequestType</a></div><div class="ttdeci">uint8_t bmRequestType</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00121">UsbCore.h:121</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="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_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="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="struct_s_e_t_u_p___p_k_t_html_a299d9f88d294369ea88b48b5026f4c7e"><div class="ttname"><a href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e">SETUP_PKT::wIndex</a></div><div class="ttdeci">uint16_t wIndex</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00139">UsbCore.h:139</a></div></div>
|
||||
<div class="ttc" id="class_u_s_b_html_aedcc6c06badd14b6fd3b0dda94269ad4"><div class="ttname"><a href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4">USB::SetHubPreMask</a></div><div class="ttdeci">void SetHubPreMask()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00160">UsbCore.h:160</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_a8ff697d334dc611720419374acd1e5fb"><div class="ttname"><a href="class_u_s_b.html#a8ff697d334dc611720419374acd1e5fb">USB::setUsbTaskState</a></div><div class="ttdeci">void setUsbTaskState(uint8_t state)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00040">Usb.cpp:40</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="_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="_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="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< P10, P9 > 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="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_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_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_aff8d1b2009c760bc27fb12762bd3c9b6"><div class="ttname"><a href="class_u_s_b.html#aff8d1b2009c760bc27fb12762bd3c9b6">USB::Task</a></div><div class="ttdeci">void Task(void)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00422">Usb.cpp:422</a></div></div>
|
||||
<div class="ttc" id="class_address_pool_impl_html"><div class="ttname"><a href="class_address_pool_impl.html">AddressPoolImpl< USB_NUMDEVICES ></a></div></div>
|
||||
<div class="ttc" id="class_u_s_b_device_config_html_a7f13c42ed2c8e72e1f63562576ca82d2"><div class="ttname"><a href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig::DEVCLASSOK</a></div><div class="ttdeci">virtual boolean DEVCLASSOK(uint8_t klass)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00114">UsbCore.h:114</a></div></div>
|
||||
<div class="ttc" id="class_address_pool_impl_html_a09e6dc797f82543eba0879369116182e"><div class="ttname"><a href="class_address_pool_impl.html#a09e6dc797f82543eba0879369116182e">AddressPoolImpl::ForEachUsbDevice</a></div><div class="ttdeci">void ForEachUsbDevice(UsbDeviceHandleFunc pfunc)</div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00185">address.h:185</a></div></div>
|
||||
<div class="ttc" id="class_u_s_b_html_a994f9488ac6f91040c42d9b816d202c6"><div class="ttname"><a href="class_u_s_b.html#a994f9488ac6f91040c42d9b816d202c6">USB::ctrlData</a></div><div class="ttdeci">uint8_t ctrlData(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr, boolean direction)</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_html_a66ab8f5eda239e761d5a48741ea1f9d4"><div class="ttname"><a href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">USB::GetAddressPool</a></div><div class="ttdeci">AddressPool & 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"><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="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="class_u_s_b_device_config_html_a61e301efedae55c6ac12c6cce154e432"><div class="ttname"><a href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00109">UsbCore.h:109</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="_usb_core_8h_html_af4965e768593007eacde7644979f56da"><div class="ttname"><a href="_usb_core_8h.html#af4965e768593007eacde7644979f56da">bmREQ_SET</a></div><div class="ttdeci">#define bmREQ_SET</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00032">UsbCore.h:32</a></div></div>
|
||||
<div class="ttc" id="class_u_s_b_html_a8346db8f2219f65257d735834940bc42"><div class="ttname"><a href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42">USB::ForEachUsbDevice</a></div><div class="ttdeci">void ForEachUsbDevice(UsbDeviceHandleFunc pfunc)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00182">UsbCore.h:182</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="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="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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: Wii.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -97,7 +97,7 @@ Include dependency graph for Wii.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_wii_8cpp__incl.png" border="0" usemap="#_wii_8cpp" alt=""/></div>
|
||||
<map name="_wii_8cpp" id="_wii_8cpp">
|
||||
<area shape="rect" id="node2" href="_wii_8h.html" title="Wii.h" alt="" coords="648,75,688,96"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="600,144,646,165"/><area shape="rect" id="node22" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="670,144,756,165"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="330,283,372,304"/><area shape="rect" id="node20" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,213,771,235"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,421,88,443"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,421,351,443"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,352,208,373"/><area shape="rect" id="node12" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,421,559,443"/><area shape="rect" id="node14" href="address_8h.html" title="address.h" alt="" coords="356,352,412,373"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="735,352,796,373"/><area shape="rect" id="node18" href="printhex_8h.html" title="printhex.h" alt="" coords="737,491,794,512"/><area shape="rect" id="node19" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,421,796,443"/><area shape="rect" id="node21" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,283,832,304"/></map>
|
||||
<area shape="rect" id="node2" href="_wii_8h.html" title="Wii.h" alt="" coords="68,83,119,111"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="5,161,64,189"/><area shape="rect" id="node5" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="88,161,216,189"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="7,238,63,266"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_wii_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -216,7 +216,7 @@ Variables</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
<map id="Wii.cpp" name="Wii.cpp">
|
||||
<area shape="rect" id="node2" href="$_wii_8h.html" title="Wii.h" alt="" coords="648,75,688,96"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="600,144,646,165"/>
|
||||
<area shape="rect" id="node22" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="670,144,756,165"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,283,372,304"/>
|
||||
<area shape="rect" id="node20" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,213,771,235"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,421,88,443"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,421,351,443"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,352,208,373"/>
|
||||
<area shape="rect" id="node12" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,421,559,443"/>
|
||||
<area shape="rect" id="node14" href="$address_8h.html" title="address.h" alt="" coords="356,352,412,373"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="735,352,796,373"/>
|
||||
<area shape="rect" id="node18" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,491,794,512"/>
|
||||
<area shape="rect" id="node19" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,421,796,443"/>
|
||||
<area shape="rect" id="node21" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,283,832,304"/>
|
||||
<area shape="rect" id="node2" href="$_wii_8h.html" title="Wii.h" alt="" coords="68,83,119,111"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="5,161,64,189"/>
|
||||
<area shape="rect" id="node5" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="88,161,216,189"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="7,238,63,266"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
12fdbbfcce1b39a1084ff516f4458fbd
|
||||
ea76bb891427717ec3bb9ab7b2d76881
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 9 KiB |
10
_wii_8h.html
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: Wii.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -100,14 +100,14 @@ Include dependency graph for Wii.h:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_wii_8h__incl.png" border="0" usemap="#_wii_8h" alt=""/></div>
|
||||
<map name="_wii_8h" id="_wii_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/><area shape="rect" id="node21" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="670,75,756,96"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="356,283,412,304"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="735,283,796,304"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/></map>
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="5,83,64,111"/><area shape="rect" id="node4" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="88,83,216,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="7,161,63,189"/></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="_wii_8h__dep__incl.png" border="0" usemap="#_wii_8hdep" alt=""/></div>
|
||||
<map name="_wii_8hdep" id="_wii_8hdep">
|
||||
<area shape="rect" id="node2" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="5,75,53,96"/></map>
|
||||
<area shape="rect" id="node2" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="5,83,69,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_wii_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -734,7 +734,7 @@ Enumerations</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<map id="Wii.h" name="Wii.h">
|
||||
<area shape="rect" id="node2" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="5,75,53,96"/>
|
||||
<area shape="rect" id="node2" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="5,83,69,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
779b2bf5a0417ac5551fada2b3603f4f
|
||||
4f5ed0d059dbe61d52339b9d9d877c07
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -1,15 +1,5 @@
|
|||
<map id="Wii.h" name="Wii.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="600,75,646,96"/>
|
||||
<area shape="rect" id="node21" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="670,75,756,96"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="330,213,372,235"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="688,144,771,165"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="34,352,88,373"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="284,352,351,373"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="152,283,208,304"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="500,352,559,373"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="356,283,412,304"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="735,283,796,304"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="737,421,794,443"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="735,352,796,373"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="768,213,832,235"/>
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="5,83,64,111"/>
|
||||
<area shape="rect" id="node4" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="88,83,216,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="7,161,63,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
04eb8784e2fed1d9edf37be3ab5d7f9a
|
||||
8f6053582134fdb8a44a345a833d0cc3
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 7 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: Wii.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -114,66 +114,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="_b_t_d_8h.html">BTD.h</a>"</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147"> 27</a></span> <span class="preprocessor">#define WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147"> 27</a></span> <span class="preprocessor">#define WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="_wii_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 30</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_wii_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 30</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// These states are used if the Wiimote is the host</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_wii_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 33</a></span> <span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 1</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_wii_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 2</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_wii_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 33</a></span> <span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 1</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_wii_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 2</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// These states are used if the Arduino is the host</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe"> 37</a></span> <span class="preprocessor">#define L2CAP_CONTROL_CONNECT_REQUEST 3</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_CONFIG_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_CONNECT_REQUEST 5</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe"> 37</a></span> <span class="preprocessor">#define L2CAP_CONTROL_CONNECT_REQUEST 3</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_CONFIG_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_CONNECT_REQUEST 5</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035"> 41</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_CONFIG_REQUEST 6</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035"> 41</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_CONFIG_REQUEST 6</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b"> 43</a></span> <span class="preprocessor">#define L2CAP_CHECK_MOTION_PLUS_STATE 7</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CHECK_EXTENSION_STATE 8</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_wii_8h.html#a291cf8ab9832ac643cdbeaa5f0b84ed1"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INIT_MOTION_PLUS_STATE 9</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_LED_STATE 10</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_wii_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 11</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b"> 43</a></span> <span class="preprocessor">#define L2CAP_CHECK_MOTION_PLUS_STATE 7</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CHECK_EXTENSION_STATE 8</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_wii_8h.html#a291cf8ab9832ac643cdbeaa5f0b84ed1"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INIT_MOTION_PLUS_STATE 9</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_LED_STATE 10</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_wii_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 11</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_wii_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 49</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 12</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 13</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_wii_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 49</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 12</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 13</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">/* L2CAP event flags */</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7"> 53</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONTROL_CONNECTED 0x001</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_INTERRUPT_CONNECTED 0x002</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x004</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x008</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x040</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x080</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 59</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x100</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x200</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7"> 53</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONTROL_CONNECTED 0x001</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_INTERRUPT_CONNECTED 0x002</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x004</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x008</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x040</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x080</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 59</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x100</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x200</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">/* Macros for L2CAP event flag tests */</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24"> 63</a></span> <span class="preprocessor">#define l2cap_connected_control_flag (l2cap_event_flag & L2CAP_FLAG_CONTROL_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connected_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_INTERRUPT_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_wii_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="_wii_8h.html#a7f0cab74308e812106252c53b18c0391"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="_wii_8h.html#a667178a4486c4dee88e052b3562362cd"> 68</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_wii_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 69</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 70</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24"> 63</a></span> <span class="preprocessor">#define l2cap_connected_control_flag (l2cap_event_flag & L2CAP_FLAG_CONTROL_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connected_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_INTERRUPT_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_wii_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_wii_8h.html#a7f0cab74308e812106252c53b18c0391"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_wii_8h.html#a667178a4486c4dee88e052b3562362cd"> 68</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_wii_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 69</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 70</a></span> <span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">/* Wii event flags */</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd"> 73</a></span> <span class="preprocessor">#define WII_FLAG_MOTION_PLUS_CONNECTED 0x400</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61"> 74</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WII_FLAG_NUNCHUCK_CONNECTED 0x800</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd"> 73</a></span> <span class="preprocessor">#define WII_FLAG_MOTION_PLUS_CONNECTED 0x400</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61"> 74</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WII_FLAG_NUNCHUCK_CONNECTED 0x800</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 76</a></span> <span class="preprocessor">#define motion_plus_connected_flag (l2cap_event_flag & WII_FLAG_MOTION_PLUS_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb"> 77</a></span> <span class="preprocessor"></span><span class="preprocessor">#define nunchuck_connected_flag (l2cap_event_flag & WII_FLAG_NUNCHUCK_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 76</a></span> <span class="preprocessor">#define motion_plus_connected_flag (l2cap_event_flag & 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> <span class="preprocessor"></span><span class="preprocessor">#define nunchuck_connected_flag (l2cap_event_flag & WII_FLAG_NUNCHUCK_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 79</a></span> <span class="preprocessor">#define PAIR 1</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 79</a></span> <span class="preprocessor">#define PAIR 1</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7"> 82</a></span> <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="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 84</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 86</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7"> 82</a></span> <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#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 84</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 86</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> };</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_w_i_i.html"> 94</a></span> <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="l00094"></a><span class="lineno"><a class="line" href="class_w_i_i.html"> 94</a></span> <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="l00095"></a><span class="lineno"> 95</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <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="l00103"></a><span class="lineno"> 103</span> </div>
|
||||
|
@ -183,225 +183,315 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <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="l00127"></a><span class="lineno"> 127</span>  <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="l00128"></a><span class="lineno"> 128</span>  <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="l00133"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608"> 133</a></span>  <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"><a class="line" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608"> 133</a></span>  <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="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">if</span>(pBtd)</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  pBtd-><a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>();</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  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="l00148"></a><span class="lineno"> 148</span>  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="l00149"></a><span class="lineno"> 149</span> </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 154</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() {</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">return</span> pitch;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  };</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 162</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() {</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> roll;</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  };</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 172</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() {</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  };</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <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>  <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>  <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>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <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>  <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="l00199"></a><span class="lineno"> 199</span>  <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="l00204"></a><span class="lineno"> 204</span>  <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="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>();</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac"> 225</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() {</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">return</span> wiiState;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  };</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387"> 233</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  pFuncOnInit = funcOnInit;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 235</a></span>  };</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>;</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 242</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>;</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 244</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>;</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16"> 246</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a>;</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="comment">/* IMU Data, might be usefull if you need to do something more advanced than just calculating the angle */</span></div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b"> 253</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b">wiimotePitch</a>;</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70"> 254</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70">wiimoteRoll</a>;</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf"> 259</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf">nunchuckPitch</a>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71"> 260</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71">nunchuckRoll</a>;</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb"> 265</a></span>  int16_t <a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb">accX</a>;</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a"> 266</a></span>  int16_t <a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a">accY</a>;</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4"> 267</a></span>  int16_t <a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4">accZ</a>;</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 272</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>;</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 274</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>;</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 276</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"><a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 280</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 281</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 282</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 287</a></span>  uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 288</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 289</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 294</a></span>  int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>;</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 295</a></span>  int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 296</a></span>  int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 301</a></span>  int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>;</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 302</a></span>  int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"><a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 303</a></span>  int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a>();</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d"> 317</a></span>  uint16_t <a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a>() {</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keywordflow">return</span> IR_object_x1;</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  };</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9"> 325</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a>() {</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">return</span> IR_object_y1;</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  };</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421"> 333</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a>() {</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">return</span> IR_object_s1;</div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  };</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084"> 341</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a>() {</div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">return</span> IR_object_x2;</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  };</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> </div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d"> 349</a></span>  uint16_t <a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a>() {</div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordflow">return</span> IR_object_y2;</div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  };</div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> </div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"><a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46"> 357</a></span>  uint8_t <a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a>() {</div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">return</span> IR_object_s2;</div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  };</div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> </div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e"> 365</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a>() {</div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">return</span> IR_object_x3;</div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  };</div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d"> 373</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a>() {</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> IR_object_y3;</div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  };</div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e"> 381</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a>() {</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordflow">return</span> IR_object_s3;</div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  };</div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"> 389</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a>() {</div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">return</span> IR_object_x4;</div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  };</div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a"> 397</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a>() {</div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordflow">return</span> IR_object_y4;</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  };</div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> </div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735"> 405</a></span>  uint8_t <a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a>() {</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="keywordflow">return</span> IR_object_s4;</div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  };</div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> </div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f"> 414</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a>() {</div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keywordflow">return</span>(wiiState & 0x08);</div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  };</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <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="l00422"></a><span class="lineno"> 422</span> </div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keywordtype">void</span> onInit();</div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> </div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  uint16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> </div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="comment">/* Variables used by high level L2CAP task */</span></div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received Bluetooth events</span></div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  uint16_t hatValues[4];</div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> </div>
|
||||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  uint8_t HIDBuffer[3]; <span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 154</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() {</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> compPitch;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>();</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  };</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 164</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() {</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> compRoll;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>();</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  };</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 176</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() {</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  };</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <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>  <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>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <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="l00198"></a><span class="lineno"> 198</span>  <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="l00203"></a><span class="lineno"> 203</span>  <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="l00208"></a><span class="lineno"> 208</span>  <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>  <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> </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>();</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac"> 229</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() {</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">return</span> wiiState;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  };</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387"> 237</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  pFuncOnInit = funcOnInit;</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 239</a></span>  };</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>;</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 246</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>;</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 248</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>;</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16"> 250</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a>;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="comment">/* IMU Data, might be usefull if you need to do something more advanced than just calculating the angle */</span></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4"> 257</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>() {</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">accYwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>) + PI) * RAD_TO_DEG;</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  };</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60"> 260</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>() {</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">accXwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>) + PI) * RAD_TO_DEG;</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  };</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f"> 267</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">getNunchuckPitch</a>() {</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">accYnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>) + PI) * RAD_TO_DEG;</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  };</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98"> 270</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">getNunchuckRoll</a>() {</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">accXnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>) + PI) * RAD_TO_DEG;</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8"> 272</a></span>  };</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  int16_t <a class="code" href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">accXwiimote</a>, <a class="code" href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">accYwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>;</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6"> 278</a></span>  int16_t <a class="code" href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">accXnunchuck</a>, <a class="code" href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">accYnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>;</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 283</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>;</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 285</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>;</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 287</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 291</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 292</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 293</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 298</a></span>  uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 299</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 300</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 305</a></span>  int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>;</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 306</a></span>  int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 307</a></span>  int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 312</a></span>  int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>;</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 313</a></span>  int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 314</a></span>  int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a>();</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d"> 328</a></span>  uint16_t <a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a>() {</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">return</span> IR_object_x1;</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  };</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9"> 336</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a>() {</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keywordflow">return</span> IR_object_y1;</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  };</div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421"> 344</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a>() {</div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">return</span> IR_object_s1;</div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  };</div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084"> 352</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a>() {</div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">return</span> IR_object_x2;</div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  };</div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d"> 360</a></span>  uint16_t <a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a>() {</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordflow">return</span> IR_object_y2;</div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  };</div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46"> 368</a></span>  uint8_t <a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a>() {</div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordflow">return</span> IR_object_s2;</div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  };</div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e"> 376</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a>() {</div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordflow">return</span> IR_object_x3;</div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  };</div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d"> 384</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a>() {</div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">return</span> IR_object_y3;</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  };</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e"> 392</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a>() {</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="keywordflow">return</span> IR_object_s3;</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  };</div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> </div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"> 400</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a>() {</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordflow">return</span> IR_object_x4;</div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  };</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a"> 408</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a>() {</div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordflow">return</span> IR_object_y4;</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  };</div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735"> 416</a></span>  uint8_t <a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a>() {</div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordflow">return</span> IR_object_s4;</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  };</div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f"> 425</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a>() {</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keywordflow">return</span>(wiiState & 0x08);</div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  };</div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <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="l00433"></a><span class="lineno"> 433</span> </div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keywordtype">void</span> onInit();</div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> </div>
|
||||
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  uint16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  uint16_t stateCounter;</div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordtype">bool</span> extensionConnected;</div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordtype">bool</span> checkExtension; <span class="comment">// Set to false when getBatteryLevel() is called otherwise if should be true</span></div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keywordtype">bool</span> motionPlusInside; <span class="comment">// True if it's a new Wiimote with the Motion Plus extension build into it</span></div>
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> </div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="comment">/* Variables used by high level L2CAP task */</span></div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received Bluetooth events</span></div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  uint16_t hatValues[4];</div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> </div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  uint8_t HIDBuffer[3]; <span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> </div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  uint16_t stateCounter;</div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordtype">bool</span> extensionConnected;</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keywordtype">bool</span> checkExtension; <span class="comment">// Set to false when getBatteryLevel() is called otherwise if should be true</span></div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordtype">bool</span> motionPlusInside; <span class="comment">// True if it's a new Wiimote with the Motion Plus extension build into it</span></div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordtype">void</span> initExtension1();</div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keywordtype">void</span> initExtension2();</div>
|
||||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span> </div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <span class="keywordtype">void</span> statusRequest(); <span class="comment">// Used to update the Wiimote state and battery level</span></div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keywordtype">void</span> readExtensionType();</div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keywordtype">void</span> readCalData();</div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordtype">void</span> checkMotionPresent(); <span class="comment">// Used to see if a Motion Plus is connected to the Wiimote</span></div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keywordtype">void</span> initMotionPlus();</div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordtype">void</span> activateMotionPlus();</div>
|
||||
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keywordtype">double</span> pitch; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="keywordtype">double</span> roll; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
|
||||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordtype">void</span> initExtension1();</div>
|
||||
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordtype">void</span> initExtension2();</div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> </div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="keywordtype">void</span> statusRequest(); <span class="comment">// Used to update the Wiimote state and battery level</span></div>
|
||||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div>
|
||||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keywordtype">bool</span> activateNunchuck;</div>
|
||||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <span class="keywordtype">bool</span> motionValuesReset; <span class="comment">// This bool is true when the gyro values has been reset</span></div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
|
||||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <span class="keywordtype">void</span> readExtensionType();</div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordtype">void</span> readCalData();</div>
|
||||
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div>
|
||||
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  uint8_t wiiState; <span class="comment">// Stores the value in l2capinbuf[12] - (0x01: Battery is nearly empty), (0x02: An Extension Controller is connected), (0x04: Speaker enabled), (0x08: IR enabled), (0x10: LED1, 0x20: LED2, 0x40: LED3, 0x80: LED4)</span></div>
|
||||
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  uint8_t batteryLevel;</div>
|
||||
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> </div>
|
||||
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> <span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from the IR Camera */</span></div>
|
||||
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13</span></div>
|
||||
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
|
||||
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordtype">void</span> write0x08Value();</div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</div>
|
||||
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> </div>
|
||||
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  uint16_t IR_object_x2;</div>
|
||||
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  uint16_t IR_object_y2;</div>
|
||||
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  uint8_t IR_object_s2;</div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  uint16_t IR_object_x4;</div>
|
||||
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  uint16_t IR_object_y4;</div>
|
||||
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  uint8_t IR_object_s4;</div>
|
||||
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="preprocessor"></span>};</div>
|
||||
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keywordtype">void</span> checkMotionPresent(); <span class="comment">// Used to see if a Motion Plus is connected to the Wiimote</span></div>
|
||||
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  <span class="keywordtype">void</span> initMotionPlus();</div>
|
||||
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordtype">void</span> activateMotionPlus();</div>
|
||||
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> </div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordtype">double</span> compPitch; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordtype">double</span> compRoll; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div>
|
||||
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keywordtype">bool</span> activateNunchuck;</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keywordtype">bool</span> motionValuesReset; <span class="comment">// This bool is true when the gyro values has been reset</span></div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div>
|
||||
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  uint8_t wiiState; <span class="comment">// Stores the value in l2capinbuf[12] - (0x01: Battery is nearly empty), (0x02: An Extension Controller is connected), (0x04: Speaker enabled), (0x08: IR enabled), (0x10: LED1, 0x20: LED2, 0x40: LED3, 0x80: LED4)</span></div>
|
||||
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  uint8_t batteryLevel;</div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div>
|
||||
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> <span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from the IR Camera */</span></div>
|
||||
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13</span></div>
|
||||
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
|
||||
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <span class="keywordtype">void</span> write0x08Value();</div>
|
||||
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</div>
|
||||
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span> </div>
|
||||
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  uint16_t IR_object_x2;</div>
|
||||
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  uint16_t IR_object_y2;</div>
|
||||
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  uint8_t IR_object_s2;</div>
|
||||
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  uint16_t IR_object_x4;</div>
|
||||
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  uint16_t IR_object_y4;</div>
|
||||
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  uint8_t IR_object_s4;</div>
|
||||
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span> <span class="preprocessor"></span>};</div>
|
||||
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span> <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_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_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_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_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_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="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_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_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_a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"><div class="ttname"><a href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">WII::getIRx4</a></div><div class="ttdeci">uint16_t getIRx4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00400">Wii.h:400</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_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_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_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#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_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="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_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_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="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_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_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_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_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_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_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_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_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_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_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_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_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_a759837b933f63ce7c3235639be29250a"><div class="ttname"><a href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">WII::getIRy4</a></div><div class="ttdeci">uint16_t getIRy4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00408">Wii.h:408</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_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="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_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="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_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_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_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"><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="_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_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="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_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_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_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><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: WiiCameraReadme.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: WiiCameraReadme.md Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -100,12 +100,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  * 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="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> Again, read through <http:<span class="comment">//wiibrew.org/wiki/Wiimote#IR_Camera> 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="_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 -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: XBOXOLD.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -97,7 +97,7 @@ Include dependency graph for XBOXOLD.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_o_l_d_8cpp__incl.png" border="0" usemap="#_x_b_o_x_o_l_d_8cpp" alt=""/></div>
|
||||
<map name="_x_b_o_x_o_l_d_8cpp" id="_x_b_o_x_o_l_d_8cpp">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="255,75,323,96"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="268,144,311,165"/><area shape="rect" id="node19" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="335,144,421,165"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="94,283,148,304"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="376,283,443,304"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="227,213,284,235"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="293,283,352,304"/><area shape="rect" id="node13" href="address_8h.html" title="address.h" alt="" coords="441,213,497,235"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="693,213,755,235"/><area shape="rect" id="node17" href="printhex_8h.html" title="printhex.h" alt="" coords="787,352,844,373"/><area shape="rect" id="node18" href="hexdump_8h.html" title="hexdump.h" alt="" coords="693,283,755,304"/></map>
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="42,83,139,111"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/><area shape="rect" id="node4" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,161,213,189"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_o_l_d_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -150,7 +150,7 @@ Variables</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
<map id="XBOXOLD.cpp" name="XBOXOLD.cpp">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="255,75,323,96"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="268,144,311,165"/>
|
||||
<area shape="rect" id="node19" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="335,144,421,165"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="94,283,148,304"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="376,283,443,304"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="227,213,284,235"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="293,283,352,304"/>
|
||||
<area shape="rect" id="node13" href="$address_8h.html" title="address.h" alt="" coords="441,213,497,235"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="693,213,755,235"/>
|
||||
<area shape="rect" id="node17" href="$printhex_8h.html" title="printhex.h" alt="" coords="787,352,844,373"/>
|
||||
<area shape="rect" id="node18" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="693,283,755,304"/>
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_o_l_d_8h.html" title="XBOXOLD.h" alt="" coords="42,83,139,111"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,161,61,189"/>
|
||||
<area shape="rect" id="node4" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,161,213,189"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
090c3aaec95e582786089053a4174da0
|
||||
824a8833fbb3f9293199791af2e49083
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 9.2 KiB |
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: XBOXOLD.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <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> <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> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b"> 24</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b"> 24</a></span> <span class="keyword">const</span> uint8_t <a class="code" href="_x_b_o_x_o_l_d_8cpp.html#af4ccffb7f90c323a0eba09065159f74b">XBOXOLDBUTTONS</a>[] PROGMEM = {</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  0x01, <span class="comment">// UP</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  0x08, <span class="comment">// RIGHT</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  0x02, <span class="comment">// DOWN</span></div>
|
||||
|
@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  3, <span class="comment">// Y</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }; </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f"> 47</a></span> <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> <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> pUsb(p), <span class="comment">// pointer to USB class instance - mandatory</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> bAddress(0), <span class="comment">// device address - mandatory</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> bPollEnable(false) { <span class="comment">// don't start polling before dongle is connected</span></div>
|
||||
|
@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><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="l00060"></a><span class="lineno"> 60</span> }</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434"> 62</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434"> 62</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a7260253c704b147e6dfd762e13222434">XBOXOLD::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  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="l00064"></a><span class="lineno"> 64</span>  uint8_t rcode;</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div>
|
||||
|
@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress in use"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span> <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="l00081"></a><span class="lineno"> 81</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div>
|
||||
|
@ -177,14 +177,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress not found"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span> <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="l00091"></a><span class="lineno"> 91</span>  }</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">if</span> (!p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>) {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(PSTR(<span class="stringliteral">"\r\nepinfo is null"</span>), 0x80);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a>;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"></span> <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="l00098"></a><span class="lineno"> 98</span>  }</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div>
|
||||
|
@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// Get device descriptor</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  rcode = <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24" title="defined(USB_METHODS_INLINE) ">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); <span class="comment">// Get device descriptor - addr, ep, nbytes, data</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  rcode = <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><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); <span class="comment">// Get device descriptor - addr, ep, nbytes, data</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// Restore p->epinfo</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = oldep_ptr;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div>
|
||||
|
@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <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> </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span> (!<a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>)</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_core_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// Extract Max Packet Size from device descriptor</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#a06a318db8037f25a8d9bb62785dbacb9">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)->bMaxPacketSize0;</div>
|
||||
|
@ -241,7 +241,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">//get pointer to assigned address record</span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(bAddress);</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">if</span> (!p)</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <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="l00155"></a><span class="lineno"> 155</span> </div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
|
@ -309,7 +309,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="preprocessor"></span> <a class="code" href="message_8h.html#a0ce3a725ee65614d7f95cda10e4d2e91">NotifyFailUnknownDevice</a>(VID, PID);</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor"></span> rcode = <a class="code" href="_usb_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a>;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor"></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="l00223"></a><span class="lineno"> 223</span> </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> Fail:</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="preprocessor">#ifdef DEBUG_USB_HOST</span></div>
|
||||
|
@ -321,7 +321,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> }</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment">/* Performs a cleanup after failed Init() attempt */</span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765"> 234</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765">XBOXOLD::Release</a>() {</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765"> 234</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765">XBOXOLD::Release</a>() {</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#aa091ff52ba7ad4216b0cd0f18651b755">XboxConnected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><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_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a>);</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">bAddress</a> = 0;</div>
|
||||
|
@ -329,7 +329,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> }</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850"> 242</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a>() {</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850"> 242</a></span> uint8_t <a class="code" href="class_x_b_o_x_o_l_d.html#a332bf499dd0434d70db8ad8a6f3f4850">XBOXOLD::Poll</a>() {</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">if</span> (!bPollEnable)</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  uint16_t BUFFER_SIZE = <a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>;</div>
|
||||
|
@ -379,55 +379,139 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="preprocessor"></span>}</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a7943af8e86fd9612891b88c7c7fb586a"> 292</a></span> 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> 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>  <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="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> buttonValues[pgm_read_byte(&<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="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">return</span> (ButtonState & pgm_read_byte(&<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="l00296"></a><span class="lineno"> 296</span> }</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214"> 298</a></span> <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"><a class="line" href="class_x_b_o_x_o_l_d.html#a16cecc4a0dc7e0f4bc84f4602da65214"> 298</a></span> <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="l00299"></a><span class="lineno"> 299</span>  uint8_t button;</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <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="l00301"></a><span class="lineno"> 301</span>  button = pgm_read_byte(&<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="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">if</span> (buttonClicked[button])</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">if</span> (buttonClicked[button]) {</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  buttonClicked[button] = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> buttonClicked[button];</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  }</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  button = pgm_read_byte(&<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="l00308"></a><span class="lineno"> 308</span>  <span class="keywordtype">bool</span> click = (ButtonClickState & button);</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  ButtonClickState &= ~button; <span class="comment">// clear "click" event</span></div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">return</span> click;</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> }</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#ad5a76d53ae0e101763ba5403707f5162"> 313</a></span> 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="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">return</span> hatValue[a];</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> }</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="comment">/* Xbox Controller commands */</span></div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="keywordtype">void</span> XBOXOLD::XboxCommand(uint8_t* data, uint16_t nbytes) {</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <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="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><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="l00321"></a><span class="lineno"> 321</span> }</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> </div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"><a class="code" href="class_x_b_o_x_o_l_d.html#ab69673ea316c30268a5eedc893bea3a9"> 323</a></span> <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="l00324"></a><span class="lineno"> 324</span>  uint8_t writeBuf[6];</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  writeBuf[0] = 0x00;</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  writeBuf[1] = 0x06;</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  writeBuf[2] = 0x00;</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  writeBuf[3] = rValue; <span class="comment">// small weight</span></div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  writeBuf[4] = 0x00;</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  writeBuf[5] = lValue; <span class="comment">// big weight</span></div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> </div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  XboxCommand(writeBuf, 6);</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> }</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  }</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  button = pgm_read_byte(&<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="l00310"></a><span class="lineno"> 310</span>  <span class="keywordtype">bool</span> click = (ButtonClickState & button);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  ButtonClickState &= ~button; <span class="comment">// clear "click" event</span></div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">return</span> click;</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> }</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </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> 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="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> hatValue[a];</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> }</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment">/* Xbox Controller commands */</span></div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="keywordtype">void</span> XBOXOLD::XboxCommand(uint8_t* data, uint16_t nbytes) {</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <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="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="class_x_b_o_x_o_l_d.html#a2b4d7d994ab6f5e1d1344d4162e9f5fb">pUsb</a>-><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="l00323"></a><span class="lineno"> 323</span> }</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </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> <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="l00326"></a><span class="lineno"> 326</span>  uint8_t writeBuf[6];</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  writeBuf[0] = 0x00;</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  writeBuf[1] = 0x06;</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  writeBuf[2] = 0x00;</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  writeBuf[3] = rValue; <span class="comment">// small weight</span></div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  writeBuf[4] = 0x00;</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  writeBuf[5] = lValue; <span class="comment">// big weight</span></div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  XboxCommand(writeBuf, 6);</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> }</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="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_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="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="class_x_b_o_x_o_l_d_html_a8245e0d30eed5fb7dc761fc350fd1765"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a8245e0d30eed5fb7dc761fc350fd1765">XBOXOLD::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00234">XBOXOLD.cpp:234</a></div></div>
|
||||
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0af77fb67151d0c18d397069ad8c271ba3">BLACK</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00103">controllerEnums.h:103</a></div></div>
|
||||
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a5596231eabd6cf29050967d5ac83ad84">Y</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00100">controllerEnums.h:100</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="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="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="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="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="_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="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0ae5bc7ee7d6dda5340a28f91834f10543">L1</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00083">controllerEnums.h:83</a></div></div>
|
||||
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a06a318db8037f25a8d9bb62785dbacb9"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a06a318db8037f25a8d9bb62785dbacb9">XBOXOLD::epInfo</a></div><div class="ttdeci">EpInfo epInfo[XBOX_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00160">XBOXOLD.h:160</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_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="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_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="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="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="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="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a283fc479650da98250635b9c3c0e7e50">WHITE</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00104">controllerEnums.h:104</a></div></div>
|
||||
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a8e7834e5604c4fb588cceab9258d0568"><div class="ttname"><a href="_x_b_o_x_o_l_d_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_o_l_d_8h_source.html#l00036">XBOXOLD.h:36</a></div></div>
|
||||
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a4fd9ad9bf7a7d5767940c2ec224ef5e8"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a></div><div class="ttdeci">#define XBOX_INPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00032">XBOXOLD.h:32</a></div></div>
|
||||
<div class="ttc" id="class_x_b_o_x_o_l_d_html_a119c511d09ecc777437584a86858d86f"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#a119c511d09ecc777437584a86858d86f">XBOXOLD::XBOXOLD</a></div><div class="ttdeci">XBOXOLD(USB *pUsb)</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8cpp_source.html#l00047">XBOXOLD.cpp:47</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="_x_b_o_x_o_l_d_8h_html_a8495cfaf2039ba2399a3c6f3e107c90c"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a8495cfaf2039ba2399a3c6f3e107c90c">XBOX_OLD_PID1</a></div><div class="ttdeci">#define XBOX_OLD_PID1</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00040">XBOXOLD.h:40</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="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="_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="_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="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a58833a3110c570fb05130d40c365d1e4">X</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00099">controllerEnums.h:99</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_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="_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_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_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_a92d2d844a70224a10c100c0a877aacfe"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a></div><div class="ttdeci">#define XBOX_OUTPUT_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00033">XBOXOLD.h:33</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="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="_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="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="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="_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="_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="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="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="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 & 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"><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="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a42a4ade1acd55a49164099104990e09f">A</a></div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00063">controllerEnums.h:63</a></div></div>
|
||||
<div class="ttc" id="_x_b_o_x_o_l_d_8h_html_a8f4ee68cc0f05690f5f26104c7d9e490"><div class="ttname"><a href="_x_b_o_x_o_l_d_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a></div><div class="ttdeci">#define XBOX_CONTROL_PIPE</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00031">XBOXOLD.h:31</a></div></div>
|
||||
<div class="ttc" id="class_x_b_o_x_o_l_d_html_ae28d3306b484750d7067fa5f7ed0beae"><div class="ttname"><a href="class_x_b_o_x_o_l_d.html#ae28d3306b484750d7067fa5f7ed0beae">XBOXOLD::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="_x_b_o_x_o_l_d_8h_source.html#l00158">XBOXOLD.h:158</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="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="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="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="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 -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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.4"/>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>USB Host Shield 2.0: XBOXOLD.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.4 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
|
@ -92,22 +92,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="title">XBOXOLD.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br/>
|
||||
<code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<div class="textblock"><code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="controller_enums_8h_source.html">controllerEnums.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXOLD.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_o_l_d_8h__incl.png" border="0" usemap="#_x_b_o_x_o_l_d_8h" alt=""/></div>
|
||||
<map name="_x_b_o_x_o_l_d_8h" id="_x_b_o_x_o_l_d_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="268,75,311,96"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="335,75,421,96"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="94,213,148,235"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="376,213,443,235"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="227,144,284,165"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="293,213,352,235"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="441,144,497,165"/><area shape="rect" id="node14" href="message_8h.html" title="message.h" alt="" coords="693,144,755,165"/><area shape="rect" id="node16" href="printhex_8h.html" title="printhex.h" alt="" coords="787,283,844,304"/><area shape="rect" id="node17" href="hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/></map>
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="5,83,61,111"/><area shape="rect" id="node3" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,83,213,111"/></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="_x_b_o_x_o_l_d_8h__dep__incl.png" border="0" usemap="#_x_b_o_x_o_l_d_8hdep" alt=""/></div>
|
||||
<map name="_x_b_o_x_o_l_d_8hdep" id="_x_b_o_x_o_l_d_8hdep">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="5,75,80,96"/></map>
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="4,83,115,111"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_o_l_d_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -161,7 +160,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00031">31</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00025">25</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -175,7 +174,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00034">34</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00028">28</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -189,7 +188,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00037">37</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00031">31</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -203,7 +202,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00038">38</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00032">32</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -217,7 +216,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00039">39</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00033">33</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -231,7 +230,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00042">42</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00036">36</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -245,7 +244,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00043">43</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00037">37</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -259,7 +258,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00044">44</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00038">38</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -273,7 +272,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00046">46</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00040">40</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -287,7 +286,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00047">47</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00041">41</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -301,7 +300,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00048">48</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00042">42</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -315,7 +314,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00049">49</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00043">43</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -329,7 +328,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00052">52</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00046">46</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -343,7 +342,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00053">53</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00047">47</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -357,7 +356,7 @@ Macros</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00055">55</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_o_l_d_8h_source.html#l00049">49</a> of file <a class="el" href="_x_b_o_x_o_l_d_8h_source.html">XBOXOLD.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -366,7 +365,7 @@ Macros</h2></td></tr>
|
|||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.4
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<map id="XBOXOLD.h" name="XBOXOLD.h">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="5,75,80,96"/>
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_o_l_d_8cpp.html" title="XBOXOLD.cpp" alt="" coords="4,83,115,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
e639bc29c7da8c50a5a337ffa1c05d31
|
||||
4624e3aee3651b0e57e6bf6ae6dd27ec
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 4.2 KiB |
|
@ -1,12 +1,4 @@
|
|||
<map id="XBOXOLD.h" name="XBOXOLD.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="268,75,311,96"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="335,75,421,96"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="94,213,148,235"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="376,213,443,235"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="227,144,284,165"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="293,213,352,235"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="441,144,497,165"/>
|
||||
<area shape="rect" id="node14" href="$message_8h.html" title="message.h" alt="" coords="693,144,755,165"/>
|
||||
<area shape="rect" id="node16" href="$printhex_8h.html" title="printhex.h" alt="" coords="787,283,844,304"/>
|
||||
<area shape="rect" id="node17" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="693,213,755,235"/>
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="5,83,61,111"/>
|
||||
<area shape="rect" id="node3" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="85,83,213,111"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
268da4236b31172a9a0b18542d4e65f1
|
||||
6940d62d40c6dde15fe74f063d6e1a3a
|