mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
1128 lines
54 KiB
HTML
1128 lines
54 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<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/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></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 id="projectalign" 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.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</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" title=" " alt="" coords="27,80,76,107"/>
|
|
<area shape="rect" href="class_m_a_x3421e.html" title=" " alt="" coords="5,5,97,32"/>
|
|
</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" title=" " alt="" coords="27,80,76,107"/>
|
|
<area shape="rect" href="class_m_a_x3421e.html" title=" " alt="" coords="5,5,97,32"/>
|
|
</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#ae95131d8d03796566b00a312faa8360a">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="class_u_s_b.html#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:a102dab8571035757dd63ed3751993836"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#a102dab8571035757dd63ed3751993836">ctrlData</a> (uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr, bool direction)</td></tr>
|
|
<tr class="separator:a102dab8571035757dd63ed3751993836"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aec793bc1f702174d80bca8c66b8c65e8"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#aec793bc1f702174d80bca8c66b8c65e8">ctrlStatus</a> (uint8_t ep, bool direction, uint16_t nak_limit)</td></tr>
|
|
<tr class="separator:aec793bc1f702174d80bca8c66b8c65e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aead4d2040c641d55176854b236804088"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b.html#aead4d2040c641d55176854b236804088">inTransfer</a> (uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data, uint8_t bInterval=0)</td></tr>
|
|
<tr class="separator:aead4d2040c641d55176854b236804088"><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="memdesc:aac5d00653f8fb1cb61d9d7509acb8e00 inherit pub_methods_class_m_a_x3421e"><td class="mdescLeft"> </td><td class="mdescRight">Reads the current GPI input values. <a href="class_m_a_x3421e.html#aac5d00653f8fb1cb61d9d7509acb8e00">More...</a><br /></td></tr>
|
|
<tr class="separator:aac5d00653f8fb1cb61d9d7509acb8e00 inherit pub_methods_class_m_a_x3421e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeef352a1518ea20bf7d1925c671c2c46 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#aeef352a1518ea20bf7d1925c671c2c46">gpioRdOutput</a> ()</td></tr>
|
|
<tr class="memdesc:aeef352a1518ea20bf7d1925c671c2c46 inherit pub_methods_class_m_a_x3421e"><td class="mdescLeft"> </td><td class="mdescRight">Reads the current GPI output values. <a href="class_m_a_x3421e.html#aeef352a1518ea20bf7d1925c671c2c46">More...</a><br /></td></tr>
|
|
<tr class="separator:aeef352a1518ea20bf7d1925c671c2c46 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 class="definition">Definition at line <a class="el" href="_usb_core_8h_source.html#l00212">212</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 id="a8ff8cd03496bdcb0ca26f18878ad299d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ff8cd03496bdcb0ca26f18878ad299d">◆ </a></span>USB()</h2>
|
|
|
|
<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 class="definition">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 id="aedcc6c06badd14b6fd3b0dda94269ad4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aedcc6c06badd14b6fd3b0dda94269ad4">◆ </a></span>SetHubPreMask()</h2>
|
|
|
|
<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 class="definition">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 id="a5b4de045ea7fefe0fab967ddf44c39b1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b4de045ea7fefe0fab967ddf44c39b1">◆ </a></span>ResetHubPreMask()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_core_8h_source.html#l00224">224</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a66ab8f5eda239e761d5a48741ea1f9d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a66ab8f5eda239e761d5a48741ea1f9d4">◆ </a></span>GetAddressPool()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_core_8h_source.html#l00228">228</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3f66bf622590413ef2e1864f93a3e0d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3f66bf622590413ef2e1864f93a3e0d2">◆ </a></span>RegisterDeviceClass()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_core_8h_source.html#l00232">232</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8346db8f2219f65257d735834940bc42"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8346db8f2219f65257d735834940bc42">◆ </a></span>ForEachUsbDevice()</h2>
|
|
|
|
<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#ae95131d8d03796566b00a312faa8360a">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 class="definition">Definition at line <a class="el" href="_usb_core_8h_source.html#l00242">242</a> of file <a class="el" href="_usb_core_8h_source.html">UsbCore.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1c1aad8269403bf488e3bc4c79886ce4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1c1aad8269403bf488e3bc4c79886ce4">◆ </a></span>getUsbTaskState()</h2>
|
|
|
|
<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 class="definition">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 id="a8ff697d334dc611720419374acd1e5fb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ff697d334dc611720419374acd1e5fb">◆ </a></span>setUsbTaskState()</h2>
|
|
|
|
<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 class="definition">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 id="a59ee57083ba492d87ff2947547848d58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a59ee57083ba492d87ff2947547848d58">◆ </a></span>getEpInfoEntry()</h2>
|
|
|
|
<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 class="definition">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 id="a6c3ba3f7e6dccb450267011ce783d7ea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c3ba3f7e6dccb450267011ce783d7ea">◆ </a></span>setEpInfoEntry()</h2>
|
|
|
|
<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 class="definition">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 id="a193e63c149fad46adabd77ceb09b2b24"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a193e63c149fad46adabd77ceb09b2b24">◆ </a></span>getDevDescr()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00801">801</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a618eedabc161d8315be45cae0c8b6f89"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a618eedabc161d8315be45cae0c8b6f89">◆ </a></span>getConfDescr() <span class="overload">[1/2]</span></h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00806">806</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9ebd4acdc37b12bbab2ca893cb899eba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ebd4acdc37b12bbab2ca893cb899eba">◆ </a></span>getConfDescr() <span class="overload">[2/2]</span></h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00812">812</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a372ecbe1d23955e8b04b5e95e0e4a833"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a372ecbe1d23955e8b04b5e95e0e4a833">◆ </a></span>getStrDescr()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00831">831</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3aea534daed66b5606fa798df7ad3c47"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3aea534daed66b5606fa798df7ad3c47">◆ </a></span>setAddr()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00836">836</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31e2c132ec32ffdde94dff72be87c378"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31e2c132ec32ffdde94dff72be87c378">◆ </a></span>setConf()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00845">845</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a102dab8571035757dd63ed3751993836"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a102dab8571035757dd63ed3751993836">◆ </a></span>ctrlData()</h2>
|
|
|
|
<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">bool </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 id="aec793bc1f702174d80bca8c66b8c65e8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aec793bc1f702174d80bca8c66b8c65e8">◆ </a></span>ctrlStatus()</h2>
|
|
|
|
<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">bool </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 id="aead4d2040c641d55176854b236804088"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aead4d2040c641d55176854b236804088">◆ </a></span>inTransfer()</h2>
|
|
|
|
<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 class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>bInterval</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00209">209</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="affbc018973a588995457d535b0ac7ee7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#affbc018973a588995457d535b0ac7ee7">◆ </a></span>outTransfer()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00303">303</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a343d4b321cf8e99f0504cb04c7ce8b10"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a343d4b321cf8e99f0504cb04c7ce8b10">◆ </a></span>dispatchPkt()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00406">406</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aff8d1b2009c760bc27fb12762bd3c9b6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aff8d1b2009c760bc27fb12762bd3c9b6">◆ </a></span>Task()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00460">460</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5eb0d31372d26f0015a0d7be0b9ff4e1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5eb0d31372d26f0015a0d7be0b9ff4e1">◆ </a></span>DefaultAddressing()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00566">566</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af4008dfc1c2d15c23cf8a7815cc17765"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af4008dfc1c2d15c23cf8a7815cc17765">◆ </a></span>Configuring()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00688">688</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac681c6c98e1641f705bc14d670a2663a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac681c6c98e1641f705bc14d670a2663a">◆ </a></span>ReleaseDevice()</h2>
|
|
|
|
<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 class="definition">Definition at line <a class="el" href="_usb_8cpp_source.html#l00786">786</a> of file <a class="el" href="_usb_8cpp_source.html">Usb.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a636695a5c3d35cd6b9e31c54edfacd7c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a636695a5c3d35cd6b9e31c54edfacd7c">◆ </a></span>ctrlReq()</h2>
|
|
|
|
<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 class="definition">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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|