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/] [ZtexDevice1.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:13 CET 2017 -->
6
<title>ZtexDevice1</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="ZtexDevice1";
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/ZtexContext.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
38
<li><a href="../ztex/ZtexEventHandler.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/ZtexDevice1.html" target="_top">Frames</a></li>
42
<li><a href="ZtexDevice1.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><a href="#field_summary">Field</a>&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><a href="#field_detail">Field</a>&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 ZtexDevice1" class="title">Class ZtexDevice1</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.ZtexDevice1</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">ZtexDevice1</span>
98
extends java.lang.Object</pre>
99
<div class="block">A class representing an EZ-USB device that supports the ZTEX descriptor 1 or an unconfigured EZ-USB device.<br>
100
 Instances of this class are usually created by <a href="../ztex/ZtexScanBus1.html" title="class in ztex"><code>ZtexScanBus1</code></a>.
101
 The following table describes the ZTEX descriptor 1.
102
 <a name="descriptor"></a>
103
 <table bgcolor="#404040" cellspacing=1 cellpadding=4>
104
   <tr>
105
     <td bgcolor="#d0d0d0" valign="top"><b>Field name</b></td>
106
     <td bgcolor="#d0d0d0" valign="top"><b>Offset</b></td>
107
     <td bgcolor="#d0d0d0" valign="top"><b>Size</b></td>
108
     <td bgcolor="#d0d0d0" valign="top"><b>Description</b></td>
109
   </tr>
110
   <tr>
111
     <td bgcolor="#ffffff" valign="top">ZTEX_DESCRIPTOR_SIZE</td>
112
     <td bgcolor="#ffffff" valign="top">0</td>
113
     <td bgcolor="#ffffff" valign="top">1</td>
114
     <td bgcolor="#ffffff" valign="top">Size of the descriptor in bytes; must be 40 for descriptor version 1</td>
115
   </tr>
116
   <tr>
117
     <td bgcolor="#ffffff" valign="top">ZTEX_DESCRIPTOR_VERSION</td>
118
     <td bgcolor="#ffffff" valign="top">1</td>
119
     <td bgcolor="#ffffff" valign="top">1</td>
120
     <td bgcolor="#ffffff" valign="top">Descriptor version; 1 for version 1</td>
121
   </tr>
122
   <tr>
123
     <td bgcolor="#ffffff" valign="top">ZTEXID</td>
124
     <td bgcolor="#ffffff" valign="top">2</td>
125
     <td bgcolor="#ffffff" valign="top">4</td>
126
     <td bgcolor="#ffffff" valign="top">ID; must be "ZTEX"</td>
127
   </tr>
128
   <tr>
129
     <td bgcolor="#ffffff" valign="top">PRODUCT_ID</td>
130
     <td bgcolor="#ffffff" valign="top">6</td>
131
     <td bgcolor="#ffffff" valign="top">4</td>
132
     <td bgcolor="#ffffff" valign="top">Four numbers (0..255) representing the product ID and firmware compatibility information.<br>
133
         A firmware can overwrite an installed one<br>
134
           <pre>if ( INSTALLED.PRODUCTID[0]==0 || PRODUCTID[0]==0 || INSTALLED.PRODUCTID[0]==PRODUCTID[0] ) &&
135
   ( INSTALLED.PRODUCTID[1]==0 || PRODUCTID[1]==0 || INSTALLED.PRODUCTID[1]==PRODUCTID[1] ) &&
136
   ( INSTALLED.PRODUCTID[2]==0 || PRODUCTID[2]==0 || INSTALLED.PRODUCTID[2]==PRODUCTID[2] ) &&
137
   ( INSTALLED.PRODUCTID[3]==0 || PRODUCTID[3]==0 || INSTALLED.PRODUCTID[3]==PRODUCTID[3] ) </pre>
138
       Here is a list of the preserved product ID's:
139
       <table><tr><td>&nbsp</td><td>
140
         <table>
141
          <tr><td>0.0.0.0</td> <td>default Product ID (no product specified)</td></tr>
142
           <tr><td>1.*.*.*</td> <td>may be used for experimental purposes</td></tr>
143
           <tr><td>10.*.*.*</td> <td>used for ZTEX products</td></tr>
144
           <tr><td>10.11.*.*</td> <td>ZTEX USB-FPGA-Module 1.2</td></tr>
145
           <tr><td>10.12.*.*</td> <td>ZTEX USB-FPGA-Module 1.11</td></tr>
146
              <tr><td>10.12.2.1..4</td> <td>NIT (http://www.niteurope.com/)</td></tr>
147
           <tr><td>10.13.*.*</td> <td>ZTEX USB-FPGA-Module 1.15 (not 1.15y)</td></tr>
148
           <tr><td>10.14.*.*</td> <td>ZTEX USB-FPGA-Module 1.15x</td></tr>
149
           <tr><td>10.15.*.*</td> <td>ZTEX USB-FPGA-Module 1.15y</td></tr>
150
           <tr><td>10.16.*.*</td> <td> ZTEX USB-FPGA-Module 2.16</td></tr>
151
           <tr><td>10.17.*.*</td> <td>ZTEX USB-FPGA-Module 2.13</td></tr>
152
           <tr><td>10.18.*.*</td> <td>ZTEX USB-FPGA-Module 2.01</td></tr>
153
           <tr><td>10.19.*.*</td> <td>ZTEX USB-FPGA-Module 2.04</td></tr>
154
           <tr><td>10.20.*.*</td> <td>ZTEX USB-Module 1.0</td></tr>
155
           <tr><td>10.30.*.*</td> <td>ZTEX USB-XMEGA-Module 1.0</td></tr>
156
           <tr><td>10.40.*.*</td> <td>ZTEX USB-FPGA-Module 2.02</td></tr>
157
           <tr><td>10.41.*.*</td> <td>ZTEX USB-FPGA-Module 2.14</td></tr>
158
           <tr><td>10.0.1.1</td> <td>ZTEX BTCMiner firmware</td></tr>
159
         </table></td></tr></table>
160
         Please contact us (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range).
161
       </td>
162
   </tr>
163
   <tr>
164
     <td bgcolor="#ffffff" valign="top">FW_VERSION</td>
165
     <td bgcolor="#ffffff" valign="top">10</td>
166
     <td bgcolor="#ffffff" valign="top">1</td>
167
     <td bgcolor="#ffffff" valign="top">May be used to specify the firmware version.</td>
168
   </tr>
169
   <tr>
170
     <td bgcolor="#ffffff" valign="top">INTERFACE_VERSION</td>
171
     <td bgcolor="#ffffff" valign="top">11</td>
172
     <td bgcolor="#ffffff" valign="top">1</td>
173
     <td bgcolor="#ffffff" valign="top">The interface version. This number specifies the protocol that is used for interfacing the host software. A description of interface version 1 can be found in <a href="../ztex/Ztex1v1.html" title="class in ztex"><code>Ztex1v1</code></a> </td>
174
   </tr>
175
   <tr>
176
     <td bgcolor="#ffffff" valign="top">INTERFACE_CAPABILITIES</td>
177
     <td bgcolor="#ffffff" valign="top">12</td>
178
     <td bgcolor="#ffffff" valign="top">6</td>
179
     <td bgcolor="#ffffff" valign="top">6 bytes, each bit represents a capability. If set, the capability is supported. A description of the capabilities of interface version 1 can be found in <a href="../ztex/Ztex1v1.html" title="class in ztex"><code>Ztex1v1</code></a> </td>
180
   </tr>
181
   <tr>
182
     <td bgcolor="#ffffff" valign="top">MODULE_RESERVED</td>
183
     <td bgcolor="#ffffff" valign="top">18</td>
184
     <td bgcolor="#ffffff" valign="top">12</td>
185
     <td bgcolor="#ffffff" valign="top">12 bytes for application specific use, i.e. they depend from the PRODUCT_ID </td>
186
   </tr>
187
   <tr>
188
     <td bgcolor="#ffffff" valign="top">SN_STRING</td>
189
     <td bgcolor="#ffffff" valign="top">30</td>
190
     <td bgcolor="#ffffff" valign="top">10</td>
191
     <td bgcolor="#ffffff" valign="top">A serial number string of 10 characters. The default SN is "0000000000"</td> </td>
192
   </tr>
193
 </table></div>
194
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../ztex/Ztex1.html" title="class in ztex"><code>Ztex1</code></a>,
195
<a href="../ztex/Ztex1v1.html" title="class in ztex"><code>Ztex1v1</code></a>,
196
<a href="../ztex/ZtexScanBus1.html" title="class in ztex"><code>ZtexScanBus1</code></a></dd></dl>
197
</li>
198
</ul>
199
</div>
200
<div class="summary">
201
<ul class="blockList">
202
<li class="blockList">
203
<!-- =========== FIELD SUMMARY =========== -->
204
<ul class="blockList">
205
<li class="blockList"><a name="field_summary">
206
<!--   -->
207
</a>
208
<h3>Field Summary</h3>
209
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
210
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
211
<tr>
212
<th class="colFirst" scope="col">Modifier and Type</th>
213
<th class="colLast" scope="col">Field and Description</th>
214
</tr>
215
<tr class="altColor">
216
<td class="colFirst"><code>static int</code></td>
217
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#cypressProductIdBuggy">cypressProductIdBuggy</a></strong></code>
218
<div class="block">Product ID of buggy FX3 devices (datecode 1149)</div>
219
</td>
220
</tr>
221
<tr class="rowColor">
222
<td class="colFirst"><code>static int</code></td>
223
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#cypressProductIdFx2">cypressProductIdFx2</a></strong></code>
224
<div class="block">EZ-USB USB FX2 product ID: 0x8613</div>
225
</td>
226
</tr>
227
<tr class="altColor">
228
<td class="colFirst"><code>static int</code></td>
229
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#cypressProductIdFx3">cypressProductIdFx3</a></strong></code>
230
<div class="block">EZ-USB USB FX3 product ID: 0x00f3</div>
231
</td>
232
</tr>
233
<tr class="rowColor">
234
<td class="colFirst"><code>static int</code></td>
235
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#cypressVendorId">cypressVendorId</a></strong></code>
236
<div class="block">Cypress vendor ID: 0x4b4</div>
237
</td>
238
</tr>
239
<tr class="altColor">
240
<td class="colFirst"><code>static int</code></td>
241
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#cypressVendorIdBuggy">cypressVendorIdBuggy</a></strong></code>
242
<div class="block">Vendor ID of buggy FX3 devices (datecode 1149)</div>
243
</td>
244
</tr>
245
<tr class="rowColor">
246
<td class="colFirst"><code>static int</code></td>
247
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#ztexProductId">ztexProductId</a></strong></code>
248
<div class="block">USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x100.</div>
249
</td>
250
</tr>
251
<tr class="altColor">
252
<td class="colFirst"><code>static int</code></td>
253
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#ztexProductIdMax">ztexProductIdMax</a></strong></code>
254
<div class="block">Largest USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x1ff.</div>
255
</td>
256
</tr>
257
<tr class="rowColor">
258
<td class="colFirst"><code>static int</code></td>
259
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#ztexVendorId">ztexVendorId</a></strong></code>
260
<div class="block">ZTEX vendor ID: 0x221a</div>
261
</td>
262
</tr>
263
</table>
264
</li>
265
</ul>
266
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
267
<ul class="blockList">
268
<li class="blockList"><a name="constructor_summary">
269
<!--   -->
270
</a>
271
<h3>Constructor Summary</h3>
272
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
273
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
274
<tr>
275
<th class="colOne" scope="col">Constructor and Description</th>
276
</tr>
277
<tr class="altColor">
278
<td class="colOne"><code><strong><a href="../ztex/ZtexDevice1.html#ZtexDevice1(ztex.ZtexContext,%20org.usb4java.Device,%20int,%20int,%20boolean)">ZtexDevice1</a></strong>(<a href="../ztex/ZtexContext.html" title="class in ztex">ZtexContext</a>&nbsp;p_context,
279
           org.usb4java.Device&nbsp;p_dev,
280
           int&nbsp;pUsbVendorId,
281
           int&nbsp;pUsbProductId,
282
           boolean&nbsp;allowUnconfigured)</code>
283
<div class="block">Constructs an instance from a given USB device.</div>
284
</td>
285
</tr>
286
</table>
287
</li>
288
</ul>
289
<!-- ========== METHOD SUMMARY =========== -->
290
<ul class="blockList">
291
<li class="blockList"><a name="method_summary">
292
<!--   -->
293
</a>
294
<h3>Method Summary</h3>
295
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
296
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
297
<tr>
298
<th class="colFirst" scope="col">Modifier and Type</th>
299
<th class="colLast" scope="col">Method and Description</th>
300
</tr>
301
<tr class="altColor">
302
<td class="colFirst"><code>static java.lang.String</code></td>
303
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#byteArrayString(byte[])">byteArrayString</a></strong>(byte[]&nbsp;buf)</code>
304
<div class="block">Produces a nice string representation of an array of bytes.</div>
305
</td>
306
</tr>
307
<tr class="rowColor">
308
<td class="colFirst"><code>boolean</code></td>
309
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#compatible(int,%20int,%20int,%20int)">compatible</a></strong>(int&nbsp;productId0,
310
          int&nbsp;productId1,
311
          int&nbsp;productId2,
312
          int&nbsp;productId3)</code>
313
<div class="block">Checks whether the given product ID is compatible to the device.</div>
314
</td>
315
</tr>
316
<tr class="altColor">
317
<td class="colFirst"><code><a href="../ztex/ZtexContext.html" title="class in ztex">ZtexContext</a></code></td>
318
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#context()">context</a></strong>()</code>
319
<div class="block">Returns the USB context of the device.</div>
320
</td>
321
</tr>
322
<tr class="rowColor">
323
<td class="colFirst"><code>org.usb4java.Device</code></td>
324
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#dev()">dev</a></strong>()</code>
325
<div class="block">Returns the USB device.</div>
326
</td>
327
</tr>
328
<tr class="altColor">
329
<td class="colFirst"><code>protected void</code></td>
330
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#finalize()">finalize</a></strong>()</code>
331
<div class="block">Releases all resources.</div>
332
</td>
333
</tr>
334
<tr class="rowColor">
335
<td class="colFirst"><code>int</code></td>
336
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#fwVersion()">fwVersion</a></strong>()</code>
337
<div class="block">Returns the firmware version.</div>
338
</td>
339
</tr>
340
<tr class="altColor">
341
<td class="colFirst"><code>boolean</code></td>
342
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#fx3()">fx3</a></strong>()</code>
343
<div class="block">Returns true if device is an FX3</div>
344
</td>
345
</tr>
346
<tr class="rowColor">
347
<td class="colFirst"><code>byte[]</code></td>
348
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#interfaceCapabilities()">interfaceCapabilities</a></strong>()</code>
349
<div class="block">Returns the interface capabilities (all 6 bytes).</div>
350
</td>
351
</tr>
352
<tr class="altColor">
353
<td class="colFirst"><code>int</code></td>
354
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#interfaceCapabilities(int)">interfaceCapabilities</a></strong>(int&nbsp;i)</code>
355
<div class="block">Returns byte i of the interface capabilities.</div>
356
</td>
357
</tr>
358
<tr class="rowColor">
359
<td class="colFirst"><code>boolean</code></td>
360
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#interfaceCapabilities(int,%20int)">interfaceCapabilities</a></strong>(int&nbsp;i,
361
                     int&nbsp;j)</code>
362
<div class="block">Returns byte i, bit j  of the interface capabilities.</div>
363
</td>
364
</tr>
365
<tr class="altColor">
366
<td class="colFirst"><code>int</code></td>
367
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#interfaceVersion()">interfaceVersion</a></strong>()</code>
368
<div class="block">Returns the interface version.</div>
369
</td>
370
</tr>
371
<tr class="rowColor">
372
<td class="colFirst"><code>java.lang.String</code></td>
373
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#manufacturerString()">manufacturerString</a></strong>()</code>
374
<div class="block">Returns the manufacturer string of the device.</div>
375
</td>
376
</tr>
377
<tr class="altColor">
378
<td class="colFirst"><code>byte[]</code></td>
379
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#moduleReserved()">moduleReserved</a></strong>()</code>
380
<div class="block">Returns the application specific information (all 12 bytes).</div>
381
</td>
382
</tr>
383
<tr class="rowColor">
384
<td class="colFirst"><code>int</code></td>
385
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#moduleReserved(int)">moduleReserved</a></strong>(int&nbsp;i)</code>
386
<div class="block">Returns byte i of the application specific information.</div>
387
</td>
388
</tr>
389
<tr class="altColor">
390
<td class="colFirst"><code>java.lang.String</code></td>
391
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#name()">name</a></strong>()</code>
392
<div class="block">Returns a name that identifies the device.</div>
393
</td>
394
</tr>
395
<tr class="rowColor">
396
<td class="colFirst"><code>static java.lang.String</code></td>
397
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#name(org.usb4java.Device)">name</a></strong>(org.usb4java.Device&nbsp;p_dev)</code>
398
<div class="block">Returns a name that identifies a device.</div>
399
</td>
400
</tr>
401
<tr class="altColor">
402
<td class="colFirst"><code>byte[]</code></td>
403
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#productId()">productId</a></strong>()</code>
404
<div class="block">Returns the product ID (all 4 bytes).</div>
405
</td>
406
</tr>
407
<tr class="rowColor">
408
<td class="colFirst"><code>int</code></td>
409
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#productId(int)">productId</a></strong>(int&nbsp;i)</code>
410
<div class="block">Returns byte i of the product ID.</div>
411
</td>
412
</tr>
413
<tr class="altColor">
414
<td class="colFirst"><code>java.lang.String</code></td>
415
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#productString()">productString</a></strong>()</code>
416
<div class="block">Returns the product string of the device.</div>
417
</td>
418
</tr>
419
<tr class="rowColor">
420
<td class="colFirst"><code>void</code></td>
421
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#ref()">ref</a></strong>()</code>
422
<div class="block">Increases reference counter.</div>
423
</td>
424
</tr>
425
<tr class="altColor">
426
<td class="colFirst"><code>java.lang.String</code></td>
427
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#snString()">snString</a></strong>()</code>
428
<div class="block">Returns the serial number string of the device.</div>
429
</td>
430
</tr>
431
<tr class="rowColor">
432
<td class="colFirst"><code>java.lang.String</code></td>
433
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#toString()">toString</a></strong>()</code>
434
<div class="block">Returns a string representation if the device with a lot of useful information.</div>
435
</td>
436
</tr>
437
<tr class="altColor">
438
<td class="colFirst"><code>void</code></td>
439
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#unref()">unref</a></strong>()</code>
440
<div class="block">Decreases reference counter and rleases resources if 0 is reached.</div>
441
</td>
442
</tr>
443
<tr class="rowColor">
444
<td class="colFirst"><code>int</code></td>
445
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#usbProductId()">usbProductId</a></strong>()</code>
446
<div class="block">Returns the USB product ID of the device.</div>
447
</td>
448
</tr>
449
<tr class="altColor">
450
<td class="colFirst"><code>int</code></td>
451
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#usbVendorId()">usbVendorId</a></strong>()</code>
452
<div class="block">Returns the USB vendor ID of the device.</div>
453
</td>
454
</tr>
455
<tr class="rowColor">
456
<td class="colFirst"><code>boolean</code></td>
457
<td class="colLast"><code><strong><a href="../ztex/ZtexDevice1.html#valid()">valid</a></strong>()</code>
458
<div class="block">Returns true if ZTEX descriptor 1 is available.</div>
459
</td>
460
</tr>
461
</table>
462
<ul class="blockList">
463
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
464
<!--   -->
465
</a>
466
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
467
<code>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
468
</ul>
469
</li>
470
</ul>
471
</li>
472
</ul>
473
</div>
474
<div class="details">
475
<ul class="blockList">
476
<li class="blockList">
477
<!-- ============ FIELD DETAIL =========== -->
478
<ul class="blockList">
479
<li class="blockList"><a name="field_detail">
480
<!--   -->
481
</a>
482
<h3>Field Detail</h3>
483
<a name="cypressVendorId">
484
<!--   -->
485
</a>
486
<ul class="blockList">
487
<li class="blockList">
488
<h4>cypressVendorId</h4>
489
<pre>public static final&nbsp;int cypressVendorId</pre>
490
<div class="block">Cypress vendor ID: 0x4b4</div>
491
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.cypressVendorId">Constant Field Values</a></dd></dl>
492
</li>
493
</ul>
494
<a name="cypressProductIdFx2">
495
<!--   -->
496
</a>
497
<ul class="blockList">
498
<li class="blockList">
499
<h4>cypressProductIdFx2</h4>
500
<pre>public static final&nbsp;int cypressProductIdFx2</pre>
501
<div class="block">EZ-USB USB FX2 product ID: 0x8613</div>
502
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.cypressProductIdFx2">Constant Field Values</a></dd></dl>
503
</li>
504
</ul>
505
<a name="cypressProductIdFx3">
506
<!--   -->
507
</a>
508
<ul class="blockList">
509
<li class="blockList">
510
<h4>cypressProductIdFx3</h4>
511
<pre>public static final&nbsp;int cypressProductIdFx3</pre>
512
<div class="block">EZ-USB USB FX3 product ID: 0x00f3</div>
513
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.cypressProductIdFx3">Constant Field Values</a></dd></dl>
514
</li>
515
</ul>
516
<a name="cypressVendorIdBuggy">
517
<!--   -->
518
</a>
519
<ul class="blockList">
520
<li class="blockList">
521
<h4>cypressVendorIdBuggy</h4>
522
<pre>public static final&nbsp;int cypressVendorIdBuggy</pre>
523
<div class="block">Vendor ID of buggy FX3 devices (datecode 1149)</div>
524
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.cypressVendorIdBuggy">Constant Field Values</a></dd></dl>
525
</li>
526
</ul>
527
<a name="cypressProductIdBuggy">
528
<!--   -->
529
</a>
530
<ul class="blockList">
531
<li class="blockList">
532
<h4>cypressProductIdBuggy</h4>
533
<pre>public static final&nbsp;int cypressProductIdBuggy</pre>
534
<div class="block">Product ID of buggy FX3 devices (datecode 1149)</div>
535
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.cypressProductIdBuggy">Constant Field Values</a></dd></dl>
536
</li>
537
</ul>
538
<a name="ztexVendorId">
539
<!--   -->
540
</a>
541
<ul class="blockList">
542
<li class="blockList">
543
<h4>ztexVendorId</h4>
544
<pre>public static final&nbsp;int ztexVendorId</pre>
545
<div class="block">ZTEX vendor ID: 0x221a</div>
546
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#ztex.ZtexDevice1.ztexVendorId">Constant Field Values</a></dd></dl>
547
</li>
548
</ul>
549
<a name="ztexProductId">
550
<!--   -->
551
</a>
552
<ul class="blockList">
553
<li class="blockList">
554
<h4>ztexProductId</h4>
555
<pre>public static final&nbsp;int ztexProductId</pre>
556
<div class="block">USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x100.
557
 This product ID is intended for general purpose use and can be shared by all devices that base on ZTEX modules.
558
 Different products are identified by a second product ID, namely the PRODUCT_ID field of the <a href="#descriptor"> ZTEX descriptor 1</a>.
559
 <p>
560
 Please read the <a href="http://www.ztex.de/firmware-kit/usb_ids.e.html">informations about USB vendor and product ID's</a>.</div>
561
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../ztex/ZtexDevice1.html#ztexProductIdMax"><code>ztexProductIdMax</code></a>,
562
<a href="../constant-values.html#ztex.ZtexDevice1.ztexProductId">Constant Field Values</a></dd></dl>
563
</li>
564
</ul>
565
<a name="ztexProductIdMax">
566
<!--   -->
567
</a>
568
<ul class="blockListLast">
569
<li class="blockList">
570
<h4>ztexProductIdMax</h4>
571
<pre>public static final&nbsp;int ztexProductIdMax</pre>
572
<div class="block">Largest USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x1ff.
573
 USB product ID's from <a href="../ztex/ZtexDevice1.html#ztexProductId"><code>ztexProductId</code></a>+1 to ztexProductIdMax (0x101 to 0x1ff) are reserved for ZTEX devices and allow to identify products without reading the ZTEX descriptor.
574
 <p>
575
 Please read the <a href="http://www.ztex.de/firmware-kit/usb_ids.e.html">informations about USB vendor and product ID's</a>.</div>
576
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../ztex/ZtexDevice1.html#ztexProductId"><code>ztexProductId</code></a>,
577
<a href="../constant-values.html#ztex.ZtexDevice1.ztexProductIdMax">Constant Field Values</a></dd></dl>
578
</li>
579
</ul>
580
</li>
581
</ul>
582
<!-- ========= CONSTRUCTOR DETAIL ======== -->
583
<ul class="blockList">
584
<li class="blockList"><a name="constructor_detail">
585
<!--   -->
586
</a>
587
<h3>Constructor Detail</h3>
588
<a name="ZtexDevice1(ztex.ZtexContext, org.usb4java.Device, int, int, boolean)">
589
<!--   -->
590
</a>
591
<ul class="blockListLast">
592
<li class="blockList">
593
<h4>ZtexDevice1</h4>
594
<pre>public&nbsp;ZtexDevice1(<a href="../ztex/ZtexContext.html" title="class in ztex">ZtexContext</a>&nbsp;p_context,
595
           org.usb4java.Device&nbsp;p_dev,
596
           int&nbsp;pUsbVendorId,
597
           int&nbsp;pUsbProductId,
598
           boolean&nbsp;allowUnconfigured)
599
            throws <a href="../ztex/UsbException.html" title="class in ztex">UsbException</a>,
600
                   <a href="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</a>,
601
                   <a href="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</a></pre>
602
<div class="block">Constructs an instance from a given USB device.<br>
603
 If the given vendor and product id's match to the vendor and product id's of the given USB device,
604
 the ZTEX descriptor 1 is attempted to read. If this fails, an <a href="../ztex/InvalidFirmwareException.html" title="class in ztex"><code>InvalidFirmwareException</code></a> is thrown.
605
 To suppress this behavior (e.g. if the EZ-USB device is known to be unconfigured) the vendor and product id's
606
 can be set to -1.</div>
607
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p_context</code> - The USB context.</dd><dd><code>p_dev</code> - The USB device.</dd><dd><code>pUsbVendorId</code> - The given vendor ID.</dd><dd><code>pUsbProductId</code> - The given product ID.</dd><dd><code>allowUnconfigured</code> - If true, unconfigured devices are allowed.</dd>
608
<dt><span class="strong">Throws:</span></dt>
609
<dd><code><a href="../ztex/UsbException.html" title="class in ztex">UsbException</a></code> - if an USB communication error occurs.</dd>
610
<dd><code><a href="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</a></code> - if no valid ZTEX descriptor 1 is found.</dd>
611
<dd><code>DeviceNotSupported</code> - if the device has the wrong USB ID's.</dd>
612
<dd><code><a href="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</a></code></dd></dl>
613
</li>
614
</ul>
615
</li>
616
</ul>
617
<!-- ============ METHOD DETAIL ========== -->
618
<ul class="blockList">
619
<li class="blockList"><a name="method_detail">
620
<!--   -->
621
</a>
622
<h3>Method Detail</h3>
623
<a name="byteArrayString(byte[])">
624
<!--   -->
625
</a>
626
<ul class="blockList">
627
<li class="blockList">
628
<h4>byteArrayString</h4>
629
<pre>public static&nbsp;java.lang.String&nbsp;byteArrayString(byte[]&nbsp;buf)</pre>
630
<div class="block">Produces a nice string representation of an array of bytes.</div>
631
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buf</code> - A byte array.</dd>
632
<dt><span class="strong">Returns:</span></dt><dd>a nice string</dd></dl>
633
</li>
634
</ul>
635
<a name="toString()">
636
<!--   -->
637
</a>
638
<ul class="blockList">
639
<li class="blockList">
640
<h4>toString</h4>
641
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
642
<div class="block">Returns a string representation if the device with a lot of useful information.</div>
643
<dl>
644
<dt><strong>Overrides:</strong></dt>
645
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
646
<dt><span class="strong">Returns:</span></dt><dd>a string representation if the device with a lot of useful information.</dd></dl>
647
</li>
648
</ul>
649
<a name="name(org.usb4java.Device)">
650
<!--   -->
651
</a>
652
<ul class="blockList">
653
<li class="blockList">
654
<h4>name</h4>
655
<pre>public static&nbsp;java.lang.String&nbsp;name(org.usb4java.Device&nbsp;p_dev)</pre>
656
<div class="block">Returns a name that identifies a device.</div>
657
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p_dev</code> - the device.</dd>
658
<dt><span class="strong">Returns:</span></dt><dd>a name that identifies a device.</dd></dl>
659
</li>
660
</ul>
661
<a name="name()">
662
<!--   -->
663
</a>
664
<ul class="blockList">
665
<li class="blockList">
666
<h4>name</h4>
667
<pre>public&nbsp;java.lang.String&nbsp;name()</pre>
668
<div class="block">Returns a name that identifies the device.</div>
669
<dl><dt><span class="strong">Returns:</span></dt><dd>a name that identifies the device.</dd></dl>
670
</li>
671
</ul>
672
<a name="compatible(int, int, int, int)">
673
<!--   -->
674
</a>
675
<ul class="blockList">
676
<li class="blockList">
677
<h4>compatible</h4>
678
<pre>public final&nbsp;boolean&nbsp;compatible(int&nbsp;productId0,
679
                 int&nbsp;productId1,
680
                 int&nbsp;productId2,
681
                 int&nbsp;productId3)</pre>
682
<div class="block">Checks whether the given product ID is compatible to the device.<br>
683
 The given product ID is compatible
684
 <pre>if ( this.productId(0)==0 || productId0<=0 || this.productId(0)==productId0 ) &&
685
   ( this.productId(0)==0 || productId1<=0 || this.productId(1)==productId1 ) &&
686
   ( this.productId(2)==0 || productId2<=0 || this.productId(2)==productId2 ) &&
687
   ( this.productId(3)==0 || productId3<=0 || this.productId(3)==productId3 ) </pre></div>
688
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>productId0</code> - Byte 0 of the given product ID</dd><dd><code>productId1</code> - Byte 1 of the given product ID</dd><dd><code>productId2</code> - Byte 2 of the given product ID</dd><dd><code>productId3</code> - Byte 3 of the given product ID</dd>
689
<dt><span class="strong">Returns:</span></dt><dd>true if the given product ID is compatible</dd></dl>
690
</li>
691
</ul>
692
<a name="dev()">
693
<!--   -->
694
</a>
695
<ul class="blockList">
696
<li class="blockList">
697
<h4>dev</h4>
698
<pre>public final&nbsp;org.usb4java.Device&nbsp;dev()</pre>
699
<div class="block">Returns the USB device.</div>
700
<dl><dt><span class="strong">Returns:</span></dt><dd>the USB device.</dd></dl>
701
</li>
702
</ul>
703
<a name="context()">
704
<!--   -->
705
</a>
706
<ul class="blockList">
707
<li class="blockList">
708
<h4>context</h4>
709
<pre>public final&nbsp;<a href="../ztex/ZtexContext.html" title="class in ztex">ZtexContext</a>&nbsp;context()</pre>
710
<div class="block">Returns the USB context of the device.</div>
711
<dl><dt><span class="strong">Returns:</span></dt><dd>the USB context of the device.</dd></dl>
712
</li>
713
</ul>
714
<a name="valid()">
715
<!--   -->
716
</a>
717
<ul class="blockList">
718
<li class="blockList">
719
<h4>valid</h4>
720
<pre>public final&nbsp;boolean&nbsp;valid()</pre>
721
<div class="block">Returns true if ZTEX descriptor 1 is available.</div>
722
<dl><dt><span class="strong">Returns:</span></dt><dd>true if ZTEX descriptor 1 is available.</dd></dl>
723
</li>
724
</ul>
725
<a name="usbVendorId()">
726
<!--   -->
727
</a>
728
<ul class="blockList">
729
<li class="blockList">
730
<h4>usbVendorId</h4>
731
<pre>public final&nbsp;int&nbsp;usbVendorId()</pre>
732
<div class="block">Returns the USB vendor ID of the device.</div>
733
<dl><dt><span class="strong">Returns:</span></dt><dd>the USB vendor ID of the device.</dd></dl>
734
</li>
735
</ul>
736
<a name="usbProductId()">
737
<!--   -->
738
</a>
739
<ul class="blockList">
740
<li class="blockList">
741
<h4>usbProductId</h4>
742
<pre>public final&nbsp;int&nbsp;usbProductId()</pre>
743
<div class="block">Returns the USB product ID of the device.</div>
744
<dl><dt><span class="strong">Returns:</span></dt><dd>the USB product ID of the device.</dd></dl>
745
</li>
746
</ul>
747
<a name="manufacturerString()">
748
<!--   -->
749
</a>
750
<ul class="blockList">
751
<li class="blockList">
752
<h4>manufacturerString</h4>
753
<pre>public final&nbsp;java.lang.String&nbsp;manufacturerString()</pre>
754
<div class="block">Returns the manufacturer string of the device.</div>
755
<dl><dt><span class="strong">Returns:</span></dt><dd>the manufacturer string of the device.</dd></dl>
756
</li>
757
</ul>
758
<a name="productString()">
759
<!--   -->
760
</a>
761
<ul class="blockList">
762
<li class="blockList">
763
<h4>productString</h4>
764
<pre>public final&nbsp;java.lang.String&nbsp;productString()</pre>
765
<div class="block">Returns the product string of the device.</div>
766
<dl><dt><span class="strong">Returns:</span></dt><dd>the product string of the device.</dd></dl>
767
</li>
768
</ul>
769
<a name="snString()">
770
<!--   -->
771
</a>
772
<ul class="blockList">
773
<li class="blockList">
774
<h4>snString</h4>
775
<pre>public final&nbsp;java.lang.String&nbsp;snString()</pre>
776
<div class="block">Returns the serial number string of the device.</div>
777
<dl><dt><span class="strong">Returns:</span></dt><dd>the serial number string of the device.</dd></dl>
778
</li>
779
</ul>
780
<a name="productId()">
781
<!--   -->
782
</a>
783
<ul class="blockList">
784
<li class="blockList">
785
<h4>productId</h4>
786
<pre>public final&nbsp;byte[]&nbsp;productId()</pre>
787
<div class="block">Returns the product ID (all 4 bytes).</div>
788
<dl><dt><span class="strong">Returns:</span></dt><dd>PRODUCT_ID, see above.</dd></dl>
789
</li>
790
</ul>
791
<a name="productId(int)">
792
<!--   -->
793
</a>
794
<ul class="blockList">
795
<li class="blockList">
796
<h4>productId</h4>
797
<pre>public&nbsp;int&nbsp;productId(int&nbsp;i)</pre>
798
<div class="block">Returns byte i of the product ID.</div>
799
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
800
<dt><span class="strong">Returns:</span></dt><dd>PRODUCT_ID[i], see above.</dd></dl>
801
</li>
802
</ul>
803
<a name="fwVersion()">
804
<!--   -->
805
</a>
806
<ul class="blockList">
807
<li class="blockList">
808
<h4>fwVersion</h4>
809
<pre>public final&nbsp;int&nbsp;fwVersion()</pre>
810
<div class="block">Returns the firmware version.</div>
811
<dl><dt><span class="strong">Returns:</span></dt><dd>FW_VERSION, see above.</dd></dl>
812
</li>
813
</ul>
814
<a name="interfaceVersion()">
815
<!--   -->
816
</a>
817
<ul class="blockList">
818
<li class="blockList">
819
<h4>interfaceVersion</h4>
820
<pre>public final&nbsp;int&nbsp;interfaceVersion()</pre>
821
<div class="block">Returns the interface version.</div>
822
<dl><dt><span class="strong">Returns:</span></dt><dd>INTERFACE_VERSION, see above.</dd></dl>
823
</li>
824
</ul>
825
<a name="interfaceCapabilities()">
826
<!--   -->
827
</a>
828
<ul class="blockList">
829
<li class="blockList">
830
<h4>interfaceCapabilities</h4>
831
<pre>public final&nbsp;byte[]&nbsp;interfaceCapabilities()</pre>
832
<div class="block">Returns the interface capabilities (all 6 bytes).</div>
833
<dl><dt><span class="strong">Returns:</span></dt><dd>INTERFACE_CAPABILITIES, see above.</dd></dl>
834
</li>
835
</ul>
836
<a name="interfaceCapabilities(int)">
837
<!--   -->
838
</a>
839
<ul class="blockList">
840
<li class="blockList">
841
<h4>interfaceCapabilities</h4>
842
<pre>public final&nbsp;int&nbsp;interfaceCapabilities(int&nbsp;i)</pre>
843
<div class="block">Returns byte i of the interface capabilities.</div>
844
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
845
<dt><span class="strong">Returns:</span></dt><dd>INTERFACE_CAPABILITIES[i], see above.</dd></dl>
846
</li>
847
</ul>
848
<a name="interfaceCapabilities(int, int)">
849
<!--   -->
850
</a>
851
<ul class="blockList">
852
<li class="blockList">
853
<h4>interfaceCapabilities</h4>
854
<pre>public final&nbsp;boolean&nbsp;interfaceCapabilities(int&nbsp;i,
855
                            int&nbsp;j)</pre>
856
<div class="block">Returns byte i, bit j  of the interface capabilities.</div>
857
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - byte index</dd><dd><code>j</code> - bit index</dd>
858
<dt><span class="strong">Returns:</span></dt><dd>INTERFACE_CAPABILITIES[i].j, see above.</dd></dl>
859
</li>
860
</ul>
861
<a name="moduleReserved()">
862
<!--   -->
863
</a>
864
<ul class="blockList">
865
<li class="blockList">
866
<h4>moduleReserved</h4>
867
<pre>public final&nbsp;byte[]&nbsp;moduleReserved()</pre>
868
<div class="block">Returns the application specific information (all 12 bytes).</div>
869
<dl><dt><span class="strong">Returns:</span></dt><dd>MODULE_RESERVED, see above.</dd></dl>
870
</li>
871
</ul>
872
<a name="moduleReserved(int)">
873
<!--   -->
874
</a>
875
<ul class="blockList">
876
<li class="blockList">
877
<h4>moduleReserved</h4>
878
<pre>public final&nbsp;int&nbsp;moduleReserved(int&nbsp;i)</pre>
879
<div class="block">Returns byte i of the application specific information.</div>
880
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
881
<dt><span class="strong">Returns:</span></dt><dd>MODULE_RESERVED[i], see above.</dd></dl>
882
</li>
883
</ul>
884
<a name="fx3()">
885
<!--   -->
886
</a>
887
<ul class="blockList">
888
<li class="blockList">
889
<h4>fx3</h4>
890
<pre>public final&nbsp;boolean&nbsp;fx3()</pre>
891
<div class="block">Returns true if device is an FX3</div>
892
<dl><dt><span class="strong">Returns:</span></dt><dd>true if device is an FX3</dd></dl>
893
</li>
894
</ul>
895
<a name="ref()">
896
<!--   -->
897
</a>
898
<ul class="blockList">
899
<li class="blockList">
900
<h4>ref</h4>
901
<pre>public&nbsp;void&nbsp;ref()
902
         throws <a href="../ztex/UsbException.html" title="class in ztex">UsbException</a></pre>
903
<div class="block">Increases reference counter.</div>
904
<dl><dt><span class="strong">Throws:</span></dt>
905
<dd><code><a href="../ztex/UsbException.html" title="class in ztex">UsbException</a></code></dd></dl>
906
</li>
907
</ul>
908
<a name="unref()">
909
<!--   -->
910
</a>
911
<ul class="blockList">
912
<li class="blockList">
913
<h4>unref</h4>
914
<pre>public&nbsp;void&nbsp;unref()</pre>
915
<div class="block">Decreases reference counter and rleases resources if 0 is reached.</div>
916
</li>
917
</ul>
918
<a name="finalize()">
919
<!--   -->
920
</a>
921
<ul class="blockListLast">
922
<li class="blockList">
923
<h4>finalize</h4>
924
<pre>protected&nbsp;void&nbsp;finalize()
925
                 throws java.lang.Throwable</pre>
926
<div class="block">Releases all resources.</div>
927
<dl>
928
<dt><strong>Overrides:</strong></dt>
929
<dd><code>finalize</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
930
<dt><span class="strong">Throws:</span></dt>
931
<dd><code>java.lang.Throwable</code></dd></dl>
932
</li>
933
</ul>
934
</li>
935
</ul>
936
</li>
937
</ul>
938
</div>
939
</div>
940
<!-- ========= END OF CLASS DATA ========= -->
941
<!-- ======= START OF BOTTOM NAVBAR ====== -->
942
<div class="bottomNav"><a name="navbar_bottom">
943
<!--   -->
944
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
945
<!--   -->
946
</a>
947
<ul class="navList" title="Navigation">
948
<li><a href="../ztex/package-summary.html">Package</a></li>
949
<li class="navBarCell1Rev">Class</li>
950
<li><a href="package-tree.html">Tree</a></li>
951
<li><a href="../deprecated-list.html">Deprecated</a></li>
952
<li><a href="../index-all.html">Index</a></li>
953
<li><a href="../help-doc.html">Help</a></li>
954
</ul>
955
</div>
956
<div class="subNav">
957
<ul class="navList">
958
<li><a href="../ztex/ZtexContext.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
959
<li><a href="../ztex/ZtexEventHandler.html" title="class in ztex"><span class="strong">Next Class</span></a></li>
960
</ul>
961
<ul class="navList">
962
<li><a href="../index.html?ztex/ZtexDevice1.html" target="_top">Frames</a></li>
963
<li><a href="ZtexDevice1.html" target="_top">No Frames</a></li>
964
</ul>
965
<ul class="navList" id="allclasses_navbar_bottom">
966
<li><a href="../allclasses-noframe.html">All Classes</a></li>
967
</ul>
968
<div>
969
<script type="text/javascript"><!--
970
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
971
  if(window==top) {
972
    allClassesLink.style.display = "block";
973
  }
974
  else {
975
    allClassesLink.style.display = "none";
976
  }
977
  //-->
978
</script>
979
</div>
980
<div>
981
<ul class="subNavList">
982
<li>Summary:&nbsp;</li>
983
<li>Nested&nbsp;|&nbsp;</li>
984
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
985
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
986
<li><a href="#method_summary">Method</a></li>
987
</ul>
988
<ul class="subNavList">
989
<li>Detail:&nbsp;</li>
990
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
991
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
992
<li><a href="#method_detail">Method</a></li>
993
</ul>
994
</div>
995
<a name="skip-navbar_bottom">
996
<!--   -->
997
</a></div>
998
<!-- ======== END OF BOTTOM NAVBAR ======= -->
999
</body>
1000
</html>

powered by: WebSVN 2.1.0

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