USB_Host_Shield_2.0/class_m_a_x3421e.html

577 lines
27 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2014-01-10 18:20:37 +01:00
<title>USB Host Shield 2.0: MAX3421e&lt; SPI_SS, INTR &gt; Class Template Reference</title>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<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"/>
2013-01-30 22:00:18 +01:00
</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
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
2013-01-30 22:00:18 +01:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
2013-01-30 22:00:18 +01:00
<!-- 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> &#124;
<a href="class_m_a_x3421e-members.html">List of all members</a> </div>
<div class="headertitle">
2014-01-10 18:20:37 +01:00
<div class="title">MAX3421e&lt; SPI_SS, INTR &gt; Class Template Reference</div> </div>
2013-01-30 22:00:18 +01:00
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="usbhost_8h_source.html">usbhost.h</a>&gt;</code></p>
<div class="dynheader">
2014-01-10 18:20:37 +01:00
Inheritance diagram for MAX3421e&lt; SPI_SS, INTR &gt;:</div>
2013-01-30 22:00:18 +01:00
<div class="dyncontent">
2014-01-10 18:20:37 +01:00
<div class="center"><img src="class_m_a_x3421e__inherit__graph.png" border="0" usemap="#_m_a_x3421e_3_01_s_p_i___s_s_00_01_i_n_t_r_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="_m_a_x3421e_3_01_s_p_i___s_s_00_01_i_n_t_r_01_4_inherit__map" id="_m_a_x3421e_3_01_s_p_i___s_s_00_01_i_n_t_r_01_4_inherit__map">
<area shape="rect" id="node2" href="class_u_s_b.html" title="USB\&lt; P10, P9 \&gt;" alt="" coords="43,80,165,107"/>
</map>
2013-01-30 22:00:18 +01:00
<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>
2014-01-10 18:20:37 +01:00
<tr class="memitem:a037ff4a4406e49302e4408d95833d54d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a037ff4a4406e49302e4408d95833d54d">MAX3421e</a> ()</td></tr>
<tr class="separator:a037ff4a4406e49302e4408d95833d54d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53f1d4d8d100a709fd6b37b5e6f0829e"><td class="memItemLeft" align="right" valign="top">void&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67229549b336fb1c000488382d35aaaa"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afccded4a32cdc2a811f7437d3b489336"><td class="memItemLeft" align="right" valign="top">void&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a508fe70d1983cdaa71cce85ea9c75ec1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af136074eab636da10cf50a03d735c1b5"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac5d00653f8fb1cb61d9d7509acb8e00"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#aac5d00653f8fb1cb61d9d7509acb8e00">gpioRd</a> ()</td></tr>
<tr class="memdesc:aac5d00653f8fb1cb61d9d7509acb8e00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current GPI input values. <a href="#aac5d00653f8fb1cb61d9d7509acb8e00">More...</a><br /></td></tr>
2014-01-10 18:20:37 +01:00
<tr class="separator:aac5d00653f8fb1cb61d9d7509acb8e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef352a1518ea20bf7d1925c671c2c46"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#aeef352a1518ea20bf7d1925c671c2c46">gpioRdOutput</a> ()</td></tr>
<tr class="memdesc:aeef352a1518ea20bf7d1925c671c2c46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current GPI output values. <a href="#aeef352a1518ea20bf7d1925c671c2c46">More...</a><br /></td></tr>
<tr class="separator:aeef352a1518ea20bf7d1925c671c2c46"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-10 18:20:37 +01:00
<tr class="memitem:a15b78912dd4b1c96b6ad141117dcb7ee"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a15b78912dd4b1c96b6ad141117dcb7ee">reset</a> ()</td></tr>
<tr class="separator:a15b78912dd4b1c96b6ad141117dcb7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2866487c20c832731fd4fb478acb0195"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a2866487c20c832731fd4fb478acb0195">Init</a> ()</td></tr>
<tr class="separator:a2866487c20c832731fd4fb478acb0195"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a332ce159a413244be9b95b8e08888bb8"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50e96bcc646e14e331ca15252667ace3"><td class="memItemLeft" align="right" valign="top">void&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1e9380222063c40fbf43428f7c50d67"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a517e877930090c612adf9f79fb5c8f3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a517e877930090c612adf9f79fb5c8f3d">busprobe</a> ()</td></tr>
<tr class="separator:a517e877930090c612adf9f79fb5c8f3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a102e1af23477b564529392ff0962f22d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a102e1af23477b564529392ff0962f22d">GpxHandler</a> ()</td></tr>
<tr class="separator:a102e1af23477b564529392ff0962f22d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af88faea04dd27cf354cf0643cc7acef2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#af88faea04dd27cf354cf0643cc7acef2">IntHandler</a> ()</td></tr>
<tr class="separator:af88faea04dd27cf354cf0643cc7acef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07720e9f2311bfa0d66cfae746576946"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_a_x3421e.html#a07720e9f2311bfa0d66cfae746576946">Task</a> ()</td></tr>
<tr class="separator:a07720e9f2311bfa0d66cfae746576946"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
</table>
2013-02-05 20:02:12 +01:00
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename SPI_SS, typename INTR&gt;<br />
2014-01-10 18:20:37 +01:00
class MAX3421e&lt; SPI_SS, INTR &gt;</h3>
2013-02-05 20:02:12 +01:00
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00132">132</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a037ff4a4406e49302e4408d95833d54d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a037ff4a4406e49302e4408d95833d54d">&#9670;&nbsp;</a></span>MAX3421e()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname"><a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::<a class="el" href="class_m_a_x3421e.html">MAX3421e</a> </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00166">166</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a53f1d4d8d100a709fd6b37b5e6f0829e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53f1d4d8d100a709fd6b37b5e6f0829e">&#9670;&nbsp;</a></span>regWr()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">void <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::regWr </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>reg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2013-01-30 22:00:18 +01:00
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00177">177</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a67229549b336fb1c000488382d35aaaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67229549b336fb1c000488382d35aaaa">&#9670;&nbsp;</a></span>bytesWr()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t * <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::bytesWr </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>reg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>nbytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>data_p</em>&#160;</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="usbhost_8h_source.html#l00220">220</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="afccded4a32cdc2a811f7437d3b489336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afccded4a32cdc2a811f7437d3b489336">&#9670;&nbsp;</a></span>gpioWr()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">void <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::gpioWr </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>data</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00269">269</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a508fe70d1983cdaa71cce85ea9c75ec1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a508fe70d1983cdaa71cce85ea9c75ec1">&#9670;&nbsp;</a></span>regRd()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::regRd </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>reg</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00278">278</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="af136074eab636da10cf50a03d735c1b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af136074eab636da10cf50a03d735c1b5">&#9670;&nbsp;</a></span>bytesRd()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t * <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::bytesRd </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>reg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>nbytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>data_p</em>&#160;</td>
</tr>
<tr>
2013-01-30 22:00:18 +01:00
<td></td>
<td>)</td>
<td></td><td></td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00317">317</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="aac5d00653f8fb1cb61d9d7509acb8e00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac5d00653f8fb1cb61d9d7509acb8e00">&#9670;&nbsp;</a></span>gpioRd()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::gpioRd </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the current GPI input values. </p>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">uint8_t</td><td>Bitwise value of all 8 GPI inputs </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00384">384</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
</div>
</div>
<a id="aeef352a1518ea20bf7d1925c671c2c46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeef352a1518ea20bf7d1925c671c2c46">&#9670;&nbsp;</a></span>gpioRdOutput()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename SPI_SS , typename INTR &gt; </div>
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::gpioRdOutput </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the current GPI output values. </p>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">uint8_t</td><td>Bitwise value of all 8 GPI outputs </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00397">397</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a15b78912dd4b1c96b6ad141117dcb7ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15b78912dd4b1c96b6ad141117dcb7ee">&#9670;&nbsp;</a></span>reset()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint16_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::reset </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00408">408</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a2866487c20c832731fd4fb478acb0195"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2866487c20c832731fd4fb478acb0195">&#9670;&nbsp;</a></span>Init() <span class="overload">[1/2]</span></h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">int8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::Init </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00422">422</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-08-14 01:16:29 +02:00
</div>
</div>
<a id="a332ce159a413244be9b95b8e08888bb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a332ce159a413244be9b95b8e08888bb8">&#9670;&nbsp;</a></span>Init() <span class="overload">[2/2]</span></h2>
2013-08-14 01:16:29 +02:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-08-14 01:16:29 +02:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">int8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::Init </td>
2013-08-14 01:16:29 +02:00
<td>(</td>
<td class="paramtype">int&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>mseconds</em></td><td>)</td>
2013-08-14 01:16:29 +02:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00459">459</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-08-14 01:16:29 +02:00
</div>
</div>
<a id="a50e96bcc646e14e331ca15252667ace3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50e96bcc646e14e331ca15252667ace3">&#9670;&nbsp;</a></span>vbusPower()</h2>
2013-08-14 01:16:29 +02:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-08-14 01:16:29 +02:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">void <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::vbusPower </td>
2013-08-14 01:16:29 +02:00
<td>(</td>
<td class="paramtype"><a class="el" href="usbhost_8h.html#ab1424f62efde609157774a4e80e016ef">VBUS_t</a>&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>state</em></td><td>)</td>
2013-08-14 01:16:29 +02:00
<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="usbhost_8h_source.html#l00148">148</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="aa1e9380222063c40fbf43428f7c50d67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1e9380222063c40fbf43428f7c50d67">&#9670;&nbsp;</a></span>getVbusState()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::getVbusState </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">void&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00152">152</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a517e877930090c612adf9f79fb5c8f3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a517e877930090c612adf9f79fb5c8f3d">&#9670;&nbsp;</a></span>busprobe()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">void <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::busprobe </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00503">503</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a102e1af23477b564529392ff0962f22d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a102e1af23477b564529392ff0962f22d">&#9670;&nbsp;</a></span>GpxHandler()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::GpxHandler </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af88faea04dd27cf354cf0643cc7acef2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af88faea04dd27cf354cf0643cc7acef2">&#9670;&nbsp;</a></span>IntHandler()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::IntHandler </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00557">557</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a07720e9f2311bfa0d66cfae746576946"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07720e9f2311bfa0d66cfae746576946">&#9670;&nbsp;</a></span>Task()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
2014-01-10 18:20:37 +01:00
template&lt;typename SPI_SS , typename INTR &gt; </div>
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2014-01-10 18:20:37 +01:00
<td class="memname">uint8_t <a class="el" href="class_m_a_x3421e.html">MAX3421e</a>&lt; SPI_SS, INTR &gt;::Task </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">void&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbhost_8h_source.html#l00538">538</a> of file <a class="el" href="usbhost_8h_source.html">usbhost.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="usbhost_8h_source.html">usbhost.h</a></li>
2013-01-30 22:00:18 +01:00
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>