OpenCores
URL https://opencores.org/ocsvn/usb_fpga_2_14/usb_fpga_2_14/trunk

Subversion Repositories usb_fpga_2_14

[/] [usb_fpga_2_14/] [trunk/] [docs/] [java/] [ztex/] [EzUsb.html] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!-- NewPage -->
3
<html lang="de">
4
<head>
5
<!-- Generated by javadoc (version 1.7.0_79) on Wed Mar 22 19:20:12 CET 2017 -->
6
<title>EzUsb</title>
7
<meta name="date" content="2017-03-22">
8
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
9
</head>
10
<body>
11
<script type="text/javascript"><!--
12
    if (location.href.indexOf('is-external=true') == -1) {
13
        parent.document.title="EzUsb";
14
    }
15
//-->
16
</script>
17
<noscript>
18
<div>JavaScript is disabled on your browser.</div>
19
</noscript>
20
<!-- ========= START OF TOP NAVBAR ======= -->
21
<div class="topNav"><a name="navbar_top">
22
<!--   -->
23
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24
<!--   -->
25
</a>
26
<ul class="navList" title="Navigation">
27
<li><a href="../ztex/package-summary.html">Package</a></li>
28
<li class="navBarCell1Rev">Class</li>
29
<li><a href="package-tree.html">Tree</a></li>
30
<li><a href="../deprecated-list.html">Deprecated</a></li>
31
<li><a href="../index-all.html">Index</a></li>
32
<li><a href="../help-doc.html">Help</a></li>
33
</ul>
34
</div>
35
<div class="subNav">
36
<ul class="navList">
37
<li><a href="../ztex/DeviceNotSupportedException.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
38
<li><a href="../ztex/FirmwareUploadException.html" title="class in ztex"><span class="strong">Next Class</span></a></li>
39
</ul>
40
<ul class="navList">
41
<li><a href="../index.html?ztex/EzUsb.html" target="_top">Frames</a></li>
42
<li><a href="EzUsb.html" target="_top">No Frames</a></li>
43
</ul>
44
<ul class="navList" id="allclasses_navbar_top">
45
<li><a href="../allclasses-noframe.html">All Classes</a></li>
46
</ul>
47
<div>
48
<script type="text/javascript"><!--
49
  allClassesLink = document.getElementById("allclasses_navbar_top");
50
  if(window==top) {
51
    allClassesLink.style.display = "block";
52
  }
53
  else {
54
    allClassesLink.style.display = "none";
55
  }
56
  //-->
57
</script>
58
</div>
59
<div>
60
<ul class="subNavList">
61
<li>Summary:&nbsp;</li>
62
<li>Nested&nbsp;|&nbsp;</li>
63
<li>Field&nbsp;|&nbsp;</li>
64
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
65
<li><a href="#method_summary">Method</a></li>
66
</ul>
67
<ul class="subNavList">
68
<li>Detail:&nbsp;</li>
69
<li>Field&nbsp;|&nbsp;</li>
70
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
71
<li><a href="#method_detail">Method</a></li>
72
</ul>
73
</div>
74
<a name="skip-navbar_top">
75
<!--   -->
76
</a></div>
77
<!-- ========= END OF TOP NAVBAR ========= -->
78
<!-- ======== START OF CLASS DATA ======== -->
79
<div class="header">
80
<div class="subTitle">ztex</div>
81
<h2 title="Class EzUsb" class="title">Class EzUsb</h2>
82
</div>
83
<div class="contentContainer">
84
<ul class="inheritance">
85
<li>java.lang.Object</li>
86
<li>
87
<ul class="inheritance">
88
<li>ztex.EzUsb</li>
89
</ul>
90
</li>
91
</ul>
92
<div class="description">
93
<ul class="blockList">
94
<li class="blockList">
95
<hr>
96
<br>
97
<pre>public class <span class="strong">EzUsb</span>
98
extends java.lang.Object</pre>
99
<div class="block">Provides methods for uploading firmware to Cypress EZ-USB devices.</div>
100
</li>
101
</ul>
102
</div>
103
<div class="summary">
104
<ul class="blockList">
105
<li class="blockList">
106
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
107
<ul class="blockList">
108
<li class="blockList"><a name="constructor_summary">
109
<!--   -->
110
</a>
111
<h3>Constructor Summary</h3>
112
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
113
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
114
<tr>
115
<th class="colOne" scope="col">Constructor and Description</th>
116
</tr>
117
<tr class="altColor">
118
<td class="colOne"><code><strong><a href="../ztex/EzUsb.html#EzUsb()">EzUsb</a></strong>()</code>&nbsp;</td>
119
</tr>
120
</table>
121
</li>
122
</ul>
123
<!-- ========== METHOD SUMMARY =========== -->
124
<ul class="blockList">
125
<li class="blockList"><a name="method_summary">
126
<!--   -->
127
</a>
128
<h3>Method Summary</h3>
129
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
130
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
131
<tr>
132
<th class="colFirst" scope="col">Modifier and Type</th>
133
<th class="colLast" scope="col">Method and Description</th>
134
</tr>
135
<tr class="altColor">
136
<td class="colFirst"><code>static void</code></td>
137
<td class="colLast"><code><strong><a href="../ztex/EzUsb.html#resetFx2(org.usb4java.DeviceHandle,%20boolean)">resetFx2</a></strong>(org.usb4java.DeviceHandle&nbsp;handle,
138
        boolean&nbsp;r)</code>
139
<div class="block">Controls the reset state of a Cypress EZ-USB device.</div>
140
</td>
141
</tr>
142
<tr class="rowColor">
143
<td class="colFirst"><code>static long</code></td>
144
<td class="colLast"><code><strong><a href="../ztex/EzUsb.html#uploadFirmware(org.usb4java.DeviceHandle,%20ztex.ImgFile)">uploadFirmware</a></strong>(org.usb4java.DeviceHandle&nbsp;handle,
145
              <a href="../ztex/ImgFile.html" title="class in ztex">ImgFile</a>&nbsp;imgFile)</code>
146
<div class="block">Uploads the Firmware to a Cypress EZ-USB device.</div>
147
</td>
148
</tr>
149
</table>
150
<ul class="blockList">
151
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
152
<!--   -->
153
</a>
154
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
155
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
156
</ul>
157
</li>
158
</ul>
159
</li>
160
</ul>
161
</div>
162
<div class="details">
163
<ul class="blockList">
164
<li class="blockList">
165
<!-- ========= CONSTRUCTOR DETAIL ======== -->
166
<ul class="blockList">
167
<li class="blockList"><a name="constructor_detail">
168
<!--   -->
169
</a>
170
<h3>Constructor Detail</h3>
171
<a name="EzUsb()">
172
<!--   -->
173
</a>
174
<ul class="blockListLast">
175
<li class="blockList">
176
<h4>EzUsb</h4>
177
<pre>public&nbsp;EzUsb()</pre>
178
</li>
179
</ul>
180
</li>
181
</ul>
182
<!-- ============ METHOD DETAIL ========== -->
183
<ul class="blockList">
184
<li class="blockList"><a name="method_detail">
185
<!--   -->
186
</a>
187
<h3>Method Detail</h3>
188
<a name="resetFx2(org.usb4java.DeviceHandle, boolean)">
189
<!--   -->
190
</a>
191
<ul class="blockList">
192
<li class="blockList">
193
<h4>resetFx2</h4>
194
<pre>public static&nbsp;void&nbsp;resetFx2(org.usb4java.DeviceHandle&nbsp;handle,
195
            boolean&nbsp;r)
196
                     throws <a href="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</a></pre>
197
<div class="block">Controls the reset state of a Cypress EZ-USB device.</div>
198
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>handle</code> - The handle of the device.</dd><dd><code>r</code> - The reset state (true means reset).</dd>
199
<dt><span class="strong">Throws:</span></dt>
200
<dd><code><a href="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</a></code> - if an error occurred while attempting to control the reset state.</dd></dl>
201
</li>
202
</ul>
203
<a name="uploadFirmware(org.usb4java.DeviceHandle, ztex.ImgFile)">
204
<!--   -->
205
</a>
206
<ul class="blockListLast">
207
<li class="blockList">
208
<h4>uploadFirmware</h4>
209
<pre>public static&nbsp;long&nbsp;uploadFirmware(org.usb4java.DeviceHandle&nbsp;handle,
210
                  <a href="../ztex/ImgFile.html" title="class in ztex">ImgFile</a>&nbsp;imgFile)
211
                           throws <a href="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</a></pre>
212
<div class="block">Uploads the Firmware to a Cypress EZ-USB device.</div>
213
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>handle</code> - The handle of the device.</dd><dd><code>imgFile</code> - The firmware image.</dd>
214
<dt><span class="strong">Returns:</span></dt><dd>the upload time in ms.</dd>
215
<dt><span class="strong">Throws:</span></dt>
216
<dd><code><a href="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</a></code> - if an error occurred while attempting to upload the firmware.</dd></dl>
217
</li>
218
</ul>
219
</li>
220
</ul>
221
</li>
222
</ul>
223
</div>
224
</div>
225
<!-- ========= END OF CLASS DATA ========= -->
226
<!-- ======= START OF BOTTOM NAVBAR ====== -->
227
<div class="bottomNav"><a name="navbar_bottom">
228
<!--   -->
229
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
230
<!--   -->
231
</a>
232
<ul class="navList" title="Navigation">
233
<li><a href="../ztex/package-summary.html">Package</a></li>
234
<li class="navBarCell1Rev">Class</li>
235
<li><a href="package-tree.html">Tree</a></li>
236
<li><a href="../deprecated-list.html">Deprecated</a></li>
237
<li><a href="../index-all.html">Index</a></li>
238
<li><a href="../help-doc.html">Help</a></li>
239
</ul>
240
</div>
241
<div class="subNav">
242
<ul class="navList">
243
<li><a href="../ztex/DeviceNotSupportedException.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
244
<li><a href="../ztex/FirmwareUploadException.html" title="class in ztex"><span class="strong">Next Class</span></a></li>
245
</ul>
246
<ul class="navList">
247
<li><a href="../index.html?ztex/EzUsb.html" target="_top">Frames</a></li>
248
<li><a href="EzUsb.html" target="_top">No Frames</a></li>
249
</ul>
250
<ul class="navList" id="allclasses_navbar_bottom">
251
<li><a href="../allclasses-noframe.html">All Classes</a></li>
252
</ul>
253
<div>
254
<script type="text/javascript"><!--
255
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
256
  if(window==top) {
257
    allClassesLink.style.display = "block";
258
  }
259
  else {
260
    allClassesLink.style.display = "none";
261
  }
262
  //-->
263
</script>
264
</div>
265
<div>
266
<ul class="subNavList">
267
<li>Summary:&nbsp;</li>
268
<li>Nested&nbsp;|&nbsp;</li>
269
<li>Field&nbsp;|&nbsp;</li>
270
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
271
<li><a href="#method_summary">Method</a></li>
272
</ul>
273
<ul class="subNavList">
274
<li>Detail:&nbsp;</li>
275
<li>Field&nbsp;|&nbsp;</li>
276
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
277
<li><a href="#method_detail">Method</a></li>
278
</ul>
279
</div>
280
<a name="skip-navbar_bottom">
281
<!--   -->
282
</a></div>
283
<!-- ======== END OF BOTTOM NAVBAR ======= -->
284
</body>
285
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.