USB_Host_Shield_2.0/xbox_enums_8h.html
2014-01-10 18:20:37 +01:00

225 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>USB Host Shield 2.0: xboxEnums.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">xboxEnums.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="controller_enums_8h_source.html">controllerEnums.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for xboxEnums.h:</div>
<div class="dyncontent">
<div class="center"><img src="xbox_enums_8h__incl.png" border="0" usemap="#xbox_enums_8h" alt=""/></div>
<map name="xbox_enums_8h" id="xbox_enums_8h">
<area shape="rect" id="node2" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="5,83,133,111"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="xbox_enums_8h__dep__incl.png" border="0" usemap="#xbox_enums_8hdep" alt=""/></div>
<map name="xbox_enums_8hdep" id="xbox_enums_8hdep">
<area shape="rect" id="node2" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="14,83,119,111"/><area shape="rect" id="node4" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="150,83,247,111"/><area shape="rect" id="node3" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="4,161,123,189"/><area shape="rect" id="node5" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="147,161,257,189"/></map>
</div>
</div>
<p><a href="xbox_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:abb8a1831f62ea139a2255c67bb24330f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330f">LEDModeEnum</a> { <a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330fab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,
<a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330fae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,
<a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330facfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,
<a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330fa699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D
}</td></tr>
<tr class="separator:abb8a1831f62ea139a2255c67bb24330f"><td class="memSeparator" colspan="2">&#160;</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:a0aa7965573ba74b8eecaa43f0543026e"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xbox_enums_8h.html#a0aa7965573ba74b8eecaa43f0543026e">XBOX_LEDS</a> []</td></tr>
<tr class="separator:a0aa7965573ba74b8eecaa43f0543026e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35901eab017bd1df5d2361634309adbd"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xbox_enums_8h.html#a35901eab017bd1df5d2361634309adbd">XBOX_BUTTONS</a> []</td></tr>
<tr class="separator:a35901eab017bd1df5d2361634309adbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="abb8a1831f62ea139a2255c67bb24330f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="xbox_enums_8h.html#abb8a1831f62ea139a2255c67bb24330f">LEDModeEnum</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enum used to set special LED modes supported by the Xbox controller. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="abb8a1831f62ea139a2255c67bb24330fab341b3ec217357462f12510d0435c25b"></a>ROTATING</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="abb8a1831f62ea139a2255c67bb24330fae88cfa0f6acd518889cef621446d9d2a"></a>FASTBLINK</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="abb8a1831f62ea139a2255c67bb24330facfcb52b0be6da777e98f28261a9d2454"></a>SLOWBLINK</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="abb8a1831f62ea139a2255c67bb24330fa699ca8594a49a8c786c6881a14caeb37"></a>ALTERNATING</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="xbox_enums_8h_source.html#l00024">24</a> of file <a class="el" href="xbox_enums_8h_source.html">xboxEnums.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a0aa7965573ba74b8eecaa43f0543026e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const uint8_t XBOX_LEDS[]</td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line"> 0x00, </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 --><p>Used to set the LEDs on the controllers </p>
<p>Definition at line <a class="el" href="xbox_enums_8h_source.html#l00032">32</a> of file <a class="el" href="xbox_enums_8h_source.html">xboxEnums.h</a>.</p>
</div>
</div>
<a class="anchor" id="a35901eab017bd1df5d2361634309adbd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const uint16_t XBOX_BUTTONS[]</td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line"> 0x0100, </div>
<div class="line"> 0x0800, </div>
<div class="line"> 0x0200, </div>
<div class="line"> 0x0400, </div>
<div class="line"></div>
<div class="line"> 0x2000, </div>
<div class="line"> 0x1000, </div>
<div class="line"> 0x4000, </div>
<div class="line"> 0x8000, </div>
<div class="line"></div>
<div class="line"> 0, 0, </div>
<div class="line"> 0x0001, </div>
<div class="line"> 0x0002, </div>
<div class="line"></div>
<div class="line"> 0x0020, </div>
<div class="line"> 0x0010, </div>
<div class="line"> 0x0040, </div>
<div class="line"> 0x0080, </div>
<div class="line"></div>
<div class="line"> 0x0004, </div>
<div class="line"> 0x0008, </div>
<div class="line">}</div>
</div><!-- fragment --><p>Buttons on the controllers </p>
<p>Definition at line <a class="el" href="xbox_enums_8h_source.html#l00041">41</a> of file <a class="el" href="xbox_enums_8h_source.html">xboxEnums.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>