USB_Host_Shield_2.0/cdcprolific_8h_source.html

109 lines
43 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"/>
2018-10-13 15:47:19 +02:00
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>USB Host Shield 2.0: cdcprolific.h Source File</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"/>
2015-04-07 16:07:33 +02:00
<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;">
2016-04-19 18:16:46 +02:00
<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 -->
2018-10-13 15:47:19 +02:00
<!-- Generated by Doxygen 1.8.14 -->
2013-01-30 22:00:18 +01:00
<script type="text/javascript">
2018-10-13 15:47:19 +02:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2013-01-30 22:00:18 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-10-13 15:47:19 +02:00
/* @license-end */
2013-01-30 22:00:18 +01:00
</script>
2018-10-13 15:47:19 +02:00
<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&amp;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>
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)">
2015-04-07 16:07:33 +02:00
</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 id="nav-path" class="navpath">
<ul>
2016-04-19 18:16:46 +02:00
<li class="navelem"><a class="el" href="dir_69161428018e52ad84691a5947f27cc9.html">Github</a></li><li class="navelem"><a class="el" href="dir_ee762931928e29ae94e054d18c99dc9e.html">USB_Host_Shield_2_0</a></li> </ul>
2013-01-30 22:00:18 +01:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cdcprolific.h</div> </div>
</div><!--header-->
<div class="contents">
2018-10-13 15:47:19 +02:00
<a href="cdcprolific_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>&#160;<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>&#160;<span class="comment"></span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">This software may be distributed and modified under the terms of the GNU</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">on this software must also be made publicly available under the terms of</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">-------------------</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#if !defined(__CDCPROLIFIC_H__)</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define __CDCPROLIFIC_H__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cdcacm_8h.html">cdcacm.h</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">//#define PL2303_COMPAT // Uncomment it if you have compatibility problems</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="cdcprolific_8h.html#ac33a32ea1e6c88a3041b8fd579bb439b"> 24</a></span>&#160;<span class="preprocessor">#define PL_VID 0x067B</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="cdcprolific_8h.html#af1a8fea671253f8bb7f124ad159f415a"> 25</a></span>&#160;<span class="preprocessor">#define CHECK_PID(pid) ( pid != 0x2303 &amp;&amp; pid != 0x0609 )</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span
2016-04-19 18:16:46 +02:00
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627af55eb000231282fd0e3556a1c4e1dab8"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627af55eb000231282fd0e3556a1c4e1dab8">type_1</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00115">cdcprolific.h:115</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fba85a29accfd1f300da85475fe594131ef"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fba85a29accfd1f300da85475fe594131ef">kXOnSent</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00105">cdcprolific.h:105</a></div></div>
2015-04-07 16:07:33 +02:00
<div class="ttc" id="class_p_l2303_html_a23c849fb504c1fe6f46c84d04c0a47cf"><div class="ttname"><a href="class_p_l2303.html#a23c849fb504c1fe6f46c84d04c0a47cf">PL2303::Init</a></div><div class="ttdeci">uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8cpp_source.html#l00024">cdcprolific.cpp:24</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="class_p_l2303_html_ab3dfad9e451152abbdab4856accbb80c"><div class="ttname"><a href="class_p_l2303.html#ab3dfad9e451152abbdab4856accbb80c">PL2303::PL2303</a></div><div class="ttdeci">PL2303(USB *pusb, CDCAsyncOper *pasync)</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8cpp_source.html#l00019">cdcprolific.cpp:19</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00165">cdcacm.h:165</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="cdcprolific_8h_html_a242bbbe616270b5c01d3614dbe57fe45"><div class="ttname"><a href="cdcprolific_8h.html#a242bbbe616270b5c01d3614dbe57fe45">VENDOR_WRITE_REQUEST_TYPE</a></div><div class="ttdeci">#define VENDOR_WRITE_REQUEST_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00074">cdcprolific.h:74</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627ae3ab850ab73c2f8a25d1fcd8a3336ada"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627ae3ab850ab73c2f8a25d1fcd8a3336ada">rev_X</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00116">cdcprolific.h:116</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a230385b0735fad9d7b33e4f80d7deb4d"><div class="ttname"><a href="cdcprolific_8h.html#a230385b0735fad9d7b33e4f80d7deb4d">VENDOR_READ_REQUEST</a></div><div class="ttdeci">#define VENDOR_READ_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00078">cdcprolific.h:78</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fb"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fb">tXO_State</a></div><div class="ttdeci">tXO_State</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00104">cdcprolific.h:104</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fba3a3441d7b96b577a695864955081644d"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fba3a3441d7b96b577a695864955081644d">kXOffNeeded</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00108">cdcprolific.h:108</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_html_a636695a5c3d35cd6b9e31c54edfacd7c"><div class="ttname"><a href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">USB::ctrlReq</a></div><div class="ttdeci">uint8_t ctrlReq(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, USBReadParser *p)</div><div class="ttdef"><b>Definition:</b> <a href="_usb_8cpp_source.html#l00133">Usb.cpp:133</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fbacd69a72b64873b169216781514aab2d8"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fbacd69a72b64873b169216781514aab2d8">kXOffSent</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00106">cdcprolific.h:106</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627a6035ccdf4905b89a274404ba50766fd7"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627a6035ccdf4905b89a274404ba50766fd7">rev_HX</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00117">cdcprolific.h:117</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627a5b9f6d065e6e98483b3d3ed01f4f6cbe"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627a5b9f6d065e6e98483b3d3ed01f4f6cbe">unknown</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00113">cdcprolific.h:113</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627a470a1f7e2c7dc1770a57096718f625d4"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627a470a1f7e2c7dc1770a57096718f625d4">rev_H</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00118">cdcprolific.h:118</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fba692a434f5e6e0dc6487eb855a2d45ff0"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fba692a434f5e6e0dc6487eb855a2d45ff0">kXOnNeeded</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00109">cdcprolific.h:109</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627">pl2303_type</a></div><div class="ttdeci">pl2303_type</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00112">cdcprolific.h:112</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_a_c_m_html_abaa06a619a519f4cb39cc8482af6f111"><div class="ttname"><a href="class_a_c_m.html#abaa06a619a519f4cb39cc8482af6f111">ACM::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00167">cdcacm.h:167</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="cdcacm_8h_html"><div class="ttname"><a href="cdcacm_8h.html">cdcacm.h</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_c_d_c_async_oper_html"><div class="ttname"><a href="class_c_d_c_async_oper.html">CDCAsyncOper</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00128">cdcacm.h:128</a></div></div>
2016-04-19 18:16:46 +02:00
<div class="ttc" id="class_p_l2303_html"><div class="ttname"><a href="class_p_l2303.html">PL2303</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00122">cdcprolific.h:122</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_add931a54ea58b7022eab1911dfd744fbafa4e17811895e3cfdc0fd24f1ebc80fb"><div class="ttname"><a href="cdcprolific_8h.html#add931a54ea58b7022eab1911dfd744fbafa4e17811895e3cfdc0fd24f1ebc80fb">kXO_Idle</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00107">cdcprolific.h:107</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_aa0dae52300cd2ca352f5d3cd2194824b"><div class="ttname"><a href="cdcprolific_8h.html#aa0dae52300cd2ca352f5d3cd2194824b">VENDOR_WRITE_REQUEST</a></div><div class="ttdeci">#define VENDOR_WRITE_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00075">cdcprolific.h:75</a></div></div>
<div class="ttc" id="cdcprolific_8h_html_a6003f43ffe2391c0c31ea48f6b772627af7bb5f5cb18b8f8cac6c93db12ad7997"><div class="ttname"><a href="cdcprolific_8h.html#a6003f43ffe2391c0c31ea48f6b772627af7bb5f5cb18b8f8cac6c93db12ad7997">type_0</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcprolific_8h_source.html#l00114">cdcprolific.h:114</a></div></div>
2018-10-13 15:47:19 +02:00
<div class="ttc" id="class_u_s_b_html"><div class="ttname"><a href="class_u_s_b.html">USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00208">UsbCore.h:208</a></div></div>
2015-04-07 16:07:33 +02:00
<div class="ttc" id="class_a_c_m_html"><div class="ttname"><a href="class_a_c_m.html">ACM</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00163">cdcacm.h:163</a></div></div>
2013-01-30 22:00:18 +01:00
</div><!-- fragment --></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"/>
2018-10-13 15:47:19 +02:00
</a> 1.8.14
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>