Added Doxygen files
128
_b_t_d_8cpp.html
Normal file
|
@ -0,0 +1,128 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">BTD.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for BTD.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_b_t_d_8cpp__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_b_t_d_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_b_t_d_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_b_t_d_8cpp">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="549,93,594,115"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="342,163,385,184"/><area shape="rect" id="node18" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,163,791,184"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="251,301,305,323"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="159,301,226,323"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="175,232,231,253"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,301,407,323"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="41,232,98,253"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="721,371,778,392"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="634,301,695,323"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="719,301,781,323"/><area shape="rect" id="node19" href="parsetools_8h.html" title="parsetools.h" alt="" coords="788,232,853,253"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_b_t_d_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
14
_b_t_d_8cpp__incl.map
Normal file
|
@ -0,0 +1,14 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.cpp">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="549,93,594,115"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,163,385,184"/>
|
||||
<area shape="rect" id="node18" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,163,791,184"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,301,305,323"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,301,226,323"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,232,231,253"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,301,407,323"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="41,232,98,253"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,371,778,392"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,301,695,323"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="719,301,781,323"/>
|
||||
<area shape="rect" id="node19" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,232,853,253"/>
|
||||
</map>
|
1
_b_t_d_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
09edf128a315c12ac96fdcd2a60897d9
|
BIN
_b_t_d_8cpp__incl.png
Normal file
After Width: | Height: | Size: 84 KiB |
1308
_b_t_d_8h.html
Normal file
9
_b_t_d_8h__dep__incl.map
Normal file
|
@ -0,0 +1,9 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/BTD.cpp" alt="" coords="5,85,109,125"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_b_t_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.h" alt="" coords="133,85,237,125"/>
|
||||
<area shape="rect" id="node5" href="$_s_p_p_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/SPP.h" alt="" coords="262,90,391,121"/>
|
||||
<area shape="rect" id="node7" href="$_wii_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/Wii.h" alt="" coords="415,90,539,121"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="133,173,237,213"/>
|
||||
<area shape="rect" id="node6" href="$_s_p_p_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/SPP.cpp" alt="" coords="275,173,379,213"/>
|
||||
<area shape="rect" id="node8" href="$_wii_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Wii.cpp" alt="" coords="425,173,529,213"/>
|
||||
</map>
|
1
_b_t_d_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
8f079700752d5972d66998273702bc5e
|
BIN
_b_t_d_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 17 KiB |
13
_b_t_d_8h__incl.map
Normal file
|
@ -0,0 +1,13 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.h">
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,85,385,107"/>
|
||||
<area shape="rect" id="node17" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,85,791,107"/>
|
||||
<area shape="rect" id="node5" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,224,305,245"/>
|
||||
<area shape="rect" id="node7" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,224,226,245"/>
|
||||
<area shape="rect" id="node8" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,155,231,176"/>
|
||||
<area shape="rect" id="node9" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,224,407,245"/>
|
||||
<area shape="rect" id="node10" href="$address_8h.html" title="address.h" alt="" coords="41,155,98,176"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,293,778,315"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,224,695,245"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="719,224,781,245"/>
|
||||
<area shape="rect" id="node18" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,155,853,176"/>
|
||||
</map>
|
1
_b_t_d_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
e7fcd8860c5850424e2ef2b568c28c5e
|
BIN
_b_t_d_8h__incl.png
Normal file
After Width: | Height: | Size: 83 KiB |
360
_b_t_d_8h_source.html
Normal file
|
@ -0,0 +1,360 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/BTD.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">BTD.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_b_t_d_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _btd_h_</span></div>
|
||||
<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"> 30</span> <span class="comment">/* Bluetooth dongle data taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787"> 31</a></span> <span class="preprocessor">#define BULK_MAXPKTSIZE 64 // max size for ACL data</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">// Used in control endpoint header for HCI Commands</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad70df063f83bf7000558b1d73aa009e5"> 34</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="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="comment">// Used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5"> 36</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="l00037"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 37</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</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">/* Bluetooth HCI states for hci_task() */</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac2b910cd6cc87c7bac09617815a1ee9a"> 40</a></span> <span class="preprocessor">#define HCI_INIT_STATE 0</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af3a7567dba1a0a7ed4272324d7684440"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_RESET_STATE 1</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a86fd72d2518d27c02c15af635b55fc8f"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_BDADDR_STATE 2</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8f1d666addd0c2bba7602fbd7a692228"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_LOCAL_VERSION_STATE 3</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1939cc2e06b3185be07a93c1ac7a10e1"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_SET_NAME_STATE 4</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a36daee23c5d0f4276e6eb32f3fd79124"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CHECK_WII_SERVICE 5</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"><a class="code" href="_b_t_d_8h.html#a09fa39bcefd3255f8ef762034e45679e"> 47</a></span> <span class="preprocessor">#define HCI_INQUIRY_STATE 6 // These three states are only used if it should pair and connect to a Wii controller</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2733141c8dae8cd14f78b11b21d58ebb"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_WII_STATE 7</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad497b58476b921e620f05791fa864f04"> 49</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_WII_STATE 8</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#acc9b6954b4bb6c19a9d25242869d5ddf"> 51</a></span> <span class="preprocessor">#define HCI_SCANNING_STATE 9</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8bfcf6e1a0a044aba26d728fb0c6a17a"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECT_IN_STATE 10</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4bad48092981dffe97edb052f5ae08bd"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_REMOTE_NAME_STATE 11</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae0a16d1cc0142186a20379b5c68bd1e0"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_CONNECTED_STATE 12</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad3500c7116f1bb564011dac09a387a5c"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DISABLE_SCAN_STATE 13</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a20fc1ebfc3da8e048f6afe53330e6b8f"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DONE_STATE 14</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a31398eae2e433d1b7b39ea3d6d07cdd0"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_DISCONNECT_STATE 15</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">/* HCI event flags*/</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a14087b750ea2da7f0cef4daaa7683d01"> 60</a></span> <span class="preprocessor">#define HCI_FLAG_CMD_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa05458d2a47122cd62cd0748c7e1e313"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONN_COMPLETE 0x02</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aec17e7d699b1023a0b6f675feddd7d58"> 62</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_DISCONN_COMPLETE 0x04</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a400af4b61f6e94ab821fa368d8bf2b07"> 63</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_REMOTE_NAME_COMPLETE 0x08</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a0e8a8ce5838e265c1732795bf8822043"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_INCOMING_REQUEST 0x10</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aabbf8a2ed694a2dc4d4e60fd389c44dd"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_BDADDR 0x20</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ab3b1f616c1e885e697806f0167b73e8e"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_READ_VERSION 0x40</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa991873698787cf45d26efaa370f34e2"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_WII_FOUND 0x80</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad14762241e9195fc9a3b0a69ef1ab7f3"> 68</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HCI_FLAG_CONNECT_EVENT 0x100</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">/*Macros for HCI event flag tests */</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a9cc765dd92016efe6eaeff535a5193c1"> 71</a></span> <span class="preprocessor">#define hci_cmd_complete (hci_event_flag & HCI_FLAG_CMD_COMPLETE)</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae43eba7b19fa5c92de5344819b99ec61"> 72</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="l00073"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ae67c9cc739a52a8f4a3c28871a07bf1b"> 73</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="l00074"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8f97f22fe3bc827916b8adb724b64a7f"> 74</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="l00075"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aeb3a24db49f8158f85b928385e28d83a"> 75</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="l00076"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#afc5a7e103eb1301c12aa35af25cc8293"> 76</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="l00077"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad205c180970335a666dfe5081b55ade4"> 77</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="l00078"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa12b77df715652f4735cb6620cd595a4"> 78</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="l00079"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a11ae66a6caad9105b8e7658189dcfa7b"> 79</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="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment">/* HCI Events managed */</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c6ca5696adeab36258b3b0c58d804e0"> 82</a></span> <span class="preprocessor">#define EV_INQUIRY_COMPLETE 0x01</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a335df6d48c8cac828d62196eeaff360b"> 83</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INQUIRY_RESULT 0x02</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad4bce42e1ef20447655f8916f23d07a7"> 84</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CONNECT_COMPLETE 0x03</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af6c5584636f8958689f5cd67290254e1"> 85</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_INCOMING_CONNECT 0x04</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1cf7e4d4426dcabed8976b65beee0d99"> 86</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DISCONNECT_COMPLETE 0x05</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a68b8f78a0e0da80434afb1e6d40eacf4"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_AUTHENTICATION_COMPLETE 0x06</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a29c1744f72f3cd85865c8173eace5a36"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_REMOTE_NAME_COMPLETE 0x07</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aa0bf5ac66c412d3415dbb753630d0e58"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ENCRYPTION_CHANGE 0x08</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a3e107e9d07793ca5cfaeea8b2181d4a4"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_CHANGE_CONNECTION_LINK 0x09</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac61db50de3007a22e19e660bd7e68e69"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_ROLE_CHANGED 0x12</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a0987119cfc40f3011a2cec69686034df"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_NUM_COMPLETE_PKT 0x13</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a935633384e87daa14b60549134014ec4"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PIN_CODE_REQUEST 0x16</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8c77c922bb61301760ebf5af5f1cc7f0"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_REQUEST 0x17</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8c662496af1164370e5fdf7149ecd842"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LINK_KEY_NOTIFICATION 0x18</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a6f8b4cf8546d9928a34c9c681dc5a6d5"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_DATA_BUFFER_OVERFLOW 0x1A</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2ad6543cdfe06cbf0924c287c08f36d7"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_MAX_SLOTS_CHANGE 0x1B</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a830b2a3bcb09c4802910e8b05531d317"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE 0x0C</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1b58792b76e0f216df8160bf055032c3"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_QOS_SETUP_COMPLETE 0x0D</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a81b71e0ba648260143529b04ae84e528"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_COMPLETE 0x0E</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a090ee10cc1a1c1c3bbb29a93c330d2d4"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_COMMAND_STATUS 0x0F</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#acd5f65703cc34b112a1f656d9a49551b"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_LOOPBACK_COMMAND 0x19</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ad8481acc0b144d97017f8a06d63ff47c"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define EV_PAGE_SCAN_REP_MODE 0x20</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"> 105</span> <span class="comment">/* L2CAP signaling commands */</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a6ffcd72787c86f248192eb06a3fe18cb"> 106</a></span> <span class="preprocessor">#define L2CAP_CMD_COMMAND_REJECT 0x01</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#ac4bae0c65fd00ed849cb226302d19c85"> 107</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#aef7b306479de265d725dbe5816a8227b"> 108</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONNECTION_RESPONSE 0x03</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a48bcd73461d736d0ef889e1fe6e36f69"> 109</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_REQUEST 0x04</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a8151b1fe5d940a5a7a34f43a8b8ce434"> 110</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_CONFIG_RESPONSE 0x05</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a398676a2e9a2351a5a52afdddf4b660b"> 111</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_REQUEST 0x06</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c64a41200714e457b397496183dc0e4"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_DISCONNECT_RESPONSE 0x07</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a200eb6c7c905ec74a9daf0f262af0448"> 113</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_REQUEST 0x0A</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#af32d4c53927d596a8727ff232310dec1"> 114</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CMD_INFORMATION_RESPONSE 0x0B</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment">// Used For Connection Response - Remember to Include High Byte</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc"> 117</a></span> <span class="preprocessor">#define PENDING 0x01</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93"> 118</a></span> <span class="preprocessor"></span><span class="preprocessor">#define SUCCESSFUL 0x00</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">/* Bluetooth L2CAP PSM - see http://www.bluetooth.org/Technical/AssignedNumbers/logical_link.htm */</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a25ce859d7ee2730e1d22d11c051ed60d"> 121</a></span> <span class="preprocessor">#define SDP_PSM 0x01 // Service Discovery Protocol PSM Value</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2924020f2e7e82fe956574538e2bc3eb"> 122</a></span> <span class="preprocessor"></span><span class="preprocessor">#define RFCOMM_PSM 0x03 // RFCOMM PSM Value</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a1465673868452307bcdab8e201430c27"> 123</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="l00124"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a4c5ac96db74d61d4a5a5d945a400e7da"> 124</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="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment">// Used to determine if it is a Bluetooth dongle</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a177fe269ddb7979d99b76d52bc281551"> 127</a></span> <span class="preprocessor">#define WI_SUBCLASS_RF 0x01 // RF Controller</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a05903a9351c5ced6b8be27b2869e62af"> 128</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WI_PROTOCOL_BT 0x01 // Bluetooth Programming Interface</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"><a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd"> 130</a></span> <span class="preprocessor">#define BTD_MAX_ENDPOINTS 4</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0"> 131</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BTD_NUMSERVICES 4 // Max number of Bluetooth services</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="code" href="class_bluetooth_service.html"> 133</a></span> <span class="keyword">class </span><a class="code" href="class_bluetooth_service.html">BluetoothService</a> { <span class="comment">// All services should include this class</span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</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>); <span class="comment">// Used to pass acldata to the services</span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">Run</a>(); <span class="comment">// Used to run the different state machines</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">Reset</a>(); <span class="comment">// Used to reset the services</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>(); <span class="comment">// Used to disconnect both the L2CAP Channel and the HCI Connection</span></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> </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_b_t_d.html"> 141</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="l00142"></a><span class="lineno"> 142</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</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); <span class="comment">// Constructor</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">// USBDeviceConfig implementation</span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</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="l00147"></a><span class="lineno"> 147</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="l00148"></a><span class="lineno"> 148</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="l00149"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3"> 149</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a>() { <span class="keywordflow">return</span> <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>; };</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8"> 150</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a>() { <span class="keywordflow">return</span> bPollEnable; };</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>  <span class="comment">// UsbConfigXtracter implementation, used to extract endpoint information</span></div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</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="l00154"></a><span class="lineno"> 154</span>  </div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737"> 155</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a>; <span class="comment">// Use this to see if it is waiting for a incoming connection </span></div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da"> 156</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a>() { <span class="comment">// Used this void to disconnect all services</span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</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="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">if</span> (btService[i])</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  btService[i]-><a class="code" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">disconnect</a>(); <span class="comment">// Disconnect both the L2CAP Channel and the HCI Connection</span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  };</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">/* Register bluetooth dongle members/services */</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73"> 163</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="l00164"></a><span class="lineno"> 164</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="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">if</span> (!btService[i]) {</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  btService[i] = pService;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> i; <span class="comment">// Return ID</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"> 170</span>  <span class="keywordflow">return</span> -1; <span class="comment">// ErrorregisterServiceClass</span></div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594"> 171</a></span>  }; </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a>; <span class="comment">// This is used by the service to know when to store the device information</span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9"> 175</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a>; <span class="comment">// These are set by the SPP library</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c"> 176</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="l00177"></a><span class="lineno"> 177</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a"> 178</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a>[6]; <span class="comment">// The bluetooth dongles Bluetooth address</span></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98"> 179</a></span>  uint16_t <a class="code" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a>; <span class="comment">// HCI handle for the last connection</span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182"> 180</a></span>  uint8_t <a class="code" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a>[6]; <span class="comment">// Last incoming devices Bluetooth address</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e"> 181</a></span>  uint8_t <a class="code" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a>[30]; <span class="comment">// First 30 chars of last remote name</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"><a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea"> 182</a></span>  uint8_t <a class="code" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a>;</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_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e"> 184</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a>; <span class="comment">// Used to only send the ACL data to the wiimote</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee"> 185</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="l00186"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 186</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="l00187"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 187</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a>; <span class="comment">// True if it's the new Wiimote with the Motion Plus Inside</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"> 189</span>  <span class="comment">/* HCI Commands */</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</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="l00191"></a><span class="lineno"> 191</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="l00192"></a><span class="lineno"> 192</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="l00193"></a><span class="lineno"> 193</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="l00194"></a><span class="lineno"> 194</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="l00195"></a><span class="lineno"> 195</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="l00196"></a><span class="lineno"> 196</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="l00197"></a><span class="lineno"> 197</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="l00198"></a><span class="lineno"> 198</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="l00199"></a><span class="lineno"> 199</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="l00200"></a><span class="lineno"> 200</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="l00201"></a><span class="lineno"> 201</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="l00202"></a><span class="lineno"> 202</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="l00203"></a><span class="lineno"> 203</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="l00204"></a><span class="lineno"> 204</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="l00205"></a><span class="lineno"> 205</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="l00206"></a><span class="lineno"> 206</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="l00207"></a><span class="lineno"> 207</span>  </div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="comment">/* L2CAP Commands */</span></div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</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); <span class="comment">// Standard L2CAP header: Channel ID (0x01) for ACL-U</span></div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</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="l00211"></a><span class="lineno"> 211</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="l00212"></a><span class="lineno"> 212</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="l00213"></a><span class="lineno"> 213</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="l00214"></a><span class="lineno"> 214</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="l00215"></a><span class="lineno"> 215</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="l00216"></a><span class="lineno"> 216</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="l00217"></a><span class="lineno"> 217</span>  </div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="comment">/* Mandatory USB members */</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 220</a></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="l00221"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 221</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>; <span class="comment">// Device address</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 222</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>]; <span class="comment">// Endpoint info structure</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"><a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 224</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>; <span class="comment">// Configuration number</span></div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 225</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>; <span class="comment">// Total number of endpoints in the configuration</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 226</a></span>  uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>; <span class="comment">// Next poll time</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="_b_t_d_8h.html#ac2a4d083435c0a67a9430de8a04146ce"> 228</a></span> <span class="preprocessor"> #define BTD_CONTROL_PIPE 0 // Bluetooth dongles control endpoint</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 229</a></span> <span class="preprocessor"></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>; <span class="comment">// HCI event endpoint index</span></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 230</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>; <span class="comment">// ACL In endpoint index</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 231</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>; <span class="comment">// ACL Out endpoint index</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="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="l00234"></a><span class="lineno"> 234</span>  </div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</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="l00237"></a><span class="lineno"> 237</span>  </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  uint8_t pollInterval;</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>  <span class="comment">/* variables used by high level HCI task */</span> </div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</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="l00245"></a><span class="lineno"> 245</span>  uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  uint8_t inquiry_counter;</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>  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="l00249"></a><span class="lineno"> 249</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="l00250"></a><span class="lineno"> 250</span>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for l2cap out data</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>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</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">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> };</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:56 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
177
_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html
Normal file
|
@ -0,0 +1,177 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/examples/HID/USBHID_desc/pgmstrings.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li><li class="navelem"><a class="el" href="dir_97588e98cf49a80ecbc724cd3683e378.html">examples</a></li><li class="navelem"><a class="el" href="dir_c5918bf316cd8ba36163b1fb04c36ff1.html">HID</a></li><li class="navelem"><a class="el" href="dir_c7a77980ae7e7fc5fc31addf76edb68e.html">USBHID_desc</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">pgmstrings.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p><a href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a373c90214222e94d07424e7a8d41b92b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#a373c90214222e94d07424e7a8d41b92b">LOBYTE</a>(x)   ((char*)(&(x)))[0]</td></tr>
|
||||
<tr class="separator:a373c90214222e94d07424e7a8d41b92b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1ba73e45dd29eeb526a52d9a3336f35"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#aa1ba73e45dd29eeb526a52d9a3336f35">HIBYTE</a>(x)   ((char*)(&(x)))[1]</td></tr>
|
||||
<tr class="separator:aa1ba73e45dd29eeb526a52d9a3336f35"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aeca034f67218340ecb2261a22c2f3dcd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#aeca034f67218340ecb2261a22c2f3dcd">BUFSIZE</a>   256</td></tr>
|
||||
<tr class="separator:aeca034f67218340ecb2261a22c2f3dcd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a3fa5cb2801cd8b7c78af8a465a662564"><td class="memItemLeft" align="right" valign="top">const char Gen_Error_str[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = "\r\nRequest error. Error code:\t"</td></tr>
|
||||
<tr class="separator:a3fa5cb2801cd8b7c78af8a465a662564"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="aeca034f67218340ecb2261a22c2f3dcd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BUFSIZE   256</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa1ba73e45dd29eeb526a52d9a3336f35"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HIBYTE</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td>   ((char*)(&(x)))[1]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a373c90214222e94d07424e7a8d41b92b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LOBYTE</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td>   ((char*)(&(x)))[0]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a3fa5cb2801cd8b7c78af8a465a662564"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const char Unk_Contents_str [] PROGMEM = "\r\nRequest error. Error code:\t"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
151
_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h_source.html
Normal file
|
@ -0,0 +1,151 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/examples/HID/USBHID_desc/pgmstrings.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li><li class="navelem"><a class="el" href="dir_97588e98cf49a80ecbc724cd3683e378.html">examples</a></li><li class="navelem"><a class="el" href="dir_c5918bf316cd8ba36163b1fb04c36ff1.html">HID</a></li><li class="navelem"><a class="el" href="dir_c7a77980ae7e7fc5fc31addf76edb68e.html">USBHID_desc</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">pgmstrings.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_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="preprocessor">#if !defined(__PGMSTRINGS_H__)</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span><span class="preprocessor">#define __PGMSTRINGS_H__</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"><a class="code" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#a373c90214222e94d07424e7a8d41b92b"> 4</a></span> <span class="preprocessor">#define LOBYTE(x) ((char*)(&(x)))[0]</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="code" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#aa1ba73e45dd29eeb526a52d9a3336f35"> 5</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HIBYTE(x) ((char*)(&(x)))[1]</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="code" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#aeca034f67218340ecb2261a22c2f3dcd"> 6</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BUFSIZE 256 //buffer size</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor"></span> </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/* Print strings in Program Memory */</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="code" href="_h_i_d_2_u_s_b_h_i_d__desc_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564"> 10</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> Gen_Error_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = <span class="stringliteral">"\r\nRequest error. Error code:\t"</span>; </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice descriptor: "</span>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Length_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDescriptor Length:\t"</span>;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Type_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDescriptor type:\t"</span>;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Version_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nUSB version:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Class_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice class:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Subclass_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice Subclass:\t"</span>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Protocol_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice Protocol:\t"</span>;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Pktsize_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.packet size:\t"</span>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Vendor_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nVendor ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Product_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nProduct ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Revision_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nRevision ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Mfg_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMfg.string index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Prod_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nProd.string index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Serial_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nSerial number index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Nconf_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nNumber of conf.:\t"</span>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Trunc_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"Total length truncated to 256 bytes"</span>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConfiguration descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Totlen_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nTotal length:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Nint_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nNum.intf:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Value_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConf.value:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_String_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConf.string:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Attr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAttr.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Pwr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.pwr:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\n\r\nInterface descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Number_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf.number:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Alt_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAlt.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Endpoints_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nEndpoints:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Class_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Class:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Subclass_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Subclass:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Protocol_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Protocol:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_String_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf.string:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\n\r\nEndpoint descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Address_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nEndpoint address:\t"</span>;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Attr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAttr.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Pktsize_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.pkt size:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Interval_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nPolling interval:\t"</span>;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = <span class="stringliteral">"\r\nUnknown descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Length_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nLength:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Type_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nType:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Contents_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nContents:\t"</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"> 52</span> <span class="preprocessor">#endif // __PGMSTRINGS_H__</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:56 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
159
_p_s3_b_t_8cpp.html
Normal file
|
@ -0,0 +1,159 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3BT.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8cpp">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="613,93,667,115"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="575,163,621,184"/><area shape="rect" id="node21" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="649,163,718,184"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="577,232,619,253"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="140,232,223,253"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="832,371,886,392"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="649,371,715,392"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="736,301,793,323"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="739,371,798,392"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="477,301,534,323"/><area shape="rect" id="node15" href="printhex_8h.html" title="printhex.h" alt="" coords="187,440,243,461"/><area shape="rect" id="node16" href="hexdump_8h.html" title="hexdump.h" alt="" coords="99,371,161,392"/><area shape="rect" id="node18" href="message_8h.html" title="message.h" alt="" coords="185,371,246,392"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="28,301,93,323"/><area shape="rect" id="node22" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="644,232,730,253"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a554d83ee81af8e8083760b8a8ff9b9ea"><td class="memItemLeft" align="right" valign="top">const uint8_t <br class="typebreak"/>
|
||||
OUTPUT_REPORT_BUFFER[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8cpp.html#a554d83ee81af8e8083760b8a8ff9b9ea">PROGMEM</a></td></tr>
|
||||
<tr class="separator:a554d83ee81af8e8083760b8a8ff9b9ea"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a554d83ee81af8e8083760b8a8ff9b9ea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t OUTPUT_REPORT_BUFFER [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00,</div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 </div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
17
_p_s3_b_t_8cpp__incl.map
Normal file
|
@ -0,0 +1,17 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.cpp">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="613,93,667,115"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="575,163,621,184"/>
|
||||
<area shape="rect" id="node21" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="649,163,718,184"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="577,232,619,253"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="140,232,223,253"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="832,371,886,392"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="649,371,715,392"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="736,301,793,323"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="739,371,798,392"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="477,301,534,323"/>
|
||||
<area shape="rect" id="node15" href="$printhex_8h.html" title="printhex.h" alt="" coords="187,440,243,461"/>
|
||||
<area shape="rect" id="node16" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="99,371,161,392"/>
|
||||
<area shape="rect" id="node18" href="$message_8h.html" title="message.h" alt="" coords="185,371,246,392"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="28,301,93,323"/>
|
||||
<area shape="rect" id="node22" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="644,232,730,253"/>
|
||||
</map>
|
1
_p_s3_b_t_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
a9a9ba3d567eacb05da2533d44740b9c
|
BIN
_p_s3_b_t_8cpp__incl.png
Normal file
After Width: | Height: | Size: 87 KiB |
536
_p_s3_b_t_8h.html
Normal file
|
@ -0,0 +1,536 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3BT.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_b_t_d_8h_source.html">BTD.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 PS3BT.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_b_t_8h__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="575,93,621,115"/><area shape="rect" id="node20" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="649,93,718,115"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="577,163,619,184"/><area shape="rect" id="node18" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="140,163,223,184"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="832,301,886,323"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="649,301,715,323"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="736,232,793,253"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="739,301,798,323"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="477,232,534,253"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="187,371,243,392"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="99,301,161,323"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="185,301,246,323"/><area shape="rect" id="node19" href="parsetools_8h.html" title="parsetools.h" alt="" coords="28,232,93,253"/><area shape="rect" id="node21" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="644,163,730,184"/></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_b_t_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="5,93,109,133"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_b_t_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_b_t.html">PS3BT</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a465c4c33eae0fd5f934ae12bc8d6ca7e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>   50</td></tr>
|
||||
<tr class="separator:a465c4c33eae0fd5f934ae12bc8d6ca7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8e1b40b58f50a692cda94418934e9ba6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a8e1b40b58f50a692cda94418934e9ba6">OUTPUT_REPORT_BUFFER_SIZE</a>   48</td></tr>
|
||||
<tr class="separator:a8e1b40b58f50a692cda94418934e9ba6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>   0</td></tr>
|
||||
<tr class="separator:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad98e60fcc8acca70e545ba7c248af65a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ad98e60fcc8acca70e545ba7c248af65a">L2CAP_CONTROL_REQUEST</a>   1</td></tr>
|
||||
<tr class="separator:ad98e60fcc8acca70e545ba7c248af65a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>   2</td></tr>
|
||||
<tr class="separator:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>   3</td></tr>
|
||||
<tr class="separator:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c004c746b90f2c8025bb1ddd20d811a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a0c004c746b90f2c8025bb1ddd20d811a">L2CAP_INTERRUPT_REQUEST</a>   4</td></tr>
|
||||
<tr class="separator:a0c004c746b90f2c8025bb1ddd20d811a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac2fdeba844d7f2021e0aed9616aad5e4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ac2fdeba844d7f2021e0aed9616aad5e4">L2CAP_INTERRUPT_SUCCESS</a>   5</td></tr>
|
||||
<tr class="separator:ac2fdeba844d7f2021e0aed9616aad5e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8463be04d86ddc1d58f6388d5be501ad"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad">L2CAP_HID_ENABLE_SIXAXIS</a>   6</td></tr>
|
||||
<tr class="separator:a8463be04d86ddc1d58f6388d5be501ad"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7e385f71ba4406d372f8210b48f5e133"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a7e385f71ba4406d372f8210b48f5e133">L2CAP_HID_PS3_LED</a>   7</td></tr>
|
||||
<tr class="separator:a7e385f71ba4406d372f8210b48f5e133"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>   8</td></tr>
|
||||
<tr class="separator:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>   9</td></tr>
|
||||
<tr class="separator:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>   10</td></tr>
|
||||
<tr class="separator:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a969a1ee84797f3ee5006c41f67373f96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>   0x01</td></tr>
|
||||
<tr class="separator:a969a1ee84797f3ee5006c41f67373f96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af693a78d3df21b24430347b804076b8e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a>   0x02</td></tr>
|
||||
<tr class="separator:af693a78d3df21b24430347b804076b8e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c444d5d06ec604820d426556c2f38d7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>   0x04</td></tr>
|
||||
<tr class="separator:a0c444d5d06ec604820d426556c2f38d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a015f3b25bd7a2908c84b973dec453f45"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>   0x08</td></tr>
|
||||
<tr class="separator:a015f3b25bd7a2908c84b973dec453f45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab8ff96117ba9c8f6a53c2ebbac0da33f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a>   0x10</td></tr>
|
||||
<tr class="separator:ab8ff96117ba9c8f6a53c2ebbac0da33f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>   0x20</td></tr>
|
||||
<tr class="separator:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a27057737ae0b2246442511c01eeed192"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>   0x40</td></tr>
|
||||
<tr class="separator:a27057737ae0b2246442511c01eeed192"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acc096a05301f3cbdece4ad372cc149c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>   0x80</td></tr>
|
||||
<tr class="separator:acc096a05301f3cbdece4ad372cc149c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a48b27c08aa64a339eb1d358707927d3e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a48b27c08aa64a339eb1d358707927d3e">l2cap_config_request_control_flag</a>   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a48b27c08aa64a339eb1d358707927d3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9fa7bceb44bbdff3229fd431627b9868"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a9fa7bceb44bbdff3229fd431627b9868"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad5c6ab585a398e53f2ee5616fe0d4346"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#ad5c6ab585a398e53f2ee5616fe0d4346">l2cap_config_request_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:ad5c6ab585a398e53f2ee5616fe0d4346"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7f0cab74308e812106252c53b18c0391"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td></tr>
|
||||
<tr class="separator:a7f0cab74308e812106252c53b18c0391"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a667178a4486c4dee88e052b3562362cd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td></tr>
|
||||
<tr class="separator:a667178a4486c4dee88e052b3562362cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="a465c4c33eae0fd5f934ae12bc8d6ca7e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HID_BUFFERSIZE   50</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a48b27c08aa64a339eb1d358707927d3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_control_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad5c6ab585a398e53f2ee5616fe0d4346"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad98e60fcc8acca70e545ba7c248af65a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_REQUEST   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abac08b5b24a1cd2b12517cd9aa6c616b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_SUCCESS   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae4da52ca67e1f8b977199b24e8f3a400"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DONE   8</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af693a78d3df21b24430347b804076b8e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab8ff96117ba9c8f6a53c2ebbac0da33f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2b3cdcd3124251a40ce825da0d8dcb6f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acc096a05301f3cbdece4ad372cc149c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x80</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8463be04d86ddc1d58f6388d5be501ad"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_HID_ENABLE_SIXAXIS   6</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7e385f71ba4406d372f8210b48f5e133"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_HID_PS3_LED   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_DISCONNECT   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c004c746b90f2c8025bb1ddd20d811a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_REQUEST   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac2fdeba844d7f2021e0aed9616aad5e4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SUCCESS   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8e1b40b58f50a692cda94418934e9ba6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define OUTPUT_REPORT_BUFFER_SIZE   48</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_p_s3_b_t_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="5,93,109,133"/>
|
||||
</map>
|
1
_p_s3_b_t_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
ac1cd446b7a4f53e38e1c071b9ac6e86
|
BIN
_p_s3_b_t_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
16
_p_s3_b_t_8h__incl.map
Normal file
|
@ -0,0 +1,16 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="575,93,621,115"/>
|
||||
<area shape="rect" id="node20" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="649,93,718,115"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="577,163,619,184"/>
|
||||
<area shape="rect" id="node18" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="140,163,223,184"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="832,301,886,323"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="649,301,715,323"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="736,232,793,253"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="739,301,798,323"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="477,232,534,253"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="187,371,243,392"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="99,301,161,323"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="185,301,246,323"/>
|
||||
<area shape="rect" id="node19" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="28,232,93,253"/>
|
||||
<area shape="rect" id="node21" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="644,163,730,184"/>
|
||||
</map>
|
1
_p_s3_b_t_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
075d4e46b6fdec0b027750d57ebd828a
|
BIN
_p_s3_b_t_8h__incl.png
Normal file
After Width: | Height: | Size: 85 KiB |
246
_p_s3_b_t_8h_source.html
Normal file
|
@ -0,0 +1,246 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3BT.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3BT.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_p_s3_b_t_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _ps3bt_h_</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _ps3bt_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="_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="l00025"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a8e1b40b58f50a692cda94418934e9ba6"> 25</a></span> <span class="preprocessor"></span><span class="preprocessor">#define OUTPUT_REPORT_BUFFER_SIZE 48 //Size of the output report buffer for the controllers</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="comment">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 28</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ad98e60fcc8acca70e545ba7c248af65a"> 29</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_REQUEST 1</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 30</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 2</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 31</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 3</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a0c004c746b90f2c8025bb1ddd20d811a"> 32</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ac2fdeba844d7f2021e0aed9616aad5e4"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SUCCESS 5</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a8463be04d86ddc1d58f6388d5be501ad"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_ENABLE_SIXAXIS 6</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a7e385f71ba4406d372f8210b48f5e133"> 35</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_HID_PS3_LED 7</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 36</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 8</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 37</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 9</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 10</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/* L2CAP event flags */</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 41</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x01</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST 0x02</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x04</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x08</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST 0x10</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x20</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a27057737ae0b2246442511c01eeed192"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x40</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x80</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"> 50</span> <span class="comment">/*Macros for L2CAP event flag tests */</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 51</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="l00052"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a48b27c08aa64a339eb1d358707927d3e"> 52</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="l00053"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 53</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="l00054"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 54</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="l00055"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#ad5c6ab585a398e53f2ee5616fe0d4346"> 55</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="l00056"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 56</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="l00057"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a7f0cab74308e812106252c53b18c0391"> 57</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="l00058"></a><span class="lineno"><a class="code" href="_p_s3_b_t_8h.html#a667178a4486c4dee88e052b3562362cd"> 58</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="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html"> 60</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="l00061"></a><span class="lineno"> 61</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</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="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// BluetoothService implementation</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">ACLData</a>(uint8_t* <a class="code" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">ACLData</a>); <span class="comment">// Used to pass acldata to the services</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">Run</a>(); <span class="comment">// Used to run part of the state maschine</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>(); <span class="comment">// Use this to reset the service</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">disconnect</a>(); <span class="comment">// Use this void to disconnect any of the controllers</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">/* PS3 Controller Commands */</span> </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">/* </span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> getButtonPress will return true as long as the button is held down</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> While getButtonClick will only return it once</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> So you instance if you need to increase a variable once you would use getButtonClick, </span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> but if you need to drive a robot forward you would use getButtonPress </span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  int16_t <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">get9DOFValues</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c); </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  String <a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">getStatusString</a>(); </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  String <a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">getTemperature</a>();</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">/* Commands for Dualshock 3 and Navigation controller */</span> </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a); </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">/* Commands for Motion controller only */</span> </div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b); <span class="comment">// Use this to set the Color using RGB values</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</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); <span class="comment">// Use this to set the Color using the predefined colors in "enum Colors"</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</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="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 103</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>; <span class="comment">// Variable used to indicate if the normal playstation controller is successfully connected</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 104</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>; <span class="comment">// Variable used to indicate if the move controller is successfully connected</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 105</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>; <span class="comment">// Variable used to indicate if the navigation controller is successfully connected</span></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> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">/* mandatory members */</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</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>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  int16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint8_t remote_name[30]; <span class="comment">// First 30 chars of remote name</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</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="l00117"></a><span class="lineno"> 117</span>  </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  uint16_t l2cap_event_flag; <span class="comment">// L2CAP flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  uint32_t ButtonClickState;</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>  uint32_t timerHID; <span class="comment">// Timer used see if there has to be a delay before a new HID command</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  uint32_t timerBulbRumble;<span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</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>  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="l00132"></a><span class="lineno"> 132</span>  uint8_t HIDBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  uint8_t HIDMoveBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands for the Move controller </span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control </span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0040</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt </span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0041</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  uint8_t identifier; <span class="comment">// Identifier for connection </span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">void</span> HIDMove_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</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="l00146"></a><span class="lineno"> 146</span> };</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
387
_p_s3_enums_8h.html
Normal file
|
@ -0,0 +1,387 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#enum-members">Enumerations</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3Enums.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><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 PS3Enums.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_p_s3_enums_8h__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8h">
|
||||
<area shape="rect" id="node2" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="14,93,100,115"/></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_enums_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_b_t_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.h" alt="" coords="5,93,109,133"/><area shape="rect" id="node4" href="_p_s3_u_s_b_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.h" alt="" coords="133,93,237,133"/><area shape="rect" id="node3" href="_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="5,181,109,221"/><area shape="rect" id="node5" href="_p_s3_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.cpp" alt="" coords="133,181,237,221"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_enums_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> { <br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a> = 0xFF0000,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106">Green</a> = 0xFF00,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8">Blue</a> = 0xFF,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82">Yellow</a> = 0xFFEB04,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a">Lightblue</a> = 0xFFFF,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c">Purble</a> = 0xFF00FF,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094">White</a> = 0xFFFFFF,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b">Off</a> = 0x00
|
||||
<br/>
|
||||
}</td></tr>
|
||||
<tr class="separator:a55ecd4f2ec2ebfe8d5b0163e4ac2a967"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9628766e5f200cc84b296b071b09ff4a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> { <br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a> = 50,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a> = 52,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a> = 54,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a> = 56,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a> = 28,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a> = 30,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a> = 32,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a> = 40,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a> = 42,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a> = 44,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a> = 46,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a> = 47,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a> = 49,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a> = 50
|
||||
<br/>
|
||||
}</td></tr>
|
||||
<tr class="separator:a9628766e5f200cc84b296b071b09ff4a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0200d2d1b3a7930d0be6c50e7c8ae7d1"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> { <a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a> = 0x01,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173">Roll</a> = 0x02
|
||||
}</td></tr>
|
||||
<tr class="separator:a0200d2d1b3a7930d0be6c50e7c8ae7d1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a67a0db04d321a74b7e7fcfd3f1a3f70b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> { <br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a> = (38 << 8) | 0x02,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a> = (38 << 8) | 0x03,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a> = (39 << 8) | 0xEE,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a> = (39 << 8) | 0xF1,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a> = (39 << 8) | 0x01,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a> = (39 << 8) | 0x02,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a> = (39 << 8) | 0x03,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a> = (39 << 8) | 0x04,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> = (39 << 8) | 0x05,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a> = (21 << 8) | 0xEE,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a> = (21 << 8) | 0xF1,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a> = (21 << 8) | 0x01,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a> = (21 << 8) | 0x02,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a> = (21 << 8) | 0x03,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a> = (21 << 8) | 0x04,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a> = (21 << 8) | 0x05,
|
||||
<br/>
|
||||
  <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209">CableRumble</a> = (40 << 8) | 0x10,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1">Cable</a> = (40 << 8) | 0x12,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c">BluetoothRumble</a> = (40 << 8) | 0x14,
|
||||
<a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb">Bluetooth</a> = (40 << 8) | 0x16
|
||||
<br/>
|
||||
}</td></tr>
|
||||
<tr class="separator:a67a0db04d321a74b7e7fcfd3f1a3f70b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aff4be38428d075a117a5bb7f6209a231"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> { <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a> = 0x10,
|
||||
<a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac">RumbleLow</a> = 0x20
|
||||
}</td></tr>
|
||||
<tr class="separator:aff4be38428d075a117a5bb7f6209a231"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:aefe67abcaf27811cfe8d010add39ae4e"><td class="memItemLeft" align="right" valign="top">const uint8_t LEDS[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_enums_8h.html#aefe67abcaf27811cfe8d010add39ae4e">PROGMEM</a></td></tr>
|
||||
<tr class="separator:aefe67abcaf27811cfe8d010add39ae4e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"></a>Pitch</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"></a>Roll</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"></a>Red</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106"></a>Green</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8"></a>Blue</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82"></a>Yellow</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a"></a>Lightblue</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c"></a>Purble</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094"></a>White</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b"></a>Off</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aff4be38428d075a117a5bb7f6209a231"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"></a>RumbleHigh</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"></a>RumbleLow</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9628766e5f200cc84b296b071b09ff4a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"></a>aX</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"></a>aY</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"></a>aZ</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"></a>gZ</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"></a>aXmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"></a>aZmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"></a>aYmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"></a>gXmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"></a>gZmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"></a>gYmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"></a>tempMove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"></a>mXmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"></a>mZmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"></a>mYmove</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"></a>Plugged</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"></a>Unplugged</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"></a>Charging</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"></a>NotCharging</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"></a>Shutdown</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"></a>Dying</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"></a>Low</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"></a>High</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"></a>Full</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"></a>MoveCharging</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"></a>MoveNotCharging</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"></a>MoveShutdown</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"></a>MoveDying</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"></a>MoveLow</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"></a>MoveHigh</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"></a>MoveFull</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"></a>CableRumble</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"></a>Cable</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"></a>BluetoothRumble</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"></a>Bluetooth</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="aefe67abcaf27811cfe8d010add39ae4e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t ANALOGBUTTONS [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x01, </div>
|
||||
<div class="line"> 0x02, </div>
|
||||
<div class="line"> 0x04, </div>
|
||||
<div class="line"> 0x08, </div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"> 0x09, </div>
|
||||
<div class="line"> 0x0A, </div>
|
||||
<div class="line"> 0x0C, </div>
|
||||
<div class="line"> 0x0D, </div>
|
||||
<div class="line"> 0x0E, </div>
|
||||
<div class="line"> 0x0F </div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
6
_p_s3_enums_8h__dep__incl.map
Normal file
|
@ -0,0 +1,6 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_b_t_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.h" alt="" coords="5,93,109,133"/>
|
||||
<area shape="rect" id="node4" href="$_p_s3_u_s_b_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.h" alt="" coords="133,93,237,133"/>
|
||||
<area shape="rect" id="node3" href="$_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="5,181,109,221"/>
|
||||
<area shape="rect" id="node5" href="$_p_s3_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.cpp" alt="" coords="133,181,237,221"/>
|
||||
</map>
|
1
_p_s3_enums_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
25951e585164f864dc4ee6c5afa77518
|
BIN
_p_s3_enums_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 11 KiB |
3
_p_s3_enums_8h__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h">
|
||||
<area shape="rect" id="node2" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="14,93,100,115"/>
|
||||
</map>
|
1
_p_s3_enums_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
110effa69a3e7875c4ad8ef79edbc28d
|
BIN
_p_s3_enums_8h__incl.png
Normal file
After Width: | Height: | Size: 4 KiB |
257
_p_s3_enums_8h_source.html
Normal file
|
@ -0,0 +1,257 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3Enums.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3Enums.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_p_s3_enums_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _ps3enums_h</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _ps3enums_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="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="l00023"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aefe67abcaf27811cfe8d010add39ae4e"> 23</a></span> <span class="keyword">const</span> uint8_t LEDS[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = {</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  0x01, <span class="comment">// LED1</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  0x02, <span class="comment">// LED2</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  0x04, <span class="comment">// LED3</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  0x08, <span class="comment">// LED4</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  0x09, <span class="comment">// LED5</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  0x0A, <span class="comment">// LED6</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  0x0C, <span class="comment">// LED7</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  0x0D, <span class="comment">// LED8</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  0x0E, <span class="comment">// LED9</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  0x0F <span class="comment">// LED10</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="keyword">const</span> uint32_t BUTTONS[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  0x10, <span class="comment">// UP</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  0x20, <span class="comment">// RIGHT</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  0x40, <span class="comment">// DOWN</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  0x80, <span class="comment">// LEFT</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  0x01, <span class="comment">// SELECT</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  0x02, <span class="comment">// L3</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  0x04, <span class="comment">// R3</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  0x08, <span class="comment">// START</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"> 47</span>  0x0100, <span class="comment">// L2</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  0x0200, <span class="comment">// R2</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  0x0400, <span class="comment">// L1</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  0x0800, <span class="comment">// R1</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"> 52</span>  0x1000, <span class="comment">// TRIANGLE</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  0x2000, <span class="comment">// CIRCLE</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  0x4000, <span class="comment">// CROSS</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  0x8000, <span class="comment">// SQUARE</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  0x010000, <span class="comment">// PS </span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  0x080000, <span class="comment">// MOVE - covers 12 bits - we only need to read the top 8</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  0x100000 <span class="comment">// T - covers 12 bits - we only need to read the top 8</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"> 62</span> <span class="keyword">const</span> uint8_t ANALOGBUTTONS[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = {</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Note that the location is shiftet 9 when it's connected via USB </span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// Sixaxis Dualshcock 3 & Navigation controller</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  23, <span class="comment">// UP_ANALOG</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  24, <span class="comment">// RIGHT_ANALOG</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  25, <span class="comment">// DOWN_ANALOG</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  26, <span class="comment">// LEFT_ANALOG</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  0,0,0,0, <span class="comment">// Skip SELECT, L3, R3 and START</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  27, <span class="comment">// L2_ANALOG</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  28, <span class="comment">// R2_ANALOG</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  29, <span class="comment">// L1_ANALOG</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  30, <span class="comment">// R1_ANALOG</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  31, <span class="comment">// TRIANGLE_ANALOG</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  32, <span class="comment">// CIRCLE_ANALOG</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  33, <span class="comment">// CROSS_ANALOG</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  34, <span class="comment">// SQUARE_ANALOG</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  0,0, <span class="comment">// Skip PS and MOVE</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Playstation Move Controller</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</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="l00083"></a><span class="lineno"> 83</span> };</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967"> 85</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="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// Used to set the colors of the move controller</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743"> 87</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad3163c1fcda01965b692ec2c3122b743">Red</a> = 0xFF0000, <span class="comment">// r = 255, g = 0, b = 0</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106"> 88</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad0784a3f969fe736e8b271a5a161d106">Green</a> = 0xFF00, <span class="comment">// r = 0, g = 255, b = 0</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8"> 89</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967af5e09dd1da4088464f264b7a3118bff8">Blue</a> = 0xFF, <span class="comment">// r = 0, g = 0, b = 255</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82"> 91</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967abf28513245738599d13e3ce36bd16c82">Yellow</a> = 0xFFEB04, <span class="comment">// r = 255, g = 235, b = 4</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a"> 92</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a7ff0cc1f92da1e4577a4bf08d0ffbd5a">Lightblue</a> = 0xFFFF, <span class="comment">// r = 0, g = 255, b = 255</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c"> 93</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967a627dded106da5a64dd127381890c2f7c">Purble</a> = 0xFF00FF, <span class="comment">// r = 255, g = 0, b = 255</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094"> 95</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ab548046646b36c12aa6ba841de500094">White</a> = 0xFFFFFF, <span class="comment">// r = 255, g = 255, b = 255</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b"> 96</a></span>  <a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967ad8a892b94d3a94ea861543c085ae782b">Off</a> = 0x00, <span class="comment">// r = 0, g = 0, b = 0</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> };</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a"> 98</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="l00099"></a><span class="lineno"> 99</span>  <span class="comment">// Note that the location is shiftet 9 when it's connected via USB</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Sensors inside the Sixaxis Dualshock 3 controller</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb"> 101</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b657addccd19368e17fd15ce396a2eb">aX</a> = 50,</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd"> 102</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaba377ea700e0cdf1c61034ef60b259bd">aY</a> = 52,</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc"> 103</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa4a709497e95c67840807ab9e99af2bbc">aZ</a> = 54,</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675"> 104</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa644a4a198e3cf90bfe918a147cd5d675">gZ</a> = 56,</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// Sensors inside the Move Motion controller</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7"> 107</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa832ceb5090692e95e93982849f740de7">aXmove</a> = 28,</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f"> 108</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa077e283d0c3f06568c20adf90ced0a3f">aZmove</a> = 30,</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199"> 109</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa5c436ac329e20e6b7661152c74e82199">aYmove</a> = 32,</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731"> 111</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1851ce90f7a3f6acb062de46e78ca731">gXmove</a> = 40,</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d"> 112</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9ea1d99ce7ddecd65fcb39f30c77037d">gZmove</a> = 42,</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91"> 113</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9c538a78bbc03fb258e1141acdc69a91">gYmove</a> = 44,</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f"> 115</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa43025202f119b0f193cbc14c6a3cf59f">tempMove</a> = 46,</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68"> 117</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa9d1f82ecbf55d931c3f49858d86d4d68">mXmove</a> = 47,</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503"> 118</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aa1b4c8ce0561fd9c003a6389d7c6fb503">mZmove</a> = 49,</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78"> 119</a></span>  <a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4aaee1254b85fe360243299d2041323aa78">mYmove</a> = 50,</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> };</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1"> 121</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="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Used to get the angle calculated using atan2</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"> 123</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47">Pitch</a> = 0x01,</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"> 124</a></span>  <a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173">Roll</a> = 0x02,</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="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b"> 126</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="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// Note that the location is shiftet 9 when it's connected via USB</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// Byte location | bit location</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387"> 129</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baff01ce39b42bec30132b0fc53c882387">Plugged</a> = (38 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924"> 130</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae37160f3a65bb54a91fb5efb4f971924">Unplugged</a> = (38 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773"> 132</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba5a86ae1482947377a116685c168d1773">Charging</a> = (39 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6"> 133</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac138cecbd4ef1ba0f9e0ab12440a6df6">NotCharging</a> = (39 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734"> 134</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba82084136e62c38642986b05419b4e734">Shutdown</a> = (39 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089"> 135</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba96cc2a0090ada376561406d48d1f2089">Dying</a> = (39 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8"> 136</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7a352a3dd2accc1dd65a4538c3754ee8">Low</a> = (39 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f"> 137</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba24c57acd029e3f96fede49402ea01e6f">High</a> = (39 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679"> 138</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba8b7c5cd8bd8eb51ee6d3fd0eac584679">Full</a> = (39 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030"> 140</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a18b1e66913bf3103ec5f81a124d030">MoveCharging</a> = (21 << 8) | 0xEE,</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a"> 141</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baa66a4c4924065859bcee07c677554e2a">MoveNotCharging</a> = (21 << 8) | 0xF1,</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c"> 142</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba90b649581a499e75735f153a32dfd71c">MoveShutdown</a> = (21 << 8) | 0x01,</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8"> 143</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba74ec9082d76bf71ae74ad5d948c311f8">MoveDying</a> = (21 << 8) | 0x02,</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf"> 144</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba429562e406bab9f30a0290306c6abdbf">MoveLow</a> = (21 << 8) | 0x03,</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb"> 145</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba7719066bf7a360dfe51ccbf81a148bcb">MoveHigh</a> = (21 << 8) | 0x04,</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943"> 146</a></span>  <a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70baccd6c38d1a97db0feafc9f88909ce943">MoveFull</a> = (21 << 8) | 0x05,</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba71c14aef95c9953673a880e2633fa209"> 148</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="l00149"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba1a36ca9a60a5e244f3404ec0db7b44a1"> 149</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="l00150"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba27912f9ea05a45aada21fc375817342c"> 150</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="l00151"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba730728c9aac83393ac83f96a8125b8bb"> 151</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="l00152"></a><span class="lineno"> 152</span> };</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231"> 153</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="l00154"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"> 154</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b">RumbleHigh</a> = 0x10,</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"> 155</a></span>  <a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac">RumbleLow</a> = 0x20,</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="l00158"></a><span class="lineno"> 158</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
158
_p_s3_u_s_b_8cpp.html
Normal file
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3USB.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8cpp">
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="726,93,785,115"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="397,163,440,184"/><area shape="rect" id="node18" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="797,163,866,184"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,301,582,323"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,301,213,323"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,232,269,253"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,301,296,323"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="79,232,136,253"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="608,301,665,323"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,232,492,253"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="345,232,406,253"/><area shape="rect" id="node19" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,232,880,253"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a5442183aed6e48d11b22eb790351a5cd"><td class="memItemLeft" align="right" valign="top">const uint8_t PS3_REPORT_BUFFER[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8cpp.html#a5442183aed6e48d11b22eb790351a5cd">PROGMEM</a></td></tr>
|
||||
<tr class="separator:a5442183aed6e48d11b22eb790351a5cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a5442183aed6e48d11b22eb790351a5cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t MOVE_REPORT_BUFFER [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0xff, 0x27, 0x10, 0x00, 0x32, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, </div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00,</div>
|
||||
<div class="line"> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 </div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
14
_p_s3_u_s_b_8cpp__incl.map
Normal file
|
@ -0,0 +1,14 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.cpp">
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="726,93,785,115"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,163,440,184"/>
|
||||
<area shape="rect" id="node18" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="797,163,866,184"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,301,582,323"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,301,213,323"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,232,269,253"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,301,296,323"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="79,232,136,253"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,301,665,323"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,232,492,253"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="345,232,406,253"/>
|
||||
<area shape="rect" id="node19" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,232,880,253"/>
|
||||
</map>
|
1
_p_s3_u_s_b_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
a4a25b64750deb6bea8a1aacdf4cc1f7
|
BIN
_p_s3_u_s_b_8cpp__incl.png
Normal file
After Width: | Height: | Size: 62 KiB |
327
_p_s3_u_s_b_8h.html
Normal file
|
@ -0,0 +1,327 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3USB.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "WProgram.h"</code><br/>
|
||||
<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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="397,93,440,115"/><area shape="rect" id="node17" href="_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="797,93,866,115"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,232,582,253"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,232,213,253"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,163,269,184"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,232,296,253"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="79,163,136,184"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="608,232,665,253"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,163,492,184"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="345,163,406,184"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,163,880,184"/></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_p_s3_u_s_b_8hdep">
|
||||
<area shape="rect" id="node2" href="_p_s3_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.cpp" alt="" coords="5,93,109,133"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_p_s3_u_s_b_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s3_u_s_b.html">PS3USB</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:abcb805b13bfd36145e252b0633bbcfc0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>   64</td></tr>
|
||||
<tr class="separator:abcb805b13bfd36145e252b0633bbcfc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad4d26e1c566064f2259faf65f0858b6e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a>   0x03</td></tr>
|
||||
<tr class="separator:ad4d26e1c566064f2259faf65f0858b6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae6276fa555fe14995bee0713be663333"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#ae6276fa555fe14995bee0713be663333">PS3_CONTROL_PIPE</a>   0</td></tr>
|
||||
<tr class="separator:ae6276fa555fe14995bee0713be663333"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0da271fcb10181b3ce15aefe76c259bb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a0da271fcb10181b3ce15aefe76c259bb">PS3_OUTPUT_PIPE</a>   1</td></tr>
|
||||
<tr class="separator:a0da271fcb10181b3ce15aefe76c259bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aca3cbaad8732d9185bb9bda1a32cd18d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#aca3cbaad8732d9185bb9bda1a32cd18d">PS3_INPUT_PIPE</a>   2</td></tr>
|
||||
<tr class="separator:aca3cbaad8732d9185bb9bda1a32cd18d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5bb06f989db583d290ba79642d37c514"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a5bb06f989db583d290ba79642d37c514">PS3_VID</a>   0x054C</td></tr>
|
||||
<tr class="separator:a5bb06f989db583d290ba79642d37c514"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ae276efa5e73a4da658c714e70402c0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a0ae276efa5e73a4da658c714e70402c0">PS3_PID</a>   0x0268</td></tr>
|
||||
<tr class="separator:a0ae276efa5e73a4da658c714e70402c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a54903b410722a45f8246653cd4d00632"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a54903b410722a45f8246653cd4d00632">PS3NAVIGATION_PID</a>   0x042F</td></tr>
|
||||
<tr class="separator:a54903b410722a45f8246653cd4d00632"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afc242b8a1b867f79c49ad78e3a47b37f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#afc242b8a1b867f79c49ad78e3a47b37f">PS3MOVE_PID</a>   0x03D5</td></tr>
|
||||
<tr class="separator:afc242b8a1b867f79c49ad78e3a47b37f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4898fccf5d2aa053bc67894aa3627e0f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a4898fccf5d2aa053bc67894aa3627e0f">PS3_REPORT_BUFFER_SIZE</a>   48</td></tr>
|
||||
<tr class="separator:a4898fccf5d2aa053bc67894aa3627e0f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2c6c24a4b63d9a34926fb35d6b49cd17"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17">MOVE_REPORT_BUFFER_SIZE</a>   7</td></tr>
|
||||
<tr class="separator:a2c6c24a4b63d9a34926fb35d6b49cd17"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5bd4ea095da29635414952894bd527f5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td></tr>
|
||||
<tr class="separator:a5bd4ea095da29635414952894bd527f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aee05d40a014750b24a7e9967f6f389f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>   0x09</td></tr>
|
||||
<tr class="separator:aee05d40a014750b24a7e9967f6f389f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a168ab47b14a95d7cf8066d553a9cb862"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>   3</td></tr>
|
||||
<tr class="separator:a168ab47b14a95d7cf8066d553a9cb862"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="a5bd4ea095da29635414952894bd527f5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_HID_OUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad4d26e1c566064f2259faf65f0858b6e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_INTERRUPT   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_MAXPKTSIZE   64</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HID_REQUEST_SET_REPORT   0x09</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c6c24a4b63d9a34926fb35d6b49cd17"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MOVE_REPORT_BUFFER_SIZE   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae6276fa555fe14995bee0713be663333"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_CONTROL_PIPE   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aca3cbaad8732d9185bb9bda1a32cd18d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_INPUT_PIPE   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a168ab47b14a95d7cf8066d553a9cb862"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0da271fcb10181b3ce15aefe76c259bb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_OUTPUT_PIPE   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0ae276efa5e73a4da658c714e70402c0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_PID   0x0268</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4898fccf5d2aa053bc67894aa3627e0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_REPORT_BUFFER_SIZE   48</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5bb06f989db583d290ba79642d37c514"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_VID   0x054C</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afc242b8a1b867f79c49ad78e3a47b37f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3MOVE_PID   0x03D5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a54903b410722a45f8246653cd4d00632"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3NAVIGATION_PID   0x042F</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_p_s3_u_s_b_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h">
|
||||
<area shape="rect" id="node2" href="$_p_s3_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.cpp" alt="" coords="5,93,109,133"/>
|
||||
</map>
|
1
_p_s3_u_s_b_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
c4ae62d9bf8ef38b75f0c8cbcf92d411
|
BIN
_p_s3_u_s_b_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
13
_p_s3_u_s_b_8h__incl.map
Normal file
|
@ -0,0 +1,13 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,93,440,115"/>
|
||||
<area shape="rect" id="node17" href="$_p_s3_enums_8h.html" title="PS3Enums.h" alt="" coords="797,93,866,115"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,232,582,253"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,232,213,253"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,163,269,184"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,232,296,253"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="79,163,136,184"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,232,665,253"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,163,492,184"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="345,163,406,184"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,163,880,184"/>
|
||||
</map>
|
1
_p_s3_u_s_b_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
ce87668080e01e7cf4f7f069951b3a02
|
BIN
_p_s3_u_s_b_8h__incl.png
Normal file
After Width: | Height: | Size: 60 KiB |
230
_p_s3_u_s_b_8h_source.html
Normal file
|
@ -0,0 +1,230 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/PS3USB.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">PS3USB.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_p_s3_u_s_b_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<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="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="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="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a4898fccf5d2aa053bc67894aa3627e0f"> 47</a></span> <span class="preprocessor">#define PS3_REPORT_BUFFER_SIZE 48 // Size of the output report buffer for the Dualshock and Navigation controllers</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a2c6c24a4b63d9a34926fb35d6b49cd17"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define MOVE_REPORT_BUFFER_SIZE 7 // Size of the output report buffer for the Move Controller</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"> 50</span> <span class="comment">// used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5"> 51</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="l00052"></a><span class="lineno"><a class="code" href="_p_s3_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</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="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862"> 54</a></span> <span class="preprocessor">#define PS3_MAX_ENDPOINTS 3</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html"> 56</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="l00057"></a><span class="lineno"> 57</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</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="l00059"></a><span class="lineno"> 59</span>  </div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// USBDeviceConfig implementation</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</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="l00062"></a><span class="lineno"> 62</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="l00063"></a><span class="lineno"> 63</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="l00064"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627"> 64</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_p_s3_u_s_b.html#a04b79c271ca14e1e095c6e305c672627">GetAddress</a>() { <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="l00065"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a02a5b0244665d5a790d1020e51c94479"> 65</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>() { <span class="keywordflow">return</span> bPollEnable; }; </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="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="l00068"></a><span class="lineno"> 68</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="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">/* PS3 Controller Commands */</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> getButtonPress will return true as long as the button is held down</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> While getButtonClick will only return it once</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> So you instance if you need to increase a variable once you would use getButtonClick,</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> but if you need to drive a robot forward you would use getButtonPress</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</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="l00078"></a><span class="lineno"> 78</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="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</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="l00081"></a><span class="lineno"> 81</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="l00082"></a><span class="lineno"> 82</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="l00083"></a><span class="lineno"> 83</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="l00084"></a><span class="lineno"> 84</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="l00085"></a><span class="lineno"> 85</span>  String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</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>  <span class="comment">/* Commands for Dualshock 3 and Navigation controller */</span> </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</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="l00089"></a><span class="lineno"> 89</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="l00090"></a><span class="lineno"> 90</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="l00091"></a><span class="lineno"> 91</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="l00092"></a><span class="lineno"> 92</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="l00093"></a><span class="lineno"> 93</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="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">/* Commands for Motion controller only */</span> </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</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);<span class="comment">//Use this to set the Color using RGB values</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</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);<span class="comment">//Use this to set the Color using the predefined colors in "enum Colors"</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</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="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 100</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>;<span class="comment">// Variable used to indicate if the normal playstation controller is successfully connected</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 101</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>;<span class="comment">// Variable used to indicate if the move controller is successfully connected</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 102</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>;<span class="comment">// Variable used to indicate if the navigation controller is successfully connected */</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">/* mandatory members */</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 106</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="l00107"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 107</a></span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>; <span class="comment">// device address</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 108</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>]; <span class="comment">//endpoint info structure</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">bool</span> bPollEnable;</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>  uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</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="l00120"></a><span class="lineno"> 120</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="l00121"></a><span class="lineno"> 121</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="l00122"></a><span class="lineno"> 122</span>  </div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</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"> 126</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</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="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes); </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="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
95
_r_e_a_d_m_e_8md.html
Normal file
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/README.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">/Users/Lauszus/GitHub/USB_Host_Shield_2.0/README.md File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
165
_s_p_p_8cpp.html
Normal file
|
@ -0,0 +1,165 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">SPP.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_s_p_p_8h_source.html">SPP.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for SPP.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_s_p_p_8cpp__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8cpp">
|
||||
<area shape="rect" id="node2" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="549,93,594,115"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="549,163,594,184"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="342,232,385,253"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,232,791,253"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="251,371,305,392"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="159,371,226,392"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="175,301,231,323"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,371,407,392"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="41,301,98,323"/><area shape="rect" id="node15" href="printhex_8h.html" title="printhex.h" alt="" coords="721,440,778,461"/><area shape="rect" id="node16" href="hexdump_8h.html" title="hexdump.h" alt="" coords="634,371,695,392"/><area shape="rect" id="node18" href="message_8h.html" title="message.h" alt="" coords="719,371,781,392"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="788,301,853,323"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a5c3da75486e8c6a65da9ecc5c9c588e1"><td class="memItemLeft" align="right" valign="top">const uint8_t rfcomm_crc_table[256] </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8cpp.html#a5c3da75486e8c6a65da9ecc5c9c588e1">PROGMEM</a></td></tr>
|
||||
<tr class="separator:a5c3da75486e8c6a65da9ecc5c9c588e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a5c3da75486e8c6a65da9ecc5c9c588e1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t rfcomm_crc_table [256] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= { </div>
|
||||
<div class="line"> 0x00, 0x91, 0xE3, 0x72, 0x07, 0x96, 0xE4, 0x75, 0x0E, 0x9F, 0xED, 0x7C, 0x09, 0x98, 0xEA, 0x7B,</div>
|
||||
<div class="line"> 0x1C, 0x8D, 0xFF, 0x6E, 0x1B, 0x8A, 0xF8, 0x69, 0x12, 0x83, 0xF1, 0x60, 0x15, 0x84, 0xF6, 0x67,</div>
|
||||
<div class="line"> 0x38, 0xA9, 0xDB, 0x4A, 0x3F, 0xAE, 0xDC, 0x4D, 0x36, 0xA7, 0xD5, 0x44, 0x31, 0xA0, 0xD2, 0x43,</div>
|
||||
<div class="line"> 0x24, 0xB5, 0xC7, 0x56, 0x23, 0xB2, 0xC0, 0x51, 0x2A, 0xBB, 0xC9, 0x58, 0x2D, 0xBC, 0xCE, 0x5F,</div>
|
||||
<div class="line"> 0x70, 0xE1, 0x93, 0x02, 0x77, 0xE6, 0x94, 0x05, 0x7E, 0xEF, 0x9D, 0x0C, 0x79, 0xE8, 0x9A, 0x0B,</div>
|
||||
<div class="line"> 0x6C, 0xFD, 0x8F, 0x1E, 0x6B, 0xFA, 0x88, 0x19, 0x62, 0xF3, 0x81, 0x10, 0x65, 0xF4, 0x86, 0x17,</div>
|
||||
<div class="line"> 0x48, 0xD9, 0xAB, 0x3A, 0x4F, 0xDE, 0xAC, 0x3D, 0x46, 0xD7, 0xA5, 0x34, 0x41, 0xD0, 0xA2, 0x33,</div>
|
||||
<div class="line"> 0x54, 0xC5, 0xB7, 0x26, 0x53, 0xC2, 0xB0, 0x21, 0x5A, 0xCB, 0xB9, 0x28, 0x5D, 0xCC, 0xBE, 0x2F,</div>
|
||||
<div class="line"> 0xE0, 0x71, 0x03, 0x92, 0xE7, 0x76, 0x04, 0x95, 0xEE, 0x7F, 0x0D, 0x9C, 0xE9, 0x78, 0x0A, 0x9B,</div>
|
||||
<div class="line"> 0xFC, 0x6D, 0x1F, 0x8E, 0xFB, 0x6A, 0x18, 0x89, 0xF2, 0x63, 0x11, 0x80, 0xF5, 0x64, 0x16, 0x87,</div>
|
||||
<div class="line"> 0xD8, 0x49, 0x3B, 0xAA, 0xDF, 0x4E, 0x3C, 0xAD, 0xD6, 0x47, 0x35, 0xA4, 0xD1, 0x40, 0x32, 0xA3,</div>
|
||||
<div class="line"> 0xC4, 0x55, 0x27, 0xB6, 0xC3, 0x52, 0x20, 0xB1, 0xCA, 0x5B, 0x29, 0xB8, 0xCD, 0x5C, 0x2E, 0xBF,</div>
|
||||
<div class="line"> 0x90, 0x01, 0x73, 0xE2, 0x97, 0x06, 0x74, 0xE5, 0x9E, 0x0F, 0x7D, 0xEC, 0x99, 0x08, 0x7A, 0xEB,</div>
|
||||
<div class="line"> 0x8C, 0x1D, 0x6F, 0xFE, 0x8B, 0x1A, 0x68, 0xF9, 0x82, 0x13, 0x61, 0xF0, 0x85, 0x14, 0x66, 0xF7,</div>
|
||||
<div class="line"> 0xA8, 0x39, 0x4B, 0xDA, 0xAF, 0x3E, 0x4C, 0xDD, 0xA6, 0x37, 0x45, 0xD4, 0xA1, 0x30, 0x42, 0xD3,</div>
|
||||
<div class="line"> 0xB4, 0x25, 0x57, 0xC6, 0xB3, 0x22, 0x50, 0xC1, 0xBA, 0x2B, 0x59, 0xC8, 0xBD, 0x2C, 0x5E, 0xCF</div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
15
_s_p_p_8cpp__incl.map
Normal file
|
@ -0,0 +1,15 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.cpp">
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="549,93,594,115"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="549,163,594,184"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,232,385,253"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,232,791,253"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,371,305,392"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,371,226,392"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,301,231,323"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,371,407,392"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="41,301,98,323"/>
|
||||
<area shape="rect" id="node15" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,440,778,461"/>
|
||||
<area shape="rect" id="node16" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,371,695,392"/>
|
||||
<area shape="rect" id="node18" href="$message_8h.html" title="message.h" alt="" coords="719,371,781,392"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,301,853,323"/>
|
||||
</map>
|
1
_s_p_p_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
26ba66dff2c239841acef2bda9b13027
|
BIN
_s_p_p_8cpp__incl.png
Normal file
After Width: | Height: | Size: 85 KiB |
717
_s_p_p_8h.html
Normal file
|
@ -0,0 +1,717 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">SPP.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for SPP.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_s_p_p_8h__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="549,85,594,107"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="342,155,385,176"/><area shape="rect" id="node18" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,155,791,176"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="251,293,305,315"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="159,293,226,315"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="175,224,231,245"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,293,407,315"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="41,224,98,245"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="721,363,778,384"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="634,293,695,315"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="719,293,781,315"/><area shape="rect" id="node19" href="parsetools_8h.html" title="parsetools.h" alt="" coords="788,224,853,245"/></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_s_p_p_8hdep">
|
||||
<area shape="rect" id="node2" href="_s_p_p_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/SPP.cpp" alt="" coords="17,85,121,125"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_s_p_p_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_p.html">SPP</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a72444116eaac116983a3dec35b1944f0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a72444116eaac116983a3dec35b1944f0">L2CAP_SDP_WAIT</a>   0</td></tr>
|
||||
<tr class="separator:a72444116eaac116983a3dec35b1944f0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae100d60ef94dea996b12fc89d6a339f2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ae100d60ef94dea996b12fc89d6a339f2">L2CAP_SDP_REQUEST</a>   1</td></tr>
|
||||
<tr class="separator:ae100d60ef94dea996b12fc89d6a339f2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1b8e3e654e4f55e27ca5054aef956edc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a1b8e3e654e4f55e27ca5054aef956edc">L2CAP_SDP_SUCCESS</a>   2</td></tr>
|
||||
<tr class="separator:a1b8e3e654e4f55e27ca5054aef956edc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a25f7af87e6960e2e8ed49006b0b50f3e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a25f7af87e6960e2e8ed49006b0b50f3e">L2CAP_SDP_DONE</a>   3</td></tr>
|
||||
<tr class="separator:a25f7af87e6960e2e8ed49006b0b50f3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adf2585ad5d49cf2df2595d860ad6b258"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#adf2585ad5d49cf2df2595d860ad6b258">L2CAP_DISCONNECT_RESPONSE</a>   4</td></tr>
|
||||
<tr class="separator:adf2585ad5d49cf2df2595d860ad6b258"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0b7cbe1aa26664847a48bd4578bc50bd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a0b7cbe1aa26664847a48bd4578bc50bd">L2CAP_RFCOMM_WAIT</a>   0</td></tr>
|
||||
<tr class="separator:a0b7cbe1aa26664847a48bd4578bc50bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad7f3cf22bd76c9ccd377d96b4a751fc4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ad7f3cf22bd76c9ccd377d96b4a751fc4">L2CAP_RFCOMM_REQUEST</a>   1</td></tr>
|
||||
<tr class="separator:ad7f3cf22bd76c9ccd377d96b4a751fc4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a75321d181cfa3c485bcd96918c1b353e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a75321d181cfa3c485bcd96918c1b353e">L2CAP_RFCOMM_SUCCESS</a>   2</td></tr>
|
||||
<tr class="separator:a75321d181cfa3c485bcd96918c1b353e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac3b4f24642f460c347305dedbebc5e63"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ac3b4f24642f460c347305dedbebc5e63">L2CAP_RFCOMM_DONE</a>   3</td></tr>
|
||||
<tr class="separator:ac3b4f24642f460c347305dedbebc5e63"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0d649771ff995585c2bff030b7c1a2d3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3">L2CAP_FLAG_CONNECTION_SDP_REQUEST</a>   0x001</td></tr>
|
||||
<tr class="separator:a0d649771ff995585c2bff030b7c1a2d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a61b15e54b1c5f9a28c996ae8e04ca3c0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0">L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST</a>   0x002</td></tr>
|
||||
<tr class="separator:a61b15e54b1c5f9a28c996ae8e04ca3c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a52cc6e4a2a6d151dd5d0e788b937b2e8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8">L2CAP_FLAG_CONFIG_SDP_REQUEST</a>   0x004</td></tr>
|
||||
<tr class="separator:a52cc6e4a2a6d151dd5d0e788b937b2e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abaa9eb6a1d27745243ef134ecad34bb2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2">L2CAP_FLAG_CONFIG_RFCOMM_REQUEST</a>   0x008</td></tr>
|
||||
<tr class="separator:abaa9eb6a1d27745243ef134ecad34bb2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a75ef214ce8a03e8d62a1b24554bc1a05"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05">L2CAP_FLAG_CONFIG_SDP_SUCCESS</a>   0x010</td></tr>
|
||||
<tr class="separator:a75ef214ce8a03e8d62a1b24554bc1a05"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8af4ce4d4c42d85f0d84a514354fc570"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570">L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS</a>   0x020</td></tr>
|
||||
<tr class="separator:a8af4ce4d4c42d85f0d84a514354fc570"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aac25fa1de5df70a97a6ccc6267d65fea"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea">L2CAP_FLAG_DISCONNECT_SDP_REQUEST</a>   0x040</td></tr>
|
||||
<tr class="separator:aac25fa1de5df70a97a6ccc6267d65fea"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9da70c702c0b792d99f8e39713ac0ee7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7">L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST</a>   0x080</td></tr>
|
||||
<tr class="separator:a9da70c702c0b792d99f8e39713ac0ee7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae16d9fcc820433592ba171c8b2a9e25d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d">L2CAP_FLAG_DISCONNECT_RESPONSE</a>   0x100</td></tr>
|
||||
<tr class="separator:ae16d9fcc820433592ba171c8b2a9e25d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3b1cbac2f2fc44b393ff3cb96448892a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a3b1cbac2f2fc44b393ff3cb96448892a">l2cap_connection_request_sdp_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3">L2CAP_FLAG_CONNECTION_SDP_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a3b1cbac2f2fc44b393ff3cb96448892a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a28cbb8ce9ab60e04e2e131a87e06d5f0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a28cbb8ce9ab60e04e2e131a87e06d5f0">l2cap_connection_request_rfcomm_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0">L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a28cbb8ce9ab60e04e2e131a87e06d5f0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5f5f1cfcc3f39ee032185cac348cb068"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a5f5f1cfcc3f39ee032185cac348cb068">l2cap_config_request_sdp_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8">L2CAP_FLAG_CONFIG_SDP_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a5f5f1cfcc3f39ee032185cac348cb068"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae9459fccc82a24e23dc52ef0e0422273"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ae9459fccc82a24e23dc52ef0e0422273">l2cap_config_request_rfcomm_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2">L2CAP_FLAG_CONFIG_RFCOMM_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:ae9459fccc82a24e23dc52ef0e0422273"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a37d324cfd5a79f623dcd0fc8fa047447"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a37d324cfd5a79f623dcd0fc8fa047447">l2cap_config_success_sdp_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05">L2CAP_FLAG_CONFIG_SDP_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a37d324cfd5a79f623dcd0fc8fa047447"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1c5c7dc5782a562f1b91e835f8aebdb4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a1c5c7dc5782a562f1b91e835f8aebdb4">l2cap_config_success_rfcomm_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570">L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a1c5c7dc5782a562f1b91e835f8aebdb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a05022c9cce93cccafc32337771c8704a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a05022c9cce93cccafc32337771c8704a">l2cap_disconnect_request_sdp_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea">L2CAP_FLAG_DISCONNECT_SDP_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a05022c9cce93cccafc32337771c8704a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af565a91718a79907aece8a5c278aa0bc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#af565a91718a79907aece8a5c278aa0bc">l2cap_disconnect_request_rfcomm_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7">L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:af565a91718a79907aece8a5c278aa0bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1412e00ebed70b8d7b41afd769252530"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a1412e00ebed70b8d7b41afd769252530">l2cap_disconnect_response_flag</a>   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d">L2CAP_FLAG_DISCONNECT_RESPONSE</a>)</td></tr>
|
||||
<tr class="separator:a1412e00ebed70b8d7b41afd769252530"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af98e9758e7c66f921d980b280a3f5b4b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#af98e9758e7c66f921d980b280a3f5b4b">SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU</a>   0x06</td></tr>
|
||||
<tr class="separator:af98e9758e7c66f921d980b280a3f5b4b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a42a6f00a3828a932bae1509c813b5c98"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a42a6f00a3828a932bae1509c813b5c98">SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU</a>   0x07</td></tr>
|
||||
<tr class="separator:a42a6f00a3828a932bae1509c813b5c98"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a677a1fc4883355f7fad87551cc003c1b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a677a1fc4883355f7fad87551cc003c1b">SERIALPORT_UUID</a>   0x1101</td></tr>
|
||||
<tr class="separator:a677a1fc4883355f7fad87551cc003c1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac202a65fc9bc1a5d837e5d095b1bb9f2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ac202a65fc9bc1a5d837e5d095b1bb9f2">L2CAP_UUID</a>   0x0100</td></tr>
|
||||
<tr class="separator:ac202a65fc9bc1a5d837e5d095b1bb9f2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5747e4c0826eb3341fe2476b5229e0d0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a5747e4c0826eb3341fe2476b5229e0d0">RFCOMM_SABM</a>   0x2F</td></tr>
|
||||
<tr class="separator:a5747e4c0826eb3341fe2476b5229e0d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9f534220af893b5ae8c8927564db77c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a9f534220af893b5ae8c8927564db77c3">RFCOMM_UA</a>   0x63</td></tr>
|
||||
<tr class="separator:a9f534220af893b5ae8c8927564db77c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae9ffac80725386a879ba956251f64373"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ae9ffac80725386a879ba956251f64373">RFCOMM_UIH</a>   0xEF</td></tr>
|
||||
<tr class="separator:ae9ffac80725386a879ba956251f64373"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2c8ebc5e78dc22e7ae4e79370fada66f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a2c8ebc5e78dc22e7ae4e79370fada66f">RFCOMM_DISC</a>   0x43</td></tr>
|
||||
<tr class="separator:a2c8ebc5e78dc22e7ae4e79370fada66f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af31032289d962bc2408debecc2823b8c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#af31032289d962bc2408debecc2823b8c">extendAddress</a>   0x01</td></tr>
|
||||
<tr class="separator:af31032289d962bc2408debecc2823b8c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a11185ec5287f08bf49c2c68d8cd52a16"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a11185ec5287f08bf49c2c68d8cd52a16">BT_RFCOMM_PN_CMD</a>   0x83</td></tr>
|
||||
<tr class="separator:a11185ec5287f08bf49c2c68d8cd52a16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a17b4a98661e30b6989cbe35ba5da4822"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a17b4a98661e30b6989cbe35ba5da4822">BT_RFCOMM_PN_RSP</a>   0x81</td></tr>
|
||||
<tr class="separator:a17b4a98661e30b6989cbe35ba5da4822"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad14b1def5eec64e94cc64a2dcba354ea"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ad14b1def5eec64e94cc64a2dcba354ea">BT_RFCOMM_MSC_CMD</a>   0xE3</td></tr>
|
||||
<tr class="separator:ad14b1def5eec64e94cc64a2dcba354ea"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab68e7621ab822c3bfb9507c78d0d0550"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ab68e7621ab822c3bfb9507c78d0d0550">BT_RFCOMM_MSC_RSP</a>   0xE1</td></tr>
|
||||
<tr class="separator:ab68e7621ab822c3bfb9507c78d0d0550"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad9b8c11f7f4f8e8d59ac77999b2ec4a3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ad9b8c11f7f4f8e8d59ac77999b2ec4a3">BT_RFCOMM_RPN_CMD</a>   0x93</td></tr>
|
||||
<tr class="separator:ad9b8c11f7f4f8e8d59ac77999b2ec4a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a336bf1805637fdd66033c9040e606a6b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a336bf1805637fdd66033c9040e606a6b">BT_RFCOMM_RPN_RSP</a>   0x91</td></tr>
|
||||
<tr class="separator:a336bf1805637fdd66033c9040e606a6b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad14b1def5eec64e94cc64a2dcba354ea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_CMD   0xE3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab68e7621ab822c3bfb9507c78d0d0550"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_RSP   0xE1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11185ec5287f08bf49c2c68d8cd52a16"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_CMD   0x83</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a17b4a98661e30b6989cbe35ba5da4822"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_RSP   0x81</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad9b8c11f7f4f8e8d59ac77999b2ec4a3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_CMD   0x93</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a336bf1805637fdd66033c9040e606a6b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_RSP   0x91</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af31032289d962bc2408debecc2823b8c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define extendAddress   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9459fccc82a24e23dc52ef0e0422273"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2">L2CAP_FLAG_CONFIG_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5f5f1cfcc3f39ee032185cac348cb068"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8">L2CAP_FLAG_CONFIG_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1c5c7dc5782a562f1b91e835f8aebdb4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570">L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a37d324cfd5a79f623dcd0fc8fa047447"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05">L2CAP_FLAG_CONFIG_SDP_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a28cbb8ce9ab60e04e2e131a87e06d5f0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0">L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3b1cbac2f2fc44b393ff3cb96448892a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3">L2CAP_FLAG_CONNECTION_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af565a91718a79907aece8a5c278aa0bc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7">L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a05022c9cce93cccafc32337771c8704a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea">L2CAP_FLAG_DISCONNECT_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf2585ad5d49cf2df2595d860ad6b258"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DISCONNECT_RESPONSE   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1412e00ebed70b8d7b41afd769252530"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d">L2CAP_FLAG_DISCONNECT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abaa9eb6a1d27745243ef134ecad34bb2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST   0x008</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8af4ce4d4c42d85f0d84a514354fc570"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS   0x020</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a52cc6e4a2a6d151dd5d0e788b937b2e8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_REQUEST   0x004</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a75ef214ce8a03e8d62a1b24554bc1a05"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_SUCCESS   0x010</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a61b15e54b1c5f9a28c996ae8e04ca3c0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST   0x002</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0d649771ff995585c2bff030b7c1a2d3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_SDP_REQUEST   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae16d9fcc820433592ba171c8b2a9e25d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RESPONSE   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9da70c702c0b792d99f8e39713ac0ee7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST   0x080</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aac25fa1de5df70a97a6ccc6267d65fea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST   0x040</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac3b4f24642f460c347305dedbebc5e63"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad7f3cf22bd76c9ccd377d96b4a751fc4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_REQUEST   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a75321d181cfa3c485bcd96918c1b353e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_SUCCESS   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0b7cbe1aa26664847a48bd4578bc50bd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a25f7af87e6960e2e8ed49006b0b50f3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae100d60ef94dea996b12fc89d6a339f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_REQUEST   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1b8e3e654e4f55e27ca5054aef956edc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_SUCCESS   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a72444116eaac116983a3dec35b1944f0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac202a65fc9bc1a5d837e5d095b1bb9f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_UUID   0x0100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c8ebc5e78dc22e7ae4e79370fada66f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_DISC   0x43</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5747e4c0826eb3341fe2476b5229e0d0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_SABM   0x2F</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9f534220af893b5ae8c8927564db77c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UA   0x63</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9ffac80725386a879ba956251f64373"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UIH   0xEF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af98e9758e7c66f921d980b280a3f5b4b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU   0x06</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a42a6f00a3828a932bae1509c813b5c98"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU   0x07</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a677a1fc4883355f7fad87551cc003c1b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define SERIALPORT_UUID   0x1101</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_s_p_p_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h">
|
||||
<area shape="rect" id="node2" href="$_s_p_p_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/SPP.cpp" alt="" coords="17,85,121,125"/>
|
||||
</map>
|
1
_s_p_p_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
8f9e39b6d6bc33181e7a9316ab607e47
|
BIN
_s_p_p_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
14
_s_p_p_8h__incl.map
Normal file
|
@ -0,0 +1,14 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="549,85,594,107"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,155,385,176"/>
|
||||
<area shape="rect" id="node18" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,155,791,176"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,293,305,315"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,293,226,315"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,224,231,245"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,293,407,315"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="41,224,98,245"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,363,778,384"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,293,695,315"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="719,293,781,315"/>
|
||||
<area shape="rect" id="node19" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,224,853,245"/>
|
||||
</map>
|
1
_s_p_p_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
63a4ed46c8943e0156d62fa26f98d490
|
BIN
_s_p_p_8h__incl.png
Normal file
After Width: | Height: | Size: 84 KiB |
292
_s_p_p_8h_source.html
Normal file
|
@ -0,0 +1,292 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/SPP.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">SPP.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_s_p_p_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _spp_h_</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _spp_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="_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="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="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="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="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="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="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="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 // Allways 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="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>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment">#define BT_RFCOMM_FCON_CMD 0xA3</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment">#define BT_RFCOMM_FCON_RSP 0xA1</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">#define BT_RFCOMM_FCOFF_CMD 0x63</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment">#define BT_RFCOMM_FCOFF_RSP 0x61</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">#define BT_RFCOMM_RLS_CMD 0x53</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">#define BT_RFCOMM_RLS_RSP 0x51</span></div>
|
||||
<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="l00092"></a><span class="lineno"><a class="code" href="class_s_p_p.html"> 92</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> {</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</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="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// BluetoothService implementation</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</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>); <span class="comment">// Used to pass acldata to the services</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">Run</a>(); <span class="comment">// Used to establish the connection automatically</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">Reset</a>(); <span class="comment">// Use this to reset the service</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">disconnect</a>(); <span class="comment">// Used this void to disconnect the virtual serial port</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028"> 102</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">connected</a>;<span class="comment">// Variable used to indicate if the connection is established</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">/* Serial port profile (SPP) commands */</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#adc3e67901972f2f97aba961475a218f5">print</a>(<span class="keyword">const</span> String &); <span class="comment">// Used to send strings</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#adc3e67901972f2f97aba961475a218f5">print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data); <span class="comment">// Used to send strings</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#adc3e67901972f2f97aba961475a218f5">print</a>(uint8_t data); <span class="comment">// Used to send single bytes</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#adc3e67901972f2f97aba961475a218f5">print</a>(uint8_t* array, uint8_t length); <span class="comment">// Used to send arrays</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#adc3e67901972f2f97aba961475a218f5">print</a>(<span class="keyword">const</span> __FlashStringHelper *); <span class="comment">// Used to print strings stored in flash </span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> String &); <span class="comment">// Include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data); <span class="comment">// Include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t data); <span class="comment">// Include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t* array, uint8_t length); <span class="comment">// Include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> __FlashStringHelper *); <span class="comment">// Include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keywordtype">void</span>); <span class="comment">// Use this to print newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a1d9d28454b84e334a0560a4b2182716e">printNumber</a>(int16_t n); <span class="comment">// These must be used to print numbers</span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a92cde4ff57b4375474c1b5d6b56b4bd2">printNumberln</a>(int16_t n); <span class="comment">// This will include newline and carriage return</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a1d9d28454b84e334a0560a4b2182716e">printNumber</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2); <span class="comment">// These must be used to print floating-point numbers</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a92cde4ff57b4375474c1b5d6b56b4bd2">printNumberln</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2); <span class="comment">// This will include newline and carriage return</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">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_s_p_p.html#a02d17c1f81d1a750aca230decc13c39a">doubleToString</a>(<span class="keywordtype">double</span> input, uint8_t digits); <span class="comment">// Helper function to convert from double to string</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb"> 125</a></span>  uint8_t <a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb">available</a>() { <span class="keywordflow">return</span> rfcommAvailable; }; <span class="comment">// Get the bytes waiting to be read</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  uint8_t <a class="code" href="class_s_p_p.html#a53980e0d20944454790febe5c9be66af">read</a>(); <span class="comment">// Used to read the buffer</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa"> 127</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa">flush</a>() { rfcommAvailable = 0; }; <span class="comment">// Discard all the bytes in the buffer</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">/* Bluetooth dongle library pointer */</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">/* Set true when a channel is created */</span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">bool</span> SDPConnected;</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">bool</span> RFCOMMConnected;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  uint16_t hci_handle; <span class="comment">// The HCI Handle for the connection</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">/* Variables used by L2CAP state maschines */</span> </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  uint8_t l2cap_sdp_state;</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  uint8_t l2cap_rfcomm_state;</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received bluetooth events</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>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  uint8_t rfcommbuf[10]; <span class="comment">// Buffer for RFCOMM Commands</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"> 147</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  uint8_t sdp_scid[2]; <span class="comment">// L2CAP source CID for SDP </span></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  uint8_t sdp_dcid[2]; <span class="comment">// 0x0050</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  uint8_t rfcomm_scid[2]; <span class="comment">// L2CAP source CID for RFCOMM </span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  uint8_t rfcomm_dcid[2]; <span class="comment">// 0x0051</span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  uint8_t identifier; <span class="comment">// Identifier for command</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">/* RFCOMM Variables */</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  uint8_t rfcommChannel;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  uint8_t rfcommChannelConnection; <span class="comment">// This is the channel the SPP chanel will be running at</span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  uint8_t rfcommDirection;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  uint8_t rfcommCommandResponse; </div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  uint8_t rfcommChannelType;</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  uint8_t rfcommPfBit;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">bool</span> waitForLastCommand;</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">bool</span> creditSent; </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  uint8_t rfcommDataBuffer[100]; <span class="comment">// Create a 100 sized buffer for incoming data</span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  uint8_t rfcommAvailable;</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>  <span class="keywordtype">bool</span> firstMessage; <span class="comment">// Used to see if it's the first SDP request received </span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  uint8_t bytesRead; <span class="comment">// Counter to see when it's time to send more credit</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"> 172</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> printTimer; <span class="comment">// Used to set a delay, so it doesn't try to print too fast</span></div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">void</span> SDP_task(); <span class="comment">// SDP state machine</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">void</span> RFCOMM_task(); <span class="comment">// RFCOMM state machine</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"> 178</span>  <span class="comment">/* SDP Commands */</span></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordtype">void</span> SDP_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> serviceNotSupported(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> serialPortResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordtype">void</span> serialPortResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">void</span> l2capResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">void</span> l2capResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="comment">/* RFCOMM Commands */</span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> RFCOMM_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">void</span> sendRfcomm(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t* data, uint8_t length);</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">void</span> sendRfcommCredit(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t credit);</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  uint8_t calcFcs(uint8_t *data);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  uint8_t __crc(uint8_t* data);</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> };</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
177
_u_s_b__desc_2pgmstrings_8h.html
Normal file
|
@ -0,0 +1,177 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/examples/USB_desc/pgmstrings.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li><li class="navelem"><a class="el" href="dir_97588e98cf49a80ecbc724cd3683e378.html">examples</a></li><li class="navelem"><a class="el" href="dir_1d947de3e20174a85c26f6da0b898a57.html">USB_desc</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">pgmstrings.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p><a href="_u_s_b__desc_2pgmstrings_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a373c90214222e94d07424e7a8d41b92b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_u_s_b__desc_2pgmstrings_8h.html#a373c90214222e94d07424e7a8d41b92b">LOBYTE</a>(x)   ((char*)(&(x)))[0]</td></tr>
|
||||
<tr class="separator:a373c90214222e94d07424e7a8d41b92b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1ba73e45dd29eeb526a52d9a3336f35"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_u_s_b__desc_2pgmstrings_8h.html#aa1ba73e45dd29eeb526a52d9a3336f35">HIBYTE</a>(x)   ((char*)(&(x)))[1]</td></tr>
|
||||
<tr class="separator:aa1ba73e45dd29eeb526a52d9a3336f35"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aeca034f67218340ecb2261a22c2f3dcd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_u_s_b__desc_2pgmstrings_8h.html#aeca034f67218340ecb2261a22c2f3dcd">BUFSIZE</a>   256</td></tr>
|
||||
<tr class="separator:aeca034f67218340ecb2261a22c2f3dcd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a3fa5cb2801cd8b7c78af8a465a662564"><td class="memItemLeft" align="right" valign="top">const char Gen_Error_str[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_u_s_b__desc_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = "\r\nRequest error. Error code:\t"</td></tr>
|
||||
<tr class="separator:a3fa5cb2801cd8b7c78af8a465a662564"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="aeca034f67218340ecb2261a22c2f3dcd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BUFSIZE   256</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa1ba73e45dd29eeb526a52d9a3336f35"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HIBYTE</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td>   ((char*)(&(x)))[1]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a373c90214222e94d07424e7a8d41b92b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LOBYTE</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td>   ((char*)(&(x)))[0]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a3fa5cb2801cd8b7c78af8a465a662564"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const char Unk_Contents_str [] PROGMEM = "\r\nRequest error. Error code:\t"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
151
_u_s_b__desc_2pgmstrings_8h_source.html
Normal file
|
@ -0,0 +1,151 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/examples/USB_desc/pgmstrings.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li><li class="navelem"><a class="el" href="dir_97588e98cf49a80ecbc724cd3683e378.html">examples</a></li><li class="navelem"><a class="el" href="dir_1d947de3e20174a85c26f6da0b898a57.html">USB_desc</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">pgmstrings.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_u_s_b__desc_2pgmstrings_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="preprocessor">#if !defined(__PGMSTRINGS_H__)</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span><span class="preprocessor">#define __PGMSTRINGS_H__</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"><a class="code" href="_u_s_b__desc_2pgmstrings_8h.html#a373c90214222e94d07424e7a8d41b92b"> 4</a></span> <span class="preprocessor">#define LOBYTE(x) ((char*)(&(x)))[0]</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="code" href="_u_s_b__desc_2pgmstrings_8h.html#aa1ba73e45dd29eeb526a52d9a3336f35"> 5</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HIBYTE(x) ((char*)(&(x)))[1]</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="code" href="_u_s_b__desc_2pgmstrings_8h.html#aeca034f67218340ecb2261a22c2f3dcd"> 6</a></span> <span class="preprocessor"></span><span class="preprocessor">#define BUFSIZE 256 //buffer size</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor"></span> </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/* Print strings in Program Memory */</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="code" href="_u_s_b__desc_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564"> 10</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> Gen_Error_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = <span class="stringliteral">"\r\nRequest error. Error code:\t"</span>; </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice descriptor: "</span>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Length_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDescriptor Length:\t"</span>;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Type_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDescriptor type:\t"</span>;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Version_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nUSB version:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Class_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice class:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Subclass_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice Subclass:\t"</span>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Protocol_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nDevice Protocol:\t"</span>;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Pktsize_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.packet size:\t"</span>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Vendor_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nVendor ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Product_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nProduct ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Revision_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nRevision ID:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Mfg_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMfg.string index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Prod_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nProd.string index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Serial_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nSerial number index:\t"</span>;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Dev_Nconf_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nNumber of conf.:\t"</span>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Trunc_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"Total length truncated to 256 bytes"</span>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConfiguration descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Totlen_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nTotal length:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Nint_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nNum.intf:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Value_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConf.value:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_String_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nConf.string:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Attr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAttr.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Conf_Pwr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.pwr:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\n\r\nInterface descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Number_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf.number:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Alt_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAlt.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Endpoints_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nEndpoints:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Class_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Class:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Subclass_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Subclass:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_Protocol_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf. Protocol:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Int_String_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nIntf.string:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\n\r\nEndpoint descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Address_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nEndpoint address:\t"</span>;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Attr_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nAttr.:\t\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Pktsize_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nMax.pkt size:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">const</span> <span class="keywordtype">char</span> End_Interval_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nPolling interval:\t"</span>;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Header_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> = <span class="stringliteral">"\r\nUnknown descriptor:"</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Length_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nLength:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Type_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nType:\t\t"</span>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> <span class="keywordtype">char</span> Unk_Contents_str[] <a class="code" href="acm_2acm__terminal_2pgmstrings_8h.html#a3fa5cb2801cd8b7c78af8a465a662564">PROGMEM</a> =<span class="stringliteral">"\r\nContents:\t"</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"> 52</span> <span class="preprocessor">#endif // __PGMSTRINGS_H__</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:56 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
111
_usb_8cpp.html
Normal file
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">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 <WProgram.h></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_usb_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_usb_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_usb_8cpp">
|
||||
<area shape="rect" id="node2" href="avrpins_8h.html" title="avrpins.h" alt="" coords="5,232,59,253"/><area shape="rect" id="node4" href="max3421e_8h.html" title="max3421e.h" alt="" coords="171,232,237,253"/><area shape="rect" id="node5" href="usbhost_8h.html" title="usbhost.h" alt="" coords="70,163,127,184"/><area shape="rect" id="node8" href="_usb_8h.html" title="Usb.h" alt="" coords="345,93,388,115"/><area shape="rect" id="node6" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="88,232,147,253"/><area shape="rect" id="node10" href="address_8h.html" title="address.h" alt="" coords="305,163,361,184"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="647,232,704,253"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="437,163,499,184"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="523,163,584,184"/></map>
|
||||
</div>
|
||||
</div></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
11
_usb_8cpp__incl.map
Normal file
|
@ -0,0 +1,11 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.cpp">
|
||||
<area shape="rect" id="node2" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="5,232,59,253"/>
|
||||
<area shape="rect" id="node4" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="171,232,237,253"/>
|
||||
<area shape="rect" id="node5" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="70,163,127,184"/>
|
||||
<area shape="rect" id="node8" href="$_usb_8h.html" title="Usb.h" alt="" coords="345,93,388,115"/>
|
||||
<area shape="rect" id="node6" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="88,232,147,253"/>
|
||||
<area shape="rect" id="node10" href="$address_8h.html" title="address.h" alt="" coords="305,163,361,184"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="647,232,704,253"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="437,163,499,184"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="523,163,584,184"/>
|
||||
</map>
|
1
_usb_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
f489e7b55ecd5a4a2c7a122b21584ecd
|
BIN
_usb_8cpp__incl.png
Normal file
After Width: | Height: | Size: 59 KiB |
980
_usb_8h.html
Normal file
43
_usb_8h__dep__incl.map
Normal file
|
@ -0,0 +1,43 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.h">
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/adk.h" alt="" coords="117,90,243,121"/>
|
||||
<area shape="rect" id="node4" href="$_b_t_d_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/BTD.h" alt="" coords="390,90,519,121"/>
|
||||
<area shape="rect" id="node12" href="$cdcacm_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcacm.h" alt="" coords="820,85,924,125"/>
|
||||
<area shape="rect" id="node16" href="$cdcftdi_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcftdi.h" alt="" coords="1035,85,1139,125"/>
|
||||
<area shape="rect" id="node14" href="$cdcprolific_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcprolific.h" alt="" coords="820,179,924,219"/>
|
||||
<area shape="rect" id="node18" href="$le3dp__rptparser_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/le3dp/le3dp\l_rptparser.h" alt="" coords="1077,174,1195,223"/>
|
||||
<area shape="rect" id="node20" href="$hidjoystickrptparser_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/USBHIDJoystick\l/hidjoystickrptparser.h" alt="" coords="1220,174,1356,223"/>
|
||||
<area shape="rect" id="node22" href="$hid_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/hid.h" alt="" coords="1498,90,1621,121"/>
|
||||
<area shape="rect" id="node24" href="$hidboot_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidboot.h" alt="" coords="1636,179,1740,219"/>
|
||||
<area shape="rect" id="node26" href="$hidescriptorparser_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidescriptorparser.h" alt="" coords="1764,179,1868,219"/>
|
||||
<area shape="rect" id="node30" href="$masstorage_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/masstorage.h" alt="" coords="1749,85,1853,125"/>
|
||||
<area shape="rect" id="node32" href="$max___l_c_d_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/max_LCD.h" alt="" coords="1877,85,1981,125"/>
|
||||
<area shape="rect" id="node34" href="$_p_s3_u_s_b_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.h" alt="" coords="2005,85,2109,125"/>
|
||||
<area shape="rect" id="node36" href="$_usb_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Usb.cpp" alt="" coords="2133,85,2237,125"/>
|
||||
<area shape="rect" id="node37" href="$usbhub_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/usbhub.h" alt="" coords="2263,85,2367,125"/>
|
||||
<area shape="rect" id="node39" href="$_x_b_o_x_r_e_c_v_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXRECV.h" alt="" coords="2395,85,2499,125"/>
|
||||
<area shape="rect" id="node41" href="$_x_b_o_x_u_s_b_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXUSB.h" alt="" coords="2531,85,2635,125"/>
|
||||
<area shape="rect" id="node3" href="$adk_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/adk.cpp" alt="" coords="5,179,109,219"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/BTD.cpp" alt="" coords="133,179,237,219"/>
|
||||
<area shape="rect" id="node6" href="$_p_s3_b_t_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.h" alt="" coords="261,179,365,219"/>
|
||||
<area shape="rect" id="node8" href="$_s_p_p_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/SPP.h" alt="" coords="390,183,519,214"/>
|
||||
<area shape="rect" id="node10" href="$_wii_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/Wii.h" alt="" coords="543,183,667,214"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt="" coords="261,277,365,317"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/SPP.cpp" alt="" coords="403,277,507,317"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Wii.cpp" alt="" coords="553,277,657,317"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcacm.cpp" alt="" coords="692,179,796,219"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcprolific.cpp" alt="" coords="820,277,924,317"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcftdi.cpp" alt="" coords="948,179,1052,219"/>
|
||||
<area shape="rect" id="node19" href="$le3dp__rptparser_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/le3dp/le3dp\l_rptparser.cpp" alt="" coords="1077,273,1195,322"/>
|
||||
<area shape="rect" id="node21" href="$hidjoystickrptparser_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/USBHIDJoystick\l/hidjoystickrptparser.cpp" alt="" coords="1220,273,1356,322"/>
|
||||
<area shape="rect" id="node23" href="$hid_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hid.cpp" alt="" coords="1380,179,1484,219"/>
|
||||
<area shape="rect" id="node28" href="$hiduniversal_8h.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hiduniversal.h" alt="" coords="1508,179,1612,219"/>
|
||||
<area shape="rect" id="node25" href="$hidboot_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidboot.cpp" alt="" coords="1636,277,1740,317"/>
|
||||
<area shape="rect" id="node27" href="$hidescriptorparser_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidescriptorparser.cpp" alt="" coords="1764,277,1868,317"/>
|
||||
<area shape="rect" id="node29" href="$hiduniversal_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hiduniversal.cpp" alt="" coords="1508,277,1612,317"/>
|
||||
<area shape="rect" id="node31" href="$masstorage_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/masstorage.cpp" alt="" coords="1892,179,1996,219"/>
|
||||
<area shape="rect" id="node33" href="$max___l_c_d_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/max_LCD.cpp" alt="" coords="2020,179,2124,219"/>
|
||||
<area shape="rect" id="node35" href="$_p_s3_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.cpp" alt="" coords="2148,179,2252,219"/>
|
||||
<area shape="rect" id="node38" href="$usbhub_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/usbhub.cpp" alt="" coords="2276,179,2380,219"/>
|
||||
<area shape="rect" id="node40" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXRECV.cpp" alt="" coords="2404,179,2508,219"/>
|
||||
<area shape="rect" id="node42" href="$_x_b_o_x_u_s_b_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXUSB.cpp" alt="" coords="2532,179,2636,219"/>
|
||||
</map>
|
1
_usb_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
3f438c9e83996f317e8ae268ac2869d8
|
BIN
_usb_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 108 KiB |
10
_usb_8h__incl.map
Normal file
|
@ -0,0 +1,10 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.h">
|
||||
<area shape="rect" id="node4" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="5,155,59,176"/>
|
||||
<area shape="rect" id="node6" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="180,155,247,176"/>
|
||||
<area shape="rect" id="node7" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="181,85,237,107"/>
|
||||
<area shape="rect" id="node8" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="97,155,156,176"/>
|
||||
<area shape="rect" id="node9" href="$address_8h.html" title="address.h" alt="" coords="314,85,371,107"/>
|
||||
<area shape="rect" id="node12" href="$printhex_8h.html" title="printhex.h" alt="" coords="653,155,709,176"/>
|
||||
<area shape="rect" id="node13" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="551,85,612,107"/>
|
||||
<area shape="rect" id="node15" href="$message_8h.html" title="message.h" alt="" coords="453,85,515,107"/>
|
||||
</map>
|
1
_usb_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
29514232548c51d5a12f0b511e07f9bf
|
BIN
_usb_8h__incl.png
Normal file
After Width: | Height: | Size: 46 KiB |
382
_usb_8h_source.html
Normal file
|
@ -0,0 +1,382 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/Usb.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Usb.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_usb_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">-------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">Circuits At Home, LTD</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">Web : http://www.circuitsathome.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">e-mail : support@circuitsathome.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">*/</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">/* USB functions */</span></div>
|
||||
<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> </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">//#define BOARD_BLACK_WIDDOW</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> </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="_usb_8h.html#a59c611df6811225e1cca2d1ce5a09cfb"> 25</a></span> <span class="preprocessor">#define USB_METHODS_INLINE</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 <inttypes.h></span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <assert.h></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="avrpins_8h.html">avrpins.h</a>"</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="max3421e_8h.html">max3421e.h</a>"</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="usbhost_8h.html">usbhost.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="address_8h.html">address.h</a>"</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >=100</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif</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"> 43</span> <span class="preprocessor">#include "<a class="code" href="printhex_8h.html">printhex.h</a>"</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "<a class="code" href="hexdump_8h.html">hexdump.h</a>"</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</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"> 47</span> </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">/* shield pins. First parameter - SS pin, second parameter - INT pin */</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span><span class="preprocessor">#define BOARD_TEENSY_PLUS_PLUS</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span><span class="preprocessor">#endif</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"> 54</span> <span class="preprocessor">#ifdef BOARD_BLACK_WIDDOW</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</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="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#elif defined(BOARD_TEENSY_PLUS_PLUS)</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</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="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#elif defined(BOARD_MEGA_ADK)</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</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="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae8ea2a106e94f5bb20be2fcbd4e402fb"> 61</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</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#endif</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">//Debug macros. In 1.0 it is possible to move strings to PROGMEM by defining USBTRACE (Serial.print(F(s)))</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_usb_8h.html#afc6fe7f947af35317a49a4dcfc8189fd"> 65</a></span> <span class="preprocessor">#define USBTRACE(s) (Serial.print((s)))</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_usb_8h.html#adbe3f00986df48a9254f8bf0992041d3"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USBTRACE2(s,r) (Serial.print((s)), Serial.println((r),HEX))</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></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"> 69</span> </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">/* Common setup data constant combinations */</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_usb_8h.html#a060f3a6423f1e3640aa7b14d5ce72285"> 71</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="l00072"></a><span class="lineno"><a class="code" href="_usb_8h.html#af4965e768593007eacde7644979f56da"> 72</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="l00073"></a><span class="lineno"><a class="code" href="_usb_8h.html#a9495c8ffdb784e111e8174e1541676f0"> 73</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="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment">// D7 data transfer direction (0 - host-to-device, 1 - device-to-host)</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment">// D6-5 Type (0- standard, 1 - class, 2 - vendor, 3 - reserved)</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</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="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment">// USB Device Classes</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae157c9a62665e9ca41bf765518077f40"> 80</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="l00081"></a><span class="lineno"><a class="code" href="_usb_8h.html#a8785f84db1be6b0b5da34cd91a1b6138"> 81</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_AUDIO 0x01 // Audio</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_usb_8h.html#abb99f6b1f38ff79ec678cd957ac86758"> 82</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="l00083"></a><span class="lineno"><a class="code" href="_usb_8h.html#af062e949014bed74a8b5fedcf1705602"> 83</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HID 0x03 // HID</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa5f3153d014b6267ba8da243b6b46443"> 84</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PHYSICAL 0x05 // Physical</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="_usb_8h.html#a1cddf36a39f1299fcf654628c40eaafe"> 85</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_IMAGE 0x06 // Image</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_usb_8h.html#ab3e03403111b64480ba298d2641cf92f"> 86</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PRINTER 0x07 // Printer</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa99b73e335df09e6545fc44798a3c1f2"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MASS_STORAGE 0x08 // Mass Storage</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_usb_8h.html#aac5a936a2d1a6e3403798b031294992a"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_HUB 0x09 // Hub</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7dae7df3ce2685f96775f2a0fb8658ae"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CDC_DATA 0x0a // CDC-Data</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="_usb_8h.html#a823e1d95a677968ba93d6bb1968c48db"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_SMART_CARD 0x0b // Smart-Card</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_usb_8h.html#a311fda5cdf4960e05a892084c1b11288"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_CONTENT_SECURITY 0x0d // Content Security</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="_usb_8h.html#a42a579e1be399e32a495b82634411449"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VIDEO 0x0e // Video</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_usb_8h.html#aef502b63c6eb8229ba4d67224f19fb84"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_PERSONAL_HEALTH 0x0f // Personal Healthcare</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="_usb_8h.html#aa31549c5c0d9e18f310dddaeab27068b"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_DIAGNOSTIC_DEVICE 0xdc // Diagnostic Device</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_usb_8h.html#afce880b09049d7105f8e68ff36d9ad17"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_WIRELESS_CTRL 0xe0 // Wireless Controller</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="_usb_8h.html#a02fb07e20ad6d1af64439f40093bc80f"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_MISC 0xef // Miscellaneous</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="_usb_8h.html#a47087a6e244a02251b650921ea3b71db"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_APP_SPECIFIC 0xfe // Application Specific</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7c6212a5385ca1b4af75eeff62f7a871"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_CLASS_VENDOR_SPECIFIC 0xff // Vendor Specific</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">// Additional Error Codes</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589"> 101</a></span> <span class="preprocessor">#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED 0xD1</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="_usb_8h.html#a7cb7070e699b7815e3c45dc8f7dd67f1"> 102</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="l00103"></a><span class="lineno"><a class="code" href="_usb_8h.html#ad4929f74079f3bc22b00936ae84d18b0"> 103</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="l00104"></a><span class="lineno"><a class="code" href="_usb_8h.html#a15370eb665cdded5514e69ca58d9f39d"> 104</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="l00105"></a><span class="lineno"><a class="code" href="_usb_8h.html#ada55913b93ef46c430ed6979022c31b1"> 105</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_HUB_ADDRESS_OVERFLOW 0xD5</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0"> 106</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="l00107"></a><span class="lineno"><a class="code" href="_usb_8h.html#af192c59cafe2192ad802b22e6dbc077d"> 107</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_EPINFO_IS_NULL 0xD7</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="_usb_8h.html#a52c379fe7e22f53d3e3d47d65735fa3b"> 108</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_ARGUMENT 0xD8</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="_usb_8h.html#a44416ff64fc0e3691f98addac13d4595"> 109</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="l00110"></a><span class="lineno"><a class="code" href="_usb_8h.html#a272428aaee5fccec4661bd5457d1928f"> 110</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_INVALID_MAX_PKT_SIZE 0xDA</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_usb_8h.html#ad55f0079a95df5e4a9bb22e88a7395f5"> 111</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="l00112"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae691ccb027b8e281ac87522a0e66aaa7"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ERROR_TRANSFER_TIMEOUT 0xFF</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_u_s_b_device_config.html"> 114</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="l00115"></a><span class="lineno"> 115</span> {</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a391dc824a3271671890cebeb829b35ed">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) = 0;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a74c06c5fe641b20faeeebd39e33248b3">Release</a>() = 0;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#a4961e92df3e75c38e6953fb08b11f8b6">Poll</a>() = 0;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_u_s_b_device_config.html#aae3130517514c902bad5f153849b3811">GetAddress</a>() = 0;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</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"><a class="code" href="_usb_8h.html#ad8686abbfa0d98547d450fe2a105a588"> 123</a></span> <span class="preprocessor">#define USB_XFER_TIMEOUT 5000 //USB transfer timeout in milliseconds, per section 9.2.6.1 of USB 2.0 spec</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</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="l00125"></a><span class="lineno"><a class="code" href="_usb_8h.html#a857a9899ad4f277faf074c3012e14ffa"> 125</a></span> <span class="preprocessor">#define USB_RETRY_LIMIT 3 //retry limit for a transfer</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="_usb_8h.html#a1b082667723b29243b021a1829bdd8d6"> 126</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="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_usb_8h.html#a0282f9f7a0313f957e02449d7313b7b5"> 128</a></span> <span class="preprocessor">#define USB_NUMDEVICES 16 //number of USB devices</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</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="l00130"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae843af5aa0de74b17c3d8c8f8fab4c00"> 130</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="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment">/* USB state machine states */</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="_usb_8h.html#a3168cf67661a2716677b9830f30b880c"> 133</a></span> <span class="preprocessor">#define USB_STATE_MASK 0xf0</span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="_usb_8h.html#ae7fd7c5bb6dc87f44724dde2ad57df87"> 135</a></span> <span class="preprocessor">#define USB_STATE_DETACHED 0x10</span></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="_usb_8h.html#a60a744d0f1386e4b28053a41bd6a958f"> 136</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_INITIALIZE 0x11 </span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="_usb_8h.html#a3708f4e8166d5d099e1982aa956eacce"> 137</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE 0x12</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="_usb_8h.html#aff6ab2376cd29385b20c2b63d4ddd26d"> 138</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_DETACHED_SUBSTATE_ILLEGAL 0x13</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="_usb_8h.html#aaadb20392558e23e3eba073e358a4493"> 139</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_SETTLE 0x20</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="_usb_8h.html#ada22633d6de30155a60cb19f6e6452fe"> 140</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_RESET_DEVICE 0x30 </span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="_usb_8h.html#a311f11b79c4020d771cd6930e0a3223d"> 141</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_RESET_COMPLETE 0x40</span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="_usb_8h.html#a2d69537e663e7d5f188004f0d25ec0cc"> 142</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_ATTACHED_SUBSTATE_WAIT_SOF 0x50</span></div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="_usb_8h.html#a23ebcbb956f600e06435b28ae0c855d4"> 143</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="l00144"></a><span class="lineno"><a class="code" href="_usb_8h.html#a474a95baaeb99abd17538c2a1364bf96"> 144</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ADDRESSING 0x70</span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="_usb_8h.html#aac8c844e6a20f42298d70e4438a029e5"> 145</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_CONFIGURING 0x80</span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="_usb_8h.html#a138c40c59f628eefbe273a8db0a96753"> 146</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_RUNNING 0x90</span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="_usb_8h.html#a6fef5305841ac36f67d8ddb0bd9127d4"> 147</a></span> <span class="preprocessor"></span><span class="preprocessor">#define USB_STATE_ERROR 0xa0</span></div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment">/* USB Setup Packet Structure */</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html"> 150</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">union </span>{ <span class="comment">// offset description</span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a9bbd6cf5a93a6433d2eb97c59b9102d5"> 152</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="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a690a55f65b2ce4e69c426b92004a1cc6"> 154</a></span>  uint8_t recipient: 5; <span class="comment">// Recipient of the request</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#ad9346ba7b7a4da6829142e23e3ba8a2f"> 155</a></span>  uint8_t type: 2; <span class="comment">// Type of request</span></div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#ab50c95fb951cdebc78c3e024de1d6d65"> 156</a></span>  uint8_t direction: 1; <span class="comment">// Direction of data X-fer</span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  };</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }ReqType_u;</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a321b931277d6ce278416dc5d74059016"> 159</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="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">union </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#a1382f4a10a9b0774f803d1125dd9bb52"> 161</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="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">struct </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#a68c9436c00560f96e044052c3fb681e9"> 163</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="l00164"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a04ea2d151f9edb6575fc159a58f1e443"> 164</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="l00165"></a><span class="lineno"> 165</span>  };</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }wVal_u;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a299d9f88d294369ea88b48b5026f4c7e"> 167</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="l00168"></a><span class="lineno"><a class="code" href="struct_s_e_t_u_p___p_k_t.html#a1ec9b19c0ed1e66e399ad9cf3c4a6537"> 168</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="l00169"></a><span class="lineno"> 169</span> } <a class="code" href="struct_s_e_t_u_p___p_k_t.html">SETUP_PKT</a>, *<a class="code" href="_usb_8h.html#af36716855ff65599786d9bdf6e4c11f9">PSETUP_PKT</a>;</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"> 172</span> </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment">// Base class for incomming data parser</span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_u_s_b_read_parser.html"> 174</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="l00175"></a><span class="lineno"> 175</span> {</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</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="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="l00180"></a><span class="lineno"> 180</span> </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_u_s_b.html"> 181</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="l00182"></a><span class="lineno"> 182</span> {</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="class_address_pool_impl.html">AddressPoolImpl<USB_NUMDEVICES></a> addrPool;</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</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="l00185"></a><span class="lineno"> 185</span>  uint8_t devConfigIndex;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  uint8_t bmHubPre;</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <a class="code" href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB</a>( <span class="keywordtype">void</span> );</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4"> 191</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4">SetHubPreMask</a>() { bmHubPre |= <a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>; };</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1"> 192</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">ResetHubPreMask</a>() { bmHubPre &= (~<a class="code" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674">bmHUBPRE</a>); };</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"><a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4"> 194</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="l00195"></a><span class="lineno"> 195</span>  {</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">return</span> (<a class="code" href="class_address_pool.html">AddressPool</a>&)addrPool;</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#a3f66bf622590413ef2e1864f93a3e0d2"> 198</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="l00199"></a><span class="lineno"> 199</span>  {</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</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="l00201"></a><span class="lineno"> 201</span>  {</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (!devConfig[i])</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  {</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  devConfig[i] = pdev;</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> 0;</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>  }</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</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="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#a8346db8f2219f65257d735834940bc42"> 210</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="l00211"></a><span class="lineno"> 211</span>  {</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  addrPool.<a class="code" href="class_address_pool_impl.html#a09e6dc797f82543eba0879369116182e">ForEachUsbDevice</a>(pfunc);</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>  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="l00215"></a><span class="lineno"> 215</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="l00216"></a><span class="lineno"> 216</span> </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</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="l00218"></a><span class="lineno"> 218</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="l00219"></a><span class="lineno"> 219</span> </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</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="l00221"></a><span class="lineno"> 221</span> </div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">/* Control requests */</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#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="l00224"></a><span class="lineno"> 224</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="l00225"></a><span class="lineno"> 225</span> </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</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="l00227"></a><span class="lineno"> 227</span> </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</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="l00229"></a><span class="lineno"> 229</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="l00230"></a><span class="lineno"> 230</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="l00231"></a><span class="lineno"> 231</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#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="l00233"></a><span class="lineno"> 233</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="l00234"></a><span class="lineno"> 234</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="l00235"></a><span class="lineno"> 235</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="l00236"></a><span class="lineno"> 236</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="l00237"></a><span class="lineno"> 237</span> </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</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="l00239"></a><span class="lineno"> 239</span> </div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</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="l00241"></a><span class="lineno"> 241</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="l00242"></a><span class="lineno"> 242</span>  uint8_t <a class="code" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">ReleaseDevice</a>(uint8_t addr);</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>  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="l00245"></a><span class="lineno"> 245</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="l00246"></a><span class="lineno"> 246</span> </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">void</span> init();</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</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="l00250"></a><span class="lineno"> 250</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="l00251"></a><span class="lineno"> 251</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="l00252"></a><span class="lineno"> 252</span> };</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="preprocessor">#if 0 //defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="preprocessor"></span><span class="comment">//get device descriptor</span></div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</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="l00257"></a><span class="lineno"> 257</span> {</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</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="l00259"></a><span class="lineno"> 259</span> }</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment">//get configuration descriptor </span></div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</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="l00262"></a><span class="lineno"> 262</span> {</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</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="l00264"></a><span class="lineno"> 264</span> }</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment">//get string descriptor</span></div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</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="l00267"></a><span class="lineno"> 267</span> {</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>, index, <a class="code" href="usb__ch9_8h.html#abbad38caa1ca9c52f47adccd3a850aed">USB_DESCRIPTOR_STRING</a>, langid, nuint8_ts, 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">//set address </span></div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</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="l00272"></a><span class="lineno"> 272</span> {</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>( 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="l00274"></a><span class="lineno"> 274</span> }</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment">//set configuration</span></div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</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="l00277"></a><span class="lineno"> 277</span> {</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#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="l00279"></a><span class="lineno"> 279</span> }</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="preprocessor">#endif // defined(USB_METHODS_INLINE)</span></div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="preprocessor">#endif //_usb_h_</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
160
_wii_8cpp.html
Normal file
|
@ -0,0 +1,160 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Wii.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_wii_8h_source.html">Wii.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for Wii.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_wii_8cpp__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8cpp">
|
||||
<area shape="rect" id="node2" href="_wii_8h.html" title="Wii.h" alt="" coords="597,93,637,115"/><area shape="rect" id="node3" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="549,163,594,184"/><area shape="rect" id="node21" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="619,163,705,184"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="342,232,385,253"/><area shape="rect" id="node19" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,232,791,253"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="251,371,305,392"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="159,371,226,392"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="175,301,231,323"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,371,407,392"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="41,301,98,323"/><area shape="rect" id="node15" href="printhex_8h.html" title="printhex.h" alt="" coords="721,440,778,461"/><area shape="rect" id="node16" href="hexdump_8h.html" title="hexdump.h" alt="" coords="634,371,695,392"/><area shape="rect" id="node18" href="message_8h.html" title="message.h" alt="" coords="719,371,781,392"/><area shape="rect" id="node20" href="parsetools_8h.html" title="parsetools.h" alt="" coords="788,301,853,323"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:ab8c57bec05e4992c35dfc1f432f02ce2"><td class="memItemLeft" align="right" valign="top">const uint8_t LEDS[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8cpp.html#ab8c57bec05e4992c35dfc1f432f02ce2">PROGMEM</a></td></tr>
|
||||
<tr class="separator:ab8c57bec05e4992c35dfc1f432f02ce2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="ab8c57bec05e4992c35dfc1f432f02ce2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint32_t BUTTONS [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x10, </div>
|
||||
<div class="line"> 0x20, </div>
|
||||
<div class="line"> 0x40, </div>
|
||||
<div class="line"> 0x80, </div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"> 0x90, </div>
|
||||
<div class="line"> 0xA0, </div>
|
||||
<div class="line"> 0xC0, </div>
|
||||
<div class="line"> 0xD0, </div>
|
||||
<div class="line"> 0xE0, </div>
|
||||
<div class="line"> 0xF0 </div>
|
||||
<div class="line"> }</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
16
_wii_8cpp__incl.map
Normal file
|
@ -0,0 +1,16 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.cpp">
|
||||
<area shape="rect" id="node2" href="$_wii_8h.html" title="Wii.h" alt="" coords="597,93,637,115"/>
|
||||
<area shape="rect" id="node3" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="549,163,594,184"/>
|
||||
<area shape="rect" id="node21" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="619,163,705,184"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,232,385,253"/>
|
||||
<area shape="rect" id="node19" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,232,791,253"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,371,305,392"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,371,226,392"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,301,231,323"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,371,407,392"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="41,301,98,323"/>
|
||||
<area shape="rect" id="node15" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,440,778,461"/>
|
||||
<area shape="rect" id="node16" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,371,695,392"/>
|
||||
<area shape="rect" id="node18" href="$message_8h.html" title="message.h" alt="" coords="719,371,781,392"/>
|
||||
<area shape="rect" id="node20" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,301,853,323"/>
|
||||
</map>
|
1
_wii_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
4bedb4ab61cdef0bf99ac70c60f8532c
|
BIN
_wii_8cpp__incl.png
Normal file
After Width: | Height: | Size: 88 KiB |
647
_wii_8h.html
Normal file
|
@ -0,0 +1,647 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Wii.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_b_t_d_8h_source.html">BTD.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 Wii.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_wii_8h__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8h">
|
||||
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="549,85,594,107"/><area shape="rect" id="node20" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="619,85,705,107"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="342,155,385,176"/><area shape="rect" id="node18" href="confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,155,791,176"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="251,293,305,315"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="159,293,226,315"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="175,224,231,245"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,293,407,315"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="41,224,98,245"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="721,363,778,384"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="634,293,695,315"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="719,293,781,315"/><area shape="rect" id="node19" href="parsetools_8h.html" title="parsetools.h" alt="" coords="788,224,853,245"/></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="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_wii_8hdep">
|
||||
<area shape="rect" id="node2" href="_wii_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Wii.cpp" alt="" coords="15,85,119,125"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_wii_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html">WII</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919">L2CAP_WAIT</a>   0</td></tr>
|
||||
<tr class="separator:a15cc1db556ad9a4ec6144ca8a42f8919"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b">L2CAP_CONTROL_SUCCESS</a>   1</td></tr>
|
||||
<tr class="separator:abac08b5b24a1cd2b12517cd9aa6c616b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b">L2CAP_INTERRUPT_SETUP</a>   2</td></tr>
|
||||
<tr class="separator:ac7aa7fd7a8a34a6c9e420e3cb114737b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a68bcdd68c269cd7970d5271a00bbe5fe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe">L2CAP_CONTROL_CONNECT_REQUEST</a>   3</td></tr>
|
||||
<tr class="separator:a68bcdd68c269cd7970d5271a00bbe5fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaaf733ee2c84bd8df4d24f2ae1f3b378"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378">L2CAP_CONTROL_CONFIG_REQUEST</a>   4</td></tr>
|
||||
<tr class="separator:aaaf733ee2c84bd8df4d24f2ae1f3b378"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af0b913a7e9e54b1f6ab95d82bd36f954"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954">L2CAP_INTERRUPT_CONNECT_REQUEST</a>   5</td></tr>
|
||||
<tr class="separator:af0b913a7e9e54b1f6ab95d82bd36f954"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a73e3a81d9a8850075fd10933acc5a035"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035">L2CAP_INTERRUPT_CONFIG_REQUEST</a>   6</td></tr>
|
||||
<tr class="separator:a73e3a81d9a8850075fd10933acc5a035"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a44edf5415459cba3cc378992fef7560b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b">L2CAP_CHECK_MOTION_PLUS_STATE</a>   7</td></tr>
|
||||
<tr class="separator:a44edf5415459cba3cc378992fef7560b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab84d043703110a74ba9b8d7afa30c5de"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de">L2CAP_CHECK_EXTENSION_STATE</a>   8</td></tr>
|
||||
<tr class="separator:ab84d043703110a74ba9b8d7afa30c5de"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a291cf8ab9832ac643cdbeaa5f0b84ed1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a291cf8ab9832ac643cdbeaa5f0b84ed1">L2CAP_INIT_MOTION_PLUS_STATE</a>   9</td></tr>
|
||||
<tr class="separator:a291cf8ab9832ac643cdbeaa5f0b84ed1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a11f7dbb22bf86e28848abc165e22c2de"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de">L2CAP_LED_STATE</a>   10</td></tr>
|
||||
<tr class="separator:a11f7dbb22bf86e28848abc165e22c2de"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ae4da52ca67e1f8b977199b24e8f3a400">L2CAP_DONE</a>   11</td></tr>
|
||||
<tr class="separator:ae4da52ca67e1f8b977199b24e8f3a400"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ab569b2085ad29f41d1da9c0ed352bd65">L2CAP_INTERRUPT_DISCONNECT</a>   12</td></tr>
|
||||
<tr class="separator:ab569b2085ad29f41d1da9c0ed352bd65"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a9b5140e7ca5941e5535c575255ffc1cc">L2CAP_CONTROL_DISCONNECT</a>   13</td></tr>
|
||||
<tr class="separator:a9b5140e7ca5941e5535c575255ffc1cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2e5a9c283f0912833f3e0418d3feadd7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>   0x001</td></tr>
|
||||
<tr class="separator:a2e5a9c283f0912833f3e0418d3feadd7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aad823543553cc7500ac49d7479eb858f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>   0x002</td></tr>
|
||||
<tr class="separator:aad823543553cc7500ac49d7479eb858f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c444d5d06ec604820d426556c2f38d7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>   0x004</td></tr>
|
||||
<tr class="separator:a0c444d5d06ec604820d426556c2f38d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>   0x008</td></tr>
|
||||
<tr class="separator:a2b3cdcd3124251a40ce825da0d8dcb6f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a27057737ae0b2246442511c01eeed192"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>   0x040</td></tr>
|
||||
<tr class="separator:a27057737ae0b2246442511c01eeed192"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acc096a05301f3cbdece4ad372cc149c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>   0x080</td></tr>
|
||||
<tr class="separator:acc096a05301f3cbdece4ad372cc149c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a969a1ee84797f3ee5006c41f67373f96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>   0x100</td></tr>
|
||||
<tr class="separator:a969a1ee84797f3ee5006c41f67373f96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a015f3b25bd7a2908c84b973dec453f45"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>   0x200</td></tr>
|
||||
<tr class="separator:a015f3b25bd7a2908c84b973dec453f45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acaec1ddc53593c80dc625c1f361e3a24"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24">l2cap_connected_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td></tr>
|
||||
<tr class="separator:acaec1ddc53593c80dc625c1f361e3a24"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac72a2b645fafc5bdbd85c1f59cc937cc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc">l2cap_connected_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td></tr>
|
||||
<tr class="separator:ac72a2b645fafc5bdbd85c1f59cc937cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a39a58b19fb4ef26cf503ed57a43570a4">l2cap_config_success_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a39a58b19fb4ef26cf503ed57a43570a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a9b3e87e1f460bc011e69f5e53e79c104">l2cap_config_success_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td></tr>
|
||||
<tr class="separator:a9b3e87e1f460bc011e69f5e53e79c104"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7f0cab74308e812106252c53b18c0391"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a7f0cab74308e812106252c53b18c0391">l2cap_disconnect_response_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td></tr>
|
||||
<tr class="separator:a7f0cab74308e812106252c53b18c0391"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a667178a4486c4dee88e052b3562362cd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a667178a4486c4dee88e052b3562362cd">l2cap_disconnect_response_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td></tr>
|
||||
<tr class="separator:a667178a4486c4dee88e052b3562362cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d">l2cap_connection_request_control_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a728c7d92dd341dcc1b8f4bf95bb4826d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9fa7bceb44bbdff3229fd431627b9868"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a9fa7bceb44bbdff3229fd431627b9868">l2cap_connection_request_interrupt_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td></tr>
|
||||
<tr class="separator:a9fa7bceb44bbdff3229fd431627b9868"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a34631633d4557244dc8eda52e8505acd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd">WII_FLAG_MOTION_PLUS_CONNECTED</a>   0x400</td></tr>
|
||||
<tr class="separator:a34631633d4557244dc8eda52e8505acd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae0ff99c8862a05df8877329982e1ef61"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a>   0x800</td></tr>
|
||||
<tr class="separator:ae0ff99c8862a05df8877329982e1ef61"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3d4b4f06162f96e91d97650f5c2e60f7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7">motion_plus_connected_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd">WII_FLAG_MOTION_PLUS_CONNECTED</a>)</td></tr>
|
||||
<tr class="separator:a3d4b4f06162f96e91d97650f5c2e60f7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7ae9154397104e4df34302ed0884bbfb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb">nunchuck_connected_flag</a>   (l2cap_event_flag & <a class="el" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a>)</td></tr>
|
||||
<tr class="separator:a7ae9154397104e4df34302ed0884bbfb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a>   1</td></tr>
|
||||
<tr class="separator:a8f0b5b0dedaf5c25c4887f03ebfdd425"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a3edd2b2fd262b698309012868fad0be7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> { <a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,
|
||||
<a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1
|
||||
}</td></tr>
|
||||
<tr class="separator:a3edd2b2fd262b698309012868fad0be7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ab84d043703110a74ba9b8d7afa30c5de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_EXTENSION_STATE   8</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a44edf5415459cba3cc378992fef7560b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_MOTION_PLUS_STATE   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acaec1ddc53593c80dc625c1f361e3a24"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connected_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac72a2b645fafc5bdbd85c1f59cc937cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connected_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaaf733ee2c84bd8df4d24f2ae1f3b378"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONFIG_REQUEST   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a68bcdd68c269cd7970d5271a00bbe5fe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONNECT_REQUEST   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   13</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abac08b5b24a1cd2b12517cd9aa6c616b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_SUCCESS   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae4da52ca67e1f8b977199b24e8f3a400"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DONE   11</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x004</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2b3cdcd3124251a40ce825da0d8dcb6f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x008</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x200</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2e5a9c283f0912833f3e0418d3feadd7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONTROL_CONNECTED   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x040</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acc096a05301f3cbdece4ad372cc149c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x080</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aad823543553cc7500ac49d7479eb858f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_INTERRUPT_CONNECTED   0x002</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a291cf8ab9832ac643cdbeaa5f0b84ed1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INIT_MOTION_PLUS_STATE   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a73e3a81d9a8850075fd10933acc5a035"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONFIG_REQUEST   6</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af0b913a7e9e54b1f6ab95d82bd36f954"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONNECT_REQUEST   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_DISCONNECT   12</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11f7dbb22bf86e28848abc165e22c2de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_LED_STATE   10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3d4b4f06162f96e91d97650f5c2e60f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define motion_plus_connected_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd">WII_FLAG_MOTION_PLUS_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7ae9154397104e4df34302ed0884bbfb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define nunchuck_connected_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61">WII_FLAG_NUNCHUCK_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8f0b5b0dedaf5c25c4887f03ebfdd425"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PAIR   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a34631633d4557244dc8eda52e8505acd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_MOTION_PLUS_CONNECTED   0x400</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae0ff99c8862a05df8877329982e1ef61"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_NUNCHUCK_CONNECTED   0x800</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a3edd2b2fd262b698309012868fad0be7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"></a>HatX</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"></a>HatY</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_wii_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h">
|
||||
<area shape="rect" id="node2" href="$_wii_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Wii.cpp" alt="" coords="15,85,119,125"/>
|
||||
</map>
|
1
_wii_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
c5794e6ee61933074839634c1e93fd9d
|
BIN
_wii_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
15
_wii_8h__incl.map
Normal file
|
@ -0,0 +1,15 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h">
|
||||
<area shape="rect" id="node2" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="549,85,594,107"/>
|
||||
<area shape="rect" id="node20" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="619,85,705,107"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="342,155,385,176"/>
|
||||
<area shape="rect" id="node18" href="$confdescparser_8h.html" title="confdescparser.h" alt="" coords="708,155,791,176"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="251,293,305,315"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="159,293,226,315"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="175,224,231,245"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="349,293,407,315"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="41,224,98,245"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="721,363,778,384"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="634,293,695,315"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="719,293,781,315"/>
|
||||
<area shape="rect" id="node19" href="$parsetools_8h.html" title="parsetools.h" alt="" coords="788,224,853,245"/>
|
||||
</map>
|
1
_wii_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
6de9266945333d57d8b616b1e245c20b
|
BIN
_wii_8h__incl.png
Normal file
After Width: | Height: | Size: 86 KiB |
364
_wii_8h_source.html
Normal file
|
@ -0,0 +1,364 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/Wii.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Wii.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_wii_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> IR camera support added by:</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> Allan Glover</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> adglover9.81@gmail.com</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef _wii_h_</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="preprocessor">#define _wii_h_</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="_b_t_d_8h.html">BTD.h</a>"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>"</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="comment">//#define WIICAMERA //uncomment to enable IR camera</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">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_wii_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 31</a></span> <span class="preprocessor">#define L2CAP_WAIT 0</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">// These states are used if the Wiimote is the host</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_wii_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 34</a></span> <span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 1</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="_wii_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 35</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 2</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// These states are used if the Arduino is the host</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe"> 38</a></span> <span class="preprocessor">#define L2CAP_CONTROL_CONNECT_REQUEST 3</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_CONFIG_REQUEST 4</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954"> 40</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_CONNECT_REQUEST 5</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"><a class="code" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035"> 42</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_CONFIG_REQUEST 6</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b"> 44</a></span> <span class="preprocessor">#define L2CAP_CHECK_MOTION_PLUS_STATE 7</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CHECK_EXTENSION_STATE 8</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_wii_8h.html#a291cf8ab9832ac643cdbeaa5f0b84ed1"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INIT_MOTION_PLUS_STATE 9</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_LED_STATE 10</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_wii_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 11</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="code" href="_wii_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 50</a></span> <span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 12</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 13</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment">/* L2CAP event flags */</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7"> 54</a></span> <span class="preprocessor">#define L2CAP_FLAG_CONTROL_CONNECTED 0x001</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_INTERRUPT_CONNECTED 0x002</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x004</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x008</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x040</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 59</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x080</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x100</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x200</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">/* Macros for L2CAP event flag tests */</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24"> 64</a></span> <span class="preprocessor">#define l2cap_connected_control_flag (l2cap_event_flag & L2CAP_FLAG_CONTROL_CONNECTED)</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc"> 65</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="l00066"></a><span class="lineno"><a class="code" href="_wii_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 66</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="l00067"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 67</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="l00068"></a><span class="lineno"><a class="code" href="_wii_8h.html#a7f0cab74308e812106252c53b18c0391"> 68</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="l00069"></a><span class="lineno"><a class="code" href="_wii_8h.html#a667178a4486c4dee88e052b3562362cd"> 69</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="l00070"></a><span class="lineno"><a class="code" href="_wii_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 70</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="l00071"></a><span class="lineno"><a class="code" href="_wii_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 71</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="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">/* Wii event flags */</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd"> 74</a></span> <span class="preprocessor">#define WII_FLAG_MOTION_PLUS_CONNECTED 0x400</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61"> 75</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WII_FLAG_NUNCHUCK_CONNECTED 0x800</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 77</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="l00078"></a><span class="lineno"><a class="code" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb"> 78</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="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 80</a></span> <span class="preprocessor">#define PAIR 1</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</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="l00083"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 83</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 84</a></span>  <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</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"><a class="code" href="class_w_i_i.html"> 87</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="l00088"></a><span class="lineno"> 88</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</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> pair=<span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// BluetoothService implementation</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>(uint8_t* <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>); <span class="comment">// Used to pass acldata to the services</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>(); <span class="comment">// Used to run part of the state maschine</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>(); <span class="comment">// Use this to reset the service</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a>(); <span class="comment">// Use this void to disconnect any of the controllers</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> getButtonPress will return true as long as the button is held down</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> While getButtonClick will only return it once</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"> So you instance if you need to increase a variable once you would use getButtonClick,</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> but if you need to drive a robot forward you would use getButtonPress</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</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); <span class="comment">// This will read true as long as the button is held down</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</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); <span class="comment">// This will only be true when the button is clicked the first time</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</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); <span class="comment">// Used to read the joystick of the Nunchuck</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 108</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() { <span class="keywordflow">return</span> pitch; }; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 109</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() { <span class="keywordflow">return</span> roll; }; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 110</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() { <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>; }; <span class="comment">// This is the yaw calculated by the gyro</span></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="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>(); <span class="comment">// Turn both rumble and all LEDs off</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</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="l00117"></a><span class="lineno"> 117</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="l00118"></a><span class="lineno"> 118</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="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>(); <span class="comment">// This will set the LEDs, so the user can see which connections are active</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 121</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>; <span class="comment">// Variable used to indicate if a Wiimote is connected</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 122</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>; <span class="comment">// Variable used to indicate if a Nunchuck controller is connected</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 123</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>; <span class="comment">// Variable used to indicate if a Nunchuck controller is connected</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>  <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="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a304f56df9aae4a756b0ef34fc4aafc60"> 127</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a304f56df9aae4a756b0ef34fc4aafc60">wiiMotePitch</a>; <span class="comment">// Pitch and roll calculated from the accelerometer inside the Wiimote</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6329a10968e53b88132eda72807003ed"> 128</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6329a10968e53b88132eda72807003ed">wiiMoteRoll</a>;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf"> 129</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf">nunchuckPitch</a>; <span class="comment">// Pitch and roll calculated from the accelerometer inside the Nunchuck</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71"> 130</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="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb"> 132</a></span>  int16_t <a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb">accX</a>; <span class="comment">// Accelerometer values used to calculate pitch and roll</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a"> 133</a></span>  int16_t <a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a">accY</a>;</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4"> 134</a></span>  int16_t <a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4">accZ</a>;</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 137</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>; <span class="comment">// This is the pitch calculated by the gyro - use this to tune pitchGyroScale</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 138</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>; <span class="comment">// This is the roll calculated by the gyro - use this to tune rollGyroScale</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 139</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>; <span class="comment">// This is the yaw calculated by the gyro - use this to tune yawGyroScale</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 141</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>; <span class="comment">// The speed in deg/s from the gyro</span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 142</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="l00143"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 143</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="l00144"></a><span class="lineno"> 144</span>  </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 145</a></span>  uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>; <span class="comment">// You might need to fine-tune these values</span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 146</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 147</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 149</a></span>  int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>; <span class="comment">// Raw value read directly from the Motion Plus</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 150</a></span>  int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 151</a></span>  int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 153</a></span>  int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>; <span class="comment">// These values are set when the controller is first initialized</span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 154</a></span>  int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 155</a></span>  int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2"> 157</a></span>  uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>() { <span class="keywordflow">return</span> batteryLevel; };</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac"> 158</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() { <span class="keywordflow">return</span> wiiState; };</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="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor"></span> <span class="comment">/* These are functions for the IR camera */</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">void</span> IRinitialize(); <span class="comment">// Initialises the camera as per the steps from http://wiibrew.org/wiki/Wiimote#IR_Camera </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"> 164</span>  uint16_t getIRx1() { <span class="keywordflow">return</span> IR_object_x1; }; <span class="comment">// IR object 1 x position (0-1023)</span></div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  uint16_t getIRy1() { <span class="keywordflow">return</span> IR_object_y1; }; <span class="comment">// IR object 1 y position (0-767)</span></div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  uint8_t getIRs1() { <span class="keywordflow">return</span> IR_object_s1; }; <span class="comment">// IR object 1 size (0-15)</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>  uint16_t getIRx2() { <span class="keywordflow">return</span> IR_object_x2; };</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  uint16_t getIRy2() { <span class="keywordflow">return</span> IR_object_y2; };</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  uint8_t getIRs2() { <span class="keywordflow">return</span> IR_object_s2; };</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  uint16_t getIRx3() { <span class="keywordflow">return</span> IR_object_x3; };</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  uint16_t getIRy3() { <span class="keywordflow">return</span> IR_object_y3; };</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  uint8_t getIRs3() { <span class="keywordflow">return</span> IR_object_s3; };</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  uint16_t getIRx4() { <span class="keywordflow">return</span> IR_object_x4; };</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  uint16_t getIRy4() { <span class="keywordflow">return</span> IR_object_y4; };</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  uint8_t getIRs4() { <span class="keywordflow">return</span> IR_object_s4; };</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>  <span class="keywordtype">bool</span> isIRCameraEnabled() { <span class="keywordflow">return</span> (wiiState & 0x08); };</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="preprocessor"></span> </div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="comment">/* Mandatory members */</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</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"> 189</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  uint16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</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="l00192"></a><span class="lineno"> 192</span>  </div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  uint16_t l2cap_event_flag;<span class="comment">// l2cap flags of received bluetooth events </span></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>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  uint8_t hatValues[2];</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  uint8_t HIDBuffer[3];<span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  uint16_t stateCounter;</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">bool</span> extensionConnected;</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  uint8_t identifier; <span class="comment">// Identifier for connection</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="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">void</span> statusRequest();</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">void</span> initExtension1();</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">void</span> initExtension2();</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="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">void</span> readExtensionType();</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">void</span> readCalData();</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>  <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="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">void</span> initMotionPlus();</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">void</span> activateMotionPlus();</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="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="l00233"></a><span class="lineno"> 233</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="l00234"></a><span class="lineno"> 234</span>  </div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">bool</span> activateNunchuck;</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</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="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</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="l00240"></a><span class="lineno"> 240</span>  uint8_t batteryLevel;</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="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from teh IR Camera */</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13 </span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">void</span> write0x08Value();</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</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>  uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  uint16_t IR_object_x2;</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  uint16_t IR_object_y2;</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  uint8_t IR_object_s2;</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  uint16_t IR_object_x4;</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  uint16_t IR_object_y4;</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  uint8_t IR_object_s4;</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor"></span>};</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
95
_wii_camera_readme_8md.html
Normal file
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/WiiCameraReadme.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">/Users/Lauszus/GitHub/USB_Host_Shield_2.0/WiiCameraReadme.md File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
154
_x_b_o_x_r_e_c_v_8cpp.html
Normal file
|
@ -0,0 +1,154 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXRECV.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXRECV.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_r_e_c_v_8cpp__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8cpp">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="366,93,439,115"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="381,163,424,184"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="449,163,535,184"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="723,301,777,323"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="540,301,607,323"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="666,232,723,253"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="631,301,689,323"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="407,232,464,253"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="77,301,133,323"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="267,232,328,253"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="173,232,235,253"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a2403439df9095a54a47f78fbdae332cd"><td class="memItemLeft" align="right" valign="top">const uint8_t LEDS[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8cpp.html#a2403439df9095a54a47f78fbdae332cd">PROGMEM</a></td></tr>
|
||||
<tr class="separator:a2403439df9095a54a47f78fbdae332cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a2403439df9095a54a47f78fbdae332cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint16_t BUTTONS [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x02, </div>
|
||||
<div class="line"> 0x03, </div>
|
||||
<div class="line"> 0x04, </div>
|
||||
<div class="line"> 0x05, </div>
|
||||
<div class="line"> 0x01 </div>
|
||||
<div class="line"> }</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
13
_x_b_o_x_r_e_c_v_8cpp__incl.map
Normal file
|
@ -0,0 +1,13 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.cpp" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.cpp">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="366,93,439,115"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="381,163,424,184"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="449,163,535,184"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="723,301,777,323"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="540,301,607,323"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="666,232,723,253"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="631,301,689,323"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="407,232,464,253"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="77,301,133,323"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="267,232,328,253"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="173,232,235,253"/>
|
||||
</map>
|
1
_x_b_o_x_r_e_c_v_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
587ab34189a965d9e17d02461476c2b2
|
BIN
_x_b_o_x_r_e_c_v_8cpp__incl.png
Normal file
After Width: | Height: | Size: 55 KiB |
403
_x_b_o_x_r_e_c_v_8h.html
Normal file
|
@ -0,0 +1,403 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXRECV.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "WProgram.h"</code><br/>
|
||||
<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 XBOXRECV.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_r_e_c_v_8h__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8h" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8h" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="381,93,424,115"/><area shape="rect" id="node17" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="449,93,535,115"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="723,232,777,253"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="540,232,607,253"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="666,163,723,184"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="631,232,689,253"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="407,163,464,184"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="77,232,133,253"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="267,163,328,184"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="173,163,235,184"/></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_r_e_c_v_8h__dep__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8hdep" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8hdep" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_r_e_c_v_8hdep">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_r_e_c_v_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXRECV.cpp" alt="" coords="5,93,109,133"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_r_e_c_v_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:abcb805b13bfd36145e252b0633bbcfc0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>   32</td></tr>
|
||||
<tr class="separator:abcb805b13bfd36145e252b0633bbcfc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad4d26e1c566064f2259faf65f0858b6e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a>   0x03</td></tr>
|
||||
<tr class="separator:ad4d26e1c566064f2259faf65f0858b6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8f4ee68cc0f05690f5f26104c7d9e490"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a>   0</td></tr>
|
||||
<tr class="separator:a8f4ee68cc0f05690f5f26104c7d9e490"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2824b25aa9a384c29f27a4e1bb443799"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a2824b25aa9a384c29f27a4e1bb443799">XBOX_INPUT_PIPE_1</a>   1</td></tr>
|
||||
<tr class="separator:a2824b25aa9a384c29f27a4e1bb443799"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a962be1e740bce25cf37e111bd88be9bf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a962be1e740bce25cf37e111bd88be9bf">XBOX_OUTPUT_PIPE_1</a>   2</td></tr>
|
||||
<tr class="separator:a962be1e740bce25cf37e111bd88be9bf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aab6feb681a78b190190bcc081868a485"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#aab6feb681a78b190190bcc081868a485">XBOX_INPUT_PIPE_2</a>   3</td></tr>
|
||||
<tr class="separator:aab6feb681a78b190190bcc081868a485"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8ba688a4bdb47869d7ee3f49b6d07b7c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a8ba688a4bdb47869d7ee3f49b6d07b7c">XBOX_OUTPUT_PIPE_2</a>   4</td></tr>
|
||||
<tr class="separator:a8ba688a4bdb47869d7ee3f49b6d07b7c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a86a3e5765d02bc043d5d1f674a7ffb0f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a86a3e5765d02bc043d5d1f674a7ffb0f">XBOX_INPUT_PIPE_3</a>   5</td></tr>
|
||||
<tr class="separator:a86a3e5765d02bc043d5d1f674a7ffb0f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afce4154cabb3a0d2c7eeb39b1c15d353"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#afce4154cabb3a0d2c7eeb39b1c15d353">XBOX_OUTPUT_PIPE_3</a>   6</td></tr>
|
||||
<tr class="separator:afce4154cabb3a0d2c7eeb39b1c15d353"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5acfdaefe74aba1632c71acb79c49671"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a5acfdaefe74aba1632c71acb79c49671">XBOX_INPUT_PIPE_4</a>   7</td></tr>
|
||||
<tr class="separator:a5acfdaefe74aba1632c71acb79c49671"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a74e0ea052831dbbb4a0973fffc8179"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a7a74e0ea052831dbbb4a0973fffc8179">XBOX_OUTPUT_PIPE_4</a>   8</td></tr>
|
||||
<tr class="separator:a7a74e0ea052831dbbb4a0973fffc8179"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8e7834e5604c4fb588cceab9258d0568"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a>   0x045E</td></tr>
|
||||
<tr class="separator:a8e7834e5604c4fb588cceab9258d0568"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1a97ce2829a30b96ea6640d387d245a9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a>   0x0719</td></tr>
|
||||
<tr class="separator:a1a97ce2829a30b96ea6640d387d245a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6842663964e470b86786f046e4bc30d9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a>   0x0291</td></tr>
|
||||
<tr class="separator:a6842663964e470b86786f046e4bc30d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2f5523a1aaa6718e1d11c6bc5b29a575"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a>   0x1BAD</td></tr>
|
||||
<tr class="separator:a2f5523a1aaa6718e1d11c6bc5b29a575"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af35f872fc33e690571eb99de648e8e96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>   9</td></tr>
|
||||
<tr class="separator:af35f872fc33e690571eb99de648e8e96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a57effb96f46e458675a2653d4c543ca2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> { <br/>
|
||||
  <a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D,
|
||||
<br/>
|
||||
  <a class="el" href="_x_b_o_x_u_s_b_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,
|
||||
<a class="el" href="_x_b_o_x_u_s_b_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,
|
||||
<a class="el" href="_x_b_o_x_u_s_b_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,
|
||||
<a class="el" href="_x_b_o_x_u_s_b_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D
|
||||
<br/>
|
||||
}</td></tr>
|
||||
<tr class="separator:a57effb96f46e458675a2653d4c543ca2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad4d26e1c566064f2259faf65f0858b6e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_INTERRUPT   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_MAXPKTSIZE   32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2f5523a1aaa6718e1d11c6bc5b29a575"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MADCATZ_VID   0x1BAD</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8f4ee68cc0f05690f5f26104c7d9e490"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_CONTROL_PIPE   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2824b25aa9a384c29f27a4e1bb443799"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_1   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab6feb681a78b190190bcc081868a485"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_2   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a86a3e5765d02bc043d5d1f674a7ffb0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_3   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5acfdaefe74aba1632c71acb79c49671"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_4   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af35f872fc33e690571eb99de648e8e96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_MAX_ENDPOINTS   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a962be1e740bce25cf37e111bd88be9bf"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_OUTPUT_PIPE_1   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8ba688a4bdb47869d7ee3f49b6d07b7c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_OUTPUT_PIPE_2   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afce4154cabb3a0d2c7eeb39b1c15d353"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_OUTPUT_PIPE_3   6</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7a74e0ea052831dbbb4a0973fffc8179"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_OUTPUT_PIPE_4   8</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8e7834e5604c4fb588cceab9258d0568"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_VID   0x045E</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1a97ce2829a30b96ea6640d387d245a9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_WIRELESS_RECEIVER_PID   0x0719</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6842663964e470b86786f046e4bc30d9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID   0x0291</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a57effb96f46e458675a2653d4c543ca2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b"></a>ROTATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a"></a>FASTBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454"></a>SLOWBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37"></a>ALTERNATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b"></a>ROTATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a"></a>FASTBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454"></a>SLOWBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37"></a>ALTERNATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_x_b_o_x_r_e_c_v_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXRECV.cpp" alt="" coords="5,93,109,133"/>
|
||||
</map>
|
1
_x_b_o_x_r_e_c_v_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
46902291978afbfaa3d7cd5cb25a6b48
|
BIN
_x_b_o_x_r_e_c_v_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 6 KiB |
12
_x_b_o_x_r_e_c_v_8h__incl.map
Normal file
|
@ -0,0 +1,12 @@
|
|||
<map id="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h" name="/Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="381,93,424,115"/>
|
||||
<area shape="rect" id="node17" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="449,93,535,115"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="723,232,777,253"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="540,232,607,253"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="666,163,723,184"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="631,232,689,253"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="407,163,464,184"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="77,232,133,253"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="267,163,328,184"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="173,163,235,184"/>
|
||||
</map>
|
1
_x_b_o_x_r_e_c_v_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
2db739c02230585aed027031236a9ee2
|
BIN
_x_b_o_x_r_e_c_v_8h__incl.png
Normal file
After Width: | Height: | Size: 53 KiB |
233
_x_b_o_x_r_e_c_v_8h_source.html
Normal file
|
@ -0,0 +1,233 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXRECV.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXRECV.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_x_b_o_x_r_e_c_v_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> getBatteryLevel and checkStatus functions made by timstamp.co.uk found using BusHound from Perisoft.net</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef _xboxrecv_h_</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor">#define _xboxrecv_h_</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >= 100</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span><span class="preprocessor">#include "WProgram.h"</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#endif</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="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>"</span> </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/* Data Xbox 360 taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 33</a></span> <span class="preprocessor">#define EP_MAXPKTSIZE 32 // max size for data via USB</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">/* Endpoint types */</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#ad4d26e1c566064f2259faf65f0858b6e"> 36</a></span> <span class="preprocessor">#define EP_INTERRUPT 0x03</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">/* Names we give to the 9 Xbox360 pipes */</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490"> 39</a></span> <span class="preprocessor">#define XBOX_CONTROL_PIPE 0</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2824b25aa9a384c29f27a4e1bb443799"> 40</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_INPUT_PIPE_1 1</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a962be1e740bce25cf37e111bd88be9bf"> 41</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_OUTPUT_PIPE_1 2</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#aab6feb681a78b190190bcc081868a485"> 42</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_INPUT_PIPE_2 3</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8ba688a4bdb47869d7ee3f49b6d07b7c"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_OUTPUT_PIPE_2 4</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a86a3e5765d02bc043d5d1f674a7ffb0f"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_INPUT_PIPE_3 5</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#afce4154cabb3a0d2c7eeb39b1c15d353"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_OUTPUT_PIPE_3 6</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a5acfdaefe74aba1632c71acb79c49671"> 46</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_INPUT_PIPE_4 7</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a7a74e0ea052831dbbb4a0973fffc8179"> 47</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_OUTPUT_PIPE_4 8</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">// PID and VID of the different devices</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568"> 50</a></span> <span class="preprocessor">#define XBOX_VID 0x045E // Microsoft Corporation</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_PID 0x0719 // Microsoft Wireless Gaming Receiver</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID 0x0291 // Third party Wireless Gaming Receiver</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="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575"> 54</a></span> <span class="preprocessor">#define MADCATZ_VID 0x1BAD // For unofficial Mad Catz controllers</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96"> 56</a></span> <span class="preprocessor">#define XBOX_MAX_ENDPOINTS 9</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"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2"> 58</a></span> <span class="keyword">enum</span> <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> {</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b"> 59</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a"> 60</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454"> 61</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37"> 62</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D, </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> };</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html"> 65</a></span> <span class="keyword">class </span><a class="code" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</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="l00066"></a><span class="lineno"> 66</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// USBDeviceConfig implementation</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>();</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>();</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631"> 73</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>() { <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>; };</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57"> 74</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>() { <span class="keywordflow">return</span> bPollEnable; };</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">/* </span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> Xbox Controller Readings.</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> getButtonPress will return true as long as the button is held down</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> While getButtonClick will only return it once</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> So for instance if you need to increase a variable once you would use getButtonClick,</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"> but if you need to drive a robot forward you would use getButtonPress</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad33cd16d10e438bb8051f7fa6052f6c9">getButtonPress</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5e9a59d90ec1941c7152cdd438c284d0">getButtonClick</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  int16_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1b277f0980bd53f30283d4af9d9b8926">getAnalogHat</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</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>  <span class="comment">/* Xbox Controller Command */</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d"> 88</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d">setAllOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(controller); };</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782"> 89</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782">setRumbleOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); };</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(uint8_t controller, uint8_t lValue, uint8_t rValue);</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(uint8_t controller, uint8_t value);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f"> 92</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(controller,0); };</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a9e17aa44f2946e710fb9343f27290c85">setLedOn</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a54490f57e16eaee6689ca92351958017">setLedBlink</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ace7deafed6fa6991d38417b41a490c57">setLedMode</a>(uint8_t controller, <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a671caa6d19debca8ff14dc82ac3ed005">getBatteryLevel</a>(uint8_t controller); <span class="comment">// Returns the battery level in percentage in 33% steps</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa2263642c0d422c6d21fed3933d6044c">buttonChanged</a>(uint8_t controller);</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c"> 99</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a>; <span class="comment">// True if a wireless receiver is connected</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a"> 100</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a>[4]; <span class="comment">// Variable used to indicate if the XBOX 360 controller is successfully connected</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">/* Mandatory members */</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8"> 104</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730"> 105</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>; <span class="comment">// device address</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb"> 106</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>]; <span class="comment">//endpoint info structure</span></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="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">bool</span> bPollEnable; </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">/* Variables to store the buttons */</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  uint32_t ButtonState[4];</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  uint32_t OldButtonState[4];</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  uint16_t ButtonClickState[4];</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  int16_t hatValue[4][4];</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  uint16_t controllerStatus[4];</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">bool</span> buttonStateChanged[4]; <span class="comment">// True if a button has changed</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">bool</span> L2Clicked[4]; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">bool</span> R2Clicked[4];</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer; <span class="comment">// Timing for checkStatus() signals</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  uint8_t readBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  uint8_t writeBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> readReport(uint8_t controller); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> printReport(uint8_t controller, uint8_t nBytes); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> XboxCommand(uint8_t controller, uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">void</span> checkStatus();</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="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
128
_x_b_o_x_u_s_b_8cpp.html
Normal file
|
@ -0,0 +1,128 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/XBOXUSB.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main 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_c8a8870798f18a14afbce47230dc4059.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXUSB.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXUSB.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_u_s_b_8cpp__incl.png" border="0" usemap="#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_u_s_b_8cpp" alt=""/></div>
|
||||
<map name="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_u_s_b_8cpp" id="_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2_x_b_o_x_u_s_b_8cpp">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="161,93,228,115"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="381,163,424,184"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="723,301,777,323"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="540,301,607,323"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="666,232,723,253"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="631,301,689,323"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="407,232,464,253"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="77,301,133,323"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="267,232,328,253"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="173,232,235,253"/></map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 30 2013 21:23:57 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|