mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
312 lines
47 KiB
HTML
312 lines
47 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: max3421e.h Source File</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>
|
|
</div><!-- top -->
|
|
<!-- 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 class="header">
|
|
<div class="headertitle">
|
|
<div class="title">max3421e.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="max3421e_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">This program is free software; you can redistribute it and/or modify</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">it under the terms of the GNU General Public License as published by</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">the Free Software Foundation; either version 2 of the License, or</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">(at your option) any later version.</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">This program is distributed in the hope that it will be useful,</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">GNU General Public License for more details.</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">You should have received a copy of the GNU General Public License</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">along with this program; if not, write to the Free Software</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">Contact information</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">-------------------</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">Circuits At Home, LTD</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">Web : http://www.circuitsathome.com</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">e-mail : support@circuitsathome.com</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#if !defined(_usb_h_) || defined(_max3421e_h_)</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#error "Never include max3421e.h directly; include Usb.h instead"</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#else</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define _max3421e_h_</span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* MAX3421E register/bit names and bitmasks */</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/* Arduino pin definitions */</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/* pin numbers to port numbers */</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a3cb02fdd2d36f8a755c4b1946a0b0063"> 35</a></span> <span class="preprocessor">#define SE0 0</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a5c3d7b0a5b0933cfc0183cd36ea91f16"> 36</a></span> <span class="preprocessor">#define SE1 1</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8ec45bdb8c5273e99c3ab89349cb43f9"> 37</a></span> <span class="preprocessor">#define FSHOST 2</span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa05ee2be883f4b96948e18b0d55ab5c2"> 38</a></span> <span class="preprocessor">#define LSHOST 3</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/* MAX3421E command byte format: rrrrr0wa where 'r' is register number */</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// MAX3421E Registers in HOST mode.</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a5ab905353668c35ea0d9f6989d24b849"> 44</a></span> <span class="preprocessor">#define rRCVFIFO 0x08 //1<<3</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa5d5e67db32d736bab1ee8ef8764f6aa"> 45</a></span> <span class="preprocessor">#define rSNDFIFO 0x10 //2<<3</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="max3421e_8h.html#acddbcc3176885ece538a7e71665c27be"> 46</a></span> <span class="preprocessor">#define rSUDFIFO 0x20 //4<<3</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="max3421e_8h.html#afa79b794eadcddfca2f62828dd83134b"> 47</a></span> <span class="preprocessor">#define rRCVBC 0x30 //6<<3</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1eb6ec372ed236f1db3fbca201bdc28f"> 48</a></span> <span class="preprocessor">#define rSNDBC 0x38 //7<<3</span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1082650791b2a5cffb39d3caab1f48c7"> 50</a></span> <span class="preprocessor">#define rUSBIRQ 0x68 //13<<3</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">/* USBIRQ Bits */</span></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a77bf59c4ab9edcf83ec70105a1694f37"> 52</a></span> <span class="preprocessor">#define bmVBUSIRQ 0x40 //b6</span></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a2ea2f54936acc6f84ecaa59b7a36735f"> 53</a></span> <span class="preprocessor">#define bmNOVBUSIRQ 0x20 //b5</span></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="max3421e_8h.html#add73c33bb1cdb3b875f57cfa4ffdcad0"> 54</a></span> <span class="preprocessor">#define bmOSCOKIRQ 0x01 //b0</span></div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8f874c1537144956a08137d1cc944ea5"> 56</a></span> <span class="preprocessor">#define rUSBIEN 0x70 //14<<3</span></div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">/* USBIEN Bits */</span></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a2b9fa14157e669491936b735673e0f12"> 58</a></span> <span class="preprocessor">#define bmVBUSIE 0x40 //b6</span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="max3421e_8h.html#abddabc145e15cf9387f60cad9a8297cc"> 59</a></span> <span class="preprocessor">#define bmNOVBUSIE 0x20 //b5</span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a6638e1cc9d1784003b63cbaca097fb4c"> 60</a></span> <span class="preprocessor">#define bmOSCOKIE 0x01 //b0</span></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1bbe8e1e02d9c61c36a84ce452e49264"> 62</a></span> <span class="preprocessor">#define rUSBCTL 0x78 //15<<3</span></div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">/* USBCTL Bits */</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab1962423aacdcc5807722237974ee0ba"> 64</a></span> <span class="preprocessor">#define bmCHIPRES 0x20 //b5</span></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ae86de1fffac4ed1219b031e42561ef0a"> 65</a></span> <span class="preprocessor">#define bmPWRDOWN 0x10 //b4</span></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a53da9de92c56d0cdac2a09ca10e94455"> 67</a></span> <span class="preprocessor">#define rCPUCTL 0x80 //16<<3</span></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/* CPUCTL Bits */</span></div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a989781f67e1404efcbf04715e4e376ac"> 69</a></span> <span class="preprocessor">#define bmPUSLEWID1 0x80 //b7</span></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a2812d762537287667e46571d97e0301f"> 70</a></span> <span class="preprocessor">#define bmPULSEWID0 0x40 //b6</span></div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a3efc6c89f42f2499dc634cdfe6fa3b7a"> 71</a></span> <span class="preprocessor">#define bmIE 0x01 //b0</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a6b9f9d34ace73b82db1d41b870942fae"> 73</a></span> <span class="preprocessor">#define rPINCTL 0x88 //17<<3</span></div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment">/* PINCTL Bits */</span></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a0bdabdb078bf1dcc89d654432bff40fa"> 75</a></span> <span class="preprocessor">#define bmFDUPSPI 0x10 //b4</span></div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ac43fd01b46413767deb91becd3506de0"> 76</a></span> <span class="preprocessor">#define bmINTLEVEL 0x08 //b3</span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a84d68a8bd11d2a44b60759efdaa36c77"> 77</a></span> <span class="preprocessor">#define bmPOSINT 0x04 //b2</span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a152bafec6d4150dfb86794c2501bdc45"> 78</a></span> <span class="preprocessor">#define bmGPXB 0x02 //b1</span></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ad6629ab86eef86882e9ad15e56880b7d"> 79</a></span> <span class="preprocessor">#define bmGPXA 0x01 //b0</span></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment">// GPX pin selections</span></div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a0f6b05e67d0f8bbd1a392e877a16edff"> 81</a></span> <span class="preprocessor">#define GPX_OPERATE 0x00</span></div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aff368111e79950099861bc3698fbaf0e"> 82</a></span> <span class="preprocessor">#define GPX_VBDET 0x01</span></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aaab0be06b205a6e6f308ca709c762d32"> 83</a></span> <span class="preprocessor">#define GPX_BUSACT 0x02</span></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a87a3a026e71ce588f06d10101156c494"> 84</a></span> <span class="preprocessor">#define GPX_SOF 0x03</span></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a3e8f39e33c2ae67b48a682a8a45e3f18"> 86</a></span> <span class="preprocessor">#define rREVISION 0x90 //18<<3</span></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1ba1328dff83f8441af904a3e45620ec"> 88</a></span> <span class="preprocessor">#define rIOPINS1 0xa0 //20<<3</span></div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">/* IOPINS1 Bits */</span></div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a88c7a6fe524e6e64a1587b0f0995b27f"> 91</a></span> <span class="preprocessor">#define bmGPOUT0 0x01</span></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ad95061afc529dd3f81da7c80ba65a211"> 92</a></span> <span class="preprocessor">#define bmGPOUT1 0x02</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af4348d2c3dc69d554ccec659a72949fa"> 93</a></span> <span class="preprocessor">#define bmGPOUT2 0x04</span></div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a93496204d886dd6d9b791a88e86d6652"> 94</a></span> <span class="preprocessor">#define bmGPOUT3 0x08</span></div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ac96b0f7f67f8c5ef94d081c62e922500"> 95</a></span> <span class="preprocessor">#define bmGPIN0 0x10</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ae91c4683c1f2432fc5c9fdc56c5c2ce4"> 96</a></span> <span class="preprocessor">#define bmGPIN1 0x20</span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af88fe93db31eb572f8d403a841c36cd2"> 97</a></span> <span class="preprocessor">#define bmGPIN2 0x40</span></div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa6653ac9614daf283031b0bf32259791"> 98</a></span> <span class="preprocessor">#define bmGPIN3 0x80</span></div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a0ef7bfe2ee160a40a48ff4fa093b91de"> 100</a></span> <span class="preprocessor">#define rIOPINS2 0xa8 //21<<3</span></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">/* IOPINS2 Bits */</span></div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab01c6b3199f0cb36243e1b3070bebea7"> 102</a></span> <span class="preprocessor">#define bmGPOUT4 0x01</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a56a80086e0c01e69aeec0c1c8df4f16b"> 103</a></span> <span class="preprocessor">#define bmGPOUT5 0x02</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4a76e73f3f486b5f1584d53cc713b906"> 104</a></span> <span class="preprocessor">#define bmGPOUT6 0x04</span></div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a3e589a1194e6340a1e6f1a8e36901c7c"> 105</a></span> <span class="preprocessor">#define bmGPOUT7 0x08</span></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab6863507bb4ffc16fda91f41bd6bc984"> 106</a></span> <span class="preprocessor">#define bmGPIN4 0x10</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aee90494cabaa07a99579bd06a8844654"> 107</a></span> <span class="preprocessor">#define bmGPIN5 0x20</span></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aeaad341aa55b89b119af8a8d4cb380f4"> 108</a></span> <span class="preprocessor">#define bmGPIN6 0x40</span></div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ae900d6d2d971ff1aec4481a05cb88aee"> 109</a></span> <span class="preprocessor">#define bmGPIN7 0x80</span></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a442ca7b5baabb5501bce9e9443e49602"> 111</a></span> <span class="preprocessor">#define rGPINIRQ 0xb0 //22<<3</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment">/* GPINIRQ Bits */</span></div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a62388568b5f838f792d8ed313c484678"> 113</a></span> <span class="preprocessor">#define bmGPINIRQ0 0x01</span></div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="max3421e_8h.html#afc1b3d0a72f4e0a2af16427ee2994ef8"> 114</a></span> <span class="preprocessor">#define bmGPINIRQ1 0x02</span></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af24b4affced1deb61f402e2d06dc7004"> 115</a></span> <span class="preprocessor">#define bmGPINIRQ2 0x04</span></div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a487a58c493d4f20c21fa8c2fccb18475"> 116</a></span> <span class="preprocessor">#define bmGPINIRQ3 0x08</span></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ac868bd91eddd50e11a6e7e2425fea8a1"> 117</a></span> <span class="preprocessor">#define bmGPINIRQ4 0x10</span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a75ee5a358fb69c5f921f2d32c6d61a18"> 118</a></span> <span class="preprocessor">#define bmGPINIRQ5 0x20</span></div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a715bdf90f075e5db50360a1df200063a"> 119</a></span> <span class="preprocessor">#define bmGPINIRQ6 0x40</span></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="max3421e_8h.html#adeeb98e5d056bb681d7b99df209c9c75"> 120</a></span> <span class="preprocessor">#define bmGPINIRQ7 0x80</span></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a49dc89e34bf52d0e74fb35904c227504"> 122</a></span> <span class="preprocessor">#define rGPINIEN 0xb8 //23<<3</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment">/* GPINIEN Bits */</span></div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a48184b01b72caa495adfb0d5d126c79f"> 124</a></span> <span class="preprocessor">#define bmGPINIEN0 0x01</span></div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab61a7226ec3774910f6fb2d34f400e9e"> 125</a></span> <span class="preprocessor">#define bmGPINIEN1 0x02</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aac9a79fe1262445a638ba9e8287be49e"> 126</a></span> <span class="preprocessor">#define bmGPINIEN2 0x04</span></div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8a24e71c5618417e74d993307444576a"> 127</a></span> <span class="preprocessor">#define bmGPINIEN3 0x08</span></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a28b8477a4dc243516bcc73a0c1c5b5a2"> 128</a></span> <span class="preprocessor">#define bmGPINIEN4 0x10</span></div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8b0db611815ee7d942b66b550005caa6"> 129</a></span> <span class="preprocessor">#define bmGPINIEN5 0x20</span></div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a900b26d2e2b244a07281eefff23eb0f3"> 130</a></span> <span class="preprocessor">#define bmGPINIEN6 0x40</span></div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a00640b2cfadad5828168c3370f512418"> 131</a></span> <span class="preprocessor">#define bmGPINIEN7 0x80</span></div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a685a612522c4569130e791537cab5ea6"> 133</a></span> <span class="preprocessor">#define rGPINPOL 0xc0 //24<<3</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment">/* GPINPOL Bits */</span></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1edff0870b5883627c431c2ee69ed524"> 135</a></span> <span class="preprocessor">#define bmGPINPOL0 0x01</span></div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a500369d89f553661f22ff87f1d190969"> 136</a></span> <span class="preprocessor">#define bmGPINPOL1 0x02</span></div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a88867d6ef15155c4e7ad29156bd2f1b1"> 137</a></span> <span class="preprocessor">#define bmGPINPOL2 0x04</span></div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a187ea227449ce1f58574b5efffaa52bd"> 138</a></span> <span class="preprocessor">#define bmGPINPOL3 0x08</span></div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ae3983697a6903a41edcea058ffba3bb7"> 139</a></span> <span class="preprocessor">#define bmGPINPOL4 0x10</span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aefc9c5314a7cc0067c5cf385980509e4"> 140</a></span> <span class="preprocessor">#define bmGPINPOL5 0x20</span></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4abd43f35e2109e0e28f2754a3b50ec4"> 141</a></span> <span class="preprocessor">#define bmGPINPOL6 0x40</span></div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a5a7764d5d026dfd7a45e0ecf52918682"> 142</a></span> <span class="preprocessor">#define bmGPINPOL7 0x80</span></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9ab289252615caa2d19ceb4359d71a44"> 144</a></span> <span class="preprocessor">#define rHIRQ 0xc8 //25<<3</span></div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment">/* HIRQ Bits */</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa18f9355be57aa36ef0aacdd9dc34dc1"> 146</a></span> <span class="preprocessor">#define bmBUSEVENTIRQ 0x01 // indicates BUS Reset Done or BUS Resume</span></div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a10f6faaba484d43298f54ac4c2e4ce32"> 147</a></span> <span class="preprocessor">#define bmRWUIRQ 0x02</span></div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ad780c154c3761f68e0e397e4fd8f9a07"> 148</a></span> <span class="preprocessor">#define bmRCVDAVIRQ 0x04</span></div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a480ad63da8007d8319735d115cd7817c"> 149</a></span> <span class="preprocessor">#define bmSNDBAVIRQ 0x08</span></div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9e25c445f9f53e32949024f77681e881"> 150</a></span> <span class="preprocessor">#define bmSUSDNIRQ 0x10</span></div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ac915bfa0fd869c8c841c106fe468c3b5"> 151</a></span> <span class="preprocessor">#define bmCONDETIRQ 0x20</span></div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a042cc701398502fb70b8793ed76394ce"> 152</a></span> <span class="preprocessor">#define bmFRAMEIRQ 0x40</span></div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a82f316064dd5442d86e1536d3f1d9f7a"> 153</a></span> <span class="preprocessor">#define bmHXFRDNIRQ 0x80</span></div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9eb44efd473c493d40ad42bc52289de6"> 155</a></span> <span class="preprocessor">#define rHIEN 0xd0 //26<<3</span></div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment">/* HIEN Bits */</span></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af90567aced425c7c42ca61717f6848f8"> 158</a></span> <span class="preprocessor">#define bmBUSEVENTIE 0x01</span></div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a2eb43ef2b234f57f7dd1e8999c217df5"> 159</a></span> <span class="preprocessor">#define bmRWUIE 0x02</span></div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4a6ee83ab6c77a1400752a9acb197910"> 160</a></span> <span class="preprocessor">#define bmRCVDAVIE 0x04</span></div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="max3421e_8h.html#afe7e9920ad985b67e25c0b6d9dd63544"> 161</a></span> <span class="preprocessor">#define bmSNDBAVIE 0x08</span></div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4ac014f43e1df89af10cb0846d1b9a49"> 162</a></span> <span class="preprocessor">#define bmSUSDNIE 0x10</span></div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a3b359995b8bc2c98d5987d90bc4d85eb"> 163</a></span> <span class="preprocessor">#define bmCONDETIE 0x20</span></div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a16e643bd8f6523b174d586218f40dbc5"> 164</a></span> <span class="preprocessor">#define bmFRAMEIE 0x40</span></div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a57068b212ace15fc521236869640ee3a"> 165</a></span> <span class="preprocessor">#define bmHXFRDNIE 0x80</span></div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a330db4fc764b8ccae5214645c1ee5423"> 167</a></span> <span class="preprocessor">#define rMODE 0xd8 //27<<3</span></div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment">/* MODE Bits */</span></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a59ab4e3dc0a4188b74ceb405833f5d3c"> 170</a></span> <span class="preprocessor">#define bmHOST 0x01</span></div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9744878036529e375f3b017b22b1eda2"> 171</a></span> <span class="preprocessor">#define bmLOWSPEED 0x02</span></div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8816c259368604d0de57f31bcb6c1674"> 172</a></span> <span class="preprocessor">#define bmHUBPRE 0x04</span></div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1cde86dfa0124c81ebffcde9fdf61cc3"> 173</a></span> <span class="preprocessor">#define bmSOFKAENAB 0x08</span></div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a562180c4d9e16433c011b5c0e9b5dc46"> 174</a></span> <span class="preprocessor">#define bmSEPIRQ 0x10</span></div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa3e74577c76a919906086ba3250f2179"> 175</a></span> <span class="preprocessor">#define bmDELAYISO 0x20</span></div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8883bd99c93d3bf820ab3be677922e85"> 176</a></span> <span class="preprocessor">#define bmDMPULLDN 0x40</span></div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="max3421e_8h.html#abf795283162c960c28a14cdebd1e1894"> 177</a></span> <span class="preprocessor">#define bmDPPULLDN 0x80</span></div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ac6d86063950bdbf438d358c907aefbfa"> 179</a></span> <span class="preprocessor">#define rPERADDR 0xe0 //28<<3</span></div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a7e82a85eb165f82afde45df5f98504ff"> 181</a></span> <span class="preprocessor">#define rHCTL 0xe8 //29<<3</span></div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment">/* HCTL Bits */</span></div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab59b41d6ecb3a04e5bfc38b0eee4aec0"> 183</a></span> <span class="preprocessor">#define bmBUSRST 0x01</span></div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a0acccff914959b72549bfd4c9bd2788c"> 184</a></span> <span class="preprocessor">#define bmFRMRST 0x02</span></div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af3d664335016e139354f2f6a99febff2"> 185</a></span> <span class="preprocessor">#define bmSAMPLEBUS 0x04</span></div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a5397ba64eccc96a9f9d11ccfe40ca109"> 186</a></span> <span class="preprocessor">#define bmSIGRSM 0x08</span></div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7"> 187</a></span> <span class="preprocessor">#define bmRCVTOG0 0x10</span></div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a6864ac74e4ed056f9eb37f1c78bd6c6f"> 188</a></span> <span class="preprocessor">#define bmRCVTOG1 0x20</span></div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4834ae7378471b63b9a1985c6294006f"> 189</a></span> <span class="preprocessor">#define bmSNDTOG0 0x40</span></div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aee283b6d075581cdff38a6054e6f63a2"> 190</a></span> <span class="preprocessor">#define bmSNDTOG1 0x80</span></div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa541c456525254b21a0bc53aadaeee4d"> 192</a></span> <span class="preprocessor">#define rHXFR 0xf0 //30<<3</span></div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment">/* Host transfer token values for writing the HXFR register (R30) */</span></div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="comment">/* OR this bit field with the endpoint number in bits 3:0 */</span></div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="max3421e_8h.html#acd574bdc815506033ec40fc96320520d"> 195</a></span> <span class="preprocessor">#define tokSETUP 0x10 // HS=0, ISO=0, OUTNIN=0, SETUP=1</span></div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a436aef9c3815daee76dc227dcf15d4e4"> 196</a></span> <span class="preprocessor">#define tokIN 0x00 // HS=0, ISO=0, OUTNIN=0, SETUP=0</span></div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a6d59486bc96e76ebb429756a30ddb238"> 197</a></span> <span class="preprocessor">#define tokOUT 0x20 // HS=0, ISO=0, OUTNIN=1, SETUP=0</span></div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a100ac012a99f7cb9305a2eb921741ce3"> 198</a></span> <span class="preprocessor">#define tokINHS 0x80 // HS=1, ISO=0, OUTNIN=0, SETUP=0</span></div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9889c0ed9a43ff3fea670a96c3fbd165"> 199</a></span> <span class="preprocessor">#define tokOUTHS 0xA0 // HS=1, ISO=0, OUTNIN=1, SETUP=0</span></div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a79e05c31da19cdf6299d978b46989070"> 200</a></span> <span class="preprocessor">#define tokISOIN 0x40 // HS=0, ISO=1, OUTNIN=0, SETUP=0</span></div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a1c75b65a0159fd3d1c87da6a4e950c4d"> 201</a></span> <span class="preprocessor">#define tokISOOUT 0x60 // HS=0, ISO=1, OUTNIN=1, SETUP=0</span></div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  </div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a246dbd203f68062fab34f2869b76e479"> 203</a></span> <span class="preprocessor">#define rHRSL 0xf8 //31<<3</span></div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment">/* HRSL Bits */</span></div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="max3421e_8h.html#acdfff8cccb2ba5a3dfaa67241ffe86a4"> 206</a></span> <span class="preprocessor">#define bmRCVTOGRD 0x10</span></div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a4a9dee0254d637bcd27ac53fd2a7cb7c"> 207</a></span> <span class="preprocessor">#define bmSNDTOGRD 0x20</span></div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="max3421e_8h.html#af85b57e6dc78e03bc68949822f66b6de"> 208</a></span> <span class="preprocessor">#define bmKSTATUS 0x40</span></div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a8ea246f6fcbb926999a828b5fd4a2da8"> 209</a></span> <span class="preprocessor">#define bmJSTATUS 0x80</span></div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a601304fe868d2f4b84a504fc5599d703"> 210</a></span> <span class="preprocessor">#define bmSE0 0x00 //SE0 - disconnect state</span></div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ad18cd77a4d34c4e0d4d9b5cfbaadc74f"> 211</a></span> <span class="preprocessor">#define bmSE1 0xc0 //SE1 - illegal state</span></div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment">/* Host error result codes, the 4 LSB's in the HRSL register */</span></div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aea69e77cdc2b4124122d0fbda7e37019"> 214</a></span> <span class="preprocessor">#define hrSUCCESS 0x00</span></div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aee07a5ab9d40160fa57eeb9df922a27b"> 215</a></span> <span class="preprocessor">#define hrBUSY 0x01</span></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aedf56665d7109f53e5e4d47f8837ef4f"> 216</a></span> <span class="preprocessor">#define hrBADREQ 0x02</span></div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aff73910ee4c5acc311fcb659a98a059b"> 217</a></span> <span class="preprocessor">#define hrUNDEF 0x03</span></div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab44a7968d08016b58d98951059c37076"> 218</a></span> <span class="preprocessor">#define hrNAK 0x04</span></div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a774ac66066335e580da2b8cdab52df30"> 219</a></span> <span class="preprocessor">#define hrSTALL 0x05</span></div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a651e9347e706d3cb16357c656a7e9c8f"> 220</a></span> <span class="preprocessor">#define hrTOGERR 0x06</span></div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a197be277f96be0d443c9af73eb4e874c"> 221</a></span> <span class="preprocessor">#define hrWRONGPID 0x07</span></div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a35fb8059582460c2bea658feac1e4af1"> 222</a></span> <span class="preprocessor">#define hrBADBC 0x08</span></div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ad29b7b56dca613a5b55b8d498104a7e7"> 223</a></span> <span class="preprocessor">#define hrPIDERR 0x09</span></div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab7aac600703132339a21119aaedb563f"> 224</a></span> <span class="preprocessor">#define hrPKTERR 0x0A</span></div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a9d4f89c908cabcf4368a4efb53a00b66"> 225</a></span> <span class="preprocessor">#define hrCRCERR 0x0B</span></div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a38277f2ae9f312ee4f7a4d8bae3a4f6e"> 226</a></span> <span class="preprocessor">#define hrKERR 0x0C</span></div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="max3421e_8h.html#aa128de549704094dadb93daa8875472b"> 227</a></span> <span class="preprocessor">#define hrJERR 0x0D</span></div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab4e9ff11b75e71171814fdab1ff7ce45"> 228</a></span> <span class="preprocessor">#define hrTIMEOUT 0x0E</span></div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a0a25f44501a1e77647df2810c5878949"> 229</a></span> <span class="preprocessor">#define hrBABBLE 0x0F</span></div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="max3421e_8h.html#a456c3175b4836ed1d2b276faeba55121"> 231</a></span> <span class="preprocessor">#define MODE_FS_HOST (bmDPPULLDN|bmDMPULLDN|bmHOST|bmSOFKAENAB)</span></div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="max3421e_8h.html#ab3da1b5bd1f43ba9f9da604841ba8802"> 232</a></span> <span class="preprocessor">#define MODE_LS_HOST (bmDPPULLDN|bmDMPULLDN|bmHOST|bmLOWSPEED|bmSOFKAENAB)</span></div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#endif //_max3421e_h_</span></div>
|
|
</div><!-- fragment --></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>
|