mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
1083 lines
52 KiB
HTML
1083 lines
52 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.7"/>
|
|
<title>USB Host Shield 2.0: USB Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">USB Host Shield 2.0
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.7 -->
|
|
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="class_u_s_b-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">USB Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for USB:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_u_s_b__inherit__graph.png" border="0" usemap="#_u_s_b_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="_u_s_b_inherit__map" id="_u_s_b_inherit__map">
|
|
<area shape="rect" id="node2" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="5,5,94,31"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for USB:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_u_s_b__coll__graph.png" border="0" usemap="#_u_s_b_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_u_s_b_coll__map" id="_u_s_b_coll__map">
|
|
<area shape="rect" id="node2" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="5,5,94,31"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a8ff8cd03496bdcb0ca26f18878ad299d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a8ff8cd03496bdcb0ca26f18878ad299d">USB</a> (void)</td></tr>
|
|
<tr class="separator:a8ff8cd03496bdcb0ca26f18878ad299d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aedcc6c06badd14b6fd3b0dda94269ad4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#aedcc6c06badd14b6fd3b0dda94269ad4">SetHubPreMask</a> ()</td></tr>
|
|
<tr class="separator:aedcc6c06badd14b6fd3b0dda94269ad4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b4de045ea7fefe0fab967ddf44c39b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a5b4de045ea7fefe0fab967ddf44c39b1">ResetHubPreMask</a> ()</td></tr>
|
|
<tr class="separator:a5b4de045ea7fefe0fab967ddf44c39b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a66ab8f5eda239e761d5a48741ea1f9d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_address_pool.html">AddressPool</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a> ()</td></tr>
|
|
<tr class="separator:a66ab8f5eda239e761d5a48741ea1f9d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3f66bf622590413ef2e1864f93a3e0d2"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a> (<a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a> *pdev)</td></tr>
|
|
<tr class="separator:a3f66bf622590413ef2e1864f93a3e0d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8346db8f2219f65257d735834940bc42"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a8346db8f2219f65257d735834940bc42">ForEachUsbDevice</a> (<a class="el" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> pfunc)</td></tr>
|
|
<tr class="separator:a8346db8f2219f65257d735834940bc42"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1c1aad8269403bf488e3bc4c79886ce4"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a1c1aad8269403bf488e3bc4c79886ce4">getUsbTaskState</a> (void)</td></tr>
|
|
<tr class="separator:a1c1aad8269403bf488e3bc4c79886ce4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ff697d334dc611720419374acd1e5fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a8ff697d334dc611720419374acd1e5fb">setUsbTaskState</a> (uint8_t state)</td></tr>
|
|
<tr class="separator:a8ff697d334dc611720419374acd1e5fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a59ee57083ba492d87ff2947547848d58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a59ee57083ba492d87ff2947547848d58">getEpInfoEntry</a> (uint8_t addr, uint8_t ep)</td></tr>
|
|
<tr class="separator:a59ee57083ba492d87ff2947547848d58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c3ba3f7e6dccb450267011ce783d7ea"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a> (uint8_t addr, uint8_t epcount, <a class="el" href="struct_ep_info.html">EpInfo</a> *eprecord_ptr)</td></tr>
|
|
<tr class="separator:a6c3ba3f7e6dccb450267011ce783d7ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a193e63c149fad46adabd77ceb09b2b24"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24">getDevDescr</a> (uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)</td></tr>
|
|
<tr class="memdesc:a193e63c149fad46adabd77ceb09b2b24"><td class="mdescLeft"> </td><td class="mdescRight">defined(USB_METHODS_INLINE) <a href="#a193e63c149fad46adabd77ceb09b2b24">More...</a><br /></td></tr>
|
|
<tr class="separator:a193e63c149fad46adabd77ceb09b2b24"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a618eedabc161d8315be45cae0c8b6f89"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a618eedabc161d8315be45cae0c8b6f89">getConfDescr</a> (uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)</td></tr>
|
|
<tr class="separator:a618eedabc161d8315be45cae0c8b6f89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ebd4acdc37b12bbab2ca893cb899eba"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a9ebd4acdc37b12bbab2ca893cb899eba">getConfDescr</a> (uint8_t addr, uint8_t ep, uint8_t conf, <a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> *p)</td></tr>
|
|
<tr class="separator:a9ebd4acdc37b12bbab2ca893cb899eba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a372ecbe1d23955e8b04b5e95e0e4a833"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" 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)</td></tr>
|
|
<tr class="separator:a372ecbe1d23955e8b04b5e95e0e4a833"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3aea534daed66b5606fa798df7ad3c47"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a> (uint8_t oldaddr, uint8_t ep, uint8_t newaddr)</td></tr>
|
|
<tr class="separator:a3aea534daed66b5606fa798df7ad3c47"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31e2c132ec32ffdde94dff72be87c378"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a> (uint8_t addr, uint8_t ep, uint8_t conf_value)</td></tr>
|
|
<tr class="separator:a31e2c132ec32ffdde94dff72be87c378"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a994f9488ac6f91040c42d9b816d202c6"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a994f9488ac6f91040c42d9b816d202c6">ctrlData</a> (uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr, boolean direction)</td></tr>
|
|
<tr class="separator:a994f9488ac6f91040c42d9b816d202c6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab18915ffbd8a70ac5bd6abc3e0f3c66a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#ab18915ffbd8a70ac5bd6abc3e0f3c66a">ctrlStatus</a> (uint8_t ep, boolean direction, uint16_t nak_limit)</td></tr>
|
|
<tr class="separator:ab18915ffbd8a70ac5bd6abc3e0f3c66a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad75d64f648b102fab2bd75e53e1324a4"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a> (uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data)</td></tr>
|
|
<tr class="separator:ad75d64f648b102fab2bd75e53e1324a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:affbc018973a588995457d535b0ac7ee7"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#affbc018973a588995457d535b0ac7ee7">outTransfer</a> (uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *data)</td></tr>
|
|
<tr class="separator:affbc018973a588995457d535b0ac7ee7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a343d4b321cf8e99f0504cb04c7ce8b10"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a343d4b321cf8e99f0504cb04c7ce8b10">dispatchPkt</a> (uint8_t token, uint8_t ep, uint16_t nak_limit)</td></tr>
|
|
<tr class="separator:a343d4b321cf8e99f0504cb04c7ce8b10"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff8d1b2009c760bc27fb12762bd3c9b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#aff8d1b2009c760bc27fb12762bd3c9b6">Task</a> (void)</td></tr>
|
|
<tr class="separator:aff8d1b2009c760bc27fb12762bd3c9b6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5eb0d31372d26f0015a0d7be0b9ff4e1"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a5eb0d31372d26f0015a0d7be0b9ff4e1">DefaultAddressing</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:a5eb0d31372d26f0015a0d7be0b9ff4e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4008dfc1c2d15c23cf8a7815cc17765"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#af4008dfc1c2d15c23cf8a7815cc17765">Configuring</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:af4008dfc1c2d15c23cf8a7815cc17765"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac681c6c98e1641f705bc14d670a2663a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#ac681c6c98e1641f705bc14d670a2663a">ReleaseDevice</a> (uint8_t addr)</td></tr>
|
|
<tr class="separator:ac681c6c98e1641f705bc14d670a2663a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a636695a5c3d35cd6b9e31c54edfacd7c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" 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, uint16_t wInd, uint16_t total, uint16_t nbytes, uint8_t *dataptr, <a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> *p)</td></tr>
|
|
<tr class="separator:a636695a5c3d35cd6b9e31c54edfacd7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_m_a_x3421e"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_m_a_x3421e')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_m_a_x3421e.html">MAX3421e< SPI_SS, INTR ></a></td></tr>
|
|
<tr class="memitem:a037ff4a4406e49302e4408d95833d54d inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a037ff4a4406e49302e4408d95833d54d">MAX3421e</a> ()</td></tr>
|
|
<tr class="separator:a037ff4a4406e49302e4408d95833d54d inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a53f1d4d8d100a709fd6b37b5e6f0829e inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a53f1d4d8d100a709fd6b37b5e6f0829e">regWr</a> (uint8_t reg, uint8_t data)</td></tr>
|
|
<tr class="separator:a53f1d4d8d100a709fd6b37b5e6f0829e inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a67229549b336fb1c000488382d35aaaa inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a67229549b336fb1c000488382d35aaaa">bytesWr</a> (uint8_t reg, uint8_t nbytes, uint8_t *data_p)</td></tr>
|
|
<tr class="separator:a67229549b336fb1c000488382d35aaaa inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afccded4a32cdc2a811f7437d3b489336 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#afccded4a32cdc2a811f7437d3b489336">gpioWr</a> (uint8_t data)</td></tr>
|
|
<tr class="separator:afccded4a32cdc2a811f7437d3b489336 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a508fe70d1983cdaa71cce85ea9c75ec1 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a508fe70d1983cdaa71cce85ea9c75ec1">regRd</a> (uint8_t reg)</td></tr>
|
|
<tr class="separator:a508fe70d1983cdaa71cce85ea9c75ec1 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af136074eab636da10cf50a03d735c1b5 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#af136074eab636da10cf50a03d735c1b5">bytesRd</a> (uint8_t reg, uint8_t nbytes, uint8_t *data_p)</td></tr>
|
|
<tr class="separator:af136074eab636da10cf50a03d735c1b5 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac5d00653f8fb1cb61d9d7509acb8e00 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#aac5d00653f8fb1cb61d9d7509acb8e00">gpioRd</a> ()</td></tr>
|
|
<tr class="separator:aac5d00653f8fb1cb61d9d7509acb8e00 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a15b78912dd4b1c96b6ad141117dcb7ee inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a15b78912dd4b1c96b6ad141117dcb7ee">reset</a> ()</td></tr>
|
|
<tr class="separator:a15b78912dd4b1c96b6ad141117dcb7ee inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2866487c20c832731fd4fb478acb0195 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a2866487c20c832731fd4fb478acb0195">Init</a> ()</td></tr>
|
|
<tr class="separator:a2866487c20c832731fd4fb478acb0195 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a332ce159a413244be9b95b8e08888bb8 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a332ce159a413244be9b95b8e08888bb8">Init</a> (int mseconds)</td></tr>
|
|
<tr class="separator:a332ce159a413244be9b95b8e08888bb8 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50e96bcc646e14e331ca15252667ace3 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a50e96bcc646e14e331ca15252667ace3">vbusPower</a> (<a class="el" href="usbhost_8h.html#ab1424f62efde609157774a4e80e016ef">VBUS_t</a> state)</td></tr>
|
|
<tr class="separator:a50e96bcc646e14e331ca15252667ace3 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa1e9380222063c40fbf43428f7c50d67 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#aa1e9380222063c40fbf43428f7c50d67">getVbusState</a> (void)</td></tr>
|
|
<tr class="separator:aa1e9380222063c40fbf43428f7c50d67 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a517e877930090c612adf9f79fb5c8f3d inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a517e877930090c612adf9f79fb5c8f3d">busprobe</a> ()</td></tr>
|
|
<tr class="separator:a517e877930090c612adf9f79fb5c8f3d inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a102e1af23477b564529392ff0962f22d inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a102e1af23477b564529392ff0962f22d">GpxHandler</a> ()</td></tr>
|
|
<tr class="separator:a102e1af23477b564529392ff0962f22d inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af88faea04dd27cf354cf0643cc7acef2 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#af88faea04dd27cf354cf0643cc7acef2">IntHandler</a> ()</td></tr>
|
|
<tr class="separator:af88faea04dd27cf354cf0643cc7acef2 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07720e9f2311bfa0d66cfae746576946 inherit pub_methods_class_m_a_x3421e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a07720e9f2311bfa0d66cfae746576946">Task</a> ()</td></tr>
|
|
<tr class="separator:a07720e9f2311bfa0d66cfae746576946 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00190">190</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a8ff8cd03496bdcb0ca26f18878ad299d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">USB::USB </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00025">25</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="aedcc6c06badd14b6fd3b0dda94269ad4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void USB::SetHubPreMask </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00198">198</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5b4de045ea7fefe0fab967ddf44c39b1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void USB::ResetHubPreMask </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00202">202</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a66ab8f5eda239e761d5a48741ea1f9d4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_address_pool.html">AddressPool</a>& USB::GetAddressPool </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00206">206</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3f66bf622590413ef2e1864f93a3e0d2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::RegisterDeviceClass </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a> * </td>
|
|
<td class="paramname"><em>pdev</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00210">210</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8346db8f2219f65257d735834940bc42"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void USB::ForEachUsbDevice </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> </td>
|
|
<td class="paramname"><em>pfunc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_core_8h_source.html#l00220">220</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1c1aad8269403bf488e3bc4c79886ce4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::getUsbTaskState </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00036">36</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8ff697d334dc611720419374acd1e5fb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void USB::setUsbTaskState </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>state</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00040">40</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a59ee57083ba492d87ff2947547848d58"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_ep_info.html">EpInfo</a> * USB::getEpInfoEntry </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00044">44</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6c3ba3f7e6dccb450267011ce783d7ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::setEpInfoEntry </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>epcount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="struct_ep_info.html">EpInfo</a> * </td>
|
|
<td class="paramname"><em>eprecord_ptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00064">64</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a193e63c149fad46adabd77ceb09b2b24"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::getDevDescr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dataptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>defined(USB_METHODS_INLINE) </p>
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00761">761</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a618eedabc161d8315be45cae0c8b6f89"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::getConfDescr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>conf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dataptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00766">766</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9ebd4acdc37b12bbab2ca893cb899eba"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::getConfDescr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>conf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> * </td>
|
|
<td class="paramname"><em>p</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00772">772</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a372ecbe1d23955e8b04b5e95e0e4a833"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::getStrDescr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>index</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>langid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dataptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00791">791</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3aea534daed66b5606fa798df7ad3c47"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::setAddr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>oldaddr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>newaddr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00796">796</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a31e2c132ec32ffdde94dff72be87c378"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::setConf </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>conf_value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00805">805</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a994f9488ac6f91040c42d9b816d202c6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::ctrlData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dataptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">boolean </td>
|
|
<td class="paramname"><em>direction</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab18915ffbd8a70ac5bd6abc3e0f3c66a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::ctrlStatus </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">boolean </td>
|
|
<td class="paramname"><em>direction</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nak_limit</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad75d64f648b102fab2bd75e53e1324a4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::inTransfer </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t * </td>
|
|
<td class="paramname"><em>nbytesptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00206">206</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="affbc018973a588995457d535b0ac7ee7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::outTransfer </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00292">292</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a343d4b321cf8e99f0504cb04c7ce8b10"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::dispatchPkt </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>token</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nak_limit</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00376">376</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff8d1b2009c760bc27fb12762bd3c9b6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void USB::Task </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00424">424</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5eb0d31372d26f0015a0d7be0b9ff4e1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::DefaultAddressing </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00530">530</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af4008dfc1c2d15c23cf8a7815cc17765"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::Configuring </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00652">652</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac681c6c98e1641f705bc14d670a2663a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::ReleaseDevice </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00746">746</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a636695a5c3d35cd6b9e31c54edfacd7c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t USB::ctrlReq </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>bmReqType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>bRequest</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>wValLo</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>wValHi</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>wInd</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>total</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dataptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> * </td>
|
|
<td class="paramname"><em>p</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_usb_8cpp_source.html#l00126">126</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="_usb_core_8h_source.html">UsbCore.h</a></li>
|
|
<li><a class="el" href="_usb_8cpp_source.html">Usb.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|