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

288 lines
16 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: address.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="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">address.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a href="address_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">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ep_info.html">EpInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_usb_device_address.html">UsbDeviceAddress</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_usb_device.html">UsbDevice</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_address_pool.html">AddressPool</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_address_pool_impl.html">AddressPoolImpl&lt; MAX_DEVICES_ALLOWED &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a517dfa014946e2d087d197312234a1de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a>&#160;&#160;&#160;15</td></tr>
<tr class="separator:a517dfa014946e2d087d197312234a1de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a622e49a2b6b99500654d24321983930e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a622e49a2b6b99500654d24321983930e">USB_NAK_DEFAULT</a>&#160;&#160;&#160;14</td></tr>
<tr class="separator:a622e49a2b6b99500654d24321983930e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a660e8da9c1167a8450aef91c5c03761d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a660e8da9c1167a8450aef91c5c03761d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39819e4b89e4bc769e2798f2ca6e3d7b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a39819e4b89e4bc769e2798f2ca6e3d7b">USB_NAK_NONAK</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a39819e4b89e4bc769e2798f2ca6e3d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3002da1b823cafeeac8ba4a33bb96905"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a3002da1b823cafeeac8ba4a33bb96905">bmUSB_DEV_ADDR_ADDRESS</a>&#160;&#160;&#160;0x07</td></tr>
<tr class="separator:a3002da1b823cafeeac8ba4a33bb96905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61b78658a9cc75f61841f2a0ac8e54fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a61b78658a9cc75f61841f2a0ac8e54fa">bmUSB_DEV_ADDR_PARENT</a>&#160;&#160;&#160;0x38</td></tr>
<tr class="separator:a61b78658a9cc75f61841f2a0ac8e54fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32dbe85cf751ca8428d34c45a1931655"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a32dbe85cf751ca8428d34c45a1931655">bmUSB_DEV_ADDR_HUB</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="separator:a32dbe85cf751ca8428d34c45a1931655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb4f5491e26a7f2cbf9201575d38104"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#abeb4f5491e26a7f2cbf9201575d38104">ADDR_ERROR_INVALID_INDEX</a>&#160;&#160;&#160;0xFF</td></tr>
<tr class="separator:abeb4f5491e26a7f2cbf9201575d38104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c4dc7975c713673cd832a3502f068d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a8c4dc7975c713673cd832a3502f068d7">ADDR_ERROR_INVALID_ADDRESS</a>&#160;&#160;&#160;0xFF</td></tr>
<tr class="separator:a8c4dc7975c713673cd832a3502f068d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a90edb051235924cb5280032df397f393"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> )(<a class="el" href="struct_usb_device.html">UsbDevice</a> *pdev)</td></tr>
<tr class="separator:a90edb051235924cb5280032df397f393"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a517dfa014946e2d087d197312234a1de"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define USB_NAK_MAX_POWER&#160;&#160;&#160;15</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00027">27</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a622e49a2b6b99500654d24321983930e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define USB_NAK_DEFAULT&#160;&#160;&#160;14</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00028">28</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a660e8da9c1167a8450aef91c5c03761d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define USB_NAK_NOWAIT&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00029">29</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a39819e4b89e4bc769e2798f2ca6e3d7b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define USB_NAK_NONAK&#160;&#160;&#160;0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00030">30</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3002da1b823cafeeac8ba4a33bb96905"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define bmUSB_DEV_ADDR_ADDRESS&#160;&#160;&#160;0x07</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00071">71</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a61b78658a9cc75f61841f2a0ac8e54fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define bmUSB_DEV_ADDR_PARENT&#160;&#160;&#160;0x38</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00072">72</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a32dbe85cf751ca8428d34c45a1931655"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define bmUSB_DEV_ADDR_HUB&#160;&#160;&#160;0x40</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00073">73</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="abeb4f5491e26a7f2cbf9201575d38104"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ADDR_ERROR_INVALID_INDEX&#160;&#160;&#160;0xFF</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00092">92</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8c4dc7975c713673cd832a3502f068d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ADDR_ERROR_INVALID_ADDRESS&#160;&#160;&#160;0xFF</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00093">93</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a90edb051235924cb5280032df397f393"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void(* UsbDeviceHandleFunc)(<a class="el" href="struct_usb_device.html">UsbDevice</a> *pdev)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="address_8h_source.html#l00090">90</a> of file <a class="el" href="address_8h_source.html">address.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>